:root {
  --ink: #0F2A33;
  --steel: #56707A;
  --fog: #E9EEEF;
  --paper: #FFFFFF;
  --line: #C9D3D6;
  --crane: #E3A812;
  --wrap: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--fog);
}
a { color: inherit; }
a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--crane);
  outline-offset: 3px;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--fog); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 24px;
}
.wordmark {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 800; font-stretch: 125%;
  font-size: 1.15rem; letter-spacing: 0.02em;
}
.wordmark svg { width: 28px; height: 28px; flex-shrink: 0; }
.wordmark span { font-weight: 400; font-stretch: 100%; color: var(--steel); margin-left: 4px; font-size: 0.95rem; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { text-decoration: none; font-size: 0.95rem; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: 12px 22px; border: 2px solid var(--ink);
  background: var(--ink); color: var(--paper); font-size: 0.95rem;
}
.btn:hover { background: #1d4450; border-color: #1d4450; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--paper); border-color: var(--ink); }
.site-nav .btn { color: var(--paper); }
.site-nav .btn:hover { text-decoration: none; }

/* Hero */
.hero { padding: 80px 0 96px; }
.hero .wrap {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center;
}
.hero h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 750; font-stretch: 112%;
  line-height: 1.04; letter-spacing: -0.015em;
  margin: 0 0 24px; max-width: 16ch;
}
.hero p.lead { font-size: 1.15rem; color: var(--steel); max-width: 44ch; margin: 0 0 32px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* The freight brief document */
.brief {
  background: var(--paper); border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
}
.brief-head {
  display: flex; justify-content: space-between; align-items: baseline;
  background: var(--ink); color: var(--paper); padding: 12px 18px;
}
.brief-head strong { font-stretch: 118%; font-weight: 700; }
.brief-head small { opacity: 0.75; }
.brief-grid { display: grid; grid-template-columns: 1fr 1fr; }
.field { padding: 12px 18px 14px; border-top: 1px solid var(--ink); }
.field:nth-child(odd) { border-right: 1px solid var(--ink); }
.field.full { grid-column: 1 / -1; border-right: 0; }
.field label { display: block; font-size: 0.78rem; color: var(--steel); margin-bottom: 2px; }
.field div { font-weight: 600; }
.field.status { background: var(--crane); }
.field.status label { color: var(--ink); }

/* Sections */
section { padding: 96px 0; }
.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 700; font-stretch: 110%;
  line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.01em;
}
.section-intro { color: var(--steel); max-width: 52ch; margin: 0; }

/* Services */
.services { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services .wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; }
.service { padding: 28px 0; border-top: 2px solid var(--ink); }
.service:last-child { border-bottom: 2px solid var(--ink); }
.service h3 { font-size: 1.3rem; font-stretch: 108%; margin: 0 0 8px; line-height: 1.25; }
.service p { margin: 0; max-width: 60ch; }

/* Process */
.steps {
  list-style: none; padding: 0; margin: 48px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  counter-reset: step;
}
.steps li {
  counter-increment: step; padding: 0 24px 0 0; position: relative;
}
.steps li::before {
  content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 2px solid var(--ink); background: var(--paper);
  font-weight: 700; margin-bottom: 20px; position: relative; z-index: 1;
}
.steps li::after {
  content: ""; position: absolute; top: 21px; left: 44px; right: 0;
  border-top: 2px dashed var(--line);
}
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.1rem; margin: 0 0 6px; line-height: 1.3; }
.steps p { margin: 0; color: var(--steel); font-size: 0.97rem; }

/* Hong Kong */
.base { background: var(--ink); color: var(--paper); }
.base .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.base .section-title { color: var(--paper); }
.base p { margin: 0 0 16px; max-width: 52ch; color: #D3DEE1; }

/* Contact */
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact .actions { margin-top: 28px; }
.details { margin: 0; border-top: 2px solid var(--ink); }
.details div {
  display: grid; grid-template-columns: 120px 1fr; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.details dt { color: var(--steel); }
.details dd { margin: 0; font-weight: 600; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 32px 0; font-size: 0.9rem; color: var(--steel); }
footer .wrap { display: flex; flex-direction: column; gap: 14px; }
footer .footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer .footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
footer .footer-legal a { text-decoration: none; }
footer .footer-legal a:hover { text-decoration: underline; text-underline-offset: 4px; }
footer strong { color: var(--ink); }

/* Legal / static content pages */
.legal-page { padding: 64px 0 96px; }
.legal-page .back-link {
  display: inline-block; margin-bottom: 32px; text-decoration: none;
  font-size: 0.9rem; color: var(--steel);
}
.legal-page .back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.legal-page h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 750; font-stretch: 112%;
  line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 8px; max-width: 20ch;
}
.legal-page .updated { color: var(--steel); font-size: 0.92rem; margin: 0 0 48px; }
.legal-page .legal-body { max-width: 68ch; }
.legal-page .legal-body h2 {
  font-size: 1.25rem; font-stretch: 108%; margin: 40px 0 12px;
}
.legal-page .legal-body p, .legal-page .legal-body li { margin: 0 0 14px; color: var(--ink); }
.legal-page .legal-body ul { padding-left: 20px; }
.legal-page .company-box {
  background: var(--paper); border: 2px solid var(--ink); padding: 20px 24px;
  margin: 0 0 40px;
}
.legal-page .company-box dl { margin: 0; }
.legal-page .company-box div {
  display: grid; grid-template-columns: 160px 1fr; gap: 16px;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.legal-page .company-box div:last-child { border-bottom: 0; }
.legal-page .company-box dt { color: var(--steel); font-size: 0.92rem; }
.legal-page .company-box dd { margin: 0; font-weight: 600; }

/* Responsive */
@media (max-width: 900px) {
  .hero .wrap, .services .wrap, .base .wrap, .contact .wrap { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps li:nth-child(2)::after { display: none; }
  section { padding: 72px 0; }
  .hero { padding: 56px 0 72px; }
}
@media (max-width: 640px) {
  .site-nav a:not(.btn) { display: none; }
  .steps { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .brief { box-shadow: 6px 6px 0 var(--ink); }
  .brief-grid { grid-template-columns: 1fr; }
  .field:nth-child(odd) { border-right: 0; }
  .details div, .legal-page .company-box div { grid-template-columns: 1fr; gap: 2px; }
}
