/* crossdocknear.me — Chicago Crossdock Services LLC
   Type: Boska (headlines) and Switzer (everything else), both Indian Type Foundry via Fontshare.
   Colour comes from the dock itself: the timber roof, the concrete floor, the yellow column guard. */

@font-face { font-family: "Boska"; src: url("/assets/fonts/boska.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/assets/fonts/switzer.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --ink: #0f0d0b;
  --soot: #171411;
  --paper: #ece4d5;
  --dust: #a79d8d;
  --line: rgba(236, 228, 213, 0.17);
  --timber: #c08a5c;
  --guard: #e6b31e;
  --display: "Boska", "Iowan Old Style", Georgia, serif;
  --text: "Switzer", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --data: "Switzer", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pad: clamp(20px, 4.6vw, 76px);
  --ease: cubic-bezier(0.72, 0, 0.16, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ink); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-weight: 400;
  font-variant-numeric: lining-nums;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; text-decoration-color: var(--timber); }
a:hover { text-decoration-color: var(--guard); }
::selection { background: var(--guard); color: var(--ink); }
:focus-visible { outline: 2px solid var(--guard); outline-offset: 4px; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 300; letter-spacing: -0.018em; text-wrap: balance; }

.nb { white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--ink); padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; }

/* The dock door: rolls up once when a page opens. */
.door {
  position: fixed; inset: 0; z-index: 150; pointer-events: none;
  background:
    linear-gradient(to top, var(--guard) 0 5px, transparent 5px),
    repeating-linear-gradient(to bottom, #1d1915 0 62px, #0b0908 62px 64px);
  animation: door-up 1s var(--ease) 0.12s both;
}
.seen .door { animation-duration: 0.5s; animation-delay: 0s; }
@keyframes door-up { to { transform: translateY(-101%); } }

/* The floor line: a painted aisle line that runs down the page as you read. */
.floorline { position: fixed; left: 0; top: 0; width: 3px; height: 100vh; background: var(--guard); transform: scaleY(0); transform-origin: top; z-index: 40; pointer-events: none; }

/* Header */
.top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: baseline; gap: clamp(18px, 3vw, 44px);
  padding: 22px var(--pad) 0;
}
.mark { font-family: var(--display); font-weight: 400; font-size: 1.45rem; letter-spacing: -0.01em; line-height: 1; text-decoration: none; margin-right: auto; white-space: nowrap; order: -2; }
.menu-btn { order: 3; }
.nav { display: flex; gap: clamp(16px, 2.2vw, 34px); font-size: 0.9375rem; }
.nav a, .top-phone { text-decoration: none; padding: 6px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.35s var(--ease); }
.nav a:hover, .top-phone:hover { background-size: 100% 1px; }
.nav a[aria-current="page"] { background-size: 100% 1px; background-image: linear-gradient(var(--guard), var(--guard)); }
.top-phone { font-size: 0.9375rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.menu-btn { display: none; font: inherit; font-size: 0.9375rem; color: inherit; background: none; border: 0; padding: 6px 0; cursor: pointer; }

@media (max-width: 900px) {
  .top { align-items: center; padding-top: 16px; }
  .mark { font-size: 1.3rem; }
  .top-phone { display: none; }
  .menu-btn { display: block; position: relative; z-index: 70; }
  .nav {
    position: fixed; inset: 0; z-index: 60; background: var(--ink);
    flex-direction: column; justify-content: center; gap: 2px; padding: 0 var(--pad);
    font-family: var(--display); font-weight: 300; letter-spacing: -0.018em; font-size: clamp(2.3rem, 10vw, 3.4rem); line-height: 1.14;
    align-items: flex-start; justify-content: safe center; overflow-y: auto;
    transform: translateY(-102%); transition: transform 0.55s var(--ease), visibility 0s 0.55s; visibility: hidden;
  }
  .nav a { padding: 0; }
  .nav .nav-phone { display: block; font-family: var(--data); font-size: 1rem; margin-top: 28px; }
  .menu-open .nav { transform: none; visibility: visible; transition-delay: 0s; }
  .menu-open { overflow: hidden; }
}
@media (max-width: 900px) and (max-height: 480px) { .nav { font-size: 1.7rem; padding-top: 60px; padding-bottom: 20px; justify-content: flex-start; } .nav .nav-phone { margin-top: 12px; } }
@media (min-width: 901px) { .nav .nav-phone { display: none; } }

/* Home */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 130px var(--pad) clamp(26px, 5vh, 54px); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; filter: saturate(0.82) contrast(1.06) brightness(0.86); animation: settle 16s cubic-bezier(0.16, 0.6, 0.3, 1) both; transform-origin: 50% 60%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(15,13,11,0.62) 0%, rgba(15,13,11,0.16) 30%, rgba(15,13,11,0.5) 58%, rgba(15,13,11,0.96) 100%); }
@keyframes settle { from { transform: scale(1.12); } to { transform: scale(1); } }

