/* ============================================================
   ROQLAR PRECISION — SHARED STYLESHEET
   ============================================================ */

/* Variables */
:root {
  --bg: #080C12;
  --bg-card: #0D1219;
  --bg-elevated: #111820;
  --text: #E8EDF2;
  --text-muted: #9AAABB;
  --text-dim: #6A7A8A;
  --accent: #1A6EFF;
  --accent-hover: #3B82FF;
  --accent-glow: rgba(26, 110, 255, 0.22);
  --accent-dim: rgba(26, 110, 255, 0.08);
  --border: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(26, 110, 255, 0.28);
  --success: #00C896;
  --font-heading: 'Bebas Neue', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --header-h: 72px;
  --max-w: 1200px;
  --r: 8px;
  --r-lg: 16px;
  --t: 0.2s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #080C12;
  color: #A8B8C8;
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-top: 72px;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.0;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  text-transform: uppercase;
}
h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: 0.03em;
  color: #FFFFFF;
  text-transform: uppercase;
}
h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: #E8EDF2;
}
h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: #E8EDF2;
}
p {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.section-label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1A6EFF;
  margin-bottom: 16px;
}
.section-heading { color: #fff; margin-bottom: 16px; }
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--r);
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  transition: all var(--t);
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26, 110, 255, 0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-accent);
}
.btn-secondary:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}
.btn-lg { padding: 14px 30px; font-size: 0.88rem; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8, 12, 18, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease;
}

.header.scrolled {
  background: rgba(8, 12, 18, 0.99);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 40px;
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-symbol {
  height: 52px;
  width: auto;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(1352%) hue-rotate(199deg) brightness(119%) contrast(119%);
}

.logo-text-block {
  display: flex;
  align-items: center;
}

.logo-name-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.nav a {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8A9BAE;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav a:hover,
.nav a.active {
  color: #FFFFFF;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.footer .logo-symbol {
  height: 42px;
  filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(1352%) hue-rotate(199deg) brightness(119%) contrast(119%);
}

.footer .logo-name-img {
  height: 28px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: rgba(8, 12, 18, 0.98);
  backdrop-filter: blur(20px);
  padding: 20px 24px 28px;
  border-bottom: 1px solid var(--border);
  z-index: 199;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8A9BAE;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--t);
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--accent); }
.mobile-nav .btn { margin-top: 12px; width: 100%; justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #050810;
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  color: #6A7A8A;
  max-width: 280px;
  line-height: 1.7;
  margin: 0;
}
.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col ul a {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  color: #6A7A8A;
  transition: color var(--t);
}
.footer-col ul a:hover { color: var(--accent); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 13px;
}
.footer-contact-item:last-child { margin-bottom: 0; }
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.footer-contact-item span {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  color: #6A7A8A;
  line-height: 1.5;
}
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-bottom p {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: #2E3A46;
  margin: 0;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(26, 110, 255, 0.07) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 85% 50%, rgba(26, 110, 255, 0.04) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26, 110, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 110, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
  width: 100%;
}
.hero-content { max-width: 720px; }
.hero-eyebrow {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1A6EFF;
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--accent);
}
.hero h1 {
  color: #fff;
  margin-bottom: 28px;
}
.hero h1 .accent { color: #1A6EFF; }
.hero-sub {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.85;
  color: #9AAABB;
  max-width: 560px;
  margin-bottom: 40px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  flex-shrink: 0;
  opacity: 0.13;
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-visual .spin {
  transform-origin: 280px 280px;
  animation: spin-slow 45s linear infinite;
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat-item {
  padding: 0 32px;
  border-right: 1px solid var(--border);
}
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { border-right: none; }
.stat-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6A7A8A;
  margin-top: 6px;
  line-height: 1.5;
}

/* ============================================================
   WHAT WE DO
   ============================================================ */
.what-we-do-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.what-we-do-left .section-sub { margin-bottom: 0; }

/* Diff cards */
.diff-cards { display: flex; flex-direction: column; gap: 14px; }
.diff-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 22px 24px;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
}
.diff-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-elevated);
  transform: translateX(4px);
}
.diff-icon {
  width: 34px; height: 34px;
  background: var(--accent-dim);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--accent);
}
.diff-card h3 { font-size: 0.95rem; color: var(--text); margin-bottom: 7px; }
.diff-card p {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ============================================================
   INDUSTRIES GRID (homepage)
   ============================================================ */
.industries-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ind-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 26px 22px;
  display: block;
  transition: border-color 0.25s, background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.ind-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-elevated);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(26, 110, 255, 0.05);
}
.ind-num {
  font-family: 'Outfit', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1A6EFF;
  margin-bottom: 14px;
}
.ind-card h3 { font-family: 'Outfit', sans-serif; font-size: 1rem; color: var(--text); margin-bottom: 8px; font-weight: 600; letter-spacing: 0.01em; }
.ind-card p {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-muted);
}
.ind-arrow {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  opacity: 0;
  transition: opacity var(--t);
}
.ind-card:hover .ind-arrow { opacity: 1; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, rgba(26, 110, 255, 0.07) 0%, rgba(26, 110, 255, 0.02) 100%);
  border: 1px solid rgba(26, 110, 255, 0.15);
  border-radius: var(--r-lg);
  padding: 56px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-left { flex: 0 1 60%; }
.cta-right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.cta-banner h2 { color: #fff; margin-bottom: 14px; }
.cta-banner .cta-left > p { font-size: 1rem; margin-bottom: 0; }
.cta-fine {
  margin-top: 16px !important;
  font-size: 0.78rem !important;
  color: var(--text-dim) !important;
  margin-bottom: 0 !important;
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-hero {
  padding: calc(var(--header-h) + 72px) 0 72px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 90% at 25% 50%, rgba(26, 110, 255, 0.05) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { font-size: 1.05rem; max-width: 600px; }

/* ============================================================
   CAPABILITIES — MACHINE TABLE
   ============================================================ */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--r);
  border: 1px solid var(--border);
}
.machine-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.machine-table th {
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.machine-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
  line-height: 1.5;
}
.machine-table tr:last-child td { border-bottom: none; }
.machine-table tr:hover td { background: var(--bg-elevated); }
.machine-name { font-weight: 700; display: block; margin-bottom: 2px; }
.machine-type { font-size: 0.78rem; color: var(--accent); font-weight: 600; }
.machine-spec { font-size: 0.82rem; color: var(--text-muted); }

/* Materials */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 10px;
}
.mat-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text);
  transition: border-color var(--t), color var(--t);
}
.mat-item:hover { border-color: var(--border-accent); color: var(--accent); }
.mat-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Tolerance table */
.tol-wrap { border-radius: var(--r); border: 1px solid var(--border); overflow: hidden; }
.tol-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.tol-table th {
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 13px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.tol-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.tol-table tr:last-child td { border-bottom: none; }
.tol-table tr:hover td { background: var(--bg-elevated); }
.tol-val { color: var(--accent); font-weight: 700; font-family: 'Courier New', monospace; }

/* Quality list */
.quality-list { display: flex; flex-direction: column; gap: 12px; }
.quality-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: border-color var(--t);
}
.quality-item:hover { border-color: var(--border-accent); }
.q-check {
  width: 20px; height: 20px;
  background: rgba(0, 200, 150, 0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
  color: var(--success);
}
.quality-item span { font-size: 0.875rem; color: var(--text); line-height: 1.5; }

/* Digital ops */
.digital-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 14px;
}
.digital-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 22px;
  transition: border-color var(--t);
}
.digital-card:hover { border-color: var(--border-accent); }
.digital-card h4 { color: var(--text); margin-bottom: 7px; }
.digital-card p { font-size: 0.8rem; }

/* Caps two-col */
.caps-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* ============================================================
   INDUSTRIES PAGE
   ============================================================ */
