:root {
  --bg-primary: #090a0f;
  --bg-card: #11141d;
  --bg-elevated: #171c28;
  --border-dim: #1e2433;
  --border-bright: #2d374d;
  --accent: #ff6200;
  --accent-glow: rgba(255, 98, 0, 0.25);
  --accent-light: #ff8c42;
  --text-main: #f0f3f8;
  --text-muted: #8a96a8;
  --text-dim: #5c6675;
  --mono-font: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
  --sans-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--sans-font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.container {
  width: min(100% - 48px, 1200px);
  margin-inline: auto;
}

.skip {
  position: absolute; left: -9999px; top: 12px;
  background: var(--accent); color: #fff; padding: 8px 16px;
  font-family: var(--mono-font); font-size: 13px; z-index: 100;
}
.skip:focus { left: 12px; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--border-dim);
  background: rgba(9, 10, 15, 0.92);
  backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 50;
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px; gap: 24px;
}
.brand-link {
  display: flex; align-items: center; gap: 14px;
}
.brand-cube {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: linear-gradient(135deg, #1f2533, #11141e);
  border: 1px solid var(--border-bright);
  border-left: 3px solid var(--accent);
  color: var(--accent);
  font-family: var(--mono-font); font-weight: 900; font-size: 16px;
}
.brand-text { display: flex; flex-direction: column; }
.brand-title {
  font-size: 18px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--text-main);
}
.brand-sub {
  font-family: var(--mono-font); font-size: 11px; color: var(--accent-light);
  letter-spacing: 0.05em; text-transform: uppercase;
}
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  font-size: 14px; font-weight: 600; color: var(--text-muted);
  transition: color 0.15s ease;
}
.site-nav a:hover, .site-nav a.active { color: var(--text-main); }
.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: var(--accent); color: #fff;
  font-weight: 700; font-size: 13px; letter-spacing: 0.03em;
  border-radius: 4px; transition: background 0.15s ease, transform 0.15s ease;
}
.cta-btn:hover { background: #e05500; transform: translateY(-1px); }
.cta-btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: transparent; color: var(--text-main);
  border: 1px solid var(--border-bright);
  font-weight: 700; font-size: 13px; border-radius: 4px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.cta-btn-outline:hover { border-color: var(--accent); background: var(--bg-card); }

/* Hero */
.hero-section {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border-dim);
  background: radial-gradient(circle at 80% 20%, rgba(255, 98, 0, 0.08) 0%, transparent 60%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px; margin-bottom: 24px;
  background: rgba(255, 98, 0, 0.1); border: 1px solid rgba(255, 98, 0, 0.3);
  color: var(--accent-light); font-family: var(--mono-font);
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  border-radius: 20px;
}
.hero-badge-dot {
  width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}
.hero-title {
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 900; line-height: 1.05; letter-spacing: -0.04em;
  max-width: 900px; margin-bottom: 24px;
}
.hero-title span { color: var(--accent); }
.hero-lead {
  font-size: clamp(17px, 2vw, 20px); color: var(--text-muted);
  max-width: 680px; line-height: 1.6; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }

/* Telemetry readout bar */
.spec-bar {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px; background: var(--border-dim);
  border: 1px solid var(--border-dim); border-radius: 6px; overflow: hidden;
}
.spec-box {
  background: var(--bg-card); padding: 18px 24px;
}
.spec-label {
  font-family: var(--mono-font); font-size: 11px; text-transform: uppercase;
  color: var(--text-dim); letter-spacing: 0.08em; margin-bottom: 4px;
}
.spec-value {
  font-family: var(--mono-font); font-size: 15px; font-weight: 700;
  color: var(--text-main);
}
.spec-highlight { color: var(--accent-light); }

/* Fabrication Pillars Section */
.section { padding: 80px 0; border-bottom: 1px solid var(--border-dim); }
.section-tag {
  font-family: var(--mono-font); font-size: 12px; font-weight: 700;
  color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-heading {
  font-size: clamp(28px, 3.5vw, 44px); font-weight: 800;
  letter-spacing: -0.03em; margin-bottom: 18px; line-height: 1.15;
}
.section-desc {
  font-size: 17px; color: var(--text-muted); max-width: 640px; margin-bottom: 48px;
}

.service-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.fab-card {
  background: var(--bg-card); border: 1px solid var(--border-dim);
  border-radius: 8px; padding: 36px 32px;
  position: relative; transition: border-color 0.2s ease, transform 0.2s ease;
}
.fab-card:hover {
  border-color: var(--border-bright); transform: translateY(-2px);
}
.card-header-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 20px;
}
.card-num {
  font-family: var(--mono-font); font-size: 14px; font-weight: 800;
  color: var(--accent);
}
.card-badge {
  padding: 3px 8px; font-family: var(--mono-font); font-size: 10px;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  background: var(--bg-elevated); border: 1px solid var(--border-dim);
  border-radius: 4px; color: var(--text-muted);
}
.card-title {
  font-size: 24px; font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.card-body {
  font-size: 15px; color: var(--text-muted); line-height: 1.6; margin-bottom: 24px;
}
.card-specs {
  border-top: 1px dashed var(--border-dim); padding-top: 18px; margin-top: auto;
  display: flex; flex-direction: column; gap: 8px;
}
.spec-line {
  display: flex; justify-content: space-between;
  font-family: var(--mono-font); font-size: 12px;
}
.spec-line-key { color: var(--text-dim); }
.spec-line-val { color: var(--text-main); font-weight: 600; }

/* Material Matrix Section */
.material-section { background: #0c0e14; }
.material-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.mat-pill {
  background: var(--bg-card); border: 1px solid var(--border-dim);
  border-radius: 6px; padding: 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.mat-name { font-size: 16px; font-weight: 700; color: var(--text-main); }
.mat-type {
  font-family: var(--mono-font); font-size: 11px; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.mat-desc { font-size: 13px; color: var(--text-muted); }

/* Workflow Steps */
.step-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.step-card {
  background: var(--bg-card); border: 1px solid var(--border-dim);
  border-radius: 8px; padding: 32px 28px;
}
.step-idx {
  font-family: var(--mono-font); font-size: 32px; font-weight: 900;
  color: var(--accent); margin-bottom: 16px; line-height: 1;
}
.step-title { font-size: 19px; font-weight: 800; margin-bottom: 12px; }
.step-body { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* CTA Panel */
.cta-panel {
  background: linear-gradient(135deg, #151a24 0%, #0d1017 100%);
  border: 1px solid var(--border-bright); border-left: 4px solid var(--accent);
  border-radius: 8px; padding: 50px 48px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 40px; flex-wrap: wrap; margin-block: 60px;
}
.cta-panel h2 {
  font-size: clamp(26px, 3.2vw, 36px); font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 10px;
}
.cta-panel p { color: var(--text-muted); font-size: 16px; max-width: 540px; }
.cta-contacts {
  display: flex; flex-direction: column; gap: 12px;
}
.contact-chip {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono-font); font-size: 14px; font-weight: 600;
  color: var(--accent-light);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-dim);
  padding: 40px 0; background: #07080b;
}
.footer-row {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px; font-size: 13px; color: var(--text-dim);
}
.footer-links { display: flex; gap: 24px; }
.footer-links a:hover { color: var(--text-main); }

/* Responsive adjustments */
@media (max-width: 768px) {
  .header-row { height: 70px; }
  .site-nav { display: none; }
  .hero-section { padding: 50px 0 40px; }
  .cta-panel { padding: 36px 24px; }
  .service-grid, .material-grid, .step-grid { grid-template-columns: 1fr; }
}
