/* Flux Precision — single stylesheet, no external fonts or scripts */

:root {
  --ink: #0f1c2e;
  --ink-2: #24435f;
  --body: #3c4a58;
  --muted: #6d8297;
  --line: #dfe6ee;
  --line-soft: #ebeff4;
  --paper: #ffffff;
  --paper-alt: #f6f8fb;
  --accent: #d97c2b;
  --accent-soft: #fdf3e8;
  --wrap: 1160px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--body);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
em { font-style: normal; color: var(--accent); }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { display: inline-flex; }
.brand-name { font-size: 17px; font-weight: 800; letter-spacing: 0.11em; color: var(--ink); }
.brand-name span { color: var(--accent); margin-left: 2px; font-weight: 700; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 14px; font-weight: 600; color: var(--body); transition: color .18s ease; }
.nav a:hover { color: var(--accent); }
.nav .nav-cta {
  border: 1px solid var(--ink); color: var(--ink); padding: 9px 17px; border-radius: 4px;
  transition: background .18s ease, color .18s ease;
}
.nav .nav-cta:hover { background: var(--ink); color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 4px; font-size: 14.5px; font-weight: 700;
  letter-spacing: 0.01em; transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(217,124,43,0.22); }
.btn-primary:hover { background: #c56c22; box-shadow: 0 10px 24px rgba(217,124,43,0.3); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn-full { width: 100%; margin-top: 22px; }

/* ---------- hero ---------- */
.hero { padding: 76px 0 0; background: linear-gradient(180deg, #fff 0%, var(--paper-alt) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 64px; align-items: center; }
.eyebrow {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 22px;
}
.eyebrow-light { color: #e8a468; }
h1 { font-size: clamp(38px, 4.6vw, 60px); font-weight: 800; letter-spacing: -0.035em; }
.hero-sub { font-size: 17.5px; margin-top: 24px; max-width: 520px; color: var(--body); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { font-size: 13px; color: var(--muted); margin-top: 20px; }

.drawing-card {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 18px 46px rgba(15,28,46,0.09); overflow: hidden;
}
.drawing-top, .drawing-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 15px; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.09em; color: var(--muted); text-transform: uppercase;
}
.drawing-top { border-bottom: 1px solid var(--line); }
.drawing-bottom { border-top: 1px solid var(--line); justify-content: flex-start; flex-wrap: wrap; text-transform: none; letter-spacing: 0; font-size: 11px; }
.drawing-bottom .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--accent); flex: none; }
.blueprint { display: block; width: 100%; height: auto; }

.facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: 78px; border-top: 1px solid var(--line);
}
.fact { padding: 30px 34px 38px 0; border-right: 1px solid var(--line); }
.fact:not(:first-child) { padding-left: 34px; }
.fact:last-child { border-right: 0; }
.fact-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--accent); font-weight: 700; }
.fact h3 { font-size: 16px; margin: 9px 0 8px; }
.fact p { font-size: 14px; color: var(--muted); }

