/* Echeloq Inc — Industrial freight / editorial cold-chain */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
  --ink: #1c1917;
  --ink-soft: #44403c;
  --muted: #78716c;
  --paper: #faf7f2;
  --paper-dark: #f0ebe3;
  --white: #ffffff;
  --amber: #d97706;
  --amber-light: #fbbf24;
  --amber-bg: #fef3c7;
  --ice: #0ea5e9;
  --ice-bg: #e0f2fe;
  --rule: #d6d3d1;
  --font: 'Source Sans 3', system-ui, sans-serif;
  --display: 'Barlow Condensed', system-ui, sans-serif;
  --max: 1140px;
  --wide: 1240px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--paper); color: var(--ink); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.ec-wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.ec-wrap-wide { max-width: var(--wide); margin: 0 auto; padding: 0 20px; }

/* Utility bar */
.ec-topbar {
  background: var(--ink); color: rgba(255,255,255,0.7); font-size: 12px;
  border-bottom: 3px solid var(--amber);
}
.ec-topbar-inner {
  max-width: var(--wide); margin: 0 auto; padding: 8px 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.ec-topbar a { color: var(--amber-light); }
.ec-topbar a:hover { text-decoration: underline; }

/* Header */
.ec-header { background: var(--white); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 100; }
.ec-header-inner {
  max-width: var(--wide); margin: 0 auto; padding: 0 20px;
  height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.ec-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.ec-logo img { height: 34px; }
.ec-logo-tag { font-family: var(--display); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.ec-nav { display: flex; align-items: center; gap: 0; }
.ec-nav a {
  padding: 24px 16px; font-size: 14px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--ink-soft); border-bottom: 3px solid transparent;
  margin-bottom: -1px; transition: 0.2s;
}
.ec-nav a:hover { color: var(--ink); border-bottom-color: var(--amber); }

.ec-header-actions { display: flex; align-items: center; gap: 12px; }
.ec-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 22px; font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; border: 2px solid var(--ink); cursor: pointer;
  font-family: inherit; transition: 0.2s;
}
.ec-btn-primary { background: var(--ink); color: var(--amber-light); border-color: var(--ink); }
.ec-btn-primary:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.ec-btn-outline { background: transparent; color: var(--ink); }
.ec-btn-outline:hover { background: var(--ink); color: var(--white); }
.ec-menu-btn { display: none; background: none; border: 2px solid var(--ink); padding: 8px 12px; font-size: 18px; cursor: pointer; }

.ec-drawer { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.ec-drawer.open { pointer-events: auto; }
.ec-drawer-bg { position: absolute; inset: 0; background: rgba(28,25,23,0.6); opacity: 0; transition: 0.3s; }
.ec-drawer.open .ec-drawer-bg { opacity: 1; }
.ec-drawer-panel {
  position: absolute; right: 0; top: 0; width: min(300px, 88vw); height: 100%;
  background: var(--white); padding: 24px; transform: translateX(100%); transition: 0.3s; overflow-y: auto;
}
.ec-drawer.open .ec-drawer-panel { transform: none; }
.ec-drawer-close { background: none; border: none; font-size: 28px; cursor: pointer; margin-bottom: 16px; }
.ec-drawer-panel a { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); font-weight: 600; text-transform: uppercase; font-size: 13px; letter-spacing: 0.06em; }

/* Hero — split editorial */
.ec-hero { background: var(--white); border-bottom: 1px solid var(--rule); }
.ec-hero-grid {
  max-width: var(--wide); margin: 0 auto; padding: 0 20px;
  display: grid; grid-template-columns: 1fr 1fr; min-height: 520px;
}
.ec-hero-copy { padding: 72px 48px 72px 0; display: flex; flex-direction: column; justify-content: center; }
.ec-hero-label {
  font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--amber); margin-bottom: 16px;
}
.ec-hero h1 {
  font-family: var(--display); font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700; line-height: 0.95; text-transform: uppercase; letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.ec-hero-lead { font-size: 17px; color: var(--muted); max-width: 440px; margin-bottom: 28px; }
.ec-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.ec-hero-meta {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  padding-top: 24px; border-top: 1px solid var(--rule);
}
.ec-hero-meta dt { font-family: var(--display); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ec-hero-meta dd { font-weight: 700; font-size: 15px; margin-top: 2px; }
.ec-hero-visual { position: relative; min-height: 320px; }
.ec-hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.ec-hero-badge {
  position: absolute; bottom: 24px; left: -20px; background: var(--ink); color: var(--white);
  padding: 16px 20px; font-family: var(--display); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
}
.ec-hero-badge strong { display: block; font-size: 28px; color: var(--amber-light); letter-spacing: 0; margin-top: 4px; }

/* Band sections */
.ec-band { padding: 72px 0; }
.ec-band-white { background: var(--white); }
.ec-band-paper { background: var(--paper); }
.ec-band-dark { background: var(--ink); color: var(--white); }
.ec-band-dark .ec-lead { color: rgba(255,255,255,0.65); }
.ec-band-dark .ec-label { color: var(--amber-light); }

.ec-label {
  font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--amber); margin-bottom: 10px;
}
.ec-title {
  font-family: var(--display); font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 14px;
}
.ec-lead { font-size: 17px; color: var(--muted); max-width: 560px; margin-bottom: 36px; }

/* Service rows — not cards */
.ec-service-list { border-top: 2px solid var(--ink); }
.ec-service-row {
  display: grid; grid-template-columns: 64px 1fr 280px auto; gap: 24px; align-items: center;
  padding: 28px 0; border-bottom: 1px solid var(--rule); transition: 0.2s;
  text-decoration: none; color: inherit;
}
.ec-service-row:hover { background: var(--paper-dark); margin: 0 -20px; padding-left: 20px; padding-right: 20px; }
.ec-service-num { font-family: var(--display); font-size: 2rem; font-weight: 700; color: var(--amber); line-height: 1; }
.ec-service-row h3 { font-family: var(--display); font-size: 1.35rem; text-transform: uppercase; margin-bottom: 6px; }
.ec-service-row p { font-size: 14px; color: var(--muted); }
.ec-service-row img { width: 280px; height: 72px; object-fit: cover; border: 1px solid var(--rule); }
.ec-service-link { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; }
.ec-service-link:hover { color: var(--amber); }

/* Commodity tiles */
.ec-tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--rule); border: 2px solid var(--ink); }
.ec-tile {
  background: var(--white); padding: 0; display: flex; flex-direction: column;
  transition: 0.2s; text-decoration: none; color: inherit;
}
.ec-tile:hover { background: var(--amber-bg); }
.ec-tile img { width: 100%; height: 140px; object-fit: cover; filter: grayscale(20%); }
.ec-tile:hover img { filter: none; }
.ec-tile-body { padding: 20px; flex: 1; }
.ec-tile-body h3 { font-family: var(--display); font-size: 1.1rem; text-transform: uppercase; margin-bottom: 8px; }
.ec-tile-body p { font-size: 13px; color: var(--muted); }

