*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Palette — Industrial Blueprint */
  --bg: #f4f3ee;
  --surface: #fbfaf6;
  --surface-alt: #efede5;
  --text: #0d1117;
  --text-muted: #525964;
  --text-dim: #7b8594;
  --border: #c8c5b7;
  --rule: #d6d2c2;
  --navy: #1a2942;
  --navy-mid: #2d4a7b;
  --navy-light: #3a5b8f;
  --accent: #e8a852;
  --accent-dark: #c87f1a;
  --accent-deep: #a36412;
  --success: #2a7a3a;
  --shadow-sm: 0 1px 2px rgba(10, 22, 40, 0.04), 0 1px 3px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(10, 22, 40, 0.06), 0 10px 24px -4px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 20px 48px -12px rgba(10, 22, 40, 0.18);
  --shadow-bp: 6px 6px 0 var(--navy);

  /* Fluid spacing */
  --space-xs: clamp(0.5rem, 0.5rem + 0.1vw, 0.625rem);
  --space-sm: clamp(0.75rem, 0.75rem + 0.2vw, 1rem);
  --space-md: clamp(1rem, 1rem + 0.4vw, 1.5rem);
  --space-lg: clamp(1.5rem, 1.5rem + 0.8vw, 2.5rem);
  --space-xl: clamp(2.5rem, 2rem + 2.5vw, 4rem);
  --space-2xl: clamp(3.5rem, 2.5rem + 4vw, 6rem);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', ui-monospace, Monaco, Consolas, monospace;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-sans);
  font-feature-settings: 'cv11', 'ss01', 'kern', 'liga';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text);
  background: var(--bg);
  background-image:
    linear-gradient(rgba(13, 17, 23, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 17, 23, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  font-size: 16px;
  line-height: 1.6;
}

/* Fluid type scale */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--text);
  font-weight: 700;
}
h1 { font-size: clamp(2.25rem, 1.6rem + 3.2vw, 4rem); letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { color: var(--text-muted); }
/* 65ch only on lead paragraphs to prevent mid-page truncation in body copy */
.lede, .section-header p, .hero .tagline, .hero p, p.tagline { max-width: 65ch; }
p + p { margin-top: 1rem; }
a { color: var(--navy-mid); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--accent-deep); }
code, .mono { font-family: var(--font-mono); font-size: 0.875em; letter-spacing: -0.01em; }
mark { background: transparent; color: var(--accent-deep); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 4px; text-underline-offset: 6px; }

