/* ModFab Worx site styles. Change colors here. System fonts only, no external assets. */
:root {
  --bg: #111317;        /* charcoal */
  --bg-alt: #181b20;    /* dark steel */
  --panel: #1f2329;
  --line: #2e343d;
  --text: #eceef1;
  --muted: #a9b0bc;
  --accent: #ff6b1a;    /* safety orange */
  --accent-dark: #e05510;
  --radius: 6px;
  --max: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; }
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.accent { color: var(--accent); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.note { color: var(--muted); font-size: .92rem; margin: 24px 0 0; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: #111; padding: 8px 14px; z-index: 50; font-weight: 700; }
.skip:focus { left: 8px; top: 8px; }

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: #111; font-weight: 700;
  padding: .75em 1.4em; border-radius: var(--radius); border: 2px solid var(--accent); }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--panel); border-color: var(--muted); }
.btn-small { padding: .45em 1.1em; font-size: .95rem; }

/* FABTECH banner (Home only, remove after Oct 23) */
.fabtech-banner { display: block; background: var(--accent); color: #111; text-align: center;
  font-size: .9rem; font-weight: 600; padding: 8px 16px; }
.fabtech-banner strong { font-weight: 800; }
.fabtech-banner:hover { background: var(--accent-dark); text-decoration: none; }

/* Header */
.site-header { background: #000; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo-link img { height: 48px; width: auto; }
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav a { color: var(--text); font-weight: 600; padding: 8px 12px; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--accent); text-decoration: none; }
.site-nav a.active { color: var(--accent); border-bottom-color: var(--accent); }

/* Hero */
.hero { background: #000; padding: 72px 0 80px;
  background-image: linear-gradient(180deg, #000 0%, #0c0e11 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.cutaway { width: 100%; height: auto; }
.page-head { padding: 64px 0 40px; background: #000; border-bottom: 1px solid var(--line); }
.page-head .lead { margin: 0; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-tight { padding: 40px 0; }
.section h2 + p { color: var(--muted); max-width: 40em; }
.grid { display: grid; gap: 16px; margin-top: 28px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.two-col p { color: var(--muted); }
.two-col p strong { color: var(--text); }
.card { background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 22px 20px; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.panel p { color: var(--muted); }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { padding: 5px 0 5px 22px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 13px; width: 10px; height: 10px; background: var(--accent); border-radius: 2px; }
.cols-2 { columns: 2; column-gap: 24px; }
.cols-2 li { break-inside: avoid; }

/* Single-line items (safety line, built-for line) */
.oneliner { display: flex; align-items: center; gap: 14px; color: var(--muted); margin: 0; }
.oneliner svg { width: 28px; height: 28px; flex-shrink: 0; }
.oneliner strong { color: var(--text); }
.dotlist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0; }
.dotlist li:not(:last-child)::after { content: "\00B7"; color: var(--accent); padding: 0 12px; font-weight: 800; }

/* Timeline strip */
.timeline { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.timeline li { padding: 18px 20px; border-left: 1px solid var(--line); background: var(--panel); }
.timeline li:first-child { border-left: 0; }
.timeline .step-num { display: block; color: var(--accent); font-weight: 800; font-size: .8rem; letter-spacing: .12em; }
.timeline h3 { margin: 2px 0 4px; }
.timeline p { color: var(--muted); margin: 0; font-size: .92rem; }

/* CTA band */
.cta-band { padding: 56px 0; border-top: 1px solid var(--line); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { margin-bottom: .2em; }
.cta-inner p { color: var(--muted); margin: 0; }

/* Contact */
.contact-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.contact-list li { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .label { width: 84px; flex-shrink: 0; color: var(--muted); text-transform: uppercase; font-size: .78rem; letter-spacing: .12em; font-weight: 700; }
.contact-list a:not(.btn) { font-weight: 700; overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: #000; border-top: 3px solid var(--accent); padding: 36px 0 96px; color: var(--muted); font-size: .92rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; align-items: flex-start; }
.footer-name { color: var(--text); font-weight: 800; margin-bottom: 4px; }
.footer-nav { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.footer-nav a { color: var(--muted); }
.footer-nav a:hover { color: var(--accent); }
.footer-bottom { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .82rem; }
.footer-bottom p { margin: 0; }

/* Floating chat button (email link) */
.chat-button { position: fixed; right: 20px; bottom: 20px; z-index: 20; display: flex; align-items: center; gap: 8px;
  background: var(--accent); color: #111; font-weight: 700; padding: 11px 18px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0,0,0,.5); }
.chat-button:hover { background: var(--accent-dark); text-decoration: none; }
.chat-button svg { width: 20px; height: 20px; fill: #111; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-4, .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline li:nth-child(3) { border-left: 0; }
  .timeline li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .header-inner { flex-direction: column; justify-content: center; gap: 4px; padding-top: 10px; padding-bottom: 6px; }
  .logo-link img { height: 40px; }
  .site-nav a { padding: 6px 9px; font-size: .95rem; }
  .hero { padding: 48px 0 56px; }
  .section { padding: 56px 0; }
  .grid-4, .timeline { grid-template-columns: 1fr; }
  .timeline li { border-left: 0; }
  .timeline li + li { border-top: 1px solid var(--line); }
  .cols-2 { columns: 1; }
  .contact-list li { flex-wrap: wrap; gap: 6px 16px; }
  .fabtech-banner { font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
.visually-h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 10px; }
