:root {
  /* No Blue Palette */
  --bg-canvas: #09090b; /* Deep obsidian */
  --bg-surface: #1c1917; /* Elevated dark warm */
  --text-primary: #f5f5f4; /* Off-white */
  --text-muted: #a8a29e; /* Warm grey */
  --accent-primary: #d97706; /* Warm gold */
  
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-elevation: 0 12px 32px -4px rgba(0, 0, 0, 0.4);
  --glow-accent: 0 0 24px -4px rgba(217, 119, 6, 0.5);
  --glass-backdrop: blur(16px) saturate(180%);
  --border-radius: 4px; /* Tight corner rule */
}

/* Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  lang: en;
  scroll-behavior: smooth;
}
body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-wrap: anywhere;
  hyphens: auto;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: opacity 0.3s ease;
}
a:hover {
  opacity: 0.8;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.mono-label, .stats-number {
  font-family: ui-monospace, Consolas, monospace;
}
p {
  margin-bottom: 1.5rem;
}

/* Header & Nav */
.header-wrapper {
  position: relative; /* Scrolls away */
  padding: 1rem;
  z-index: 100;
}
.site-header {
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(28, 25, 23, 0.7);
  backdrop-filter: var(--glass-backdrop);
  border-radius: 999px; /* Pill-shaped inset floating box */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 32px;
  border: 1px solid rgba(245, 245, 244, 0.1);
}
.brand-name {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}
.site-nav {
  display: flex;
  gap: 24px;
}
.site-nav a {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Layout Engine */
.reading-column {
  max-width: 68ch;
  margin: 0 auto;
  padding: 2rem 1rem;
}
.breakout-image {
  width: 100vw;
  max-width: 1200px;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 3rem;
  margin-bottom: 3rem;
}
.breakout-image img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  border-radius: var(--border-radius);
}
@media (min-width: 1200px) {
  .breakout-image {
    margin-left: -600px;
    margin-right: -600px;
    left: 50%;
  }
}

/* Components */
.pull-quote {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-primary);
  border-left: 4px solid var(--accent-primary);
  padding-left: 1.5rem;
  margin: 2.5rem 0;
  font-style: italic;
}
.pill-button {
  display: inline-block;
  background-color: var(--accent-primary);
  color: var(--bg-canvas);
  padding: 12px 32px;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: transform 0.4s var(--ease-kinetic), box-shadow 0.4s var(--ease-kinetic);
}
.pill-button:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-elevation), var(--glow-accent);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
}
.hero-content h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  margin-bottom: 2rem;
  text-shadow: 0 4px 24px rgba(0,0,0,0.8);
}
.hero-stats-card {
  background: rgba(9, 9, 11, 0.5);
  backdrop-filter: var(--glass-backdrop);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--border-radius);
  padding: 2rem;
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 3rem;
  box-shadow: var(--shadow-elevation);
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-item .stats-number {
  font-size: 2rem;
  color: var(--accent-primary);
  font-weight: 700;
}
.stat-item .mono-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Translucent Layered Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}
.layered-card {
  position: relative;
  background: var(--accent-primary);
  padding: 2px;
  border-radius: var(--border-radius);
  transition: transform 0.5s var(--ease-kinetic);
}
.layered-card-inner {
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: var(--glass-backdrop);
  padding: 2rem;
  border-radius: var(--border-radius);
  height: 100%;
}
.layered-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: var(--glow-accent);
}

/* Contact Tool */
.tool-box {
  background: var(--bg-surface);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255,255,255,0.05);
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px;
  background: var(--bg-canvas);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-primary);
  border-radius: var(--border-radius);
  font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
}
.tool-actions {
  display: flex;
  gap: 1rem;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-kinetic), transform 0.8s var(--ease-kinetic);
}
.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.site-footer {
  margin-top: 6rem;
  padding: 2rem 1rem;
}
.footer-floating-box {
  max-width: 1200px;
  margin: 0 auto 2rem auto;
  background: rgba(28, 25, 23, 0.7);
  backdrop-filter: var(--glass-backdrop);
  border-radius: 999px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  border: 1px solid rgba(245, 245, 244, 0.1);
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-legal-block {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
  }
  .site-nav.active {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-stats-card {
    flex-direction: column;
    gap: 1rem;
  }
  .footer-floating-box {
    flex-direction: column;
    border-radius: var(--border-radius);
    gap: 1rem;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}
th, td {
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  text-align: left;
}
th {
  background: var(--bg-surface);
  font-family: ui-monospace, Consolas, monospace;
}

@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