/* Layout */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 1rem + 1vw, 2rem);
}
section {
  padding: var(--space-2xl) 0;
  position: relative;
}
section.alt { background: var(--surface-alt); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  padding: 0.75rem 1.375rem;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-primary:hover { background: var(--text); border-color: var(--text); color: #fff; }
.btn-accent {
  background: var(--accent);
  color: var(--text);
  border-color: var(--accent);
  font-weight: 700;
}
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--text);
}
.btn-ghost:hover { background: var(--text); color: var(--surface); border-color: var(--text); }
.btn-ghost-dark {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-ghost-dark:hover { background: rgba(255, 255, 255, 0.18); color: #fff; border-color: var(--accent); }
.btn-lg { padding: 0.9375rem 1.75rem; font-size: 1rem; }

/* Header — Industrial */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 2px solid var(--text);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
/*
 * Logo sizing rule (do not shrink without re-exporting the PNG):
 * The cintra-logo.png has significant transparent padding around the artwork.
 * Container height ~30-40% larger than the visible-graphic target.
 * If the logo looks too small, INCREASE these heights, do not decrease them.
 */
.brand-logo {
  height: 48px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}
.brand-logo-footer {
  height: 56px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}
@media (max-width: 768px) {
  .brand-logo { height: 40px; }
  .brand-logo-footer { height: 48px; }
}
.site-header nav {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
.site-header nav a {
  font-family: var(--font-mono);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: all 0.15s ease;
}
.site-header nav a:hover { border-color: var(--text); background: var(--bg); color: var(--text); text-decoration: none; }

/* Hero */
.hero {
  padding: var(--space-2xl) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
  background: transparent;
  border-bottom: 1px solid var(--rule);
}
.hero::before { display: none; }
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}
.hero-eyebrow .dot,
.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(232, 168, 82, 0.25);
}
.hero h1 {
  max-width: 18ch;
  margin-bottom: 1.25rem;
}
.hero .tagline {
  font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 44ch;
  margin-bottom: 2rem;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Two-column hero layout — text on left, blueprint card on right */
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* Hero with looping background video. Kept for any page that still uses it. */
.hero-video {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  border-bottom: 0;
}
.hero-video::before { display: none; }
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.45;
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(26, 41, 66, 0.55) 0%, rgba(13, 17, 23, 0.85) 100%);
  pointer-events: none;
}
.hero-video .container { position: relative; z-index: 2; }
.hero-video h1 { color: #fff; }
.hero-video .tagline { color: rgba(255, 255, 255, 0.85); }
.hero-video .hero-accent { color: var(--accent); }
.hero-video .hero-stats { border-top: 1px solid rgba(255, 255, 255, 0.18); }
.hero-video .hero-stat-num { color: #fff; }
.hero-video .hero-stat-label { color: rgba(255, 255, 255, 0.7); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.7rem; }
.hero-video .hero-eyebrow {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  backdrop-filter: blur(6px);
}
.hero-video .btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}
.hero-video .btn-ghost:hover { background: rgba(255, 255, 255, 0.18); color: #fff; border-color: var(--accent); }
@media (prefers-reduced-motion: reduce) {
  .hero-bg-video { display: none; }
  .hero-video { background: linear-gradient(135deg, var(--navy) 0%, var(--text) 100%); }
}

/* Hero stat strip */
.hero-accent { color: var(--accent-deep); }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.75rem, 0.5rem + 1vw, 1.5rem);
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  padding-top: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
  border-top: 1px solid var(--rule);
  max-width: 56rem;
}
@media (max-width: 720px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1rem 0.5rem; }
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1.05;
}
.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* Blueprint card — Industrial routing schematic */
.blueprint {
  background: var(--surface);
  border: 1px solid var(--text);
  padding: 1.5rem;
  position: relative;
  border-radius: 4px;
  box-shadow: var(--shadow-bp);
}
.bp-header {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed var(--rule);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}
.bp-row {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px dotted var(--rule);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.bp-row:last-child { border-bottom: none; }
.bp-label { color: var(--text-dim); }
.bp-val { color: var(--text); font-weight: 600; text-align: right; }
.bp-val.ok { color: var(--success); }
.bp-flow {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--text);
}
.bp-flow-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.35rem 0;
}
.bp-flow-row > span:first-child { color: var(--text-dim); width: 36px; }
.bp-flow-arrow { color: var(--accent-deep); }

/* Spec strip — dark band with mono stats (replaces .facts visually) */
.facts,
.spec-strip {
  background: var(--text);
  color: var(--bg);
  padding: var(--space-lg) 0;
  position: relative;
  border-top: 1px solid var(--text);
  border-bottom: 1px solid var(--text);
}
.facts::before,
.spec-strip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  opacity: 0.85;
}
.facts .container,
.spec-strip .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
}
.fact,
.spec {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 0.25rem 1.5rem 0.25rem 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.fact:last-child,
.spec:last-child { border-right: none; }
.fact-label,
.spec-label {
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
.fact-value,
.spec-val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.fact-value { font-family: var(--font-mono); font-size: 0.9375rem; font-weight: 500; letter-spacing: -0.01em; }
.spec-val span { color: var(--accent); }
@media (max-width: 700px) {
  .facts .container,
  .spec-strip .container { grid-template-columns: 1fr 1fr; }
  .fact, .spec { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 1rem; }
}

/* Section header — centered block so it doesn't strand on left of wide containers */
.section-header {
  margin: 0 auto var(--space-xl);
  max-width: 52rem;
  text-align: center;
}
.section-header .section-eyebrow {
  justify-content: center;
}
.section-header h2,
.section-header p {
  margin-left: auto;
  margin-right: auto;
}
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 1rem;
}
.section-eyebrow::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent-deep);
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.0625rem; }

