/* FBE TRANSPORTATION LLC — Houston workshop / port
   Kraft paper + olive. Libre Baskerville + Work Sans.
   Shop-ticket overlay hero. Not Q&B copper/charcoal.
   Not A Star black/white electric-blue geometric. */

:root {
  --bg: #efe6d6;
  --bg-2: #e4d7c0;
  --bg-3: #f8f1e4;
  --bg-4: #d8ccb0;
  --paper: #f8f1e4;
  --text: #2c2416;
  --muted: #6e6454;
  --line: #d0c2a8;
  --line-strong: #b9aa8e;
  --accent: #4a5c2e;
  --accent-2: #6a7d42;
  --accent-hover: #3a4a24;
  --accent-ink: #f8f1e4;
  --accent-dim: rgba(74, 92, 46, 0.12);
  --header: #2c2416;
  --header-ink: #f8f1e4;
  --hero-ink: #f8f1e4;
  --danger: #9a4030;
  --ok: #3d5a32;
  --font: "Work Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --wrap: 1100px;
  --gutter: 24px;
  --radius: 0;
  --header-h: 74px;
  --sticky-cta: 0px;
  --grain:
    radial-gradient(circle at 18% 22%, rgba(44, 36, 22, 0.035) 0 1px, transparent 1.6px),
    radial-gradient(circle at 72% 68%, rgba(74, 92, 46, 0.04) 0 1px, transparent 1.5px);
}

*,
*::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-color: var(--bg);
  background-image: var(--grain);
  background-size: 7px 7px, 9px 9px;
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  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 — espresso shop bar */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header);
  color: var(--header-ink);
  border-bottom: 4px solid var(--accent);
}

.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;
  background: var(--bg);
}

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

.logo-text strong {
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.logo-text span {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c8b89a;
}

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

.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  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.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d4c6ae;
  padding: 10px 11px;
}

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

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

.header-cta {
  margin-left: 8px;
  background: var(--accent);
  color: var(--accent-ink) !important;
  font-weight: 600;
  padding: 11px 16px !important;
  border-bottom: 3px solid #2f3c1c;
}

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

/* Buttons — shop tabs */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 20px 11px;
  border: 0;
  background: var(--accent);
  color: var(--accent-ink);
  cursor: pointer;
  border-radius: 0;
  border-bottom: 4px solid #2f3c1c;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text);
  border-bottom-width: 3px;
}

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

.hero .btn-ghost,
.equipment .btn-ghost,
.final-cta .btn-ghost {
  color: var(--hero-ink);
  border-color: var(--hero-ink);
}

.hero .btn-ghost:hover,
.equipment .btn-ghost:hover,
.final-cta .btn-ghost:hover {
  background: rgba(248, 241, 228, 0.1);
  color: var(--hero-ink);
}

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

/* Hero — workshop overlay ticket */

.hero {
  position: relative;
  min-height: min(86vh, 780px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: var(--header);
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  filter: saturate(0.86) contrast(1.05);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(44, 36, 22, 0.18) 0%, rgba(44, 36, 22, 0.08) 42%, rgba(44, 36, 22, 0.55) 100%);
}

.hero-inner {
  width: min(34rem, calc(100% - 40px));
  margin: 0 0 48px 6%;
  padding: 28px 28px 26px;
  background: var(--header);
  color: var(--hero-ink);
  box-shadow: 12px 12px 0 var(--accent);
  border-top: 6px solid var(--accent);
}

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

.hero-inner .lede {
  color: #d8cbb4;
}

.hero-inner h1 {
  max-width: 18ch;
  font-size: clamp(1.7rem, 3.6vw, 2.55rem);
  letter-spacing: -0.01em;
}

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

.kicker::before {
  content: "";
  width: 18px;
  height: 18px;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 10px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 2px 10px no-repeat;
  border: 1px solid var(--accent);
  border-radius: 50%;
}

h1,
.h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.15;
  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: 22px;
}

.trust-chip {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hero-ink);
  border: 1px dashed #8a7a60;
  padding: 7px 10px;
}

/* Ticket strip */

.stats {
  background: var(--paper);
  border-block: 1px dashed var(--line-strong);
  position: relative;
}