/* ---------- generic sections ---------- */
.section { padding: 104px 0; }
.section-alt { background: var(--paper-alt); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-title { font-size: clamp(30px, 3.5vw, 43px); font-weight: 800; letter-spacing: -0.032em; }
.section-lead { font-size: 16.5px; max-width: 660px; margin-top: 20px; color: var(--body); }
.section-lead.light, .section-title.light { color: #eaf1f7; }
.section-title.light em { color: #e8a468; }

/* ---------- capability cards ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 48px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 30px 30px 28px;
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(15,28,46,0.08); border-color: #c9d6e3; }
.card-wide { grid-column: 1 / -1; flex-direction: row; align-items: flex-start; gap: 26px; }
.card-wide > div:first-child { flex: none; }
.card-wide .card-body { flex: 1; }
.card-icon {
  width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 6px;
  display: flex; align-items: center; justify-content: center; color: var(--ink-2);
  background: var(--paper-alt); margin-bottom: 22px; flex: none;
}
.card-icon svg { width: 30px; height: 30px; }
.card-wide .card-icon { margin-bottom: 0; }
.card h3 { font-size: 19px; }
.card p { font-size: 14.5px; margin-top: 11px; color: var(--body); }
.card-tag {
  display: inline-block; margin-top: 18px; padding-top: 14px;
  border-top: 1px solid var(--line-soft); font-size: 12px; font-family: var(--mono);
  letter-spacing: 0.02em; color: var(--accent);
}
.card-wide .card-tag { margin-top: 16px; }

/* ---------- process ---------- */
.process-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 76px; align-items: start; }
.process-note {
  margin-top: 38px; padding: 20px 22px; border-left: 3px solid var(--accent);
  background: var(--accent-soft); display: flex; flex-direction: column; gap: 5px;
}
.process-note strong { color: var(--ink); font-size: 14px; }
.process-note span { font-size: 13.5px; color: var(--body); }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li {
  display: grid; grid-template-columns: 62px 1fr; gap: 18px;
  padding: 25px 0; border-bottom: 1px solid var(--line);
}
.steps li:first-child { padding-top: 0; }
.steps li:last-child { border-bottom: 0; }
.step-num { font-family: var(--mono); font-size: 15px; font-weight: 700; color: var(--accent); padding-top: 2px; }
.steps h3 { font-size: 18px; }
.steps p { font-size: 14.5px; margin-top: 7px; color: var(--muted); }

/* ---------- why (dark) ---------- */
.section-dark { background: var(--ink); }
.section-dark .eyebrow { color: #e8a468; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 54px; border-top: 1px solid rgba(255,255,255,0.14); }
.why-item { padding: 32px 34px 10px 0; border-right: 1px solid rgba(255,255,255,0.14); }
.why-item:not(:first-child) { padding-left: 34px; }
.why-item:last-child { border-right: 0; }
.why-item h3 { color: #fff; font-size: 18px; }
.why-item p { color: #a9bacb; font-size: 14.5px; margin-top: 12px; }
.pull-quote {
  margin-top: 56px; padding: 34px 38px; border: 1px solid rgba(255,255,255,0.16);
  border-left: 3px solid var(--accent); border-radius: 0 6px 6px 0;
  background: rgba(255,255,255,0.03);
}
.pull-quote p { color: #fff; font-size: clamp(19px, 2.3vw, 26px); font-weight: 600; letter-spacing: -0.02em; }
.pull-quote span { display: block; margin-top: 12px; color: #91a6ba; font-size: 13.5px; }

/* ---------- contact ---------- */
.contact { background: var(--paper-alt); border-top: 1px solid var(--line); }
.contact-inner { display: grid; grid-template-columns: 1fr 0.82fr; gap: 72px; align-items: center; }
.contact-box {
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 34px;
  box-shadow: 0 16px 40px rgba(15,28,46,0.07);
}
.contact-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.contact-mail { display: block; font-size: clamp(19px, 2.1vw, 25px); font-weight: 700; color: var(--ink); margin-top: 12px; word-break: break-all; }
.contact-mail:hover { color: var(--accent); }
.contact-hint { font-size: 13.5px; color: var(--muted); margin-top: 12px; }
.contact-alt { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 15px; }

/* ---------- footer ---------- */
.footer { background: #0a1522; padding: 42px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 26px; flex-wrap: wrap; align-items: flex-start; }
.footer .brand-name { color: #fff; }
.footer-brand p { color: #8fa3b6; font-size: 13.5px; margin-top: 10px; }
.footer-meta { text-align: right; }
.footer-meta p { color: #b8c7d5; font-size: 13.5px; }
.footer-small { color: #6f8498 !important; font-size: 12px !important; margin-top: 8px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-drawing { max-width: 560px; }
  .process-grid, .contact-inner { grid-template-columns: 1fr; gap: 44px; }
  .facts { margin-top: 56px; }
}
@media (max-width: 720px) {
  .wrap { width: min(var(--wrap), calc(100% - 32px)); }
  .header-inner { min-height: 62px; flex-wrap: wrap; padding: 10px 0; gap: 10px; }
  .nav { gap: 16px; flex-wrap: wrap; }
  .nav a { font-size: 12.5px; }
  .nav .nav-cta { padding: 7px 12px; }
  .hero { padding-top: 48px; }
  .hero-sub { font-size: 16px; }
  .facts { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 0 !important; }
  .fact:last-child { border-bottom: 0; }
  .section { padding: 72px 0; }
  .cards { grid-template-columns: 1fr; }
  .card-wide { flex-direction: column; gap: 0; }
  .card-wide .card-icon { margin-bottom: 22px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.14); padding: 24px 0 !important; }
  .why-item:last-child { border-bottom: 0; }
  .pull-quote { padding: 26px; }
  .contact-box { padding: 26px; }
  .footer-meta { text-align: left; }
}

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