/* Art of War Studios: shared look for every page. Dark battlefield, gold accent. */
:root {
  --bg: #0e1116;
  --bg-2: #161b22;
  --card: #1b2129;
  --line: #2a323d;
  --text: #e8e4d8;
  --muted: #a9a59a;
  --gold: #d9a441;
  --gold-2: #f0c46a;
  --olive: #6f7d4a;
  --radius: 12px;
  --max: 68rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

a { color: var(--gold-2); }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1rem; }

/* Header and tabs */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(14, 17, 22, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 3.75rem;
}
.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
  white-space: nowrap;
}
.brand span { color: var(--gold); }
.tabs {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 0.95rem;
}
.tabs a:hover { color: var(--text); background: var(--bg-2); }
.tabs a[aria-current="page"] { color: #14110a; background: var(--gold); font-weight: 600; }

@media (max-width: 40rem) {
  .site-header .wrap { flex-direction: column; align-items: stretch; gap: 0; padding-top: 0.5rem; }
  .brand { text-align: center; padding-bottom: 0.25rem; }
  .tabs { margin-left: 0; padding-bottom: 0.5rem; }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(78vh, 40rem);
  display: flex;
  align-items: flex-end;
  background: #1a1420 url("../img/hero-tank-dusk.webp") center / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,17,22,0.15) 0%, rgba(14,17,22,0.55) 55%, var(--bg) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding-bottom: 3rem; width: 100%; }
.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.75rem; }
.hero h1 { font-size: clamp(2.2rem, 7vw, 4.2rem); letter-spacing: 0.02em; }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--text); max-width: 40rem; }

.page-head { padding: 3.5rem 0 1.5rem; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.page-head h1 { font-size: clamp(1.9rem, 5vw, 3rem); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.btn {
  display: inline-block;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--gold);
  min-height: 44px;
}
.btn-primary { background: var(--gold); color: #14110a; }
.btn-ghost { color: var(--gold-2); background: transparent; }
.btn-primary:hover { background: var(--gold-2); }

/* Sections */
section { padding: 3.5rem 0; }
section + section { border-top: 1px solid var(--line); }
.section-title { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
.muted { color: var(--muted); }

.grid { display: grid; gap: 1rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.card h3 { font-size: 1.15rem; }
.card .num {
  display: inline-grid;
  place-items: center;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: var(--olive);
  color: var(--text);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* Units */
.unit { display: flex; flex-direction: column; }
.unit img {
  height: 11rem;
  width: 100%;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,0.45));
}
.unit .tag {
  color: var(--gold);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin: 0 0 0.35rem;
}
.unit .cost { margin-top: auto; color: var(--muted); font-size: 0.9rem; }

.callout {
  background: linear-gradient(135deg, rgba(217,164,65,0.14), rgba(111,125,74,0.12));
  border: 1px solid rgba(217,164,65,0.45);
  border-radius: var(--radius);
  padding: 1.6rem;
}

/* Text pages */
.prose { max-width: 44rem; }
.prose h2 { margin-top: 2.2rem; font-size: 1.35rem; }
.prose ul { padding-left: 1.2rem; }

/* Form */
form { display: grid; gap: 0.5rem; max-width: 36rem; }
label { font-weight: 600; margin-top: 0.75rem; }
input, select, textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-2);
  color: var(--text);
  font: inherit;
}
small { color: var(--muted); }
button {
  margin-top: 1rem;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--gold);
  color: #14110a;
  font: inherit;
  font-weight: 700;
}
button:disabled { background: transparent; color: var(--muted); border-color: var(--line); cursor: not-allowed; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 2rem 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }
