:root {
  /* Palette: Near-black, crimson, silver. Strictly NO BLUE. */
  --bg-canvas: #0b0b0d;
  --bg-surface: #1a1a1d;
  --bg-surface-hover: #212125;
  --text-primary: #e6e6e8;
  --text-muted: #c0c4cc;
  --accent-primary: #dc2626;
  --accent-secondary: #991b1b;
  --border-subtle: #2d2d33;

  /* Typography */
  --font-display: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  
  /* Space and Shape */
  --radius-card: 4px;
  --space-unit: 8px;
  --container-width: 1100px;
  
  /* Motion */
  --ease-kinetic: cubic-bezier(0.22, 0.61, 0.36, 1);
  --duration: 300ms;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; background-color: var(--bg-canvas); color: var(--text-primary); }
body {
  font-family: var(--font-body);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
  hyphens: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
p { margin-bottom: 1.5rem; color: var(--text-muted); }
a { color: var(--text-primary); text-decoration: none; transition: color var(--duration) var(--ease-kinetic); }
a:hover { color: var(--accent-primary); }
a:focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 4px; }
ul, ol { margin: 0 0 1.5rem 1.5rem; color: var(--text-muted); }
li { margin-bottom: 0.5rem; }

/* Structural Bands */
.band-canvas { background-color: var(--bg-canvas); padding: 5rem 1.5rem; }
.band-surface { background-color: var(--bg-surface); padding: 5rem 1.5rem; }
.container { max-width: var(--container-width); margin: 0 auto; }
.content-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }

/* Inset Header */
.site-header {
  position: relative;
  z-index: 100;
  width: 90%;
  max-width: var(--container-width);
  margin: 1.5rem auto 0;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 40px;
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand-link { font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; font-size: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.brand-link span { color: var(--accent-primary); }
.desktop-nav { display: flex; gap: 1.5rem; }
.desktop-nav a { font-weight: 600; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--text-primary); }
.mobile-nav-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.5rem; cursor: pointer; padding: 0.25rem; }
.mobile-nav { display: none; position: absolute; top: calc(100% + 0.5rem); left: 0; right: 0; background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-card); padding: 1rem; flex-direction: column; gap: 1rem; }
.mobile-nav.is-open { display: flex; }

/* Hero */
.hero {
  padding: 8rem 1.5rem;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(220,38,38,0.05) 0%, transparent 70%), var(--bg-canvas);
  border-bottom: 1px solid var(--border-subtle);
}
.hero-content { max-width: 800px; margin: 0 auto; }
.hero-label { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-primary); display: block; margin-bottom: 1rem; font-weight: 700; }

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--accent-primary);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--accent-secondary);
  box-shadow: 4px 4px 0 var(--border-subtle);
  transition: all 0.2s var(--ease-kinetic);
  cursor: pointer;
  text-align: center;
}
.btn:hover {
  background-color: var(--accent-secondary);
  box-shadow: 0px 0px 0 var(--border-subtle);
  transform: translate(4px, 4px);
  color: #fff;
}

/* Cards */
.card {
  background-color: var(--bg-surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-subtle);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--duration) var(--ease-kinetic);
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(var(--border-subtle) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.3;
  pointer-events: none;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent-primary); }
.card h3 { position: relative; z-index: 1; font-size: 1.5rem; margin-bottom: 1rem; }
.card p { position: relative; z-index: 1; font-size: 0.9375rem; margin-bottom: 1.5rem; }

/* Imagery */
.img-wrapper {
  border-radius: var(--radius-card);
  overflow: hidden;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  margin: 2rem 0;
}
.img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: contrast(1.1) brightness(0.9) grayscale(20%);
}
.img-ratio-16-9 { aspect-ratio: 16 / 9; }
.img-ratio-4-3 { aspect-ratio: 4 / 3; }

/* Long Form Content */
.long-form { max-width: 72ch; margin: 0 auto; }
.long-form h2 { margin-top: 3rem; margin-bottom: 1.5rem; position: relative; padding-bottom: 0.5rem; }
.long-form h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 4px; background-color: var(--accent-primary); }
.long-form h3 { margin-top: 2rem; margin-bottom: 1rem; }
.long-form table { width: 100%; border-collapse: collapse; margin-bottom: 2rem; }
.long-form th, .long-form td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--border-subtle); }
.long-form th { font-weight: 700; color: var(--text-primary); }
.long-form .table-wrapper { overflow-x: auto; margin-bottom: 2rem; }

/* Footer */
.site-footer {
  background-color: var(--bg-canvas);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 1.5rem 2rem;
  text-align: center;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: var(--container-width);
  margin: 0 auto 3rem;
  text-align: left;
}
.footer-col h4 { font-size: 1rem; color: var(--text-primary); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col ul { list-style: none; margin: 0; }
.footer-col a { color: var(--text-muted); font-size: 0.875rem; display: block; margin-bottom: 0.5rem; }
.footer-legal { font-size: 0.75rem; color: var(--text-muted); padding-top: 2rem; border-top: 1px solid var(--border-subtle); max-width: var(--container-width); margin: 0 auto; display: flex; flex-direction: column; gap: 0.5rem; }

/* Utilities & Components */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--duration) var(--ease-kinetic), transform var(--duration) var(--ease-kinetic); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, a { transition: none; }
}
.faq-item { border-bottom: 1px solid var(--border-subtle); padding: 1.5rem 0; }
.faq-q { font-weight: 700; font-size: 1.25rem; color: var(--text-primary); margin-bottom: 0.5rem; }
.contact-tool { background: var(--bg-surface); padding: 2rem; border-radius: var(--radius-card); border: 1px solid var(--border-subtle); }
.contact-tool label { display: block; margin-bottom: 0.5rem; font-weight: 700; font-size: 0.875rem; }
.contact-tool input, .contact-tool textarea { width: 100%; padding: 0.75rem; background: var(--bg-canvas); border: 1px solid var(--border-subtle); color: var(--text-primary); border-radius: var(--radius-card); margin-bottom: 1.5rem; font-family: inherit; }
.contact-tool input:focus, .contact-tool textarea:focus { outline: 2px solid var(--accent-primary); outline-offset: 2px; }

/* Media Queries */
@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .mobile-nav-toggle { display: block; }
  .site-header { width: 100%; border-radius: 0; margin-top: 0; border-top: none; border-left: none; border-right: none; }
  .hero { padding: 4rem 1.5rem; }
}