/* Process timeline */
.ec-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 2px solid var(--ink); }
.ec-timeline-step { padding: 28px 24px; border-right: 1px solid var(--rule); background: var(--white); }
.ec-timeline-step:last-child { border-right: none; }
.ec-timeline-step em { font-family: var(--display); font-size: 2.5rem; font-weight: 700; color: var(--paper-dark); font-style: normal; line-height: 1; }
.ec-timeline-step strong { display: block; font-family: var(--display); font-size: 1rem; text-transform: uppercase; margin: 12px 0 8px; }
.ec-timeline-step span { font-size: 13px; color: var(--muted); }
.ec-band-dark .ec-timeline { border-color: rgba(255,255,255,0.2); }
.ec-band-dark .ec-timeline-step { background: transparent; border-color: rgba(255,255,255,0.15); color: var(--white); }
.ec-band-dark .ec-timeline-step em { color: rgba(255,255,255,0.15); }
.ec-band-dark .ec-timeline-step span { color: rgba(255,255,255,0.55); }

/* Temp tags */
.ec-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.ec-tag {
  font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 6px 12px; background: var(--ice-bg); color: #0369a1;
  border: 1px solid #7dd3fc;
}

/* Two-col feature */
.ec-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ec-feature img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 2px solid var(--ink); }

/* Stats strip */
.ec-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 2px solid var(--ink); background: var(--white);
}
.ec-stat { padding: 28px 24px; border-right: 1px solid var(--rule); text-align: center; }
.ec-stat:last-child { border-right: none; }
.ec-stat strong { display: block; font-family: var(--display); font-size: 2rem; text-transform: uppercase; color: var(--amber); }
.ec-stat span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* Resource list */
.ec-resource-list { border: 2px solid var(--ink); }
.ec-resource-item {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 24px; align-items: center;
  padding: 20px 24px; border-bottom: 1px solid var(--rule); background: var(--white);
  transition: 0.2s; text-decoration: none; color: inherit;
}
.ec-resource-item:last-child { border-bottom: none; }
.ec-resource-item:hover { background: var(--amber-bg); }
.ec-resource-item img { width: 120px; height: 80px; object-fit: cover; border: 1px solid var(--rule); }
.ec-resource-item h3 { font-family: var(--display); font-size: 1.15rem; text-transform: uppercase; margin-bottom: 4px; }
.ec-resource-item p { font-size: 14px; color: var(--muted); }
.ec-arrow { font-size: 20px; color: var(--amber); }

/* CTA block */
.ec-cta-block {
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  padding: 48px; background: var(--ink); color: var(--white); border-left: 6px solid var(--amber);
}
.ec-cta-block h2 { font-family: var(--display); font-size: 2rem; text-transform: uppercase; margin-bottom: 8px; }
.ec-cta-block p { color: rgba(255,255,255,0.65); max-width: 480px; }