.now { font-size: 0.9375rem; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 12px; margin-bottom: clamp(16px, 2.6vh, 28px); }
.now i { width: 9px; height: 9px; border-radius: 50%; background: var(--guard); flex: none; animation: lamp 2.6s ease-in-out infinite; }
@keyframes lamp { 50% { opacity: 0.28; } }

.hero h1 { font-size: clamp(2.7rem, 8.8vw, 9.4rem); line-height: 0.98; letter-spacing: -0.028em; margin-left: -0.03em; }
.line { display: block; overflow: hidden; padding: 0.06em 0.04em 0.16em; margin: -0.06em -0.04em -0.16em; }
.line > span { display: block; animation: rise 1.05s var(--ease) both; }
.line:nth-child(1) > span { animation-delay: 0.62s; }
.line:nth-child(2) > span { animation-delay: 0.74s; }
.seen .line:nth-child(1) > span { animation-delay: 0.2s; }
.seen .line:nth-child(2) > span { animation-delay: 0.3s; }
@keyframes rise { from { transform: translateY(108%); } }

.hero-foot { display: grid; grid-template-columns: minmax(0, 34ch) 1fr; gap: 32px clamp(32px, 6vw, 110px); align-items: end; margin-top: clamp(20px, 4vh, 44px); padding-top: clamp(16px, 2.6vh, 26px); border-top: 1px solid var(--line); }
.hero-foot p { font-size: 1.0625rem; line-height: 1.5; }
.hero-acts { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: baseline; gap: 14px clamp(24px, 4vw, 60px); }
.dial { font-family: var(--display); font-weight: 300; letter-spacing: -0.02em; font-size: clamp(2.1rem, 3.9vw, 3.5rem); line-height: 1.04; text-decoration: none; white-space: nowrap; }
.dial small { display: block; font-family: var(--text); font-weight: 400; letter-spacing: 0; font-size: 0.9375rem; line-height: 1.3; color: var(--dust); margin-bottom: 6px; }
.go { font-size: 1.0625rem; white-space: nowrap; }
.go::after { content: "\2192"; display: inline-block; margin-left: 0.4em; transition: transform 0.35s var(--ease); }
.go:hover::after { transform: translateX(6px); }
@media (max-width: 760px) {
  .hero-foot { grid-template-columns: 1fr; }
  .hero-acts { justify-content: flex-start; }
}

/* Sections */
.band { padding: clamp(64px, 11vh, 140px) var(--pad); }
.band + .band { padding-top: 0; }
.kicker { font-size: 0.9375rem; color: var(--dust); margin-bottom: clamp(18px, 3vh, 34px); }

/* Service rows */
.rows { border-bottom: 1px solid var(--line); }
.rows a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30ch); gap: 8px 40px; align-items: end; padding: clamp(14px, 2.2vh, 24px) 0 clamp(16px, 2.4vh, 26px); border-top: 1px solid var(--line); text-decoration: none; }
.rows b { font-family: var(--display); font-weight: 300; letter-spacing: -0.022em; font-size: clamp(2.1rem, 5.2vw, 5.2rem); line-height: 1.02; transition: transform 0.5s var(--ease); }
.rows span { color: var(--dust); font-size: 1rem; line-height: 1.45; padding-bottom: 0.7em; transition: color 0.3s; }
.rows a:hover b { transform: translateX(clamp(8px, 1.4vw, 22px)); }
.rows a:hover span { color: var(--paper); }
@media (max-width: 760px) { .rows a { grid-template-columns: 1fr; } .rows span { padding-bottom: 0; } }
.peek { position: fixed; left: 0; top: 0; width: 300px; aspect-ratio: 4 / 3; z-index: 45; pointer-events: none; opacity: 0; transition: opacity 0.25s; overflow: hidden; }
.peek img { width: 100%; height: 100%; object-fit: cover; }
.peek.on { opacity: 1; }

