:root {
  --bg-canvas: #13261d;
  --bg-surface: #193126;
  --text-primary: #efe6d2;
  --text-muted: #c8ba9d;
  --accent-primary: #b8923a;
  --font-heading: Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, sans-serif;
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-wrap: anywhere;
  hyphens: auto;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, .logo { font-family: var(--font-heading); font-weight: normal; margin-top: 0; color: var(--accent-primary); }
h1 { font-size: clamp(3rem, 8vw, 6rem); line-height: 1.1; margin-bottom: 1rem; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1.5rem; }
a { color: var(--accent-primary); text-decoration: none; transition: opacity 0.3s ease; }
a:hover { opacity: 0.8; }

/* Layout & Containers */
.wrapper { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.text-container { max-width: 68ch; margin: 0 auto; }
section { padding: 4rem 0; }

/* Header & Nav */
header {
  position: static;
  background: transparent;
  padding: 1.5rem 0;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.5rem;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
}
nav { display: flex; gap: 1.5rem; }
nav a { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-primary); }
nav a:hover { color: var(--accent-primary); }
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--accent-primary);
  font-size: 2rem;
  cursor: pointer;
  padding: 0;
}

/* Hero Section */
.hero {
  padding: 6rem 0 4rem;
  background-color: var(--bg-canvas);
  text-align: left;
}
.hero-p { font-size: 1.2rem; max-width: 600px; color: var(--text-muted); margin-bottom: 2rem; }

/* Buttons */
.btn, button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--accent-primary);
  background: transparent;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 0;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.3s var(--ease-kinetic);
}
.btn:hover, button:hover {
  background: var(--accent-primary);
  color: var(--bg-canvas);
}

/* Cards & Panels */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.card, .panel {
  background: var(--bg-surface);
  border: 1px solid var(--accent-primary);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: none;
  transition: transform 0.5s var(--ease-kinetic);
}
.card:hover { transform: translateY(-4px); }
.card img, .panel img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  border: 1px solid var(--accent-primary);
}

/* Components: Stat Strips */
.stat-strip {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--accent-primary);
  border-radius: 20px;
  background: var(--bg-surface);
  margin-bottom: 2rem;
  overflow: hidden;
}
.stat-item {
  flex: 1 1 200px;
  padding: 1rem;
  border-right: 1px solid var(--accent-primary);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-value { display: block; font-family: var(--font-heading); font-size: 1.5rem; color: var(--accent-primary); }
.stat-label { font-size: 0.8rem; text-transform: uppercase; color: var(--text-muted); letter-spacing: 1px; }

/* Components: Accordions */
details {
  background: var(--bg-surface);
  border: 1px solid var(--accent-primary);
  border-radius: 20px;
  margin-bottom: 1rem;
  overflow: hidden;
}
summary {
  padding: 1.5rem;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--accent-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.5rem; }
details[open] summary::after { content: '−'; }
.details-content { padding: 0 1.5rem 1.5rem; }

/* Components: Tabs */
.tabs-nav { display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.tab-btn {
  border: 1px solid var(--accent-primary);
  background: transparent;
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
}
.tab-btn.active { background: var(--accent-primary); color: var(--bg-canvas); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* Forms & Tools */
input, textarea, select {
  width: 100%;
  padding: 1rem;
  background: transparent;
  border: 1px solid var(--accent-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  border-radius: 0;
  margin-bottom: 1rem;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--text-primary); }
.tool-panel { background: var(--bg-surface); padding: 2rem; border-radius: 20px; border: 1px solid var(--accent-primary); }
.tool-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

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

/* Footer */
footer {
  border-top: 1px solid var(--accent-primary);
  padding: 4rem 0;
  background: var(--bg-surface);
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.footer-col h4 { font-size: 1.1rem; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: var(--text-muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--accent-primary); }
.footer-bottom { border-top: 1px solid var(--accent-primary); margin-top: 2rem; padding-top: 2rem; text-align: left; font-size: 0.85rem; color: var(--text-muted); }

/* Responsive */
@media (max-width: 768px) {
  nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 2rem;
    border-bottom: 1px solid var(--accent-primary);
    z-index: 100;
  }
  nav.active { display: flex; }
  .menu-toggle { display: block; }
  h1 { font-size: 3rem; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--accent-primary); }
  .stat-item:last-child { 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}}
