/* ── DIVISION BANNER IMAGE ── */
.division-banner {
  width: min(200px, 40vw);
  height: auto;
  margin-bottom: 28px;
  animation: float 7s ease-in-out infinite;
}

.div-military .division-banner {
  filter: drop-shadow(0 0 48px rgba(180,0,0,0.85)) drop-shadow(0 0 96px rgba(180,0,0,0.4));
}

.div-industrial .division-banner {
  filter: drop-shadow(0 0 48px rgba(232,93,4,0.85)) drop-shadow(0 0 96px rgba(232,93,4,0.4));
}

.div-support .division-banner {
  filter: drop-shadow(0 0 48px rgba(249,168,0,0.85)) drop-shadow(0 0 96px rgba(249,168,0,0.45));
}

/* ── DIVISION PAGE BACKGROUND TINTS ── */
.div-military #bg {
  background:
    radial-gradient(ellipse 80% 55% at 50% -5%, rgba(180,0,0,0.38) 0%, transparent 60%),
    radial-gradient(ellipse 35% 25% at 15% 100%, rgba(120,0,0,0.2) 0%, transparent 55%),
    var(--deep);
}

.div-industrial #bg {
  background:
    radial-gradient(ellipse 80% 55% at 50% -5%, rgba(232,93,4,0.32) 0%, transparent 60%),
    radial-gradient(ellipse 35% 25% at 85% 100%, rgba(180,60,0,0.15) 0%, transparent 55%),
    var(--deep);
}

.div-support #bg {
  background:
    radial-gradient(ellipse 80% 55% at 50% -5%, rgba(249,168,0,0.28) 0%, transparent 60%),
    radial-gradient(ellipse 35% 25% at 50% 100%, rgba(200,130,0,0.15) 0%, transparent 55%),
    var(--deep);
}

/* ── DIVISION GLOW LINES ── */
.div-military .glow-line {
  background: linear-gradient(90deg, transparent 0%, #b40000 40%, #660000 60%, transparent 100%);
  opacity: 0.5;
}

.div-industrial .glow-line {
  background: linear-gradient(90deg, transparent 0%, #e85d04 40%, #b84000 60%, transparent 100%);
  opacity: 0.5;
}

.div-support .glow-line {
  background: linear-gradient(90deg, transparent 0%, #f9a800 40%, #c87800 60%, transparent 100%);
  opacity: 0.5;
}

/* ── DIVISION ACCENT COLORS ── */
.div-military .section-label { color: #e05050; }
.div-military .section-label::before { background: #b40000; }
.div-military .hero-rule { background: linear-gradient(90deg, transparent, #b40000, #660000, transparent); }

.div-industrial .section-label { color: #e85d04; }
.div-industrial .section-label::before { background: #e85d04; }
.div-industrial .hero-rule { background: linear-gradient(90deg, transparent, #e85d04, #b84000, transparent); }

.div-support .section-label { color: #f9a800; }
.div-support .section-label::before { background: #f9a800; }
.div-support .hero-rule { background: linear-gradient(90deg, transparent, #f9a800, #c87800, transparent); }

/* ── PAGE HERO ── */
.page-hero {
  position: relative;
  z-index: 1;
  min-height: 52vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 72px;
}

.page-hero h1 {
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 10px;
}

/* ── NAV ACTIVE ── */
nav a.nav-active { color: var(--gold) !important; }

/* ── PAGE HERO SUBTITLE ── */
.page-hero .hero-sub {
  font-size: clamp(18px, 2.8vw, 36px);
  letter-spacing: 0.08em;
  color: var(--ash);
  text-transform: none;
  white-space: nowrap;
}

.div-military  .hero-sub-acronym { color: #b40000; }
.div-industrial .hero-sub-acronym { color: #e85d04; }
.div-support   .hero-sub-acronym { color: #f9a800; }

/* ── DIVISIONS ── */
.divisions { position: relative; z-index: 1; }

.division {
  padding: 80px 0;
}

.division-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 40px;
}

.division-number {
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold), var(--fire));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  width: 80px;
}

.division-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orbit);
  margin-bottom: 6px;
}

.division-header h2 {
  margin-bottom: 0;
  font-size: clamp(18px, 2.2vw, 28px);
  white-space: nowrap;
}

.division-header h2 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.division-header h2 a:hover { color: var(--fire); }

.division-body {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start;
  padding-left: 104px;
}

.division-text p {
  color: var(--ash);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.division-text p:last-of-type { margin-bottom: 0; }

/* ── ROLES ── */
.division-roles { margin-top: 32px; }

.division-roles-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.role-tags span {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 5px 12px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: var(--panel);
  transition: all 0.15s;
}

.role-tags span:hover {
  border-color: var(--fire);
  color: var(--ember);
}

/* ── STAT BLOCK ── */
.division-stat-block {
  border: 1px solid var(--border);
  background: var(--panel);
  overflow: hidden;
}

.stat {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.stat:last-child { border-bottom: none; }

.stat-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}

.stat-value {
  font-size: 13px;
  color: var(--text);
  text-align: right;
}

/* Division accent colors on stat blocks */
.military-aside .division-stat-block  { border-top: 2px solid #b40000; }
.industrial-aside .division-stat-block { border-top: 2px solid #e85d04; }
.support-aside .division-stat-block   { border-top: 2px solid #f9a800; }

/* ── DIVIDER ── */
.division-divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .division-body {
    grid-template-columns: 1fr;
    padding-left: 0;
    gap: 32px;
  }
  .division-header { padding-left: 0; }
}

@media (max-width: 600px) {
  .division-number { font-size: 48px; width: 56px; }
  .division { padding: 56px 0; }
}

/* ── DIVISION ACRONYM ── */
.div-acronym {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  margin-left: 6px;
}

.div-military .div-acronym  { color: #b40000; }
.div-industrial .div-acronym { color: #e85d04; }
.div-support .div-acronym   { color: #f9a800; }

/* ── OTHER DIVISIONS ── */
.other-divisions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.other-div-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 32px;
  border: 1px solid var(--border);
  background: var(--panel);
  text-decoration: none;
  flex: 1;
  min-width: 240px;
  transition: border-color 0.2s, background 0.2s;
}

.other-div-card:hover {
  border-color: var(--fire);
  background: #181409;
}

.other-div-num {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--gold), var(--fire));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  flex-shrink: 0;
}

.other-div-card > div {
  display: grid;
  grid-template-areas: "name tag" "sub sub";
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 0 12px;
  width: 100%;
}

.other-div-name {
  grid-area: name;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.other-div-tag {
  grid-area: tag;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: right;
}

.other-div-sub { grid-area: sub; }

/* Acronym colors match destination division */
.other-div-card[href*="military"] .other-div-tag  { color: #b40000; }
.other-div-card[href*="industrial"] .other-div-tag { color: #e85d04; }
.other-div-card[href*="support"] .other-div-tag   { color: #f9a800; }

.other-div-sub {
  font-size: 12px;
  color: var(--muted);
}