.ind-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}
.ind-section:last-child { border-bottom: none; }
.ind-section-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}
.ind-section-left h2 { font-size: 1.45rem; color: #fff; margin-bottom: 12px; }
.ind-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-dim);
  border: 1px solid rgba(26, 110, 255, 0.15);
  border-radius: 20px;
  padding: 4px 13px;
  font-size: 0.72rem; font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.ind-section-right > p {
  font-size: 0.95rem;
  line-height: 1.82;
  margin-bottom: 22px;
  color: var(--text-muted);
}
.comp-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.comp-tag {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 11px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.cert-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 16px;
  background: var(--accent-dim);
  border: 1px solid rgba(26, 110, 255, 0.12);
  border-radius: var(--r);
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 14px;
  line-height: 1.6;
}
.cert-note svg { flex-shrink: 0; margin-top: 1px; color: var(--accent); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-story-text p {
  font-size: 0.975rem;
  line-height: 1.88;
  margin-bottom: 18px;
  color: var(--text-muted);
}
.about-story-text p:last-child { margin-bottom: 0; }
.about-story-text strong { color: var(--text); font-weight: 600; }
.why-list { display: flex; flex-direction: column; gap: 18px; }
.why-item { display: flex; gap: 14px; align-items: flex-start; }
.why-num {
  width: 34px; height: 34px;
  background: var(--accent-dim);
  border: 1px solid rgba(26, 110, 255, 0.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.why-item-body h4 { color: var(--text); margin-bottom: 5px; }
.why-item-body p { font-size: 0.855rem; line-height: 1.65; }
.founder-wrap {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.founder-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 48px 52px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.founder-avatar {
  width: 68px; height: 68px;
  background: var(--accent-dim);
  border: 2px solid rgba(26, 110, 255, 0.18);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  color: var(--accent);
}
.founder-card blockquote {
  font-size: 0.975rem;
  line-height: 1.88;
  color: var(--text-muted);
  font-style: italic;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  align-items: start;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grp { margin-bottom: 18px; }
.form-label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8A9BAE;
  margin-bottom: 7px;
}
.form-label .req { color: var(--accent); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 11px 14px;
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  color: #E8EDF2;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  background: var(--bg-elevated);
  box-shadow: 0 0 0 3px rgba(26, 110, 255, 0.07);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-dim); }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A8F9A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-select option { background: #131B27; color: var(--text); }
.form-textarea { resize: vertical; min-height: 95px; }
.form-file-wrap { position: relative; }
.form-file {
  width: 100%;
  background: var(--bg-card);
  border: 1px dashed rgba(26, 110, 255, 0.22);
  border-radius: var(--r);
  padding: 18px 20px;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color var(--t), background var(--t);
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}
.form-file:hover { border-color: var(--accent); background: var(--bg-elevated); color: var(--text); }
.form-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.form-submit { width: 100%; justify-content: center; margin-top: 4px; }
.form-success {
  display: none;
  background: rgba(0, 200, 150, 0.07);
  border: 1px solid rgba(0, 200, 150, 0.25);
  border-radius: var(--r);
  padding: 24px;
  text-align: center;
  color: var(--success);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 16px;
  line-height: 1.7;
}
.contact-sidebar { display: flex; flex-direction: column; gap: 20px; }
.c-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 26px;
}
.c-info-card h3 { font-size: 0.875rem; color: var(--text); margin-bottom: 18px; }
.c-info-item { display: flex; gap: 12px; margin-bottom: 14px; }
.c-info-item:last-child { margin-bottom: 0; }
.c-info-icon {
  width: 34px; height: 34px;
  background: var(--accent-dim);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--accent);
}
.c-info-text { flex: 1; }
.c-info-text .lbl { font-size: 0.72rem; color: var(--text-dim); margin-bottom: 2px; }
.c-info-text .val { font-size: 0.85rem; color: var(--text); }
.resp-badge {
  background: rgba(0, 200, 150, 0.05);
  border: 1px solid rgba(0, 200, 150, 0.18);
  border-radius: var(--r);
  padding: 18px 20px;
  display: flex; gap: 12px; align-items: flex-start;
}
.resp-badge svg { flex-shrink: 0; margin-top: 2px; color: var(--success); }
.resp-badge p { font-size: 0.83rem; color: var(--text-muted); margin: 0; line-height: 1.65; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(3) { border-right: none; }
  .what-we-do-grid { grid-template-columns: 1fr; gap: 48px; }
  .industries-grid-home { grid-template-columns: repeat(2, 1fr); }
  .caps-two-col { grid-template-columns: 1fr; gap: 48px; }
  .contact-layout { grid-template-columns: 1fr; }
  .about-story-grid { grid-template-columns: 1fr; gap: 48px; }
  .ind-section-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-banner { padding: 48px 32px; flex-direction: column; align-items: flex-start; }
  .cta-right { align-items: flex-start; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .section { padding: 64px 0; }
  .nav, .header-actions .btn { display: none; }
  .hamburger { display: flex; }
  .industries-grid-home { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  .cta-banner { padding: 36px 24px; flex-direction: column; align-items: flex-start; }
  .founder-card { padding: 32px 24px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); padding: 18px 0 !important; margin-top: 0 !important; border-top: none !important; }
  .stat-item:last-child { border-bottom: none; }
  .container { padding: 0 16px; }
}

/* ============================================================
   IMAGE INTEGRATION — added
   ============================================================ */

/* Diff cards in a horizontal row (homepage What We Do) */
.diff-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 52px;
}
.diff-cards-row .diff-card {
  padding: 0;
  overflow: hidden;
}
.diff-cards-row .diff-card:hover { transform: translateY(-3px) translateX(0); }
.diff-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  border-radius: 8px 8px 0 0;
}
.diff-card-body { padding: 20px 22px; }
.diff-card-body .diff-icon { margin-bottom: 10px; }

/* What We Do image column */
.what-we-do-img-col {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 360px;
}
.what-we-do-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 360px;
}

