:root {
  color-scheme: dark;
  --ink: #f5f1df;
  --muted: #c8bd98;
  --panel: rgba(13, 12, 10, 0.78);
  --panel-strong: rgba(20, 18, 13, 0.94);
  --gold: #f0c24d;
  --green: #27b273;
  --line: rgba(240, 194, 77, 0.28);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Aptos, "Segoe UI Variable", "Segoe UI", sans-serif;
  background:
    linear-gradient(90deg, rgba(2, 5, 6, 0.9), rgba(2, 5, 6, 0.36) 48%, rgba(2, 5, 6, 0.92)),
    url("/assets/megaserver-web-hero.png") top center / cover no-repeat fixed,
    #030706;
}

body.eclipse-page {
  background:
    linear-gradient(90deg, rgba(8, 5, 2, 0.92), rgba(8, 5, 2, 0.42) 45%, rgba(8, 5, 2, 0.94)),
    url("/assets/wow-planning-bg.png") top center / cover no-repeat fixed,
    #070402;
}

a {
  color: inherit;
  text-decoration: none;
}

.portal-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 24px 0 54px;
}

.portal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(5, 7, 8, 0.72);
  backdrop-filter: blur(18px);
}

.portal-tab {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--muted);
  font-weight: 900;
}

.portal-tab.active {
  color: #07100b;
  border-color: var(--gold);
  background: var(--gold);
}

.portal-tab.muted {
  opacity: 0.72;
}

.portal-hero,
.eclipse-hero {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 34px;
  align-items: end;
  margin-top: 26px;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(240, 194, 77, 0.16), transparent 48%),
    var(--panel);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(12px);
}

.eclipse-hero {
  grid-template-columns: 1fr;
  background:
    linear-gradient(135deg, rgba(240, 194, 77, 0.22), rgba(39, 178, 115, 0.08)),
    var(--panel);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.portal-signal {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-self: center;
  border: 1px solid rgba(240, 194, 77, 0.42);
  border-radius: 24px;
  background: rgba(5, 7, 8, 0.72);
  box-shadow: inset 0 0 70px rgba(240, 194, 77, 0.12);
}

.portal-signal span {
  color: var(--gold);
  font-size: 6rem;
  font-weight: 1000;
  line-height: 1;
}

.portal-signal b {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
}

.portal-grid,
.eclipse-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.portal-card,
.eclipse-board article {
  min-height: 250px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 24px;
  background: var(--panel-strong);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.28);
}

.portal-card.primary {
  border-color: rgba(39, 178, 115, 0.42);
}

.portal-card.eclipse {
  border-color: rgba(240, 194, 77, 0.48);
}

.card-kicker,
.eclipse-board span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-card strong,
.eclipse-board strong {
  display: block;
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1;
}

.portal-card p,
.eclipse-board p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.portal-card em {
  color: var(--gold);
  font-style: normal;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.eclipse-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.action-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 0 18px;
  color: #0d0a04;
  background: var(--gold);
  font-weight: 900;
}

.action-button.ghost {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 820px) {
  .portal-hero {
    grid-template-columns: 1fr;
  }

  .portal-signal {
    width: min(210px, 100%);
  }

  .portal-grid,
  .eclipse-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .portal-shell {
    width: min(100% - 18px, 1180px);
  }

  .portal-tabs {
    align-items: stretch;
  }

  .portal-tab {
    flex: 1 1 auto;
    justify-content: center;
  }

  .portal-hero,
  .eclipse-hero {
    min-height: 0;
    padding: 22px;
  }
}

/* Eclipse modern guild-home pass. */
.eclipse-modern {
  width: min(1420px, calc(100% - 36px));
  margin: 0 auto;
  padding: 16px 0 56px;
}

.guild-topbar {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  border: 1px solid rgba(215, 173, 69, 0.28);
  border-radius: 8px;
  padding: 8px 12px;
  background: rgba(8, 8, 7, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.guild-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.guild-logo img {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(215, 173, 69, 0.42);
  border-radius: 8px;
  object-fit: cover;
}

.guild-logo span,
.guild-logo strong,
.guild-logo em {
  display: block;
  min-width: 0;
}

.guild-logo strong {
  color: var(--eclipse-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 0.92;
}

.guild-logo em {
  color: var(--eclipse-muted);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guild-topbar nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.guild-topbar nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--eclipse-muted);
  font-size: 0.84rem;
  font-weight: 900;
}

.guild-topbar nav a:hover {
  color: var(--eclipse-ink);
  background: rgba(215, 173, 69, 0.12);
}

.guild-hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: end;
  margin-top: 14px;
  border: 1px solid rgba(215, 173, 69, 0.28);
  border-radius: 8px;
  padding: clamp(18px, 4vw, 46px);
  background: #090806 url("/assets/eclipse/eclipse-hero-battle.png") center / cover no-repeat;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
  overflow: hidden;
}

.guild-hero-copy {
  max-width: 740px;
  border: 1px solid rgba(215, 173, 69, 0.34);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 34px);
  background: rgba(8, 7, 5, 0.84);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.44);
}

