/* Spedition Expert: design tokens follow /claude.md (monochrome: charcoal + steel grey) */
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #f7f7f7;
  --surface: #ededee;
  --surface-2: #ffffff;
  --ink: #1f1f1f;
  --ink-2: #333335;
  --steel: #85868a;
  --steel-hi: #a7a8ac;
  --steel-lo: #5e5f63;
  --text: #1f1f1f;
  --text-soft: #4b4c50;
  --line: rgba(31, 31, 31, 0.14);

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;

  --font-head: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-float: 0 8px 24px rgba(31, 31, 31, 0.12), 0 2px 6px rgba(31, 31, 31, 0.08);
  --shadow-hover: 0 16px 40px rgba(31, 31, 31, 0.18), 0 4px 10px rgba(31, 31, 31, 0.1);
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  font-stretch: 118%;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
  hyphens: auto;
  overflow-wrap: anywhere;
}
p { margin: 0; }
.hero-grid > *, .story-grid > *, .contact-grid > *, .service-grid > * { min-width: 0; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--steel); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.skip {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 8px;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 16px; }

.eyebrow {
  font-family: var(--font-head);
  font-stretch: 118%;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-lo);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 32px; height: 3px; background: var(--steel); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px;
  font-family: var(--font-head); font-stretch: 112%; font-weight: 700; font-size: 15px;
  letter-spacing: 0.02em; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; border-radius: 8px;
  transition: transform 0.35s var(--spring), background-color 0.2s var(--ease),
    color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-float); }