/* Page hero — editorial stripe */
.ec-page-head {
  background: var(--paper-dark); border-bottom: 2px solid var(--ink);
  padding: 56px 0 40px;
}
.ec-page-head .ec-wrap { border-left: 6px solid var(--amber); padding-left: 24px; }
.ec-breadcrumb { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 12px; }
.ec-breadcrumb a:hover { color: var(--amber); }
.ec-page-head h1 { font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; text-transform: uppercase; margin-bottom: 10px; }
.ec-page-head p { font-size: 17px; color: var(--muted); max-width: 600px; }

/* Content */
.ec-content { padding: 56px 0 80px; }
.ec-content .hero-img { width: 100%; max-height: 400px; object-fit: cover; border: 2px solid var(--ink); margin-bottom: 28px; }
.ec-intro { font-size: 18px; color: var(--ink-soft); margin-bottom: 28px; max-width: 680px; line-height: 1.7; }
.ec-h2 { font-family: var(--display); font-size: 1.35rem; text-transform: uppercase; margin: 32px 0 10px; letter-spacing: 0.04em; }
.ec-list { margin: 0 0 20px 1.2em; }
.ec-list li { margin-bottom: 6px; color: var(--muted); list-style: square; }
.ec-sidebar-wrap { margin-top: 28px; padding: 20px; background: var(--paper-dark); border-left: 4px solid var(--amber); }
.ec-sidebar-wrap h3 { font-family: var(--display); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.ec-article-layout { display: grid; grid-template-columns: 1fr 260px; gap: 40px; }
.ec-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2px; background: var(--rule); border: 2px solid var(--ink); }
.ec-card-grid .ec-tile { border: none; }

.ec-process { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; border: 2px solid var(--ink); margin: 24px 0; }
.ec-process-step { padding: 20px; border-right: 1px solid var(--rule); background: var(--white); }
.ec-process-step:last-child { border-right: none; }
.ec-process-step em { font-family: var(--display); font-size: 11px; font-weight: 700; color: var(--amber); text-transform: uppercase; letter-spacing: 0.1em; font-style: normal; }
.ec-process-step strong { display: block; font-family: var(--display); text-transform: uppercase; margin: 8px 0 4px; font-size: 1rem; }
.ec-process-step span { font-size: 13px; color: var(--muted); }

.ec-notice { font-size: 13px; color: var(--muted); margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--rule); }

.ec-form label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.ec-form input, .ec-form textarea, .ec-form select {
  width: 100%; padding: 12px; margin-bottom: 16px;
  border: 2px solid var(--rule); background: var(--white); font: inherit;
}
.ec-form input:focus, .ec-form textarea:focus { outline: none; border-color: var(--ink); }
.ec-form textarea { min-height: 120px; resize: vertical; }
.ec-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }

.ec-faq { border: 2px solid var(--ink); }
.ec-faq-item { border-bottom: 1px solid var(--rule); }
.ec-faq-item:last-child { border-bottom: none; }
.ec-faq-q {
  padding: 18px 20px; font-family: var(--display); font-size: 1rem; text-transform: uppercase;
  cursor: pointer; display: flex; justify-content: space-between; gap: 16px; font-weight: 600;
}
.ec-faq-q::after { content: '+'; color: var(--amber); font-size: 22px; flex-shrink: 0; }
.ec-faq-item.open .ec-faq-q::after { content: '−'; }
.ec-faq-a { display: none; padding: 0 20px 18px; font-size: 15px; color: var(--muted); }
.ec-faq-item.open .ec-faq-a { display: block; }

/* Footer */
.ec-footer { background: var(--ink); color: rgba(255,255,255,0.6); padding-top: 56px; }
.ec-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.ec-footer h4 {
  font-family: var(--display); color: var(--amber-light); font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px;
}
.ec-footer p { font-size: 14px; line-height: 1.7; }
.ec-footer a { display: block; font-size: 14px; margin-bottom: 8px; color: rgba(255,255,255,0.5); }
.ec-footer a:hover { color: var(--amber-light); }
.ec-footer-bar {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 16px 0;
  font-size: 12px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  text-transform: uppercase; letter-spacing: 0.06em;
}

@media (max-width: 960px) {
  .ec-nav, .ec-header-actions .ec-btn-primary { display: none; }
  .ec-menu-btn { display: block; }
  .ec-hero-grid, .ec-feature, .ec-contact-grid, .ec-footer-grid, .ec-article-layout { grid-template-columns: 1fr; }
  .ec-hero-copy { padding: 48px 0; }
  .ec-hero-visual { min-height: 260px; }
  .ec-hero-badge { left: 20px; }
  .ec-service-row { grid-template-columns: 48px 1fr; }
  .ec-service-row img, .ec-service-link { display: none; }
  .ec-tile-grid, .ec-timeline, .ec-stats { grid-template-columns: 1fr 1fr; }
  .ec-cta-block { grid-template-columns: 1fr; }
  .ec-resource-item { grid-template-columns: 80px 1fr; }
  .ec-resource-item .ec-arrow { display: none; }
}
@media (max-width: 600px) {
  .ec-tile-grid, .ec-timeline, .ec-stats { grid-template-columns: 1fr; }
  .ec-band { padding: 48px 0; }
}