/* Capabilities grid */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: clamp(1rem, 0.75rem + 1vw, 1.5rem);
}
.cap-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: var(--space-lg);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  color: inherit;
  text-decoration: none;
}
a.cap-card:hover {
  transform: translateY(-2px);
  border-color: var(--text);
  box-shadow: var(--shadow-md);
}
a.cap-card:hover h3 { color: var(--accent-deep); }
.cap-icon {
  width: 40px;
  height: 40px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-mid);
}
.cap-icon svg { width: 22px; height: 22px; }
.cap-card h3 { margin: 0; font-weight: 600; }
.cap-codes {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.cap-card p { font-size: 0.9375rem; margin: 0; }

/* Workflow */
.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: clamp(1rem, 0.5rem + 1vw, 1.5rem);
}
.workflow::before {
  content: "";
  position: absolute;
  top: 22px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(232, 168, 82, 0.35) 100%);
  z-index: 0;
  transform-origin: left center;
  transition: transform 1.2s cubic-bezier(0.65, 0, 0.35, 1) 200ms;
}
.workflow.reveal { opacity: 1; transform: none; }
.workflow .workflow-step {
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.workflow.in .workflow-step:nth-child(1) { transition-delay: 0ms; }
.workflow.in .workflow-step:nth-child(2) { transition-delay: 200ms; }
.workflow.in .workflow-step:nth-child(3) { transition-delay: 400ms; }
.workflow.in .workflow-step:nth-child(4) { transition-delay: 600ms; }
.workflow .workflow-step-marker {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}
.workflow.in .workflow-step:nth-child(1) .workflow-step-marker { transition-delay: 100ms; }
.workflow.in .workflow-step:nth-child(2) .workflow-step-marker { transition-delay: 300ms; }
.workflow.in .workflow-step:nth-child(3) .workflow-step-marker { transition-delay: 500ms; }
.workflow.in .workflow-step:nth-child(4) .workflow-step-marker { transition-delay: 700ms; }
@media (prefers-reduced-motion: reduce) {
  .workflow::before,
  .workflow .workflow-step,
  .workflow .workflow-step-marker {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .workflow::before { transform: scaleX(1); }
}

.workflow-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 clamp(0.75rem, 0.5rem + 0.5vw, 1.25rem);
  position: relative;
  z-index: 1;
}
.workflow-step-marker {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background: var(--surface);
  border: 2px solid var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 6px var(--bg);
}
.workflow-step-num {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-deep);
  letter-spacing: -0.02em;
}
.workflow-step-icon {
  width: 40px;
  height: 40px;
  margin-top: clamp(1.25rem, 1rem + 0.5vw, 1.75rem);
  color: var(--navy-mid);
}
.workflow-step-icon svg {
  width: 100%;
  height: 100%;
}
.workflow-step h3 {
  font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: clamp(0.75rem, 0.5rem + 0.5vw, 1rem) 0 0.5rem;
  line-height: 1.25;
  max-width: 22ch;
}
.workflow-step p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
  max-width: 28ch;
}

@media (max-width: 900px) {
  .workflow {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .workflow::before {
    top: 22px;
    bottom: 22px;
    left: 22px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--accent) 0%, rgba(232, 168, 82, 0.35) 100%);
  }
  .workflow-step {
    flex-direction: row;
    align-items: flex-start;
    gap: clamp(0.875rem, 0.5rem + 1vw, 1.25rem);
    padding: 0 0 clamp(1.5rem, 1rem + 1vw, 2.25rem);
  }
  .workflow-step:last-child { padding-bottom: 0; }
  .workflow-step-marker { flex-shrink: 0; margin-top: 0; }
  .workflow-step-icon { display: none; }
  .workflow-step h3 { margin: 0.375rem 0 0.375rem; max-width: none; }
  .workflow-step p { max-width: none; }
}