.btn:active { transform: translateY(0) scale(0.97); box-shadow: none; }
.btn-steel { background: var(--steel); color: var(--ink); }
.btn-steel:hover { background: var(--steel-hi); }
.btn-steel:active { background: var(--steel-lo); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn-ghost:hover { border-color: var(--steel); color: var(--steel-hi); }
.btn-ghost:active { background: rgba(255, 255, 255, 0.08); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); }
.btn-ink:active { background: #141414; }
.btn .arrow { transition: transform 0.35s var(--spring); }
.btn:hover .arrow { transform: translateX(4px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(247, 247, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; border-radius: 8px; text-decoration: none; }
.brand img { height: 48px; width: auto; transition: transform 0.35s var(--spring); }
.brand:hover img { transform: rotate(-6deg) scale(1.06); }
.brand:active img { transform: scale(0.95); }
.brand-text { display: grid; line-height: 1; font-family: var(--font-head); font-stretch: 125%; text-transform: uppercase; }
.brand-text b { font-weight: 800; font-size: 20px; letter-spacing: 0.02em; color: var(--ink); }
.brand-text i { font-style: normal; font-weight: 700; font-size: 13px; letter-spacing: 0.42em; color: var(--steel-lo); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a:not(.btn) {
  font-family: var(--font-head); font-stretch: 108%; font-weight: 600; font-size: 15px;
  text-decoration: none; padding: 8px 16px; border-radius: 8px; position: relative;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.3s var(--spring);
}
.nav a:not(.btn):hover { background: var(--surface); }
.nav a:not(.btn):active { transform: scale(0.96); background: #e1e1e3; }
.nav .btn { min-height: 44px; padding: 8px 24px; margin-left: 8px; }
.menu-btn {
  display: none; width: 48px; height: 48px; border: 0; background: var(--surface);
  border-radius: 8px; cursor: pointer; color: var(--ink);
  transition: background-color 0.2s var(--ease), transform 0.3s var(--spring);
}
.menu-btn:hover { background: #e1e1e3; }
.menu-btn:active { transform: scale(0.92); }
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; margin: auto; position: relative;
  transition: transform 0.3s var(--ease), background-color 0.2s var(--ease);
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -7px; }
.menu-btn span::after { top: 7px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  background: var(--ink); color: #fff; position: relative; overflow: hidden;
  padding-block: var(--s9) var(--s10);
}
.hero::before { /* faint cube-edge lines, echoing the logo */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(115deg, transparent 58%, rgba(133, 134, 138, 0.2) 58.1%, rgba(133, 134, 138, 0.2) 58.6%, transparent 58.7%),
    linear-gradient(115deg, transparent 66%, rgba(255, 255, 255, 0.05) 66.1%, rgba(255, 255, 255, 0.05) 66.4%, transparent 66.5%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.35fr 0.65fr; gap: var(--s8); align-items: end; }
.hero .eyebrow { color: var(--steel-hi); }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); margin-block: var(--s5) var(--s5); }
.hero h1 em { font-style: normal; color: var(--steel); display: block; }
.hero .lead { font-size: 19px; max-width: 56ch; color: rgba(255, 255, 255, 0.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.hero-side { display: grid; gap: var(--s4); }
.fact {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 4px solid var(--steel); border-radius: 8px; padding: var(--s4) var(--s5);
}
.fact strong { display: block; font-family: var(--font-head); font-stretch: 118%; font-weight: 800; font-size: 40px; line-height: 1; color: #fff; }
.fact span { font-size: 14px; color: rgba(255, 255, 255, 0.72); }

/* Sections */
section { padding-block: var(--s10); }
.section-head { max-width: 720px; margin-bottom: var(--s8); }
.section-head h2 { font-size: clamp(32px, 4.4vw, 52px); margin-top: var(--s4); }
.section-head p { margin-top: var(--s4); color: var(--text-soft); font-size: 18px; }

/* Story: asymmetrical, sticky intro + timeline */
.story { background: var(--bg); }
.story-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--s9); align-items: start; }
.story-intro { position: sticky; top: calc(var(--header-h) + var(--s6)); }
.story-intro h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: var(--s4); }
.story-intro p { margin-top: var(--s5); color: var(--text-soft); font-size: 18px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li {
  position: relative; margin-left: var(--s7); padding: var(--s5) var(--s6);
  background: var(--surface); border-radius: 12px;
  transition: transform 0.4s var(--spring), box-shadow 0.3s var(--ease), background-color 0.2s var(--ease);
}
.timeline li:hover { transform: translateX(8px); background: var(--surface-2); box-shadow: var(--shadow-float); }
.timeline li::before {
  content: ""; position: absolute; left: calc(-1 * var(--s7) + 4px); top: 32px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--steel); box-shadow: 0 0 0 4px var(--bg);
}
.timeline .year { font-family: var(--font-head); font-stretch: 118%; font-weight: 800; font-size: 32px; color: var(--steel-lo); line-height: 1; }
.timeline h3 { font-size: 22px; margin-block: var(--s2) var(--s2); }
.timeline p { color: var(--text-soft); }

/* Services: asymmetrical bento */
.services { background: var(--surface); }
.service-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s5); }
.service {
  background: var(--surface-2); border-radius: 16px; padding: var(--s6);
  display: flex; flex-direction: column; gap: var(--s3);
  border: 1px solid var(--line); border-top: 4px solid var(--steel);
  box-shadow: 0 1px 2px rgba(31, 31, 31, 0.05);
  transition: transform 0.4s var(--spring), box-shadow 0.3s var(--ease), border-color 0.2s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.service:active { transform: translateY(-2px) scale(0.99); box-shadow: var(--shadow-float); }
.service:focus-within { border-color: var(--steel); }
.service .num { font-family: var(--font-head); font-stretch: 118%; font-weight: 800; font-size: 14px; letter-spacing: 0.14em; color: var(--steel-lo); }
.service h3 { font-size: 26px; }
.service p { color: var(--text-soft); }
.service .more { margin-top: auto; padding-top: var(--s3); font-family: var(--font-head); font-stretch: 108%; font-weight: 700; font-size: 15px; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; width: fit-content; border-radius: 4px; }
.service .more span { transition: transform 0.35s var(--spring); }
.service .more:hover { color: var(--steel-lo); }
.service .more:hover span { transform: translateX(4px); }
.service .more:active { color: var(--ink); }
.service.s-a { grid-column: span 7; }
.service.s-b { grid-column: span 5; }
.service.s-c { grid-column: span 5; }
.service.s-d { grid-column: span 7; }
.service.dark { background: var(--ink); color: #fff; border-color: var(--ink); border-top-color: var(--steel); }
.service.dark p { color: rgba(255, 255, 255, 0.8); }
.service.dark .num { color: var(--steel-hi); }
.service.dark .more:hover { color: var(--steel-hi); }
.service.dark .more:active { color: #fff; }

/* Reasons */
.why { background: var(--bg); }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s4) var(--s8); }
.why-item { display: grid; grid-template-columns: 48px 1fr; gap: var(--s4); padding-block: var(--s5); border-top: 1px solid var(--line); }
.why-item .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--ink); color: var(--steel); display: grid; place-items: center; }
.why-item h3 { font-size: 20px; margin-bottom: var(--s1); }
.why-item p { color: var(--text-soft); }

/* Contact */
.contact { background: var(--ink); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--s9); align-items: start; }
.contact .eyebrow { color: var(--steel-hi); }
.contact h2 { font-size: clamp(32px, 4.4vw, 52px); margin-block: var(--s4) var(--s5); }
.contact .lead { color: rgba(255, 255, 255, 0.82); font-size: 18px; max-width: 44ch; }
.contact-list { list-style: none; margin: var(--s6) 0 0; padding: 0; display: grid; gap: var(--s3); }
.contact-list li { display: flex; gap: var(--s3); align-items: baseline; color: rgba(255, 255, 255, 0.86); }
.contact-list b { font-family: var(--font-head); font-stretch: 112%; color: var(--steel-hi); min-width: 96px; font-weight: 700; }
.contact-list a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,0.35); transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease); }
.contact-list a:hover { color: var(--steel-hi); text-decoration-color: var(--steel-hi); }
.contact-list a:active { color: #fff; }
.form {
  background: var(--surface-2); color: var(--text); border-radius: 16px; padding: var(--s7);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35); display: grid; gap: var(--s5);
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.field { display: grid; gap: var(--s2); }
.field label { font-family: var(--font-head); font-stretch: 108%; font-weight: 700; font-size: 14px; }
.field input, .field select, .field textarea {
  font: inherit; color: inherit; background: var(--bg); width: 100%;
  border: 2px solid var(--line); border-radius: 8px; padding: 12px 16px; min-height: 48px;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(31, 31, 31, 0.4); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--steel); background: #fff; box-shadow: 0 0 0 4px rgba(133, 134, 138, 0.3);
}
.field.check { grid-template-columns: 24px 1fr; align-items: start; gap: var(--s3); }
.field.check input { width: 24px; height: 24px; min-height: 0; accent-color: var(--ink); padding: 0; }
.field.check label { font-family: var(--font-body); font-weight: 400; font-size: 14px; color: var(--text-soft); }
.field.check label a { color: var(--ink); }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 13px; color: var(--text-soft); }
.form-status { font-weight: 600; min-height: 24px; }
.form-status.ok { color: #0b6b3a; }
.form-status.err { color: #a8261a; }

/* Footer */
.site-footer { background: #141414; color: rgba(255, 255, 255, 0.78); padding-block: var(--s8) var(--s6); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr; gap: var(--s8); }
.footer-grid img { height: 88px; width: auto; }
.footer-grid h4 { font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel-hi); margin-bottom: var(--s4); font-stretch: 112%; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.footer-grid a { text-decoration: none; padding-block: 2px; display: inline-block; transition: color 0.2s var(--ease), transform 0.3s var(--spring); }
.footer-grid a:hover { color: var(--steel-hi); transform: translateX(4px); }
.footer-grid a:active { color: #fff; }
.footer-bottom { margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid rgba(255, 255, 255, 0.14); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s3); font-size: 14px; }

/* Photo treatment (per design rules): use on any future photography */
.photo { position: relative; overflow: hidden; border-radius: 16px; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(31, 31, 31, 0.15) 60%, transparent); mix-blend-mode: multiply; }

/* Legal pages */
.legal { padding-block: var(--s9); max-width: 780px; }
.legal h1 { font-size: clamp(32px, 5vw, 52px); margin-bottom: var(--s6); }
.legal h2 { font-size: 22px; margin-block: var(--s6) var(--s3); }
.legal p, .legal li { color: var(--text-soft); margin-bottom: var(--s3); }
.todo { background: #ececed; border-left: 4px solid var(--steel); padding: var(--s3) var(--s4); border-radius: 4px; color: var(--ink); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.7s var(--spring); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  section { padding-block: var(--s9); }
  .hero { padding-block: var(--s8) var(--s9); }
  .hero-grid, .story-grid, .contact-grid { grid-template-columns: 1fr; gap: var(--s7); }
  .hero-side { grid-template-columns: repeat(3, 1fr); }
  .fact strong { font-size: 32px; }
  .story-intro { position: static; }
  .service.s-a, .service.s-b, .service.s-c, .service.s-d { grid-column: span 12; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .menu-btn { display: block; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--bg); padding: var(--s4) 24px var(--s5); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-float); display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 16px; }
  .nav .btn { margin: var(--s2) 0 0; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  h1, h2, h3 { font-stretch: 100%; }
  .hero h1 { font-size: 32px; }
  .section-head h2, .story-intro h2, .contact h2 { font-size: 30px; }
  .fact strong { font-size: 28px; }
  .timeline li { margin-left: var(--s6); padding: var(--s4) var(--s5); }
  .timeline li::before { left: calc(-1 * var(--s6) + 4px); top: 24px; }
  .timeline h3 { font-size: 19px; }
  .service { padding: var(--s5); }
  .service h3 { font-size: 22px; }
  .hero-side { grid-template-columns: 1fr; }
  .form { padding: var(--s5); }
  .form .row { grid-template-columns: 1fr; }
  .contact-list li { flex-direction: column; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand img { height: 40px; }
  .brand-text b { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
