/* ============================================================
   LOGISTICS EXPERTISE — Design System
   Premium dark, navy + gold, editorial freight aesthetic
============================================================ */

:root {
  /* Palette — deep navy, ink, ivory, gold */
  --navy-950: #060d1a;
  --navy-900: #0a1628;
  --navy-800: #0f2138;
  --navy-700: #16304f;
  --navy-600: #1f4267;
  --navy-500: #2c5a86;

  --ink: #04080f;
  --ivory: #f5f1e8;
  --ivory-soft: #ebe5d6;
  --paper: #faf7f0;

  --gold: #4f8bff;
  --gold-bright: #7aa9ff;
  --gold-deep: #2856b8;

  --line: rgba(245, 241, 232, 0.12);
  --line-strong: rgba(245, 241, 232, 0.24);

  /* Type */
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, monospace;

  /* Layout */
  --container: 1320px;
  --gutter: 32px;
  --bezier: cubic-bezier(0.65, 0, 0.05, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background: var(--navy-950);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--gold); color: var(--navy-950); }

/* ===================== Type ===================== */
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.mono  { font-family: var(--mono); font-weight: 400; }
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--ivory);
}

.display-xl { font-size: clamp(56px, 9vw, 148px); line-height: 0.95; letter-spacing: -0.03em; }
.display-l  { font-size: clamp(44px, 6vw, 96px);  line-height: 1; letter-spacing: -0.025em; }
.display-m  { font-size: clamp(32px, 4.2vw, 64px); line-height: 1.05; }
.display-s  { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.15; }

.lede {
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.55;
  color: var(--ivory-soft);
  max-width: 60ch;
  text-wrap: pretty;
}

/* ===================== Layout ===================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { position: relative; }

.section-pad { padding: clamp(80px, 12vw, 160px) 0; }
.section-pad-sm { padding: clamp(60px, 8vw, 100px) 0; }

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all 0.4s var(--bezier);
  cursor: pointer;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-950);
}
.btn-primary:hover { background: var(--gold-bright); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn .arrow {
  display: inline-block;
  transition: transform 0.4s var(--bezier);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ===================== Navigation ===================== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(6, 13, 26, 0.85), rgba(6, 13, 26, 0));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.site-nav.scrolled {
  background: rgba(6, 13, 26, 0.92);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.brand-mark {
  width: 36px; height: 36px;
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
}
.brand-name { line-height: 1.2; }
.brand-name b { display: block; color: var(--ivory); font-weight: 500; }
.brand-name span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 34px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nav-links a {
  position: relative;
  color: var(--ivory-soft);
  transition: color 0.3s var(--bezier);
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--bezier);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a.active::after, .nav-links a:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.lang-toggle {
  display: flex;
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
}
.lang-toggle button {
  padding: 8px 12px;
  color: var(--ivory-soft);
  transition: all 0.3s var(--bezier);
}
.lang-toggle button.active {
  background: var(--gold);
  color: var(--navy-950);
}

@media (max-width: 900px) {
  .nav-links { display: none; }
}

/* ===================== Footer ===================== */
.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--line);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 400;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--ivory-soft);
  transition: color 0.3s var(--bezier);
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ivory-soft);
  letter-spacing: 0.05em;
}
.footer-tagline {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.2;
  color: var(--ivory);
  margin-bottom: 24px;
  max-width: 24ch;
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ===================== Decorative ===================== */
.hairline {
  height: 1px;
  background: var(--line);
  width: 100%;
}
.gold-rule {
  width: 60px;
  height: 1px;
  background: var(--gold);
  display: block;
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--bezier), transform 1s var(--bezier);
}
.fade-up.in {
  opacity: 1;
  transform: translateY(0);
}

/* placeholder image (striped) */
.ph-img {
  background:
    repeating-linear-gradient(135deg,
      rgba(201, 169, 97, 0.06) 0,
      rgba(201, 169, 97, 0.06) 14px,
      rgba(201, 169, 97, 0.02) 14px,
      rgba(201, 169, 97, 0.02) 28px),
    var(--navy-800);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ===================== Forms ===================== */
input, select, textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  padding: 14px 0;
  transition: border-color 0.3s var(--bezier);
  outline: none;
}
input:focus, select:focus, textarea:focus { border-bottom-color: var(--gold); }
label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
}

/* utility */
.flex { display: flex; }
.grid { display: grid; }
.center { display: grid; place-items: center; }