/* Feature grid — numbered cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 0.75rem + 1vw, 1.75rem);
  grid-auto-rows: 1fr;
}
.feature-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .feature-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .feature-grid,
  .feature-grid.cols-3 { grid-template-columns: 1fr; }
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--text);
  box-shadow: var(--shadow-md);
}
.feature-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background: var(--bg);
  border: 1px solid var(--rule);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-deep);
  flex-shrink: 0;
}
.feature-icon svg {
  width: 24px;
  height: 24px;
}
.feature-num {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem);
  font-weight: 500;
  color: var(--text-dim);
  opacity: 0.4;
  letter-spacing: -0.02em;
  line-height: 1;
}
.feature-card h3 {
  font-size: clamp(1.25rem, 1rem + 0.5vw, 1.5rem);
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
  max-width: 28ch;
}
.feature-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  max-width: 50ch;
}

/* Who we serve — 12-card grid */
.serve-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 0.75rem + 1vw, 1.5rem);
}
@media (min-width: 520px) { .serve-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .serve-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.serve-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: var(--space-lg);
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
a.serve-card:hover {
  transform: translateY(-2px);
  border-color: var(--text);
  box-shadow: var(--shadow-md);
}
a.serve-card:hover h3 { color: var(--accent-deep); }
.serve-card .tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: rgba(232, 168, 82, 0.12);
  padding: 0.25rem 0.55rem;
  border-radius: 3px;
  margin-bottom: 1rem;
}
.serve-card h3 { margin-bottom: 0.75rem; font-weight: 600; }
.serve-card ul { list-style: none; padding: 0; margin-top: 1rem; }
.serve-card li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
  border-top: 1px dashed var(--rule);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.serve-card li:first-child { border-top: 0; }
.serve-card li::before {
  content: "▸";
  color: var(--accent-deep);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

/* Certifications */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 0.875rem;
}
.cert {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: transform 0.15s ease, border-color 0.15s ease;
  position: relative;
}
.cert:hover { transform: translateY(-2px); border-color: var(--text); }
.cert.active { border-color: var(--success); border-width: 2px; }
.cert.pending { border-style: dashed; }
.cert-name {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
  margin-bottom: 0.375rem;
}
.cert-status {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-dim);
}
.cert.active .cert-status { color: var(--success); }

/* Company info */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: var(--space-lg);
}
.info-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 0;
}
.info-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
}
.info-value {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text);
  letter-spacing: -0.01em;
  word-break: break-word;
}

/* FAQ — Q/A treatment for <details><summary> in .faq-list wrapper */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 4px;
  transition: border-color 0.15s ease;
}
.faq-list details:hover { border-color: var(--text); }
.faq-list details[open] { border-color: var(--text); background: var(--bg); }
.faq-list summary {
  font-weight: 600;
  font-size: 1rem;
  padding: 1.15rem 1.5rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before {
  content: "Q";
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-deep);
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  background: rgba(232, 168, 82, 0.15);
  border-radius: 3px;
  flex-shrink: 0;
}
.faq-list summary::after {
  content: "[+]";
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-left: auto;
  flex-shrink: 0;
}
.faq-list details[open] summary::after { content: "[−]"; color: var(--accent-deep); }
.faq-list details > p,
.faq-list details > .faq-body {
  padding: 0 1.5rem 1.4rem 3.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  max-width: 70ch;
}
.faq-list details > p::before,
.faq-list details > .faq-body::before {
  content: "A › ";
  font-family: var(--font-mono);
  color: var(--navy-mid);
  font-weight: 600;
}

