/* ============================================================================
   ELMS Trading — shared site stylesheet
   Palette: deep slate-navy primary (trust) + warm amber accent (goods/trade).
   Type: Sora (display) + Inter (text). No build step — plain CSS.
   ========================================================================== */

:root {
  --navy: #0f1e2e;
  --navy-2: #16293c;
  --ink: #14212e;
  --sub: #4c5a68;
  --muted: #8794a1;
  --line: rgba(15, 30, 46, 0.10);
  --hair: rgba(15, 30, 46, 0.16);
  --bg: #fbfaf7;
  --card: #ffffff;
  --soft: #f3f1ea;
  --accent: #c8842b;      /* warm amber */
  --accent-2: #e0a24a;
  --accent-soft: rgba(200, 132, 43, 0.10);
  --ok: #16794a;
  --radius: 14px;
  --wrap: 1180px;
  --shadow: 0 24px 60px -30px rgba(15, 30, 46, 0.35);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, .display {
  font-family: "Sora", "Inter", sans-serif;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--navy);
  font-weight: 600;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  display: inline-block;
  font-family: "Sora", "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px; height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 0.9em;
  transform: translateY(-3px);
}
.eyebrow.on-dark { color: var(--accent-2); }
.eyebrow.on-dark::before { background: var(--accent-2); }

.lead { font-size: 18px; color: var(--sub); max-width: 60ch; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--navy); color: #fff;
  border: 1px solid var(--navy);
  border-radius: 999px;
  padding: 14px 26px;
  font-family: "Inter", sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform .35s cubic-bezier(.22,.61,.36,1), background-color .3s, color .3s;
}
.btn:hover { transform: translateY(-2px); background: var(--navy-2); }
.btn-accent { background: var(--accent); border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--hair); }
.btn-ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost.on-dark:hover { background: #fff; color: var(--navy); border-color:#fff; }

/* ============================ HEADER / NAV ============================= */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(251, 250, 247, 0.86);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(150deg, var(--navy), var(--navy-2));
  display: grid; place-items: center;
  color: var(--accent-2);
  font-family: "Sora", sans-serif; font-weight: 700; font-size: 15px;
  letter-spacing: -0.03em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.brand-name {
  font-family: "Sora", sans-serif; font-weight: 700; font-size: 18px;
  letter-spacing: -0.02em; color: var(--navy);
}
.brand-name span { color: var(--accent); }
.brand-tag {
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-top: 1px;
}

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--sub);
  position: relative; padding: 4px 0;
  transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--accent);
  transition: width .3s cubic-bezier(.22,.61,.36,1);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--navy); }
.nav-links a:hover::after, .nav-links a.is-active::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }

@media (max-width: 900px) {
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 28px 20px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
}

/* ============================== SECTIONS ============================== */
.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }
.section-head { max-width: 620px; margin-bottom: 54px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin: 16px 0 14px; }
.section.center .section-head { margin-left: auto; margin-right: auto; text-align: center; }