.guild-hero h1 {
  margin: 0;
  color: var(--eclipse-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 11vw, 10rem);
  line-height: 0.84;
  letter-spacing: 0;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.84);
}

.guild-hero p {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--eclipse-muted);
  font-size: 1.12rem;
  line-height: 1.62;
}

.guild-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.guild-actions a,
.apply-band > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(215, 173, 69, 0.78);
  border-radius: 8px;
  padding: 0 16px;
  color: #110d06;
  background: var(--eclipse-gold);
  font-weight: 1000;
}

.guild-actions a + a {
  color: var(--eclipse-ink);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.death-panel,
.guild-card,
.rule-panel,
.officer-showcase article,
.apply-band {
  border: 1px solid rgba(215, 173, 69, 0.24);
  border-radius: 8px;
  background: rgba(9, 9, 8, 0.9);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.34);
}

.death-panel {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.death-panel > span,
.card-head span,
.battle-strip span,
.rule-panel span,
.officer-showcase span,
.apply-band span {
  color: var(--eclipse-green);
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.death-row {
  display: grid;
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.death-row b {
  color: var(--eclipse-ink);
}

.death-row em {
  color: var(--eclipse-muted);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 800;
}

.guild-dashboard {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(280px, 0.9fr) minmax(280px, 0.9fr);
  gap: 14px;
  margin-top: 14px;
}

.guild-card {
  min-height: 270px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
}

.card-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.card-head strong {
  color: var(--eclipse-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  line-height: 1;
}

.member-list {
  display: grid;
  gap: 8px;
}

.member-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.member-row i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #100d06;
  background: var(--eclipse-gold);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 1000;
}

.member-row.lead i {
  background: var(--eclipse-blue);
}

.member-row.officer i {
  background: var(--eclipse-green);
}

.member-row span,
.member-row strong,
.member-row em {
  display: block;
  min-width: 0;
}

.member-row strong {
  color: var(--eclipse-ink);
}

.member-row em {
  color: var(--eclipse-muted);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 800;
}

.member-row b {
  color: var(--eclipse-green);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.boss-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.boss-track span {
  min-height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(215, 173, 69, 0.22);
  border-radius: 8px;
  color: var(--eclipse-muted);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 1000;
}

.boss-track span.done {
  color: #101006;
  background: var(--eclipse-green);
}

.boss-track span:first-child {
  border-color: rgba(57, 208, 112, 0.42);
}

.progression-card p,
.news-card p {
  margin: 0;
  color: var(--eclipse-muted);
  line-height: 1.55;
}

.battle-strip,
.officer-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 14px;
  margin-top: 14px;
}

.battle-strip {
  border: 1px solid rgba(215, 173, 69, 0.24);
  border-radius: 8px;
  overflow: hidden;
  background: #080706;
}

.battle-strip img,
.officer-showcase img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  display: block;
  object-fit: cover;
}

.battle-strip div {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(22px, 4vw, 44px);
  background: rgba(9, 9, 8, 0.94);
}

.battle-strip h2,
.officer-showcase h2,
.apply-band h2 {
  margin: 0;
  color: var(--eclipse-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4.4vw, 4.8rem);
  line-height: 0.96;
}

.battle-strip p,
.officer-showcase p,
.rule-panel p,
.apply-band p {
  margin: 0;
  color: var(--eclipse-muted);
  line-height: 1.62;
}

.codex-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.rule-panel {
  min-height: 250px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 20px;
}

.rule-panel h3 {
  margin: 0;
  color: var(--eclipse-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  line-height: 1.05;
}

.officer-showcase article {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(22px, 4vw, 42px);
}

.officer-showcase img {
  border-radius: 8px;
}

.officer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.officer-tags b {
  border: 1px solid rgba(215, 173, 69, 0.24);
  border-radius: 8px;
  padding: 9px 11px;
  color: var(--eclipse-ink);
  background: rgba(255, 255, 255, 0.05);
}

.apply-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 14px;
  padding: clamp(20px, 4vw, 38px);
  background:
    rgba(8, 8, 7, 0.88)
    url("/assets/eclipse/eclipse-portal.png") right 24px center / 190px 190px no-repeat;
}

.apply-band div {
  display: grid;
  gap: 10px;
  max-width: 720px;
}

@media (max-width: 1040px) {
  .guild-hero,
  .guild-dashboard,
  .battle-strip,
  .officer-showcase,
  .codex-grid,
  .apply-band {
    grid-template-columns: 1fr;
  }

  .death-panel {
    align-self: stretch;
  }
}

@media (max-width: 720px) {
  .eclipse-modern {
    width: min(100% - 14px, 1420px);
    padding-top: 8px;
  }

  .guild-topbar {
    position: static;
    align-items: stretch;
    flex-direction: column;
  }

  .guild-topbar nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
  }

  .guild-topbar nav a {
    justify-content: center;
    border: 1px solid rgba(215, 173, 69, 0.16);
    background: rgba(255, 255, 255, 0.035);
  }

  .guild-hero {
    min-height: 560px;
    padding: 12px;
  }

  .guild-hero h1 {
    font-size: clamp(4rem, 24vw, 7rem);
  }

  .guild-hero-copy {
    padding: 18px;
  }

  .boss-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .battle-strip img,
  .officer-showcase img {
    min-height: 280px;
  }
}

/* Eclipse guild page: image-led, stone-and-parchment UI. */
.eclipse-page {
  --eclipse-ink: #f4ebcf;
  --eclipse-muted: #c9b98a;
  --eclipse-stone: #11100d;
  --eclipse-stone-2: #1c1913;
  --eclipse-parchment: #e8dfc3;
  --eclipse-parchment-ink: #17120a;
  --eclipse-gold: #d7ad45;
  --eclipse-blue: #31a4ff;
  --eclipse-green: #39d070;
  --eclipse-red: #c9462f;
  min-height: 100vh;
  color: var(--eclipse-ink);
  background: #070604 url("/assets/eclipse/eclipse-hero-battle.png") center top / cover fixed no-repeat;
}

.eclipse-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(4, 4, 3, 0.54);
  pointer-events: none;
}