/* RFQ form */
.rfq-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-xl);
  align-items: start;
}
@media (max-width: 840px) { .rfq-layout { grid-template-columns: 1fr; } }
.rfq-copy h2 { margin-bottom: 1rem; }
.rfq-copy ul { list-style: none; padding: 0; margin-top: 1.5rem; }
.rfq-copy li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  padding: 0.625rem 0;
  border-top: 1px dashed var(--rule);
  display: flex;
  gap: 0.75rem;
}
.rfq-copy li:first-child { border-top: 0; }
.rfq-copy li svg { flex-shrink: 0; color: var(--success); margin-top: 0.1875rem; }
.rfq-form {
  background: var(--surface);
  border: 1px solid var(--text);
  border-radius: 4px;
  padding: var(--space-lg);
  box-shadow: var(--shadow-bp);
}
.form-row { margin-bottom: 1rem; }
.form-row.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .form-row.two-col { grid-template-columns: 1fr; } }
.form-row label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.375rem;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.7rem 0.875rem;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 4px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--text);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(232, 168, 82, 0.25);
}
.form-row textarea { min-height: 120px; resize: vertical; font-family: var(--font-mono); font-size: 0.875rem; }
.form-help {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.03em;
  margin-top: 0.375rem;
}

/* Footer — Industrial */
.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--space-xl) 0 var(--space-lg);
  font-size: 0.875rem;
  border-top: 4px solid var(--accent);
}
.site-footer .container {
  display: grid;
  grid-template-columns: minmax(300px, 1.6fr) repeat(3, minmax(160px, 1fr));
  gap: var(--space-lg);
}
@media (max-width: 900px) {
  .site-footer .container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .site-footer .container { grid-template-columns: 1fr; }
}
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: var(--accent); }
.site-footer h4 {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.875rem;
  font-weight: 600;
}
.site-footer h4::before { content: "// "; opacity: 0.55; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer .footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.05em;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Thanks page */
.thanks-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}
.thanks-page .check {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--success), #1a5230);
  color: #fff;
  border-radius: 4px;
  font-size: 2rem;
  line-height: 72px;
  margin: 0 auto 1.5rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}
.thanks-page h1 { font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem); margin-bottom: 1rem; }
.thanks-page p { max-width: 32rem; margin: 0 auto 1.5rem; }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* Responsive refinements */
@media (max-width: 640px) {
  .site-header nav { display: none; }
  .hero h1 { max-width: 100%; }
  .hero-actions .btn { flex: 1; justify-content: center; }
}

/* Print styles for /capabilities one-pager */
@media print {
  :root { --bg: #fff; --surface: #fff; }
  body { background: #fff !important; background-image: none !important; color: #000; font-size: 10.5pt; }
  .no-print { display: none !important; }
  section { padding: 12pt 0; page-break-inside: avoid; }
  .hero { background: none; padding: 16pt 0 8pt; }
  .hero::before { display: none; }
  .hero h1 { font-size: 22pt; color: #000; }
  .hero .tagline { font-size: 11pt; }
  .facts, .spec-strip { background: #0d1117; -webkit-print-color-adjust: exact; print-color-adjust: exact; padding: 10pt 0; }
  .container { max-width: 100%; padding: 0 0.5in; }
  .cap-card, .serve-card, .cert, .info-grid, .feature-card { border: 0.75pt solid #ccc; box-shadow: none; }
  h2 { font-size: 14pt; margin-top: 12pt; }
  h3 { font-size: 11pt; }
  .site-footer { background: none; color: #000; padding: 8pt 0; font-size: 9pt; border-top: 1pt solid #000; }
  .site-footer h4 { color: #000; }
  .site-footer a { color: #000; text-decoration: none; }
}

/* Anatomy-of-a-quote flow diagram on the homepage. */
.flow-diagram {
  max-width: 920px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--text);
  border-radius: 4px;
  padding: clamp(1rem, 2vw, 1.75rem);
  box-shadow: var(--shadow-bp);
}
.flow-diagram svg { width: 100%; height: auto; display: block; }