/* ---- hero ---- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(200,132,43,0.16), transparent 55%),
    linear-gradient(180deg, var(--navy), var(--navy-2));
  color: #fff; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(80% 70% at 50% 20%, #000, transparent 75%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
  padding: 104px 0 108px;
}
.hero h1 { color: #fff; font-size: clamp(36px, 5.4vw, 60px); letter-spacing: -0.03em; }
.hero h1 em { font-style: normal; color: var(--accent-2); }
.hero p { color: rgba(255,255,255,.78); font-size: 18px; margin: 24px 0 34px; max-width: 52ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 52px; }
.hero-stats .stat strong {
  font-family: "Sora", sans-serif; font-size: 30px; color: #fff; display: block; letter-spacing: -0.02em;
}
.hero-stats .stat span { font-size: 12.5px; color: rgba(255,255,255,.6); letter-spacing: .04em; }

.hero-visual {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.6);
  aspect-ratio: 4/3;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 68px 0 72px; }
  .hero-visual { aspect-ratio: 16/10; }
  .hero-stats { gap: 26px; flex-wrap: wrap; }
}

/* ---- feature / card grids ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (max-width: 880px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
  transition: transform .4s cubic-bezier(.22,.61,.36,1), box-shadow .4s, border-color .4s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--hair); }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--sub); }
.card .ico {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 20px;
  font-size: 21px;
}

/* product-line card with image */
.line-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .4s cubic-bezier(.22,.61,.36,1), box-shadow .4s;
}
.line-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.line-card .media { aspect-ratio: 16/10; overflow: hidden; background: var(--soft); }
.line-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.22,.61,.36,1); }
.line-card:hover .media img { transform: scale(1.05); }
.line-card .body { padding: 24px; }
.line-card .cat { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.line-card h3 { font-size: 20px; margin: 8px 0 8px; }
.line-card p { font-size: 14px; color: var(--sub); }
.line-card ul { margin-top: 14px; padding-left: 0; list-style: none; }
.line-card li { font-size: 13px; color: var(--sub); padding: 6px 0; border-top: 1px solid var(--line); }
.line-card li::before { content: "—"; color: var(--accent); margin-right: 10px; }

/* ---- trust band ---- */
.band {
  background: linear-gradient(180deg, var(--navy), var(--navy-2));
  color: #fff;
}
.band .stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.band .stat strong { font-family: "Sora", sans-serif; font-size: clamp(32px, 5vw, 46px); color:#fff; display:block; letter-spacing:-.02em; }
.band .stat span { font-size: 13px; color: rgba(255,255,255,.62); letter-spacing:.03em; }
@media (max-width: 720px) { .band .stats { grid-template-columns: repeat(2,1fr); gap: 32px 16px; } }

.logo-row { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; justify-content: center; opacity: .55; }
.logo-row span { font-family: "Sora", sans-serif; font-weight: 700; font-size: 17px; letter-spacing: .02em; color: var(--sub); }

/* ---- CTA strip ---- */
.cta {
  background:
    radial-gradient(90% 120% at 90% 10%, rgba(200,132,43,.2), transparent 55%),
    linear-gradient(120deg, var(--navy), var(--navy-2));
  color: #fff; border-radius: 22px; padding: 60px; text-align: center;
  position: relative; overflow: hidden;
}
.cta h2 { color:#fff; font-size: clamp(26px, 4vw, 38px); margin-bottom: 14px; }
.cta p { color: rgba(255,255,255,.78); max-width: 54ch; margin: 0 auto 30px; }
.cta .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
@media (max-width:640px){ .cta { padding: 40px 26px; } }

/* ---- split feature ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .visual { border-radius: 18px; overflow: hidden; aspect-ratio: 5/4; box-shadow: var(--shadow); }
.split .visual img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px){ .split { grid-template-columns: 1fr; gap: 34px; } }

.checklist { list-style: none; margin-top: 22px; }
.checklist li { position: relative; padding: 12px 0 12px 34px; border-top: 1px solid var(--line); font-size: 15px; color: var(--sub); }
.checklist li strong { color: var(--ink); font-weight: 600; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 12px;
  width: 22px; height: 22px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}

/* ---- page hero (interior pages) ---- */
.page-hero {
  background:
    radial-gradient(100% 100% at 80% -20%, rgba(200,132,43,.14), transparent 55%),
    linear-gradient(180deg, var(--navy), var(--navy-2));
  color: #fff; padding: 92px 0 78px;
}
.page-hero h1 { color:#fff; font-size: clamp(32px, 5vw, 52px); }
.page-hero p { color: rgba(255,255,255,.76); font-size: 18px; margin-top: 18px; max-width: 58ch; }
.crumbs { font-size: 12.5px; color: rgba(255,255,255,.55); letter-spacing:.04em; margin-bottom: 18px; }
.crumbs a:hover { color: var(--accent-2); }

/* ---- industries ---- */
.ind-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .4s cubic-bezier(.22,.61,.36,1), box-shadow .4s;
}
.ind-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.ind-card .media { aspect-ratio: 16/9; overflow: hidden; }
.ind-card .media img { width:100%; height:100%; object-fit: cover; transition: transform .7s cubic-bezier(.22,.61,.36,1); }
.ind-card:hover .media img { transform: scale(1.06); }
.ind-card .body { padding: 24px 24px 26px; }
.ind-card h3 { font-size: 18px; margin-bottom: 8px; }
.ind-card p { font-size: 14px; color: var(--sub); }

/* ---- about story ---- */
.story-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 50px; }
@media (max-width:880px){ .story-grid { grid-template-columns: 1fr; gap: 30px; } }
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.value-grid .v { padding: 30px; border-right: 1px solid var(--line); }
.value-grid .v:last-child { border-right: none; }
.value-grid .v strong { font-family:"Sora",sans-serif; font-size: 30px; color: var(--navy); display:block; letter-spacing:-.02em; }
.value-grid .v span { font-size: 14px; color: var(--sub); }
@media (max-width:720px){ .value-grid { grid-template-columns: 1fr; } .value-grid .v { border-right:none; border-bottom: 1px solid var(--line);} .value-grid .v:last-child{border-bottom:none;} }

/* ---- timeline ---- */
.timeline { list-style: none; }
.timeline li { position: relative; padding: 0 0 34px 34px; border-left: 2px solid var(--line); }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before { content:""; position:absolute; left:-8px; top:2px; width:14px; height:14px; border-radius:999px; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.timeline .yr { font-family:"Sora",sans-serif; font-weight:600; color: var(--navy); font-size: 15px; }
.timeline p { font-size: 14.5px; color: var(--sub); margin-top: 4px; }

/* ---- contact ---- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; }
@media (max-width:880px){ .contact-grid { grid-template-columns: 1fr; gap: 36px; } }
.field { margin-bottom: 20px; }
.field label { display:block; font-size: 11px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  background: var(--card); border: 1px solid var(--hair); border-radius: 10px;
  padding: 12px 14px; transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width:520px){ .field-row { grid-template-columns: 1fr; } }
.info-block { background: var(--soft); border-radius: var(--radius); padding: 30px; }
.info-item { padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-item:last-child { border-bottom: none; }
.info-item .k { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.info-item .val { font-size: 15px; color: var(--ink); margin-top: 4px; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.form-ok {
  display: none; background: #edf8f1; color: var(--ok);
  border-radius: 10px; padding: 14px 16px; font-size: 14px; margin-bottom: 18px;
}
.form-ok.show { display: block; }

/* ============================== FOOTER ============================== */
.site-footer {
  background: var(--navy); color: rgba(255,255,255,.7);
  padding: 70px 0 30px; margin-top: 20px;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.6); margin-top: 16px; max-width: 34ch; }
.footer-col h4 { font-family:"Sora",sans-serif; font-size: 12px; letter-spacing:.16em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 16px; font-weight:600;}
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,.72); padding: 6px 0; transition: color .2s; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom {
  margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(255,255,255,.5);
}
.footer-bottom .demo-tag { color: var(--accent-2); font-weight: 600; }
@media (max-width: 820px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 480px){ .footer-grid { grid-template-columns: 1fr; } }

/* utility */
.mt-s { margin-top: 14px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 44px; }
.center { text-align: center; }
