/* =========================================================
   Solid Source Trading — stylesheet
   Bold industrial style, text-only. Split yellow/charcoal hero,
   oversized numerals, condensed headings.
   ========================================================= */

:root {
  --char-900: #17191c;
  --char-800: #22262a;
  --yellow: #f2b705;
  --yellow-dark: #d9a204;
  --concrete: #ebe9e4;
  --paper: #ffffff;
  --ink: #1d2024;
  --muted: #5d6268;
  --line: #d6d3cc;
  --maxw: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--char-900);
  margin: 0 0 0.5em;
}
p { margin: 0 0 1rem; }
a { color: var(--char-900); text-decoration: none; }
.contact-list a { text-decoration: underline; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

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

.tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0 0 1rem;
}
.tag-dark { color: var(--char-800); }
.tag-dark::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 4px;
  background: var(--yellow);
  vertical-align: middle;
  margin-right: 10px;
}
.section-yellow .tag-dark::before { background: var(--char-900); }

.big-title { font-size: clamp(2.2rem, 4.4vw, 3.4rem); max-width: 18ch; }
.big-title.light { color: var(--paper); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.95rem 1.8rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 0;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { text-decoration: none; }
.btn-dark { background: var(--char-900); color: var(--paper); }
.btn-dark:hover { background: var(--paper); color: var(--char-900); }
.btn-line-dark { background: transparent; color: var(--char-900); border-color: var(--char-900); }
.btn-line-dark:hover { background: var(--char-900); color: var(--paper); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--char-900); }
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  min-height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  padding: 0 28px;
  white-space: nowrap;
  background: var(--yellow);
  color: var(--char-900);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.brand:hover { text-decoration: none; }
.nav { display: flex; align-items: stretch; }
.nav ul { list-style: none; display: flex; margin: 0; padding: 0; align-items: stretch; }
.nav li { display: flex; }
.nav a {
  display: flex;
  align-items: center;
  white-space: nowrap;
  padding: 0 1.05rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d3d6d9;
}
.nav a:hover { color: var(--yellow); text-decoration: none; }
.nav .nav-cta { background: var(--paper); color: var(--char-900); }
.nav .nav-cta:hover { background: var(--yellow); color: var(--char-900); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.35fr 0.65fr; min-height: 560px; }
.hero-left { background: var(--yellow); padding: 88px 56px 88px max(28px, calc((100vw - 1160px) / 2 + 28px)); }
.hero-left .tag { color: var(--char-800); }
.hero h1 { font-size: clamp(3.4rem, 8vw, 6.4rem); margin-bottom: 0.3em; }
.hero-text { font-size: 1.1rem; max-width: 50ch; color: #2b2a22; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.8rem; }
.hero-right { background: var(--char-900); display: flex; align-items: center; padding: 56px 40px; }
.hero-facts { margin: 0; width: 100%; }
.hero-facts > div { padding: 1.3rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.hero-facts > div:first-child { border-top: 1px solid rgba(255, 255, 255, 0.18); }
.hero-facts dt {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--yellow); margin-bottom: 0.2rem;
}
.hero-facts dd {
  margin: 0;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 1.9rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--paper);
  line-height: 1.15;
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-concrete { background: var(--concrete); }
.section-dark { background: var(--char-900); color: #c3c7cb; }
.section-yellow { background: var(--yellow); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.about h2 { font-size: clamp(2rem, 4vw, 3rem); max-width: 14ch; }
.about-text p { color: var(--muted); font-size: 1.06rem; }

/* Capabilities */
.cap-list { margin-top: 2.6rem; border-top: 4px solid var(--char-900); }
.cap {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 32px;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}
.cap-num {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 6rem;
  font-weight: 700;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 2px var(--char-900);
}
.cap h3 { font-size: 2rem; margin-bottom: 0.2em; }
.cap p { margin: 0; color: var(--muted); max-width: 54ch; font-size: 1.04rem; }

/* Process */
.process {
  list-style: none; margin: 3rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  border-top: 4px solid var(--yellow);
}
.process li { padding: 1.4rem 1.4rem 0 0; }
.p-step { display: block; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; }
.process h3 { font-size: 1.6rem; margin-bottom: 0.2em; }
.process p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Commitments */
.commit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 2.6rem; }
.commit > div { border-top: 4px solid var(--yellow); padding-top: 1.2rem; }
.commit h3 { color: var(--paper); font-size: 1.8rem; }
.commit p { margin: 0; color: #aeb3b8; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: start; }
.contact-list { margin: 2rem 0 0; border-top: 2px solid var(--char-900); }
.contact-list > div { padding: 1rem 0; border-bottom: 1px solid rgba(23, 25, 28, 0.3); }
.contact-list dt { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.25rem; }
.contact-list dd { margin: 0; font-weight: 500; }

.contact-form { background: var(--char-900); padding: 2.2rem; color: #d8dadc; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.35rem; }
.field input, .field textarea {
  width: 100%; padding: 0.8rem 0.9rem; border: 2px solid #3b4046; border-radius: 0;
  font: inherit; color: var(--paper); background: var(--char-800);
}
.field input:focus, .field textarea:focus { border-color: var(--yellow); }
.contact-form .btn-dark { background: var(--yellow); color: var(--char-900); }
.contact-form .btn-dark:hover { background: var(--paper); }
.form-note { font-size: 0.9rem; margin: 0.8rem 0 0; min-height: 1.2em; }
.form-note.ok { color: #9be2b4; }
.form-note.err { color: #ffb3ad; }

/* Footer */
.site-footer { background: #0e0f11; color: #8e9399; padding: 26px 0; font-size: 0.88rem; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem; }
.footer-inner strong { color: var(--paper); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-left { padding: 56px 28px; }
  .hero-right { padding: 32px 28px 40px; }
  .section { padding: 64px 0; }
  .about, .contact { grid-template-columns: 1fr; gap: 36px; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process li { padding-bottom: 1.4rem; }
  .commit { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 1000px) {
  .header-inner { flex-wrap: wrap; min-height: 64px; }
  .brand { padding: 0 20px; font-size: 1.3rem; min-height: 64px; }
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; background: none; border: 0; cursor: pointer; padding: 0 20px; }
  .nav-toggle span { width: 24px; height: 3px; background: var(--paper); }
  .nav { width: 100%; flex-direction: column; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; background: var(--char-800); }
  .nav.open { max-height: 460px; }
  .nav ul { flex-direction: column; width: 100%; }
  .nav li { width: 100%; }
  .nav a { width: 100%; padding: 1rem 20px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .cap { grid-template-columns: 1fr; gap: 6px; }
  .cap-num { font-size: 4rem; }
}

@media (max-width: 520px) {
  .process { grid-template-columns: 1fr; }
  .contact-form { padding: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