.eclipse-shell {
  width: min(1480px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0 48px;
}

.eclipse-rail {
  position: sticky;
  top: 18px;
  height: calc(100vh - 36px);
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 10px;
  align-content: start;
  border: 1px solid rgba(215, 173, 69, 0.32);
  border-radius: 8px;
  padding: 14px;
  background-color: rgba(13, 12, 9, 0.92);
  background-image: url("/assets/eclipse/eclipse-officer-table.png");
  background-size: auto 100%;
  background-position: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.eclipse-rail::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 5, 4, 0.78);
}

.eclipse-rail > * {
  position: relative;
}

.eclipse-crest {
  width: 128px;
  aspect-ratio: 1;
  margin: 0 auto 8px;
  border: 1px solid rgba(215, 173, 69, 0.5);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 34px rgba(215, 173, 69, 0.22);
}

.rail-title,
.rail-server {
  display: block;
  text-align: center;
}

.rail-title {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--eclipse-gold);
  font-size: 2.3rem;
  line-height: 1;
}

.rail-server {
  color: var(--eclipse-muted);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
}

.eclipse-rail nav {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  align-content: start;
}

.eclipse-rail nav a,
.eclipse-tabs a {
  min-height: 54px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(215, 173, 69, 0.22);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--eclipse-ink);
  background: rgba(28, 25, 19, 0.88);
  font-weight: 900;
}

.eclipse-rail nav a:hover,
.eclipse-tabs a:hover {
  border-color: rgba(49, 164, 255, 0.58);
  color: #ffffff;
}

.eclipse-main {
  display: grid;
  gap: 16px;
}

.eclipse-page .eclipse-hero {
  min-height: 620px;
  display: grid;
  align-items: end;
  border: 1px solid rgba(215, 173, 69, 0.3);
  border-radius: 8px;
  padding: clamp(18px, 4vw, 46px);
  background: #0b0a08 url("/assets/eclipse/eclipse-hero-battle.png") center / cover no-repeat;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
  overflow: hidden;
}

.hero-panel {
  max-width: 760px;
  border: 1px solid rgba(215, 173, 69, 0.34);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 32px);
  background: rgba(8, 7, 5, 0.82);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
}

.eclipse-page .eyebrow {
  color: var(--eclipse-gold);
}

.eclipse-page h1,
.eclipse-page h2,
.eclipse-page h3 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.eclipse-page h1 {
  max-width: 660px;
  font-size: clamp(3.8rem, 9vw, 8.4rem);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
}

.eclipse-page .lead {
  color: var(--eclipse-muted);
}

.eclipse-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 1px solid rgba(215, 173, 69, 0.22);
  border-radius: 8px;
  padding: 8px;
  background: rgba(12, 11, 8, 0.94);
}

.eclipse-tabs a.active {
  color: #130e06;
  background: var(--eclipse-gold);
}

