:root {
  /* Dynamic Palette (Strictly No Blue) - Forest Brass Bento */
  --bg-canvas: #13261d;
  --bg-surface: #1a3327;
  --bg-surface-hover: #224233;
  --text-primary: #efe6d2;
  --text-muted: rgba(239, 230, 210, 0.7);
  --accent-primary: #b8923a;
  --accent-secondary: #8c6e26;
  --border-subtle: 1px solid rgba(239, 230, 210, 0.1);
  --border-radius: 20px;
  
  /* Advanced UI Micro-Interactions & Depth */
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-elevation: 4px 4px 0 var(--accent-primary);
  --glow-accent: 0 0 24px -4px var(--accent-primary);
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
  hyphens: auto;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--text-primary);
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Nav */
.site-header {
  position: relative;
  padding: 24px 0;
  background-color: var(--bg-canvas);
  z-index: 100;
  border-bottom: var(--border-subtle);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.05em;
  color: var(--text-primary);
  text-transform: uppercase;
}

.main-nav {
  display: none;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
}

.main-nav a {
  color: var(--text-primary);
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.main-nav a:hover {
  color: var(--accent-primary);
}

.mobile-nav-toggle {
  display: block;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--bg-surface);
  border-bottom: var(--border-subtle);
  padding: 24px;
  z-index: 99;
}

.mobile-nav-overlay.active {
  display: block;
  animation: slideDown 0.3s var(--ease-kinetic);
}

.mobile-nav-overlay ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 768px) {
  .mobile-nav-toggle { display: none; }
  .main-nav { display: block; }
  .mobile-nav-overlay { display: none !important; }
}

/* Hero Band */
.hero-band {
  padding: 60px 0 40px;
  text-align: left;
  background-color: var(--bg-canvas);
}

.hero-band h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  max-width: 900px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--accent-primary);
  color: var(--bg-canvas);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 16px 32px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-elevation);
  transition: all 0.2s var(--ease-kinetic);
  font-family: inherit;
}

.btn:hover {
  transform: translate(4px, 4px);
  box-shadow: 0px 0px 0px var(--accent-primary);
  color: var(--bg-canvas);
}

/* Bento Grid System */
.bento-section {
  padding: 40px 0 80px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  grid-auto-flow: dense;
}

.bento-panel {
  background-color: var(--bg-surface);
  border-radius: var(--border-radius);
  padding: 32px;
  border: var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s var(--ease-kinetic);
}

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

.bento-panel img {
  width: 100%;
  height: 240px;
  margin-bottom: 8px;
}

/* Bento Grid Spans (Desktop) */
@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .span-2 { grid-column: span 2; }
  .span-2-row { grid-row: span 2; }
  .span-3 { grid-column: span 3; }
}

.bento-panel h3 {
  font-size: 1.75rem;
  margin-bottom: 8px;
  color: var(--accent-primary);
}

.bento-panel p {
  color: var(--text-muted);
  flex-grow: 1;
}

/* Flat List Rows */
.list-wrapper {
  background-color: rgba(19, 38, 29, 0.5);
  border-radius: var(--border-radius);
  border: var(--border-subtle);
  overflow: hidden;
  margin-top: 16px;
}

.list-row {
  display: flex;
  align-items: flex-start;
  padding: 16px 20px;
  border-bottom: var(--border-subtle);
  gap: 16px;
}

.list-row:last-child {
  border-bottom: none;
}

.list-icon {
  font-size: 1.25rem;
  color: var(--accent-primary);
  font-weight: 800;
  line-height: 1.4;
}

.list-content h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.list-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* Background Clip Paths (Sections) */
.section-diagonal {
  position: relative;
  background-color: var(--bg-surface);
  padding: 120px 0;
  margin: -4vw 0;
  clip-path: polygon(0 4vw, 100% 0, 100% calc(100% - 4vw), 0 100%);
  z-index: 2;
}

.section-curved {
  position: relative;
  background-color: var(--bg-surface);
  padding: 120px 0;
  margin: -4vw 0;
  clip-path: ellipse(150% 100% at 50% 100%);
  z-index: 2;
}

.bg-canvas {
  background-color: var(--bg-canvas);
  z-index: 1;
  position: relative;
  padding: 120px 0;
}

/* Interactive Pitch Tool (Forms) */
.pitch-tool {
  background-color: var(--bg-surface);
  border-radius: var(--border-radius);
  padding: 40px;
  border: var(--border-subtle);
  max-width: 800px;
  margin: 0 auto;
}

.step-wrapper {
  display: none;
}
.step-wrapper.active {
  display: block;
  animation: fadeIn 0.5s var(--ease-kinetic);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100%;
  background-color: var(--bg-canvas);
  border: var(--border-subtle);
  color: var(--text-primary);
  padding: 16px;
  border-radius: 8px; /* Standard fields subtle curve inside bento */
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 2px rgba(184, 146, 58, 0.2);
}

.tool-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
}

.result-box {
  background: var(--bg-canvas);
  padding: 24px;
  border-radius: var(--border-radius);
  border: var(--border-subtle);
  white-space: pre-wrap;
  font-family: monospace;
  margin-bottom: 24px;
  color: var(--accent-primary);
}

/* Article / Long-form Content */
.article-content {
  max-width: 70ch;
  margin: 0 auto;
  padding: 40px 24px;
}

.article-content h2 {
  font-size: 2rem;
  margin-top: 48px;
  color: var(--accent-primary);
}

.article-content p {
  margin-bottom: 24px;
  font-size: 1.1rem;
}

.article-content ul, .article-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 12px;
}

/* Tables */
.table-wrapper {
  overflow-x: auto;
  margin-bottom: 32px;
  border-radius: var(--border-radius);
  border: var(--border-subtle);
}

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

th, td {
  padding: 16px;
  border-bottom: var(--border-subtle);
}

th {
  background-color: var(--bg-surface);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-primary);
}

tr:nth-child(even) {
  background-color: rgba(255,255,255,0.02);
}

/* FAQ Styles */
.faq-item {
  background-color: var(--bg-surface);
  border-radius: var(--border-radius);
  padding: 24px;
  margin-bottom: 16px;
  border: var(--border-subtle);
}

.faq-item h3 {
  margin-bottom: 12px;
  color: var(--accent-primary);
  font-size: 1.25rem;
}

/* Footer */
.site-footer {
  background-color: var(--bg-surface);
  border-top: var(--border-subtle);
  padding: 80px 0 40px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: var(--text-primary);
  margin-bottom: 20px;
  font-size: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  color: var(--text-muted);
}

.footer-col a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.9rem;
}

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