:root {
  --bg-canvas: #13261d;
  --bg-surface: #21382b;
  --bg-surface-hover: #2d4837;
  --text-primary: #efe6d2;
  --text-muted: #c4bea9;
  --accent-primary: #b8923a;
  --accent-secondary: #d6ad4b;
  --border-subtle: #68785d;
  --brass-dark-text: #1a1608;
}

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

body {
  font-family: Charter, Cambria, Georgia, serif;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.68;
  font-size: 1.08rem;
  overflow-x: hidden;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--accent-primary);
  color: var(--brass-dark-text);
  padding: 0.5rem 1rem;
  font-weight: bold;
  z-index: 999;
  text-decoration: none;
  border-radius: 4px;
}
.skip-link:focus {
  top: 1rem;
}

/* Header & Navigation */
header.site-header {
  position: static;
  background-color: #0d1b14;
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 1.5rem;
}

.header-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-wrapper {
  flex-shrink: 0;
}

.brand-link {
  color: var(--accent-primary);
  font-size: 1.35rem;
  font-weight: bold;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.brand-link:hover, .brand-link:focus-visible {
  color: var(--accent-secondary);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.desktop-nav a {
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
  font-size: 0.98rem;
}

.desktop-nav a:hover, .desktop-nav a:focus-visible {
  text-decoration-color: var(--accent-primary);
  color: var(--accent-secondary);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--accent-primary);
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
}

.mobile-dropdown {
  display: none;
  background-color: #0f2118;
  border-top: 1px solid var(--border-subtle);
  padding: 1rem 1.5rem;
}

.mobile-dropdown.open {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-dropdown a {
  color: var(--text-primary);
  text-decoration: none;
  padding: 0.4rem 0;
  border-bottom: 1px dashed #2a4334;
}

/* Button & Action Links */
.btn-brass {
  display: inline-block;
  background-color: var(--accent-primary);
  color: var(--brass-dark-text);
  font-weight: bold;
  text-decoration: none;
  padding: 0.75rem 1.6rem;
  border-radius: 20px;
  border: 1px solid var(--accent-secondary);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.btn-brass:hover, .btn-brass:focus-visible {
  background-color: var(--accent-secondary);
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.action-link {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
  cursor: pointer;
}

.action-link:hover, .action-link:focus-visible {
  color: var(--accent-secondary);
}

/* Layout Wrappers and Bands */
.content-column {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}

.band-dark {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
}

.band-forest {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border-top: 1px solid #2b4737;
  border-bottom: 1px solid #2b4737;
}

.band-brass {
  background-color: var(--accent-primary);
  color: var(--brass-dark-text);
}

.band-brass a {
  color: #241a04;
  font-weight: bold;
}

.band-brass .action-link {
  color: #121008;
}

/* Typography Specifics */
h1, h2, h3, h4 {
  font-weight: normal;
  line-height: 1.25;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.5px;
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.band-brass h2 {
  border-color: rgba(26, 22, 8, 0.3);
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.lead-p {
  font-size: 1.22rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.label-small-caps {
  font-variant: all-small-caps;
  letter-spacing: 1.2px;
  color: var(--accent-primary);
  font-weight: bold;
  display: inline-block;
  margin-bottom: 0.35rem;
}

.band-brass .label-small-caps {
  color: #3b2b09;
}

/* Hero Section */
.hero-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-content {
  min-width: 0;
}

.hero-images-cluster {
  position: relative;
  height: 380px;
  width: 100%;
}

.hero-img {
  position: absolute;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(239, 230, 210, 0.15);
}

.hero-img-1 {
  width: 68%;
  height: 230px;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-img-2 {
  width: 60%;
  height: 210px;
  bottom: 10px;
  right: 0;
  z-index: 2;
}

.hero-img-3 {
  width: 48%;
  height: 160px;
  bottom: 25px;
  left: 12%;
  z-index: 3;
}

/* Game Cards & Grids */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.8rem;
  margin-top: 1.8rem;
}

.game-card {
  background-color: var(--bg-surface);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.band-forest .game-card {
  background-color: var(--bg-canvas);
}

.band-brass .game-card {
  background-color: #f7eed8;
  color: var(--brass-dark-text);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

.card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 1rem;
}

/* Callouts and Components */
.callout-box {
  background-color: rgba(184, 146, 58, 0.08);
  border-left: 4px solid var(--accent-primary);
  border-radius: 0 16px 16px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.8rem 0;
}

.band-brass .callout-box {
  background-color: rgba(26, 22, 8, 0.08);
  border-left: 4px solid #1a1608;
}

.timeline-list {
  list-style: none;
  margin: 1.5rem 0;
  position: relative;
  padding-left: 1.8rem;
}

.timeline-list::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: 2px;
  background-color: var(--border-subtle);
}

.timeline-item {
  position: relative;
  margin-bottom: 1.2rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.8rem;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--accent-primary);
}

.table-scroll-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background-color: var(--bg-surface);
  min-width: 580px;
}

.data-table th, .data-table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid #2e4d3a;
}

.data-table th {
  background-color: #172a20;
  color: var(--accent-primary);
  font-variant: all-small-caps;
  letter-spacing: 1px;
}

/* Contact drafting interactive card */
.drafting-tool {
  background-color: var(--bg-surface);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.3);
  margin-top: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: bold;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: #15251c;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: 2px solid var(--accent-primary);
}

.tool-preview-box {
  background-color: #121f17;
  border: 1px dashed var(--border-subtle);
  border-radius: 10px;
  padding: 1rem;
  min-height: 120px;
  white-space: pre-wrap;
  margin: 1rem 0;
  font-family: monospace;
  font-size: 0.95rem;
}

.tool-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.status-msg {
  color: var(--accent-secondary);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* FAQ Accordion / Details */
details.faq-item {
  background-color: var(--bg-surface);
  border-radius: 14px;
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

details.faq-item summary {
  font-size: 1.18rem;
  font-weight: bold;
  cursor: pointer;
  color: var(--accent-secondary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent-primary);
}

details.faq-item[open] summary::after {
  content: "−";
}

details.faq-item p {
  margin-top: 0.8rem;
  color: var(--text-muted);
}

/* Scroll reveal helper */
.scroll-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Footer */
footer.site-footer {
  background-color: #0b1610;
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 1.25rem 2rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
}

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

.footer-col h4 {
  color: var(--accent-primary);
  font-variant: all-small-caps;
  letter-spacing: 1.1px;
  margin-bottom: 0.8rem;
}

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

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

.footer-col a {
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: transparent;
}

.footer-col a:hover, .footer-col a:focus-visible {
  color: var(--accent-secondary);
  text-decoration-color: var(--accent-secondary);
}

.footer-bottom {
  border-top: 1px solid #1a2f22;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Media Queries */
@media (max-width: 860px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
  }
  .hero-images-cluster {
    height: 320px;
    max-width: 520px;
    margin: 0 auto;
  }
  .desktop-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
}

@media (max-width: 520px) {
  .hero-images-cluster {
    height: 250px;
  }
  .hero-img-1 {
    width: 75%;
    height: 170px;
  }
  .hero-img-2 {
    width: 65%;
    height: 150px;
  }
  .hero-img-3 {
    display: none;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

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