/* ============================================================
   SKII LOGISTICS — DESIGN SYSTEM
   Display: Space Grotesk / Body: Inter / Data: IBM Plex Mono
   ============================================================ */

:root {
  --navy: #0B2A4A;
  --navy-deep: #071C33;
  --blue: #1B5FAE;
  --blue-bright: #2E7BD6;
  --blue-soft: #DCE9F8;
  --ice: #EFF5FC;
  --white: #FFFFFF;
  --ink: #0B2A4A;
  --slate: #48566A;
  --slate-light: #7C8AA0;
  --border: #C7DAF0;
  --border-strong: #1B5FAE;

  --font-display: 'Space Grotesk', 'Helvetica Neue', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius: 2px;
  --shadow-card: 0 1px 2px rgba(11,42,74,0.06), 0 8px 24px rgba(11,42,74,0.06);
  --shadow-lift: 0 4px 8px rgba(11,42,74,0.08), 0 16px 40px rgba(11,42,74,0.12);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--blue);
}

.section { padding: 96px 0; }
.section--ice { background: var(--ice); }
.section--navy { background: var(--navy); color: #DCE9F8; }
.section--navy h2, .section--navy h3 { color: var(--white); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { max-width: 680px; margin-left: auto; margin-right: auto; text-align: center; }
.lede { font-size: 1.15rem; color: var(--slate); }
.section--navy .lede { color: #B9CEE8; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 28px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-bright); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-outline { background: transparent; border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--blue-soft); transform: translateY(-2px); }
.btn-white-outline { background: transparent; border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-white-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand { display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: -0.01em;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-light);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  color: #C7DAF0;
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--white);
  transition: width 0.25s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--white); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 84px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 32px 28px;
    gap: 18px;
    display: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-cta { margin-left: 0; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 100px;
  background: linear-gradient(180deg, var(--ice) 0%, var(--white) 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}
.hero-headline { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.hero-sub { font-size: 1.15rem; color: var(--slate); max-width: 520px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.founder-tag {
  border-left: 3px solid var(--blue);
  background: var(--white);
  padding: 20px 24px;
  box-shadow: var(--shadow-card);
  max-width: 460px;
  position: relative;
}
.founder-tag::before {
  content: 'MANIFEST // FOUNDER NOTE';
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 10px;
}
.founder-tag blockquote {
  margin: 0 0 10px;
  font-style: italic;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.55;
}
.founder-tag cite {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.72rem;
  color: var(--slate-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.portrait-frame {
  position: relative;
  border: 2px solid var(--border-strong);
  padding: 14px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.portrait-frame .portrait-inner {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--navy) 0%, var(--blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-align: center;
  padding: 20px;
}
.portrait-stamp {
  position: absolute;
  bottom: -16px; right: -16px;
  width: 92px; height: 92px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.06em;
  color: var(--blue);
  text-transform: uppercase;
  line-height: 1.3;
  transform: rotate(-8deg);
  box-shadow: var(--shadow-card);
}

/* ---------- Route line (signature motif) ---------- */
.route-strip {
  margin-top: 64px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-light);
}
.route-strip svg { flex: 1; min-width: 0; height: 20px; }
.route-line-path {
  stroke: var(--blue);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 6 6;
  stroke-dashoffset: 300;
  animation: dash-draw 2.4s ease forwards 0.3s;
}
@keyframes dash-draw { to { stroke-dashoffset: 0; } }
.route-dot { fill: var(--blue); }

/* ---------- Promise banner ---------- */
.promise-banner {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0;
}
.promise-banner .container { max-width: 920px; text-align: center; }
.promise-banner p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--white);
  margin: 0;
}

/* ---------- Cards grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Manifest-style card: perforated tear-off tag */
.manifest-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.manifest-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 6px;
  background: repeating-linear-gradient(180deg, var(--blue) 0 6px, transparent 6px 12px);
}
.manifest-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: var(--border-strong);
}
.manifest-code {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}
.manifest-card h3 { margin-bottom: 10px; }
.manifest-card ul { margin-top: 14px; }
.manifest-card li {
  padding: 7px 0 7px 20px;
  position: relative;
  font-size: 0.92rem;
  color: var(--slate);
  border-top: 1px dashed var(--border);
}
.manifest-card li:first-child { border-top: none; }
.manifest-card li::before {
  content: '';
  position: absolute;
  left: 0; top: 15px;
  width: 8px; height: 1.5px;
  background: var(--blue);
}

/* ---------- Value table ---------- */
.value-table {
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.value-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.value-row + .value-row { border-top: 1px solid var(--border); }
.value-cell {
  padding: 20px 28px;
  font-size: 0.98rem;
  color: var(--ink);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}
.value-cell.label { background: var(--ice); color: var(--blue); font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }

@media (max-width: 640px) {
  .value-row { grid-template-columns: 1fr; }
  .value-cell.label { border-bottom: 1px solid var(--border); }
}

/* ---------- Warehouse hub cards ---------- */
.hub-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  padding: 28px 24px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.hub-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: var(--border-strong); }
.hub-code {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blue);
  border: 1.5px solid var(--blue);
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.hub-card h3 { margin-bottom: 6px; }
.hub-region { font-family: var(--font-mono); font-size: 0.7rem; color: var(--slate-light); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }

.hub-note {
  margin-top: 40px;
  border: 1.5px dashed var(--border-strong);
  background: var(--ice);
  padding: 24px 28px;
  font-size: 0.95rem;
  color: var(--ink);
}

/* ---------- Pipeline / steps ---------- */
.pipeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.pipeline-step {
  padding: 0 18px;
  position: relative;
  text-align: left;
}
.pipeline-step::before {
  content: '';
  position: absolute;
  top: 22px; left: 0; right: 0;
  height: 2px;
  background: var(--border);
}
.pipeline-step:first-child::before { left: 22px; }
.pipeline-step:last-child::before { right: calc(50% + 22px); }
.step-node {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-mono);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 2;
  margin-bottom: 18px;
  font-size: 0.95rem;
}
.pipeline-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.pipeline-step p { font-size: 0.88rem; color: var(--slate); margin: 0; }
.pipeline-close {
  text-align: center;
  margin-top: 56px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 900px) {
  .pipeline { grid-template-columns: 1fr; gap: 32px; }
  .pipeline-step::before { display: none; }
}

/* ---------- Callout / open door ---------- */
.callout {
  border: 2px solid var(--border-strong);
  background: var(--white);
  padding: 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}
.callout-icon {
  width: 64px; height: 64px;
  border: 1.5px solid var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .callout { grid-template-columns: 1fr; text-align: center; }
  .callout-icon { margin: 0 auto; }
}

/* ---------- Industry spotlight ---------- */
.spotlight-quote {
  border-left: 3px solid var(--blue);
  padding-left: 24px;
  font-style: italic;
  color: var(--ink);
  font-size: 1.15rem;
  margin: 40px 0 0;
}
.industry-card {
  background: var(--navy-deep);
  color: var(--white);
  padding: 32px 24px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.25s ease, background 0.25s ease;
}
.industry-card:hover { transform: translateY(-5px); background: var(--navy); }
.industry-card .manifest-code { color: #7FB0E8; }
.industry-card h3 { color: var(--white); }
.industry-card p { color: #AFC5DE; font-size: 0.9rem; margin: 0; }

/* ---------- Origin story ---------- */
.story-block { max-width: 760px; }
.story-block + .story-block { margin-top: 40px; }
.story-lead {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
  font-weight: 500;
}
.story-divider {
  width: 100%; height: 1px;
  background: repeating-linear-gradient(90deg, var(--blue) 0 8px, transparent 8px 16px);
  margin: 48px 0;
}
.pull-quote {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--navy);
  font-weight: 600;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.4;
}

.legacy-block {
  background: var(--navy);
  color: var(--white);
  padding: 72px 0;
}
.legacy-quote {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.5;
  color: var(--white);
}
.legacy-quote cite {
  display: block;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9FBEE0;
}

/* ---------- Contact ---------- */
.channel-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.channel-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: var(--border-strong); }
.channel-icon {
  width: 44px; height: 44px;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.channel-label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-light); }
.channel-value { font-size: 1.05rem; color: var(--ink); font-weight: 600; }

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

.form-card {
  background: var(--white);
  border: 2px solid var(--border-strong);
  padding: 40px;
}
.form-card h3 { margin-bottom: 6px; }
.form-note { font-family: var(--font-mono); font-size: 0.75rem; color: var(--blue); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 28px; }

.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27,95,174,0.15);
}
.field-sub { font-size: 0.78rem; color: var(--slate-light); text-align: center; margin-top: 12px; }

