/* Freedom Express LLC
 *
 * The brand already existed before the site did: a single-contour line drawing
 * of the rig running red at the trailer, through white, to blue at the truck,
 * and a circular flag badge — both on true black. So the page is black, and
 * the red/white/blue gradient from his own logo is the only decorative device
 * on it. Nothing patriotic is added that he did not already put there.
 *
 * Display type is Overpass, which descends from the US federal highway
 * signage alphabet. Registration numbers and specs are mono, the way they read
 * on a door decal and on a rate confirmation.
 */

:root {
  --black:     #000000;
  --coal:      #0B0B0D;   /* section ground, a hair off black */
  --slate:     #14161A;   /* raised panels */
  --red:       #E02637;   /* the red in his line logo */
  --red-dark:  #B31C2B;
  --blue:      #2E6FD6;   /* the blue in his line logo */
  --blue-soft: #7FB0FF;
  --white:     #FFFFFF;
  --dim:       #98A1AF;   /* secondary text on dark */
  --rule:      #23272E;

  --paper:     #F5F6F8;   /* only inside the form, where inputs need light */
  --ink:       #0E1116;

  --display: "Overpass", system-ui, sans-serif;
  --body:    "IBM Plex Sans", system-ui, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, monospace;

  --wrap: 68rem;
}

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

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

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
}

a { color: var(--blue-soft); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: -999px;
  background: var(--white); color: var(--ink);
  padding: .75rem 1rem; z-index: 10;
}
.skip:focus { left: 1rem; top: 1rem; }

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

/* ---------------------------------------------------------------- topbar */

.topbar { padding: .9rem 0; border-bottom: 1px solid var(--rule); }

.topbar-in {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}

.mark { display: flex; align-items: baseline; gap: .4rem; text-decoration: none; color: var(--white); }

.mark-name {
  font-family: var(--display); font-weight: 900; font-size: 1.15rem;
  letter-spacing: .02em; text-transform: uppercase;
}

.mark-llc { font-family: var(--mono); font-size: .7rem; color: var(--dim); letter-spacing: .08em; }

.call-sm {
  font-family: var(--mono); font-weight: 600; font-size: .95rem;
  color: var(--white); text-decoration: none;
  border-bottom: 2px solid var(--red); padding-bottom: 1px;
}

/* ------------------------------------------------------------------ hero */

.hero { padding: clamp(2.5rem, 7vw, 4.5rem) 0 clamp(2.5rem, 6vw, 4rem); }

.eyebrow {
  font-family: var(--mono); font-size: .8rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--dim); margin: 0 0 1.5rem;
}

/* His logo, given room. It is the most characteristic thing he owns. */
.hero-logo {
  width: min(100%, 40rem);
  margin: 0 0 2rem;
}

.hero h1 {
  font-size: clamp(2.75rem, 9vw, 5.5rem);
  font-weight: 900; text-transform: uppercase;
  letter-spacing: -0.02em; margin-bottom: 1.5rem;
}

.lede {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: #C6CEDA; max-width: 38ch; margin: 0 0 2.5rem;
}

/* The phone number is the interface. On a phone at a truck stop it is the
   only control that matters, so it is sized like one. */
.call {
  display: inline-flex; flex-direction: column; gap: .15rem;
  background: var(--red); color: var(--white); text-decoration: none;
  padding: 1.1rem 2rem 1.25rem; border-radius: 3px;
  transition: background .15s ease, transform .15s ease;
}
.call:hover, .call:focus-visible { background: var(--red-dark); transform: translateY(-1px); }

.call-label {
  font-family: var(--mono); font-size: .75rem; letter-spacing: .16em;
  text-transform: uppercase; opacity: .9;
}

.call-number {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(1.75rem, 5vw, 2.4rem); letter-spacing: .01em; line-height: 1;
}

.hero-alt { margin: 1.5rem 0 0; font-size: .95rem; color: var(--dim); }
.who { color: var(--white); font-weight: 600; }

/* The gradient lifted straight out of his logo, drawn as a rule. */
.gradline {
  height: 4px;
  background: linear-gradient(90deg,
    var(--red) 0%, var(--red) 18%,
    var(--white) 46%, var(--white) 54%,
    var(--blue) 82%, var(--blue) 100%);
}

/* --------------------------------------------------------------- the rig */

.rig-shot { margin: 0; background: var(--black); }
.rig-shot img { width: 100%; object-fit: cover; }

/* ----------------------------------------------------------- credentials */

.creds { background: var(--coal); padding: clamp(2.5rem, 6vw, 3.5rem) 0; }

.decal {
  display: flex; flex-wrap: wrap; margin: 0;
  border: 2px solid var(--rule); border-radius: 2px;
  overflow: hidden; width: fit-content; max-width: 100%;
  background: var(--black);
}

