/* Line Haul Logistic company site. Builds on landing.css (tokens, buttons, map, forms, footer).
   Where the hiring page sells a job, this one states what the carrier does: big freight names,
   the cab-door lettering as a credential strip, and the trucks shown whole. */

.co { background: var(--paper); }
.co h2 { font-size: clamp(1.7rem, 3.8vw, 2.7rem); }
.co :focus-visible { outline-color: var(--red); }
.co-top :focus-visible, .co-hero :focus-visible, .co-door :focus-visible, .co-gear :focus-visible, .co-drive :focus-visible, .co .foot :focus-visible { outline-color: #fff; }
.co section[id] { scroll-margin-top: 76px; }

/* ---------- Top bar ---------- */
.co-top { position: sticky; top: 0; z-index: 10; background: var(--asphalt); color: #fff; }
.co-top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.co-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 1rem/1 var(--display); letter-spacing: 0.04em; white-space: nowrap; }
.co-brand img { width: 46px; height: 46px; }
.co-nav { display: flex; align-items: center; gap: clamp(12px, 2.2vw, 28px); font-size: 0.98rem; font-weight: 600; }
.co-nav a { text-decoration: none; }
.co-nav-link { display: none; padding-block: 8px; border-bottom: 3px solid transparent; }
.co-nav-link:hover { border-bottom-color: var(--chrome); }
.co-nav-lang { text-decoration: underline !important; text-underline-offset: 4px; font-weight: 400; }
.co-nav-quote { min-height: 42px; padding: 8px 18px; font-size: 0.92rem; }
@media (max-width: 419px) { .co-brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } }
@media (min-width: 900px) { .co-nav-link { display: block; } }