.form-success {
  display: none;
  align-items: flex-start;
  gap: 14px;
  background: var(--ice);
  border: 1.5px solid var(--blue);
  padding: 20px 22px;
  margin-bottom: 24px;
  animation: slide-in 0.4s ease;
}
.form-success.show { display: flex; }
.form-success svg { flex-shrink: 0; color: var(--blue); margin-top: 2px; }
.form-success strong { display: block; color: var(--ink); margin-bottom: 4px; }
.form-success span { font-size: 0.88rem; color: var(--slate); }
@keyframes slide-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-deep);
  color: #C7DAF0;
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer .brand-name { color: var(--white); }
.footer-tagline { margin-top: 14px; color: #9FBEE0; max-width: 320px; font-size: 0.92rem; }
.footer-heading { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #B9CEE8; font-size: 0.92rem; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-signature {
  font-family: var(--font-display);
  font-style: italic;
  color: #9FBEE0;
  font-size: 0.92rem;
}
.footer-copyright { font-family: var(--font-mono); font-size: 0.7rem; color: var(--slate-light); text-transform: uppercase; letter-spacing: 0.05em; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 88px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero .eyebrow { color: #7FB0E8; }
.page-hero .eyebrow::before { background: #7FB0E8; }
.page-hero h1 { color: var(--white); max-width: 760px; }
.page-hero .lede { color: #B9CEE8; max-width: 620px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .callout { padding: 32px; }
  .form-card { padding: 28px; }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }