/* Coltransport LLC. Monochrome UI: black, white, chrome. Photos carry the color.
   Anton for display, Hanken Grotesk for reading. */

:root {
  --black: #000;
  --white: #fff;
  --chrome: #c4c8cd;
  --steel: #7d838a;
  --frost: #eceef0;
  --body-dark: #3a3d41;
  --chrome-metal: linear-gradient(180deg, #fff 0%, #c9ccd1 42%, #f3f4f6 54%, #9a9ea4 100%);

  --maxw: 1320px;
  --gut: clamp(16px, 5vw, 72px);
  --head-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  background: var(--black);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a[href^="tel:"] { white-space: nowrap; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--white); color: var(--black); }
:focus-visible { outline: 3px solid var(--chrome); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); color: var(--black); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Type ---------- */
.d1, .d2, .d3 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.004em;
}
.d1 { font-size: clamp(54px, 10.5vw, 172px); }
.d2 { font-size: clamp(44px, 7vw, 112px); }
.d3 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1; }
.lede { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; max-width: 34ch; }
.prose p { max-width: 62ch; }
.prose p + p { margin-top: 1em; }
.metal { background: var(--chrome-metal); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 26px;
  font-weight: 700; font-size: 16px; letter-spacing: 0.02em;
  text-decoration: none; border: 2px solid currentColor;
  transition: background-color .2s, color .2s;
}
.btn-solid { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-solid:hover { background: var(--chrome); border-color: var(--chrome); }
.btn-line { color: var(--white); }
.btn-line:hover { background: var(--white); color: var(--black); }
.on-light .btn-solid { background: var(--black); color: var(--white); border-color: var(--black); }
.on-light .btn-solid:hover { background: #2b2d30; border-color: #2b2d30; }
.on-light .btn-line { color: var(--black); }
.on-light .btn-line:hover { background: var(--black); color: var(--white); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.textlink:hover { text-decoration-color: var(--chrome); }

/* ---------- Header ---------- */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--head-h);
  transition: background-color .3s;
}
.site-head.solid { background: var(--black); }
.site-head .wrap { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo img { height: 70px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 16px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--white); }
.head-call { min-height: 46px; padding: 0 18px; font-size: 15px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 2px solid var(--white); min-height: 44px; padding: 0 14px; font-weight: 700; font-size: 15px; cursor: pointer; }
.menu {
  position: fixed; inset: 0; z-index: 60; background: var(--black);
  display: none; flex-direction: column; padding: 24px var(--gut);
}
.menu.open { display: flex; }
.menu-top { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.menu-top img { height: 52px; width: auto; }
.menu nav { display: flex; flex-direction: column; gap: 6px; margin-top: 40px; }
.menu nav a { font-family: var(--display); font-size: 52px; text-transform: uppercase; text-decoration: none; line-height: 1.1; }
.menu .btn { margin-top: auto; }

@media (max-width: 860px) {
  :root { --head-h: 68px; }
  .logo img { height: 52px; }
  .nav, .head-call { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
}

/* ---------- Scene (home) ---------- */
.scene { position: relative; height: 330vh; background: var(--black); }
.scene-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.scene canvas, .scene .scene-still {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.scene .scene-still { display: none; }
.scene-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 34%, rgba(0,0,0,0) 52%, rgba(0,0,0,.82) 100%); }
.beat { position: absolute; left: 0; right: 0; }
.beat .wrap { position: relative; }
.beat-1 { top: calc(var(--head-h) + 4vh); }
.scene-h { font-size: clamp(52px, 7.4vw, 128px); }
.beat-3 { bottom: 7vh; opacity: 0; transform: translateY(24px); }
.beat-3 p { font-size: clamp(20px, 2vw, 28px); font-weight: 600; max-width: 26ch; margin-bottom: 22px; }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); font-size: 14px; font-weight: 600; color: var(--chrome); }

@media (prefers-reduced-motion: reduce) {
  .scene { height: auto; }
  .scene-stick { position: relative; min-height: 100svh; }
  .scene canvas, .scroll-hint { display: none; }
  .scene .scene-still { display: block; }
  .beat-3 { opacity: 1; transform: none; }
}

/* ---------- Page top (inner pages) ---------- */
.page-top { position: relative; min-height: 82vh; min-height: 82svh; display: flex; align-items: flex-end; overflow: hidden; }
.page-top .ph { position: absolute; inset: 0; }
.page-top .ph img { width: 100%; height: 100%; object-fit: cover; }
.page-top::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.15) 55%, rgba(0,0,0,.85) 100%); }
.page-top .wrap { position: relative; z-index: 1; padding-bottom: clamp(40px, 7vh, 80px); }
.page-top h1 { max-width: 16ch; font-size: clamp(48px, 6.6vw, 112px); }
.page-top .lede { margin-top: 18px; }

/* ---------- Bands ---------- */
.band { padding-block: clamp(72px, 11vw, 150px); }
.band-white { background: var(--white); color: var(--black); }
.band-white .body, .band-white p { color: var(--body-dark); }
.band-frost { background: var(--frost); color: var(--black); }
.band-chrome { background: var(--chrome); color: var(--black); }
.band-black { background: var(--black); color: var(--white); }
.band h2 + .lede, .band h2 + p { margin-top: 20px; }