.decal-row {
  display: flex; flex-direction: column;
  padding: .85rem 1.5rem; border-right: 1px solid var(--rule);
}
.decal-row:last-child { border-right: 0; }

.decal dt {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--dim);
}

.decal dd {
  font-family: var(--mono); font-weight: 600; font-size: 1.35rem;
  color: var(--white); margin: .15rem 0 0;
}

/* Marks a number still to be confirmed. Deliberately loud: it exists so a
   wrong figure cannot quietly ship. */
.decal dd.unverified {
  color: var(--red);
  text-decoration: underline wavy var(--red) 1.5px;
  text-underline-offset: 4px;
}

.creds-note { font-size: .9rem; color: var(--dim); margin: 1rem 0 0; }

/* ----------------------------------------------------------- what we haul */

.work { padding: clamp(3rem, 8vw, 5rem) 0; }

.work h2, .rig h2, .quote h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  text-transform: uppercase; margin-bottom: 2rem;
}

.haul {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.haul h3 {
  font-size: 1.15rem; text-transform: uppercase; letter-spacing: .01em;
  padding-top: .9rem; border-top: 3px solid var(--red); margin-bottom: .5rem;
}

.haul p { margin: 0; color: #B3BCC9; }

/* ---------------------------------------------------------- equipment */

.rig { background: var(--coal); border-block: 1px solid var(--rule); padding: clamp(3rem, 8vw, 5rem) 0; }

.rig-in {
  display: grid; gap: 2.5rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: start;
}

.rig-copy p { color: #B3BCC9; }

.todo {
  font-family: var(--mono); font-size: .85rem;
  color: #FF9AA5; background: rgba(224, 38, 55, .1);
  border-left: 3px solid var(--red); padding: .7rem .9rem;
}

.specs { margin: 0; }

.specs > div {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .8rem 0; border-bottom: 1px solid var(--rule);
}
.specs > div:first-child { border-top: 1px solid var(--rule); }

.specs dt {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--dim);
}

.specs dd { margin: 0; font-family: var(--mono); font-weight: 600; color: var(--white); }
.specs dd.pending { color: var(--red); }

/* ----------------------------------------------------------------- quote */

.quote { background: var(--slate); padding: clamp(3rem, 8vw, 5rem) 0; }

.quote-in {
  display: grid; gap: 2.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: start;
}

.quote-copy p { color: #B3BCC9; }

.quote-urgent { border-left: 3px solid var(--red); padding-left: 1rem; }
.quote-urgent a { color: var(--white); font-weight: 600; }

.badge { width: 11rem; margin-top: 2rem; opacity: .95; }

.form { background: var(--paper); color: var(--ink); padding: 1.75rem; border-radius: 3px; }

.opt { text-transform: none; letter-spacing: 0; }

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

.cf-turnstile { margin: .25rem 0 1rem; min-height: 65px; }

.form-status { font-size: .92rem; margin: .8rem 0 0; min-height: 1.2em; }
.form-status.ok { color: #13703A; font-weight: 600; }
.form-status.err { color: var(--red-dark); }
.form-status a { color: inherit; font-weight: 600; }

.field { margin-bottom: 1rem; }

.row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }

.field label {
  display: block; font-family: var(--mono); font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: #5C6675; margin-bottom: .35rem;
}

.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem;
  padding: .7rem .8rem; border: 1px solid #C9D0DA; border-radius: 2px;
  background: var(--white); color: var(--ink);
}
.field input:focus, .field textarea:focus { border-color: var(--blue); }

.submit {
  width: 100%; font-family: var(--display); font-weight: 800;
  font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--white); background: var(--red);
  border: 0; border-radius: 3px; padding: .95rem 1rem;
  cursor: pointer; transition: background .15s ease;
}
.submit:hover { background: var(--red-dark); }

/* ---------------------------------------------------------------- footer */

.foot { color: var(--dim); padding: 2.5rem 0; border-top: 1px solid var(--rule); }

.foot-name {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  color: var(--white); margin: 0 0 .3rem;
}

.foot-who { margin: 0 0 .75rem; font-size: .95rem; }
.foot-contact { margin: 0 0 .75rem; }
.foot-contact a { color: #C6CEDA; }

.foot-reg { font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; margin: 0; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 46rem) {
  .rig-in, .quote-in, .row { grid-template-columns: 1fr; }
  .call { align-items: flex-start; }
  .decal { width: 100%; }
  .decal-row { flex: 1 1 8rem; }
  .rig-shot img { min-height: 12rem; object-position: 72% center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .call:hover { transform: none; }
}