/* Dock update */
.update { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.update h2, .update h3 { font-size: clamp(2rem, 3.5vw, 3.3rem); line-height: 1.06; margin: 14px 0 22px; }
.update p + p { margin-top: 0.7em; }
.stamp { font-size: 0.9375rem; font-variant-numeric: tabular-nums; color: var(--dust); }
figure figcaption { font-size: 0.875rem; line-height: 1.45; color: var(--dust); margin-top: 12px; max-width: 60ch; }
@media (max-width: 860px) { .update { grid-template-columns: 1fr; } }

/* Inner page head */
.head { padding: clamp(150px, 24vh, 250px) var(--pad) clamp(36px, 6vh, 70px); }
.crumb { font-size: 0.9375rem; color: var(--dust); margin-bottom: clamp(16px, 2vw, 26px); }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.head h1 { font-size: clamp(2.7rem, 7.6vw, 7.8rem); line-height: 1; letter-spacing: -0.028em; margin-left: -0.03em; max-width: 13em; }
.head.small h1 { font-size: clamp(2.3rem, 5.2vw, 5rem); line-height: 1.04; max-width: 16em; }
.lede { font-size: clamp(1.2rem, 1.7vw, 1.5rem); line-height: 1.45; font-weight: 300; max-width: 36em; margin-top: clamp(22px, 4vh, 44px); }
.facts-line { font-size: 0.9375rem; font-variant-numeric: tabular-nums; color: var(--dust); margin-top: 22px; display: flex; flex-wrap: wrap; gap: 4px 26px; }
.facts-line a { text-decoration: none; color: var(--paper); }
.facts-line .open::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--guard); margin-right: 9px; animation: lamp 2.6s ease-in-out infinite; }

.plate { padding: 0 var(--pad); }
.plate img { width: 100%; max-height: 82vh; object-fit: cover; filter: saturate(0.9) contrast(1.03); }
.plate.narrow { max-width: calc(500px + var(--pad) * 2); }
.plate.wipe img { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease); }
.plate.wipe.in img, .no-js .plate.wipe img { clip-path: inset(0); }

/* Service body */
.body { display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 60ch); gap: clamp(36px, 8vw, 150px); padding: clamp(56px, 9vh, 110px) var(--pad); align-items: start; }
.aside { position: sticky; top: 28px; }
.aside h2 { font-family: var(--text); font-weight: 400; letter-spacing: 0; font-size: 0.9375rem; color: var(--dust); margin-bottom: 10px; }
.aside li { border-top: 1px solid var(--line); padding: 10px 0 11px; font-size: 1rem; line-height: 1.4; }
.aside li:last-child { border-bottom: 1px solid var(--line); }
.aside .dial { display: block; margin-top: 34px; font-size: clamp(1.9rem, 2.6vw, 2.4rem); }
.prose h2 { font-size: clamp(1.8rem, 2.9vw, 2.6rem); line-height: 1.1; margin: 1.7em 0 0.5em; }
.prose > h2:first-child, .prose > section:first-child h2 { margin-top: 0; }
.prose p { max-width: 60ch; }
.prose p + p { margin-top: 0.85em; }
.prose ul { margin-top: 0.9em; border-bottom: 1px solid var(--line); }
.prose li { border-top: 1px solid var(--line); padding: 9px 0 10px; }
.prose .dek { font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.45; font-weight: 300; margin-bottom: 1.4em; }
@media (max-width: 860px) {
  .body { grid-template-columns: 1fr; }
  .aside { position: static; order: 2; }
}
.solo { padding: clamp(40px, 7vh, 90px) var(--pad) clamp(56px, 9vh, 110px); }
.solo .prose { max-width: 60ch; margin-left: auto; margin-right: clamp(0px, 12vw, 240px); }
@media (max-width: 860px) { .solo .prose { margin: 0; } }

.next { display: block; padding: clamp(26px, 5vh, 54px) var(--pad); border-top: 1px solid var(--line); text-decoration: none; }
.next small { display: block; font-size: 0.9375rem; color: var(--dust); margin-bottom: 8px; }
.next b { font-family: var(--display); font-weight: 300; letter-spacing: -0.022em; font-size: clamp(2.1rem, 5.2vw, 5.2rem); line-height: 1.04; display: inline-block; transition: transform 0.5s var(--ease); }
.next:hover b { transform: translateX(clamp(8px, 1.4vw, 22px)); }

/* Definition lists: facts and questions */
.ledger { border-bottom: 1px solid var(--line); }
.ledger > div { display: grid; grid-template-columns: minmax(0, 15ch) minmax(0, 1fr); gap: 6px 40px; border-top: 1px solid var(--line); padding: 14px 0 16px; }
.ledger dt { color: var(--dust); font-size: 0.9375rem; }
.ledger dd { min-width: 0; overflow-wrap: anywhere; }
.contact .ledger > div { grid-template-columns: 1fr; gap: 2px; }
@media (max-width: 620px) { .ledger > div { grid-template-columns: 1fr; } }
.qa > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px clamp(28px, 5vw, 90px); border-top: 1px solid var(--line); padding: clamp(20px, 3.4vh, 36px) 0 clamp(22px, 3.8vh, 40px); align-items: start; }
.qa > div:last-child { border-bottom: 1px solid var(--line); }
.qa dt { font-family: var(--display); font-weight: 300; letter-spacing: -0.018em; font-size: clamp(1.6rem, 2.5vw, 2.3rem); line-height: 1.12; text-wrap: balance; }
.qa dd { max-width: 46ch; padding-top: 0.5em; }
@media (max-width: 760px) { .qa > div { grid-template-columns: 1fr; } .qa dd { padding-top: 0; } }

