:root {
  /* Dynamic Palette: Silver Bento (Strictly No Blue) */
  --bg-base: #0b0b0d; /* Near-black */
  --accent-crimson: #dc2626; /* Primary accent */
  --text-silver: #c0c4cc; /* Details and secondary text */
  --bg-crimson-tint: rgba(220, 38, 38, 0.08); /* For glassmorphic overlays */
  --bg-card-solid: #151518; /* Solid dark for overlapping */
  
  /* Typography */
  --font-stack: "Trebuchet MS", "Segoe UI", sans-serif;
  --line-height-tall: 1.8;
  
  /* UI Micro-Interactions */
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-button: 4px 4px 0 var(--text-silver);
  --glass-backdrop: blur(12px);
}

/* Resets & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-stack);
  background-color: var(--bg-base);
  color: var(--text-silver);
  line-height: var(--line-height-tall);
  overflow-x: hidden;
  overflow-wrap: anywhere;
  hyphens: auto;
  font-size: 1.1rem;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--text-silver);
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  color: var(--text-silver);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-crimson);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Header & Nav */
.site-header {
  position: relative; /* Moves up on scroll */
  background: var(--bg-base);
  border: 2px solid var(--text-silver);
  border-radius: 9999px; /* Heavily rounded ends */
  margin: 1.5rem auto;
  padding: 0.75rem 2rem;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.brand {
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--text-silver);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.main-nav {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-silver);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  display: none;
  position: absolute;
  top: calc(100% + 1rem);
  left: 1.5rem;
  right: 1.5rem;
  background: var(--bg-base);
  border: 2px solid var(--text-silver);
  padding: 2rem;
  z-index: 99;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 8px 8px 0 rgba(192, 196, 204, 0.2);
}

.mobile-nav-overlay.active {
  display: flex;
}

/* Layout Architecture: Bento Grid */
.layout-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.bento-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-auto-rows: minmax(250px, auto);
}

.bento-tile {
  background: var(--bg-card-solid);
  border: 1px solid rgba(192, 196, 204, 0.2);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* Harsh square boundaries for structural sections */
  border-radius: 0; 
  position: relative;
  overflow: hidden;
}

.bento-tile.translucent {
  background: var(--bg-crimson-tint);
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  border: 1px solid rgba(220, 38, 38, 0.3);
}

/* Specific Bento Sizes for Desktop */
@media (min-width: 769px) {
  .bento-complex {
    grid-template-columns: repeat(4, 1fr);
  }
  .col-span-2 { grid-column: span 2; }
  .col-span-3 { grid-column: span 3; }
  .col-span-4 { grid-column: span 4; }
  .row-span-2 { grid-row: span 2; }
}

/* Hero Section */
.hero-crimson {
  background-color: var(--accent-crimson);
  color: var(--bg-base);
  padding: 8rem 1.5rem;
  text-align: center;
  margin-bottom: 3rem;
  width: 100%;
}

.hero-crimson h1 {
  color: var(--bg-base);
  font-size: clamp(3rem, 8vw, 6rem);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -2px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-crimson p {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Transitional Red Blocks */
.crimson-transition {
  background-color: var(--accent-crimson);
  padding: 4rem 1.5rem;
  width: 100%;
  margin: 4rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.crimson-transition h2 {
  color: var(--bg-base);
  font-size: 2.5rem;
  text-transform: uppercase;
  margin: 0;
}

/* Buttons */
.btn-solid {
  display: inline-block;
  background-color: var(--accent-crimson);
  color: var(--bg-base);
  font-family: var(--font-stack);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 1rem 2rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-button);
  transition: all 0.1s var(--ease-kinetic);
  text-align: center;
  margin-top: 1.5rem;
  /* Hard corners */
  border-radius: 0;
}

.btn-solid:hover {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--text-silver);
  color: var(--bg-base);
}

.btn-silver {
  background-color: var(--text-silver);
  color: var(--bg-base);
  box-shadow: 4px 4px 0 var(--accent-crimson);
}

.btn-silver:hover {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--accent-crimson);
}

/* Typography elements */
.kicker {
  color: var(--accent-crimson);
  text-transform: uppercase;
  font-weight: bold;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  display: block;
}

.avatar-round {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--accent-crimson);
  margin-bottom: 1rem;
}

/* Read Width Constraints */
.content-readable {
  max-width: 72ch;
  margin: 0 auto;
}

.content-readable p {
  margin-bottom: 1.5rem;
}

.content-readable h2, .content-readable h3 {
  margin-top: 2.5rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 1rem;
  background: var(--bg-base);
  border: 1px solid var(--text-silver);
  color: var(--text-silver);
  font-family: var(--font-stack);
  border-radius: 0;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-crimson);
}

/* Tool layout */
.inquiry-tool {
  background: var(--bg-card-solid);
  padding: 3rem;
  border: 1px solid rgba(192,196,204,0.2);
}

.inquiry-tool textarea {
  min-height: 150px;
  resize: vertical;
}

/* Footer (Floating inset layout) */
.site-footer {
  background: var(--bg-card-solid);
  border: 2px solid var(--text-silver);
  margin: 2rem 1.5rem;
  padding: 4rem 2rem 2rem;
  position: relative;
  /* Heavily rounded top, harsh bottom */
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(192, 196, 204, 0.2);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: var(--accent-crimson);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

/* Table Wrapper */
.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th, td {
  padding: 1rem;
  border: 1px solid rgba(192, 196, 204, 0.2);
}

th {
  background: var(--bg-crimson-tint);
  color: var(--text-silver);
  font-weight: bold;
  text-transform: uppercase;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s var(--ease-kinetic);
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Vector Illustration Placeholders */
.vector-illustration {
  width: 100%;
  height: 250px;
  background: var(--bg-base);
  border: 2px solid var(--accent-crimson);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-crimson);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.vector-illustration::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(192, 196, 204, 0.05) 10px,
    rgba(192, 196, 204, 0.05) 20px
  );
}

/* Media Queries */
@media (max-width: 768px) {
  .site-header {
    border-radius: 0;
    margin: 0;
    border-left: none;
    border-right: none;
    border-top: none;
  }
  .main-nav { display: none; }
  .mobile-menu-btn { display: block; }
  
  .hero-crimson h1 {
    font-size: 2.5rem;
  }
  
  .site-footer {
    border-radius: 0;
    margin: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
  }
}

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