/* Industry section full-width header image */
.ind-section-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--r);
  display: block;
  margin-bottom: 36px;
  border: 1px solid var(--border);
}

/* Machine / CMM images in capabilities */
.machine-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--r);
  border: 1px solid var(--border);
  display: block;
}
.cmm-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--r) var(--r) 0 0;
  display: block;
  margin-bottom: 28px;
  border: 1px solid var(--border);
  border-bottom: none;
}

/* Turning image highlight row */
.turning-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 44px;
  align-items: center;
}

/* Founder 2-col layout */
.founder-2col {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  text-align: left;
  align-items: start;
  max-width: 860px;
}
.founder-2col .founder-avatar { margin-left: 0; margin-right: 0; }
.founder-portrait {
  width: 210px;
  height: 270px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: block;
  flex-shrink: 0;
}

/* Responsive additions */
@media (max-width: 1024px) {
  .turning-highlight { grid-template-columns: 1fr; }
  .founder-2col { grid-template-columns: 1fr; }
  .founder-2col .founder-avatar { margin: 0 auto 20px; }
  .founder-portrait { width: 160px; height: 200px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .diff-cards-row { grid-template-columns: 1fr; }
  .ind-section-img { height: 220px; }
  .cmm-img { height: 180px; }
  .cap-grid { grid-template-columns: 1fr !important; }
}

/* ============================================================
   CAPABILITY CARDS
   ============================================================ */
.cap-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 28px 24px;
  border-radius: var(--r);
  transition: border-color 0.2s;
}
.cap-card:hover {
  border-color: rgba(26, 110, 255, 0.35);
}
.cap-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: rgba(26, 110, 255, 0.25);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}
.cap-card h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #E8EDF2;
  margin: 0 0 10px;
  line-height: 1.4;
  letter-spacing: 0.01em;
}
.cap-card p {
  font-size: 0.85rem;
  color: #8090A0;
  font-weight: 300;
  line-height: 1.75;
  margin: 0 0 16px;
}
.cap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