/* Notes list */
.notes a { display: grid; grid-template-columns: 12ch minmax(0, 1fr); gap: 4px 32px; align-items: baseline; border-top: 1px solid var(--line); padding: 16px 0 20px; text-decoration: none; }
.notes { border-bottom: 1px solid var(--line); }
.notes b { font-family: var(--display); font-weight: 300; letter-spacing: -0.018em; font-size: clamp(1.6rem, 2.7vw, 2.5rem); line-height: 1.1; display: block; transition: transform 0.5s var(--ease); }
.notes a:hover b { transform: translateX(12px); }
.notes em { font-style: normal; color: var(--dust); font-size: 1rem; display: block; margin-top: 8px; max-width: 56ch; }
@media (max-width: 620px) { .notes a { grid-template-columns: 1fr; gap: 14px; } }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); padding: clamp(20px, 4vh, 50px) var(--pad) clamp(64px, 10vh, 120px); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact .dial { font-size: clamp(2.6rem, 5.4vw, 5rem); display: block; margin-bottom: 30px; }
form .f { display: block; border-bottom: 1px solid rgba(236, 228, 213, 0.45); padding: 14px 0 6px; transition: border-color 0.3s; }
form .f:focus-within { border-color: var(--guard); }
form label { display: block; font-size: 0.9375rem; color: var(--dust); }
form input, form select, form textarea { width: 100%; font: inherit; font-size: 1.125rem; color: var(--paper); background: transparent; border: 0; padding: 4px 0 6px; border-radius: 0; outline: none; appearance: none; -webkit-appearance: none; }
form select { background-image: linear-gradient(45deg, transparent 50%, var(--dust) 50%), linear-gradient(135deg, var(--dust) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
form select option { color: #111; }
form textarea { min-height: 5.4em; resize: vertical; }
form .f.bad { border-color: #d9694a; }
.send { font-family: var(--display); font-weight: 300; letter-spacing: -0.02em; font-size: clamp(2rem, 3.2vw, 2.9rem); line-height: 1.1; color: var(--paper); background: none; border: 0; padding: 0; margin-top: 26px; cursor: pointer; }
.send::after { content: "\2192"; font-family: var(--text); font-weight: 300; font-size: 0.62em; margin-left: 0.35em; display: inline-block; vertical-align: 0.08em; transition: transform 0.35s var(--ease); }
.send:hover::after { transform: translateX(8px); }
.send[disabled] { opacity: 0.5; cursor: default; }
.status { margin-top: 18px; min-height: 1.6em; }
.status.err { color: #e58c70; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Closing call and footer */
.call { padding: clamp(60px, 11vh, 130px) var(--pad) clamp(36px, 6vh, 70px); border-top: 1px solid var(--line); }
.call p { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); }
.call .big { display: block; font-family: var(--display); font-weight: 200; letter-spacing: -0.035em; font-size: clamp(2.9rem, 13.6vw, 14.5rem); line-height: 1; text-decoration: none; margin: 0.08em 0 0.14em -0.04em; white-space: nowrap; }
.foot { padding: 34px var(--pad) 40px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px 40px; font-size: 0.9375rem; line-height: 1.6; }
.foot h2 { font-family: var(--text); font-weight: 400; letter-spacing: 0; font-size: 0.9375rem; color: var(--dust); margin-bottom: 6px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .mark { font-size: 1.6rem; display: block; margin-bottom: 10px; }
.legal { grid-column: 1 / -1; color: var(--dust); font-size: 0.8125rem; font-variant-numeric: tabular-nums; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 30px; }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot { grid-template-columns: 1fr; } }

@media (max-width: 620px) { body { font-size: 1.0625rem; } }

@media (prefers-reduced-motion: reduce) {
  .door { display: none; }
  .hero-bg img, .line > span, .now i, .facts-line .open::before { animation: none; }
  .plate.wipe img { clip-path: none; transition: none; }
  .floorline, .peek { display: none; }
  * { transition-duration: 0.01ms !important; }
}

/* Numbers in headlines sit on the line (no old-style figures) */
.dial, .call .big, h1, h2, .rows b, .next b, .notes b, .qa dt { font-feature-settings: "lnum" 1, "pnum" 1; }

/* Phone numbers are set in the sans: its figures are plain and even. */
.dial, .call .big { font-family: var(--text); font-weight: 200; letter-spacing: -0.035em; font-feature-settings: normal; font-variant-numeric: lining-nums tabular-nums; }
.dial { font-weight: 300; }
.hero h1 { font-size: clamp(3.1rem, 8.8vw, 9.4rem); }