/* ---------- Hero: the whole truck, with the statement on an asphalt slab cut at the logo's slant ---------- */
.co-hero { position: relative; background: var(--asphalt); color: #fff; }
.co-hero-photo { display: block; position: relative; aspect-ratio: 16 / 10; max-height: 62vh; overflow: hidden; }
.co-hero-photo picture, .co-drive-photo picture { display: block; height: 100%; }
.co-hero-photo .bg-video { object-position: 84% 50%; }
.co-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 84% 50%; }
.co-hero-panel { background: var(--asphalt); }
.co-hero-text { width: min(1120px, 100% - 2 * var(--gap)); margin-inline: auto; padding-block: clamp(26px, 6vw, 44px) clamp(36px, 7vw, 56px); }
.co-hero h1 { font: 400 clamp(2rem, 8vw, 3.6rem)/1.05 var(--display); letter-spacing: 0.003em; text-wrap: balance; max-width: 16ch; }
.co-hero p { margin-top: 16px; max-width: 46ch; font-size: 1.1rem; color: #d7dade; }
.co-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.co-hero-actions .btn { flex: 1 1 220px; }

/* Wide screens: the statement first, then the whole rig, cab to tail, across the full width. */
@media (min-width: 900px) {
  .co-hero { display: flex; flex-direction: column; }
  .co-hero-panel { order: -1; }
  .co-hero-text { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: end; padding-block: clamp(40px, 5vw, 64px) clamp(32px, 4vw, 48px); }
  .co-hero h1 { font-size: clamp(2.6rem, 4.6vw, 4rem); max-width: 13ch; }
  .co-hero p { margin-top: 0; }
  .co-hero-actions .btn { flex: 0 0 auto; }
  .co-hero-photo { aspect-ratio: 3 / 1; max-height: none; }
  .co-hero-photo img, .co-hero-photo .bg-video { object-position: 50% 50%; }
}

/* ---------- Door lettering: who the carrier is, the way it is painted on the cab ---------- */
.co-door { background: var(--steel); color: #fff; border-top: 1px solid #2c3036; }
.co-door-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; padding-block: 22px; }
.co-door dt { font-size: 0.82rem; color: #9da3ab; }
.co-door dd { font: 400 clamp(1rem, 2.4vw, 1.25rem)/1.2 var(--display); letter-spacing: 0.04em; color: #fff; margin-top: 2px; }
@media (min-width: 760px) { .co-door-row { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

/* ---------- Equipment ---------- */
.co-gear { background: var(--asphalt); color: #fff; }
.co-gear-grid { display: grid; }
.co-gear-photo { display: block; margin-inline: calc(-1 * var(--gap)); aspect-ratio: 2 / 1; }
.co-gear-photo img { width: 100%; height: 100%; object-fit: cover; }
.co-gear-text { padding-block: clamp(32px, 6vw, 56px) clamp(48px, 8vw, 80px); }
.co-gear ul { margin-top: 22px; display: grid; gap: 12px; }
.co-gear li { padding-left: 26px; position: relative; color: #e2e4e7; max-width: 50ch; }
.co-gear li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 14px; height: 5px; background: var(--chrome); transform: skewX(calc(-2 * var(--slant))); }
.co-gear-rule { margin-top: 26px; padding-top: 18px; border-top: 2px solid #3a3f46; font: 400 1.1rem/1.35 var(--display); letter-spacing: 0.01em; max-width: 30ch; }
@media (min-width: 900px) {
  .co-gear-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
  .co-gear-photo { margin: 0 0 0 calc(-1 * max(var(--gap), (100vw - 1120px) / 2)); aspect-ratio: auto; align-self: stretch; min-height: 520px; position: relative; clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%); }
  .co-gear-photo img { position: absolute; inset: 0; object-position: 44% 50%; }
  .co-gear-text { padding-block: clamp(56px, 8vw, 96px); }
}

/* ---------- Coverage ---------- */
.co-area { background: var(--concrete); padding-block: clamp(56px, 9vw, 110px); }
.co-area .map { margin-top: clamp(24px, 4vw, 40px); --cover-land: #fbfbf9; --cover-seam: var(--concrete); --cover-panel: #fbfbf9; }
.co-area .cover-around path { stroke: #c9cdd2; }

/* ---------- Drivers ---------- */
.co-drive { position: relative; background: var(--asphalt); color: #fff; overflow: hidden; }
.co-drive-photo { position: absolute; inset: 0; }
.co-drive-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.co-drive-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(12, 13, 15, 0.95) 0%, rgba(12, 13, 15, 0.72) 42%, rgba(12, 13, 15, 0.05) 100%); }
.co-drive-body { position: relative; z-index: 2; padding-block: clamp(56px, 10vw, 120px); }
.co-drive h2 { max-width: 22ch; }
.co-drive p { margin-top: 14px; max-width: 42ch; color: #d7dade; }
.co-drive .btn { margin-top: 24px; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--chrome); }
@media (max-width: 899px) { .co-drive-photo::after { background: linear-gradient(180deg, rgba(12, 13, 15, 0.86), rgba(12, 13, 15, 0.78)); } }

/* ---------- Quote ---------- */
.co-quote { background: var(--concrete); padding-block: clamp(56px, 9vw, 110px); }
.co-fields { margin-top: 0; }
.field textarea { width: 100%; padding: 10px 12px; font: inherit; color: var(--ink); background: #fff; border: 2px solid #c3c7cc; border-radius: 4px; resize: vertical; min-height: 110px; }
.field textarea:focus { border-color: var(--ink); outline: none; }
.field.is-missing textarea { border-color: var(--red); }
.co-contact { margin-top: 26px; display: grid; gap: 14px; }
.co-contact dt { font-size: 0.86rem; color: var(--muted); }
.co-contact dd { font-weight: 700; font-size: 1.1rem; }
.co-contact a { text-underline-offset: 3px; white-space: nowrap; }

.nw { white-space: nowrap; }

/* ================= Redesign: larger type, one drawing, movement ================= */
.co h2 { font-size: clamp(1.9rem, 4.6vw, 3.2rem); line-height: 1.04; }
.co-top { transition: box-shadow 0.25s ease, background-color 0.25s ease; }
.co-top.is-stuck { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.co-nav-link.is-here { border-bottom-color: var(--red); }

/* ---------- Hero ---------- */
.co-hero h1 { font-size: clamp(2.5rem, 10.5vw, 4.4rem); line-height: 0.98; letter-spacing: -0.005em; max-width: 12ch; }
.co-hero-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; z-index: 1; background: repeating-linear-gradient(90deg, #fff 0 34px, transparent 34px 58px) center / auto 3px no-repeat, var(--asphalt); }
@media (min-width: 900px) {
  .co-hero h1 { font-size: clamp(3.4rem, 6.4vw, 5.6rem); max-width: 11ch; }
  .co-hero-photo { aspect-ratio: 2.6 / 1; }
}

/* ---------- Door lettering ---------- */
.co-door dd { font-size: clamp(1.1rem, 2.6vw, 1.45rem); }
.co-door-row > div { padding-left: 14px; border-left: 3px solid #3a3f46; }
.co-door-row > div:first-child { border-left-color: var(--red); }

/* ---------- What we haul: the freight as a list set like a manifest, then the rig drawn to scale ---------- */
.co-haul { padding-block: clamp(64px, 10vw, 128px) clamp(56px, 8vw, 96px); overflow-x: clip; }
.co-haul-head { display: grid; gap: 12px; }
.co-haul-head p { max-width: 40ch; color: var(--muted); font-size: 1.1rem; }
.co-freight { margin-top: clamp(24px, 4vw, 44px); border-top: 6px solid var(--ink); }
.co-freight li { border-bottom: 1px solid #c9ccd1; }
.co-freight span { display: block; padding: clamp(12px, 2vw, 20px) 0; font: 400 clamp(1.5rem, 5.4vw, 3.3rem)/1.05 var(--display); letter-spacing: -0.004em; text-wrap: balance; transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.2s ease; }
.co-freight li { position: relative; }
.co-freight li::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 0.42em; background: var(--red); transform: translateY(-50%) skewX(calc(-2 * var(--slant))); transition: width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); font-size: clamp(1.5rem, 5.4vw, 3.3rem); }
@media (hover: hover) {
  .co-freight li:hover span { transform: translateX(1.1em); }
  .co-freight li:hover::before { width: 0.8em; }
}
@media (min-width: 900px) { .co-haul-head { grid-template-columns: 1fr auto; align-items: end; } }

.co-rig { margin: clamp(40px, 7vw, 88px) calc(-1 * var(--gap)) 0; }
.co-rig svg { display: block; width: 100%; height: auto; overflow: visible; }
.co-rig path, .co-rig circle { fill: none; stroke: var(--ink); stroke-width: 3.5; stroke-linejoin: round; stroke-linecap: round; }
.co-rig .rig-load { fill: #ece6d6; }
.co-rig .rig-strap { stroke: var(--red); stroke-width: 3.5; }
.co-rig .rig-deck { fill: var(--ink); }
.co-rig .rig-cab { fill: #fff; }
.co-rig .rig-glass { fill: #c9d3dc; stroke-width: 2.5; }
.co-rig .rig-dim path { stroke: var(--red); stroke-width: 2; }
.co-rig .rig-dim .rig-arrow { fill: var(--red); stroke: none; }
.co-rig .rig-dim text { font: 400 30px/1 var(--display); fill: var(--red); text-anchor: middle; letter-spacing: 0.02em; }
.co-rig .rig-wheel circle:first-child { fill: #fff; }
.co-rig .rig-road { stroke: var(--ink); stroke-width: 4; stroke-dasharray: 38 26; }
@media (min-width: 900px) { .co-rig { margin-inline: 0; } }

.co-services { margin-top: clamp(28px, 5vw, 56px); display: grid; gap: 28px; }
.co-services article { padding-top: 16px; border-top: 4px solid var(--ink); }
.co-services h3 { font: 400 1.3rem/1.2 var(--display); }
.co-services p { margin-top: 8px; max-width: 40ch; color: #33383f; }
@media (min-width: 760px) { .co-services { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); } }

/* ---------- Steps of a job ---------- */
@media (min-width: 900px) { .road-steps.is-four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } }
.co-steps .road-steps h3 { font-size: 1.2rem; }

/* ---------- Company: the creed set large, the aims as two plates, the values as a grid ---------- */
.co-about { padding-block: clamp(64px, 10vw, 128px); }
.co h2.co-creed { font-size: clamp(2.1rem, 7vw, 4.6rem); line-height: 1; letter-spacing: -0.008em; max-width: 16ch; }
.co-about-grid { margin-top: clamp(28px, 5vw, 56px); display: grid; gap: clamp(28px, 5vw, 64px); }
.co-about-text p { max-width: 52ch; font-size: 1.12rem; color: #2a2e34; }
.co-about-text p + p { margin-top: 16px; }
.co-aims { display: grid; gap: 16px; }
.co-aims article { padding: clamp(20px, 3vw, 28px); background: var(--asphalt); color: #fff; border-left: 6px solid var(--red); }
.co-aims h3 { font: 400 1.2rem/1.2 var(--display); }
.co-aims p { margin-top: 10px; color: #d7dade; }
@media (min-width: 900px) { .co-about-grid { grid-template-columns: 5fr 7fr; } }
.co-values-title { margin-top: clamp(40px, 7vw, 80px); font: 400 1.3rem/1.2 var(--display); }
.co-values { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 6px solid var(--ink); }
.co-values > div { padding: 18px 16px 20px 0; border-bottom: 1px solid #c9ccd1; }
.co-values dt { font: 400 clamp(1rem, 2.4vw, 1.2rem)/1.2 var(--display); }
.co-values dd { margin-top: 6px; color: #33383f; font-size: 0.98rem; }
@media (min-width: 760px) { .co-values { grid-template-columns: repeat(4, minmax(0, 1fr)); } .co-values > div { padding-right: 24px; } }

/* ---------- Footer ---------- */
.co-foot-grid { display: grid; gap: 36px; }
.co-foot h3 { font: 400 0.95rem/1.2 var(--display); color: #fff; margin-bottom: 12px; }
.co-foot-nav, .co-foot-contact { display: grid; gap: 10px; justify-items: start; align-content: start; }
.co-foot-nav a, .co-foot-contact a:not(.btn) { color: #c4c8ce; text-decoration: none; border-bottom: 1px solid transparent; }
.co-foot-nav a:hover, .co-foot-contact a:not(.btn):hover { color: #fff; border-bottom-color: var(--red); }
.co-foot-contact .co-foot-phone { font: 400 1.5rem/1.1 var(--display); color: #fff; }
.co-foot-contact .btn { margin-top: 8px; }
.co-foot-facts { padding-top: 24px; border-top: 1px solid #2c3036; }
@media (min-width: 900px) {
  .co-foot-grid { grid-template-columns: 5fr 3fr 4fr; align-items: start; }
  .co-foot-facts, .co-foot .foot-legal { grid-column: 1 / -1; }
}

/* ================= Movement. Everything here is skipped when the visitor asks for reduced motion. ================= */
@media (prefers-reduced-motion: no-preference) {
  /* Sections rise into place once; items in a group follow one another. */
  .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: calc(var(--n, 0) * 90ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  /* Hero: the statement arrives line by line and the photo settles in. */
  .js .co-hero h1, .js .co-hero-side { animation: co-rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .js .co-hero-side { animation-delay: 0.18s; }
  .js .co-hero-photo img { animation: co-settle 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .js .co-door-row > div { animation: co-rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: calc(0.35s + var(--n, 0) * 90ms); }
  .co-door-row > div:nth-child(2) { --n: 1; } .co-door-row > div:nth-child(3) { --n: 2; } .co-door-row > div:nth-child(4) { --n: 3; }
  .co-hero-photo::after { animation: co-lane 1.1s linear infinite; }
  @keyframes co-rise { from { opacity: 0; transform: translateY(30px); } }
  @keyframes co-settle { from { transform: scale(1.08); } }
  @keyframes co-lane { to { background-position: calc(50% - 58px) 50%, 0 0; } }

  /* The rig rolls in from the left, is drawn as it comes, and keeps rolling: wheels turn, the road runs under it. */
  .js .co-rig .rig-body, .js .co-rig .rig-wheels { transform: translateX(-9%); transition: transform 1.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
  .js .co-rig .rig-body path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.5s ease 0.1s, fill 0.5s ease 1.2s; }
  .js .co-rig .rig-load, .js .co-rig .rig-deck, .js .co-rig .rig-cab, .js .co-rig .rig-glass { fill-opacity: 0; transition: stroke-dashoffset 1.5s ease 0.1s, fill-opacity 0.5s ease 1.2s; }
  .js .co-rig .rig-dim { opacity: 0; transition: opacity 0.6s ease 1.5s; }
  .js .co-rig .rig-wheels { opacity: 0; transition: transform 1.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease; }
  .js .co-rig.is-in .rig-body, .js .co-rig.is-in .rig-wheels { transform: none; }
  .js .co-rig.is-in .rig-body path { stroke-dashoffset: 0; }
  .js .co-rig.is-in .rig-load, .js .co-rig.is-in .rig-deck, .js .co-rig.is-in .rig-cab, .js .co-rig.is-in .rig-glass { fill-opacity: 1; }
  .js .co-rig.is-in .rig-dim, .js .co-rig.is-in .rig-wheels { opacity: 1; }
  .co-rig .rig-wheel { animation: co-spin 1.6s linear infinite; }
  .co-rig .rig-road { animation: co-road 0.9s linear infinite; }
  @keyframes co-spin { to { transform: rotate(360deg); } }
  @keyframes co-road { to { stroke-dashoffset: 64; } }

  /* Buttons and plates answer the hand. */
  .co .btn { transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease; }
  .co .btn:hover { transform: translateY(-2px); }
  .co .btn:active { transform: translateY(0); }
  .co-aims article { transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
  @media (hover: hover) { .co-aims article:hover { transform: translateX(8px); } }
  .co-gear-photo img { transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .co-gear:hover .co-gear-photo img { transform: scale(1.04); }
}

/* ---------- Not found ---------- */
.lost { background: var(--asphalt); color: #fff; }
.lost-main { min-height: 100dvh; width: min(720px, 100% - 2 * var(--gap)); margin-inline: auto; padding-block: clamp(40px, 10vh, 96px); display: flex; flex-direction: column; justify-content: center; }
.lost-main img { width: 190px; height: auto; margin-left: -6px; }
.lost-code { margin-top: clamp(28px, 6vh, 56px); font: 400 clamp(5rem, 26vw, 11rem)/0.85 var(--display); color: var(--red); letter-spacing: -0.02em; }
.lost h1 { margin-top: 14px; font: 400 clamp(1.8rem, 6vw, 3rem)/1.05 var(--display); }
.lost-main > p:not(.lost-code) { margin-top: 14px; color: #d7dade; max-width: 44ch; }
.lost-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.lost-road { margin-top: clamp(36px, 8vh, 72px); height: 4px; background: repeating-linear-gradient(90deg, #fff 0 34px, transparent 34px 58px); opacity: 0.7; }
@media (prefers-reduced-motion: no-preference) { .lost-road { animation: lost-lane 1.1s linear infinite; } @keyframes lost-lane { to { background-position: -58px 0; } } }