.guild-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 16px;
}

.wiki-stack {
  display: grid;
  gap: 12px;
}

.toc-card,
.recruiting-board article {
  border: 1px solid rgba(215, 173, 69, 0.25);
  border-radius: 8px;
  padding: 18px;
  background-color: rgba(13, 12, 9, 0.94);
  background-image: url("/assets/eclipse/eclipse-officer-table.png");
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.toc-card > *,
.recruiting-board article > * {
  position: relative;
}

.toc-card::before,
.recruiting-board article::before {
  content: "";
  position: absolute;
  inset: 0;
}

.toc-card {
  position: relative;
}

.toc-card::before,
.recruiting-board article::before {
  background: rgba(10, 9, 7, 0.82);
}

.toc-card h2,
.toc-card h3 {
  margin: 0 0 12px;
  color: var(--eclipse-gold);
}

.toc-card ol {
  margin: 0;
  padding-left: 22px;
  color: var(--eclipse-muted);
  line-height: 1.55;
}

.toc-card.compact {
  display: grid;
  gap: 8px;
}

.toc-card.compact a {
  color: var(--eclipse-ink);
  text-decoration: underline;
  text-decoration-color: rgba(215, 173, 69, 0.42);
  text-underline-offset: 3px;
}

.parchment {
  color: var(--eclipse-parchment-ink);
  border: 1px solid #8b7345;
  border-radius: 8px;
  background-color: var(--eclipse-parchment);
  background-image:
    url("/assets/eclipse/eclipse-officer-table.png");
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 999px rgba(232, 223, 195, 0.86), 0 18px 50px rgba(0, 0, 0, 0.32);
}

.article-panel,
.officer-copy {
  padding: clamp(20px, 3vw, 34px);
}

.article-label,
.feature-copy span,
.recruiting-board span {
  color: #6f4e17;
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-panel h2,
.officer-copy h2 {
  margin: 8px 0 14px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.article-panel p,
.officer-copy p,
.officer-copy li {
  font-size: 1.02rem;
  line-height: 1.65;
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.rule-grid section {
  border: 1px solid rgba(95, 69, 28, 0.32);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 248, 222, 0.38);
}

.rule-grid h3 {
  margin: 0 0 8px;
  color: #3b2810;
  font-size: 1.45rem;
}

.rule-grid p {
  margin: 0;
}

.image-feature,
.officer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 16px;
  align-items: stretch;
}

.image-feature {
  position: relative;
  min-height: 460px;
  border: 1px solid rgba(215, 173, 69, 0.28);
  border-radius: 8px;
  overflow: hidden;
  background: #090806;
}

.image-feature img,
.officer-grid img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  object-fit: cover;
}

.feature-copy {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: clamp(22px, 4vw, 42px);
  background: rgba(13, 12, 9, 0.94);
}

.feature-copy span,
.recruiting-board span {
  color: var(--eclipse-green);
}

.feature-copy h2 {
  margin: 0;
  color: var(--eclipse-gold);
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.95;
}

.feature-copy p {
  margin: 0;
  color: var(--eclipse-muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.officer-grid article {
  min-height: 460px;
  border-radius: 8px;
  overflow: hidden;
}

.officer-roster {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.officer-roster section {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(95, 69, 28, 0.3);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(255, 248, 222, 0.42);
}

.officer-roster span {
  color: #6f4e17;
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.officer-roster strong {
  display: block;
  color: #1d1308;
  font-size: 1.08rem;
  line-height: 1.2;
}

.recruiting-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.recruiting-board article {
  position: relative;
  min-height: 230px;
  display: grid;
  align-content: space-between;
}

.recruiting-board strong {
  display: block;
  color: var(--eclipse-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  line-height: 1;
}

.recruiting-board p {
  margin: 0;
  color: var(--eclipse-muted);
  line-height: 1.55;
}

@media (max-width: 980px) {
  .eclipse-shell {
    grid-template-columns: 1fr;
  }

  .eclipse-rail {
    position: static;
    height: auto;
  }

  .eclipse-rail nav,
  .eclipse-tabs,
  .guild-layout,
  .image-feature,
  .officer-grid,
  .recruiting-board {
    grid-template-columns: 1fr;
  }

  .eclipse-rail nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .eclipse-shell {
    width: min(100% - 14px, 1480px);
  }

  .eclipse-page .eclipse-hero {
    min-height: 520px;
    padding: 12px;
  }

  .hero-panel {
    padding: 16px;
  }

  .eclipse-rail nav,
  .rule-grid {
    grid-template-columns: 1fr;
  }

  .eclipse-page h1 {
    font-size: clamp(3.2rem, 20vw, 5.6rem);
  }
}