/* Two paths */
.paths { display: grid; grid-template-columns: 1fr 1fr; }
.path { position: relative; min-height: 86vh; display: flex; align-items: flex-end; overflow: hidden; text-decoration: none; isolation: isolate; }
.path img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.path::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.86) 100%); }
.path:hover img { transform: scale(1.04); }
.path-in { padding: clamp(28px, 4vw, 56px); }
.path-in p { margin: 14px 0 22px; max-width: 30ch; font-size: 19px; min-height: 3.2em; }
@media (max-width: 860px) { .paths { grid-template-columns: 1fr; } .path { min-height: 72vh; } }

/* Wide photo band that scales on scroll */
.wide { position: relative; height: clamp(320px, 62vh, 720px); overflow: hidden; }
.wide img { width: 100%; height: 100%; object-fit: cover; }

/* Numbered columns */
.cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 48px); margin-top: clamp(48px, 6vw, 80px); }
.cols.three { grid-template-columns: repeat(3, 1fr); }
.col { border-top: 2px solid currentColor; padding-top: 18px; }
.col .n { font-family: var(--display); font-size: clamp(56px, 6vw, 88px); line-height: 1; color: var(--steel); }
.col h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.05; margin-top: 14px; }
.col p { margin-top: 10px; font-size: 17px; }
@media (max-width: 960px) { .cols, .cols.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cols, .cols.three { grid-template-columns: 1fr; } }

/* Haul strip: big words, revealed line by line */
.haul { padding-block: clamp(80px, 12vw, 170px); }
.haul ul { list-style: none; }
.haul li { font-family: var(--display); text-transform: uppercase; font-size: clamp(64px, 14vw, 230px); line-height: .9; overflow: hidden; }
.haul li span { display: block; }
.haul li:last-child span { color: var(--chrome); }

/* Line reveal (JS adds .in) */
.js [data-lines] > * > span { transform: translateY(105%); transition: transform 1s var(--ease); }
.js [data-lines].in > * > span { transform: none; }
.js [data-lines].in > *:nth-child(2) > span { transition-delay: .09s; }
.js [data-lines].in > *:nth-child(3) > span { transition-delay: .18s; }
.js [data-lines].in > *:nth-child(4) > span { transition-delay: .27s; }
@media (prefers-reduced-motion: reduce) { .js [data-lines] > * > span { transform: none; transition: none; } }

/* Authority strip */
.authority .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.authority .nums { font-family: var(--display); font-size: clamp(30px, 3.6vw, 52px); line-height: 1; text-transform: uppercase; }
.authority .nums span { display: inline-block; margin-right: 1.2em; }
.authority .note { font-size: 15px; margin-top: 8px; }
.authority { padding-block: clamp(40px, 5vw, 64px); }

/* Truck photo trio */
.trio { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; margin-top: 40px; height: clamp(420px, 70vh, 760px); }
.trio figure { overflow: hidden; }
.trio figure:first-child { grid-row: 1 / 3; }
.trio img { width: 100%; height: 100%; object-fit: cover; }
.trio-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
@media (max-width: 760px) { .trio { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; } .trio figure:first-child { grid-row: auto; } .trio img { aspect-ratio: 4/3; } }

/* Call strip */
.call .wrap { display: grid; gap: 28px; }
.call .big-phone { font-family: var(--display); font-size: clamp(52px, 10vw, 150px); line-height: .95; text-decoration: none; display: inline-block; }
.call .big-phone:hover { color: var(--steel); }

/* Split: text + photo */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split figure { overflow: hidden; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split.flip figure { order: -1; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip figure { order: 0; } }

/* Steps */
.steps { list-style: none; counter-reset: s; }

/* Fill-in box for Tomas */
.fill { display: inline-block; margin-top: 10px; padding: 8px 12px; border: 2px dashed var(--steel); color: var(--steel); font-size: 15px; font-weight: 600; }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; margin-top: 40px; max-width: 900px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.form .opt { font-weight: 400; color: var(--steel); }
.form input, .form select, .form textarea {
  width: 100%; min-height: 54px; padding: 12px 14px; font-size: 17px;
  background: var(--white); color: var(--black); border: 2px solid #9ea3a9; border-radius: 0;
}
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px var(--chrome); }
.form .small { font-size: 14px; color: var(--steel); }
.form .hp { position: absolute; left: -9999px; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 40px; }
.gallery button { display: block; border: 0; padding: 0; background: none; cursor: zoom-in; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.gallery button:hover img { transform: scale(1.03); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 92vh; margin: auto; }
.lightbox::backdrop { background: rgba(0,0,0,.92); }
.lightbox img { max-width: 96vw; max-height: 84vh; width: auto; height: auto; }
.lightbox button { margin-top: 12px; }

/* Footer */
.site-foot { background: var(--black); border-top: 1px solid #2b2d30; padding-block: 64px 40px; font-size: 16px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-grid img { height: 76px; width: auto; }
.foot-grid h2 { font-family: var(--body); font-size: 15px; font-weight: 700; color: var(--chrome); margin-bottom: 10px; }
.foot-grid ul { list-style: none; }
.foot-grid li + li { margin-top: 6px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; }
.foot-base { margin-top: 48px; color: var(--steel); font-size: 14px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* Scroll-scaled photos (JS sets --s) */
.js [data-scale] img { transform: scale(var(--s, 1.12)); transform-origin: center; will-change: transform; }
@media (prefers-reduced-motion: reduce) { .js [data-scale] img { transform: none; } }

.center { text-align: center; }
.mt-l { margin-top: clamp(32px, 4vw, 56px); }
