:root {
  --ink: #10202e;
  --ink-2: #1b3346;
  --paper: #f3ede2;
  --paper-2: #e9e0cf;
  --orange: #ff6a1a;
  --muted: #5b6670;
  --line: rgba(16, 32, 46, 0.16);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  background-image: radial-gradient(rgba(16, 32, 46, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
}
a { color: inherit; }
.mono { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.hidden { display: none; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(243, 237, 226, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; letter-spacing: -0.01em; margin: 0; }
.tld { color: var(--orange); }
.brand-mark { width: 14px; height: 14px; border-radius: 50%; background: var(--orange); box-shadow: 10px 0 0 -3px var(--ink); margin-right: 8px; }
.nav { display: flex; gap: 28px; align-items: center; font-size: 0.95rem; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--orange); }
.nav-cta { border: 1px solid var(--ink); padding: 8px 16px; border-radius: 999px; }
.nav-cta:hover { background: var(--ink); color: var(--paper) !important; }

/* Buttons */
.btn { display: inline-block; padding: 14px 26px; border-radius: 999px; text-decoration: none; font-weight: 500; border: 1px solid var(--ink); cursor: pointer; font: inherit; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-ghost { background: transparent; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
  padding: clamp(48px, 8vw, 110px) clamp(20px, 5vw, 64px) 72px;
  max-width: 1320px; margin: 0 auto;
}
.eyebrow { color: var(--muted); margin: 0 0 22px; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; line-height: 1; margin: 0; }
h1 { font-size: clamp(3.2rem, 8vw, 6.6rem); }
h1 em, h2 em { color: var(--orange); }
.lede { font-size: 1.15rem; max-width: 34rem; color: var(--ink-2); margin: 28px 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.route { margin: 0; }
.route svg { width: 100%; height: auto; overflow: visible; }
.route-line { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 6 7; animation: dash 30s linear infinite; }
.stop circle { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.stop-end circle { fill: var(--ink); }
.stop text { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; fill: var(--ink); }
.parcel { fill: var(--orange); }
.route figcaption { color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; margin-top: 12px; }
@keyframes dash { to { stroke-dashoffset: -400; } }

/* Ticker */
.ticker { background: var(--ink); color: var(--paper); overflow: hidden; padding: 14px 0; border-block: 1px solid var(--ink); }
.ticker-track { display: flex; gap: 48px; width: max-content; animation: slide 40s linear infinite; }
.ticker-track span::before { content: "■"; color: var(--orange); margin-right: 14px; font-size: 0.6rem; vertical-align: middle; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 64px); max-width: 1320px; margin: 0 auto; }
.section-head { display: grid; grid-template-columns: 1fr 3fr; gap: 24px; align-items: end; margin-bottom: 56px; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
.label { color: var(--orange); margin: 0; }
h2 { font-size: clamp(2.3rem, 5vw, 4rem); }
h3 { font-size: 1.2rem; font-weight: 600; margin: 0 0 10px; letter-spacing: -0.01em; }

.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.services li { padding: 32px 28px 40px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s; }
.services li:hover { background: var(--paper-2); }
.services .num { display: block; color: var(--orange); margin-bottom: 36px; }
.services p { margin: 0; color: var(--ink-2); }

.section-dark { max-width: none; background: var(--ink); color: var(--paper); }
.section-dark > * { max-width: 1192px; margin-left: auto; margin-right: auto; }
.section-dark .section-head { border-color: rgba(243, 237, 226, 0.2); }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps::before { content: ""; position: absolute; top: 7px; left: 0; right: 0; border-top: 2px dashed rgba(243, 237, 226, 0.35); }
.steps li { position: relative; padding: 36px 24px 0 0; }
.steps li::before { content: ""; position: absolute; top: 0; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px var(--ink); }
.step-tag { color: var(--orange); margin: 0 0 12px; }
.steps p:last-child { color: rgba(243, 237, 226, 0.75); margin: 0; }

.sectors { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.sectors li { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem); padding: 10px 26px; border: 1px solid var(--ink); border-radius: 999px; transition: background .2s, color .2s; }
.sectors li:hover { background: var(--orange); border-color: var(--orange); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; border-top: 1px solid var(--line); }
.contact-copy h2 { margin: 18px 0 22px; }
.contact-copy p:last-child { color: var(--ink-2); max-width: 28rem; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; background: #fbf8f2; border: 1px solid var(--line); padding: 32px; border-radius: 6px; box-shadow: 8px 8px 0 var(--ink); }
.contact-form label { display: flex; flex-direction: column; gap: 6px; }
.contact-form label span { color: var(--muted); }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; color: var(--ink); background: transparent;
  border: none; border-bottom: 1.5px solid var(--ink); padding: 8px 2px; border-radius: 0;
}
.contact-form textarea { border: 1.5px solid var(--ink); padding: 10px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--orange); }

.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 28px clamp(20px, 5vw, 64px); border-top: 1px solid var(--line); color: var(--muted); }
.footer .brand { color: var(--ink); }

/* Thank you */
.thanks { max-width: 760px; margin: 0 auto; padding: 120px 24px; }
.thanks h1 { font-size: clamp(2.8rem, 7vw, 5rem); margin-top: 16px; }

@media (max-width: 900px) {
  .hero, .contact { grid-template-columns: 1fr; }
  .route { max-width: 420px; }
  .section-head { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .nav a:not(.nav-cta) { display: none; }
}
@media (max-width: 560px) {
  .services, .steps, .contact-form { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .route-line, .ticker-track { animation: none; }
  .parcel { display: none; }
}
