:root {
  --slate-base: #1e2530;
  --slate-surface: #273041;
  --lime-accent: #a3e635;
  --white: #ffffff;
  
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 8px 24px -4px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 16px 32px -4px rgba(163, 230, 53, 0.15);
  
  --sys-ui: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  margin: 0;
  padding: 0;
  background-color: var(--slate-base);
  color: var(--white);
  font-family: var(--sys-ui);
  line-height: 1.6;
  overflow-wrap: anywhere;
  hyphens: auto;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  margin-top: 0;
  font-weight: normal;
  letter-spacing: 0.02em;
}

a { color: var(--lime-accent); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--white); }
img { max-width: 100%; height: auto; display: block; border-radius: 0; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: static;
  margin: 20px auto;
  max-width: 1200px;
  background-color: var(--slate-surface);
  border-radius: 999px;
  padding: 12px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  box-shadow: var(--shadow-soft);
}
.brand-link {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--white);
  font-weight: bold;
}
.main-nav { display: flex; gap: 24px; align-items: center; }
.main-nav a {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.main-nav a:hover { color: var(--lime-accent); }
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
}

/* Mobile Menu */
.mobile-overlay {
  display: none;
  position: absolute;
  top: 80px;
  left: 20px;
  right: 20px;
  background: var(--slate-surface);
  padding: 20px;
  flex-direction: column;
  gap: 15px;
  box-shadow: var(--shadow-soft);
  z-index: 99;
}
.mobile-overlay.active { display: flex; }

/* Buttons */
.btn-lime {
  display: inline-block;
  border: 2px solid var(--lime-accent);
  color: var(--lime-accent);
  background: transparent;
  padding: 12px 24px;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s var(--ease-kinetic);
  text-align: center;
}
.btn-lime:hover, .btn-lime:focus-visible {
  background: var(--lime-accent);
  color: var(--slate-base);
  transform: translateY(-2px);
}

/* Diagonal Backgrounds */
.diagonal-section {
  position: relative;
  background: var(--slate-surface);
  padding: 100px 0;
  margin: 60px 0;
  clip-path: polygon(0 4vw, 100% 0, 100% calc(100% - 4vw), 0 100%);
}
.diagonal-section-alt {
  position: relative;
  background: var(--slate-base);
  padding: 100px 0;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 60px 0;
}
.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-images {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
}
.hero-img {
  position: absolute;
  border-radius: 0;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}
.img-1 { width: 60%; height: 60%; top: 0; left: 0; z-index: 1; }
.img-2 { width: 55%; height: 55%; bottom: 5%; left: 15%; z-index: 3; border: 4px solid var(--slate-base); }
.img-3 { width: 50%; height: 50%; top: 15%; right: 0; z-index: 2; }

/* Panels & Cards */
.panel {
  background: var(--slate-surface);
  padding: 32px;
  border-radius: 0;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease-kinetic), box-shadow 0.4s;
}
.panel:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* Evidence Stat Strip */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  background: var(--slate-surface);
  border-top: 3px solid var(--lime-accent);
  padding: 30px;
  margin: 40px 0;
}
.stat-item h4 {
  font-size: 2.5rem;
  color: var(--lime-accent);
  margin-bottom: 5px;
  font-family: var(--sys-ui);
  font-weight: bold;
}
.stat-item p { margin: 0; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.7); }

/* Tabs Component */
.tab-headers {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.tab-btn {
  background: var(--slate-base);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 12px 20px;
  cursor: pointer;
  border-radius: 0;
  font-family: var(--serif);
  font-size: 1.1rem;
  transition: all 0.3s;
}
.tab-btn.active, .tab-btn:hover {
  background: var(--slate-surface);
  border-color: var(--lime-accent);
  color: var(--lime-accent);
}
.tab-content { display: none; }
.tab-content.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  background: var(--slate-surface);
  padding: 30px;
  border-top: 2px solid var(--lime-accent);
}
.tab-content img { aspect-ratio: 1/1; object-fit: cover; }

/* Accordion Component */
.accordion-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 10px;
}
.accordion-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--white);
  padding: 20px 0;
  font-size: 1.2rem;
  font-family: var(--serif);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}
.accordion-btn:hover { color: var(--lime-accent); }
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-kinetic);
}
.accordion-content p { padding-bottom: 20px; margin: 0; color: rgba(255,255,255,0.8); }
.accordion-item.active .accordion-content { max-height: 500px; }

/* Contact Form Components */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase; }
.form-control {
  width: 100%;
  padding: 12px;
  background: var(--slate-base);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  border-radius: 0;
  font-family: var(--sys-ui);
}
.form-control:focus { outline: none; border-color: var(--lime-accent); }
textarea.form-control { resize: vertical; min-height: 120px; }
.contact-tools { display: flex; gap: 15px; margin-top: 20px; flex-wrap: wrap; }
#preview-box {
  background: var(--slate-base);
  padding: 15px;
  border-left: 3px solid var(--lime-accent);
  white-space: pre-wrap;
  min-height: 100px;
  margin-top: 15px;
  font-family: monospace;
}

/* Data Table */
.data-table-wrapper { overflow-x: auto; margin: 30px 0; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 0;
  background: var(--slate-surface);
}
.data-table th, .data-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.data-table th { font-family: var(--serif); color: var(--lime-accent); }

/* Footer */
.site-footer {
  background: var(--slate-surface);
  clip-path: polygon(0 5vw, 100% 0, 100% 100%, 0 100%);
  padding: 100px 0 40px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-heading {
  font-family: var(--serif);
  color: var(--lime-accent);
  margin-bottom: 20px;
  font-size: 1.2rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.7); }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer-bottom p { color: var(--lime-accent); margin: 0; font-size: 0.9rem; }
.legal-links { display: flex; gap: 15px; }

/* Layout utilities */
.article-body { max-width: 68ch; margin: 0 auto; }
.article-body p { margin-bottom: 1.5em; font-size: 1.1rem; color: rgba(255,255,255,0.85); }
.reveal-init { opacity: 0; transform: translateY(30px); transition: all 0.7s var(--ease-kinetic); }
.reveal-visible { opacity: 1; transform: translateY(0); }

/* Media Queries */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-images { max-width: 500px; margin: 0 auto; }
  .tab-content.active { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-toggle { display: block; }
  .hero-content h1 { font-size: 2.5rem; }
  .diagonal-section { clip-path: polygon(0 20px, 100% 0, 100% calc(100% - 20px), 0 100%); padding: 60px 0; }
  .site-footer { clip-path: polygon(0 20px, 100% 0, 100% 100%, 0 100%); }
}

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