.stats::before,
.stats::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 14px;
  background:
    radial-gradient(circle at 50% 12px, var(--bg) 5px, transparent 5.5px) 0 0 / 14px 22px;
}

.stats::before { left: 0; }
.stats::after { right: 0; }

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

.stat {
  padding: 28px 20px;
  border-right: 1px dashed var(--line);
}

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

.stat b {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 700;
  color: var(--accent);
}

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

/* Sections */

.section {
  padding: 88px 0;
}

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

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

h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.2;
  font-weight: 700;
}

h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

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

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

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

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

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

.media-frame {
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
  box-shadow: 8px 8px 0 var(--accent);
  outline: 1px solid var(--header);
}

.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(--paper);
  background: linear-gradient(transparent, rgba(44, 36, 22, 0.82));
}

/* Packing-slip cards */

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

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

.card::before {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 8px 2px no-repeat;
}

.card-feature {
  grid-column: span 1;
  min-height: 200px;
  border-style: solid;
  border-left: 8px solid var(--accent);
}

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

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

/* Equipment band */

.equipment {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--header);
}

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

.equipment-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  filter: grayscale(0.15) contrast(1.05);
}

.equipment::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(44, 36, 22, 0.88) 0%, rgba(44, 36, 22, 0.55) 48%, rgba(44, 36, 22, 0.22) 100%);
}

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

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

/* Drivers */

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

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

.req-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border: 2px solid var(--accent);
  border-radius: 50%;
}

/* Forms — kraft clipboard */

.form {
  display: grid;
  gap: 16px;
  background: var(--paper);
  border: 1px solid var(--header);
  padding: 28px;
  box-shadow: 8px 8px 0 var(--accent);
  position: relative;
}

.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: 0;
  border-bottom: 2px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  padding: 10px 2px;
  border-radius: 0;
}

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

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

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

textarea {
  min-height: 110px;
  resize: vertical;
  border: 1px dashed var(--line-strong);
  padding: 10px 12px;
}

.form-note,
.form-status {
  font-size: 0.92rem;
  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 dashed var(--line-strong);
  padding: 28px;
}

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

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

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

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

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

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

.dl dd {
  margin: 0;
}

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

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

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

.spec dt,
.spec dd {
  padding: 13px 16px;
  margin: 0;
}

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

/* Page hero */

.page-hero {
  padding: 64px 0 36px;
  border-bottom: 1px dashed var(--line-strong);
  background:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 10px,
      rgba(74, 92, 46, 0.04) 10px,
      rgba(74, 92, 46, 0.04) 11px
    ),
    var(--bg);
}

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

/* Final CTA — espresso shop close */

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

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

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

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

/* Footer */

.site-footer {
  background: #211b12;
  color: #b8ab94;
  padding: 48px 0 32px;
  border-top: 4px solid var(--accent);
}

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

.footer-brand {
  font-family: var(--display);
  color: var(--paper);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.4;
}

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

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

.footer-meta {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px dashed #4a3f30;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.8rem;
}

.mobile-cta {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s 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; }

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

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

.hero .text-link,
.final-cta .text-link {
  color: #c4d39a;
}

@media (max-width: 1100px) {
  .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 dashed var(--line);
  }

  .hero {
    min-height: min(84vh, 720px);
  }

  .hero-inner {
    width: calc(100% - 36px);
    margin: 0 18px 28px;
    padding: 22px 20px;
    box-shadow: 8px 8px 0 var(--accent);
  }

  .equipment {
    min-height: 440px;
  }

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

@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: #211b12;
    border-bottom: 4px solid var(--accent);
    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 dashed #4a3f30;
  }

  .header-cta {
    margin: 12px 0 0;
    text-align: center;
    border-bottom: 3px solid #2f3c1c !important;
  }

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

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

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

  .section,
  .equipment-copy,
  .final-cta {
    padding: 60px 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: #211b12;
    border-top: 3px solid var(--accent);
  }

  .mobile-cta a {
    text-align: center;
    padding: 16px 10px;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--paper);
  }

  .mobile-cta a:first-child {
    border-right: 1px dashed #4a3f30;
  }

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

@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 dashed var(--line);
  }

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

  .form,
  .contact-panel {
    padding: 20px 16px;
    box-shadow: 5px 5px 0 var(--accent);
  }
}

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

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

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