@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --coal: #100d0a;
  --blackwood: #17120e;
  --iron: #29231d;
  --ash: #4c453b;
  --parchment: #f2eadb;
  --bone: #fff8ea;
  --muted: #cfc2ab;
  --gold: #c99b35;
  --gold-bright: #e6c15a;
  --copper: #a85832;
  --moss: #5b7c4b;
  --verdigris: #2b6f6d;
  --blood: #7c2e2a;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  --max-width: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #100d0a 0%, #17120e 42%, #0f0d0b 100%),
    repeating-linear-gradient(90deg, rgba(255, 248, 234, 0.02) 0 1px, transparent 1px 5px);
  color: var(--bone);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 8px clamp(24px, 5%, 64px);
  border-bottom: 1px solid rgba(230, 193, 90, 0.16);
  background: rgba(16, 13, 10, 0.76);
  backdrop-filter: blur(16px);
  transition: min-height 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  min-height: 64px;
  background: rgba(16, 13, 10, 0.94);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  height: 60px;
}

.brand img {
  width: auto;
  height: 58px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  font-size: 0.84rem;
  font-weight: 700;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 10px;
  border-radius: var(--radius);
  color: rgba(255, 248, 234, 0.86);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--bone);
  background: rgba(255, 248, 234, 0.08);
  outline: none;
}

.site-nav .nav-cta {
  margin-left: 8px;
  border: 1px solid rgba(230, 193, 90, 0.42);
  background: linear-gradient(180deg, #d8af49, #a56f24);
  color: #140d07;
  box-shadow: 0 12px 28px rgba(201, 155, 53, 0.14);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: #0f0a05;
  background: linear-gradient(180deg, #f0cf68, #b77b2c);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 248, 234, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 248, 234, 0.08);
  color: var(--bone);
  cursor: pointer;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 660px;
  padding: 92px clamp(24px, 6%, 72px) 38px;
  overflow: hidden;
  border-bottom: 1px solid rgba(230, 193, 90, 0.16);
}

.hero-subpage {
  min-height: 560px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  filter: saturate(1.08) contrast(1.04);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 8, 6, 0.96) 0%, rgba(16, 13, 10, 0.86) 40%, rgba(16, 13, 10, 0.44) 68%, rgba(16, 13, 10, 0.86) 100%),
    linear-gradient(180deg, rgba(10, 8, 6, 0.44) 0%, rgba(10, 8, 6, 0.08) 42%, rgba(10, 8, 6, 0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-bright);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-logo {
  width: min(260px, 72%);
  margin: 0 0 14px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Cinzel, Georgia, serif;
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  max-width: 680px;
  font-size: 4rem;
  text-wrap: balance;
}

h2 {
  color: var(--bone);
  font-size: 3rem;
  text-wrap: balance;
}

h3 {
  color: var(--bone);
  font-size: 1.22rem;
  line-height: 1.16;
}

p {
  line-height: 1.7;
}

.hero-tagline {
  margin: 12px 0 0;
  color: var(--gold-bright);
  font-family: Cinzel, Georgia, serif;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.3;
}

.hero-copy {
  max-width: 620px;
  margin: 16px 0 0;
  color: rgba(255, 248, 234, 0.88);
  font-size: 1.12rem;
  line-height: 1.62;
}

.hero-actions,
.creator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  background: linear-gradient(180deg, #e0b94f, #a46d24);
  color: #120c06;
  box-shadow: 0 18px 40px rgba(201, 155, 53, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(180deg, #f1d26a, #b97a2a);
  box-shadow: 0 18px 42px rgba(201, 155, 53, 0.3);
}

.button-secondary,
.button-quiet {
  border-color: rgba(255, 248, 234, 0.26);
  background: rgba(255, 248, 234, 0.09);
  color: var(--bone);
}

.button-secondary:hover,
.button-secondary:focus-visible,
.button-quiet:hover,
.button-quiet:focus-visible {
  border-color: rgba(230, 193, 90, 0.5);
  background: rgba(255, 248, 234, 0.14);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(580px, 100%);
  margin: 26px 0 0;
  padding: 0;
  border: 1px solid rgba(230, 193, 90, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 248, 234, 0.09);
  overflow: hidden;
}

.hero-facts div {
  min-height: 76px;
  padding: 14px 16px;
  background: rgba(16, 13, 10, 0.62);
}

.hero-facts dt {
  margin: 0 0 6px;
  color: var(--gold-bright);
  font-family: Cinzel, Georgia, serif;
  font-size: 1.42rem;
  font-weight: 800;
}

.hero-facts dd {
  margin: 0;
  color: rgba(255, 248, 234, 0.78);
  font-size: 0.92rem;
}

.section {
  position: relative;
  padding: 92px clamp(24px, 6%, 72px);
}

.standalone-main .section:first-child {
  padding-top: 148px;
}

.section-inner {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
}

.section-light {
  background:
    linear-gradient(180deg, rgba(242, 234, 219, 0.98), rgba(226, 211, 184, 0.98)),
    repeating-linear-gradient(0deg, rgba(41, 35, 29, 0.035) 0 1px, transparent 1px 8px);
  color: #1e1711;
}

.section-light h2,
.section-light h3 {
  color: #1d1710;
}

.section-light .eyebrow {
  color: #8a561d;
}

.section-light p {
  color: rgba(29, 23, 16, 0.78);
}

.section-dark {
  background:
    linear-gradient(180deg, #17120e 0%, #231911 100%),
    repeating-linear-gradient(90deg, rgba(255, 248, 234, 0.03) 0 1px, transparent 1px 7px);
}

.section-factions {
  background:
    linear-gradient(180deg, #211712 0%, #100d0a 100%),
    repeating-linear-gradient(90deg, rgba(255, 248, 234, 0.028) 0 1px, transparent 1px 8px);
  border-bottom: 1px solid rgba(230, 193, 90, 0.14);
}

.section-builder {
  background:
    radial-gradient(circle at 16% 14%, rgba(43, 111, 109, 0.22), transparent 30%),
    radial-gradient(circle at 86% 22%, rgba(201, 155, 53, 0.12), transparent 26%),
    linear-gradient(180deg, #0e0c09 0%, #1d1510 100%);
  border-bottom: 1px solid rgba(230, 193, 90, 0.14);
}

.section-map {
  background:
    linear-gradient(180deg, #201712 0%, #100d0a 100%),
    linear-gradient(90deg, rgba(43, 111, 109, 0.16), rgba(124, 46, 42, 0.16));
  border-top: 1px solid rgba(230, 193, 90, 0.14);
  border-bottom: 1px solid rgba(230, 193, 90, 0.14);
}

.section-creator {
  background: #11100d;
}

.section-hiring {
  background:
    radial-gradient(circle at 16% 24%, rgba(201, 155, 53, 0.18), transparent 30%),
    radial-gradient(circle at 86% 10%, rgba(43, 111, 109, 0.18), transparent 28%),
    linear-gradient(180deg, #16110d 0%, #0d0b08 100%);
  border-top: 1px solid rgba(230, 193, 90, 0.14);
  border-bottom: 1px solid rgba(230, 193, 90, 0.14);
}

.section-hiring-detail {
  background:
    linear-gradient(180deg, #17120e 0%, #211810 100%),
    repeating-linear-gradient(90deg, rgba(255, 248, 234, 0.03) 0 1px, transparent 1px 7px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 1fr);
  gap: 64px;
  align-items: start;
}

.intro-copy {
  display: grid;
  gap: 18px;
}

.intro-copy p {
  margin: 0;
  font-size: 1.04rem;
}

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

.feature-card,
.resource-card,
.gallery-card {
  border-radius: var(--radius);
}

.feature-card {
  min-height: 240px;
  padding: 28px;
  border: 1px solid rgba(58, 47, 33, 0.18);
  background: rgba(255, 248, 234, 0.72);
  box-shadow: 0 16px 34px rgba(72, 45, 19, 0.08);
}

.feature-card svg,
.resource-icon svg {
  width: 28px;
  height: 28px;
  color: var(--copper);
}

.feature-card h3 {
  margin-top: 22px;
}

.feature-card p {
  margin: 12px 0 0;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 38px;
}

.section-heading h2 {
  max-width: 780px;
}

.section-heading h1 {
  max-width: 780px;
  margin-bottom: 14px;
}

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

.resource-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 16px;
  min-height: 260px;
  padding: 26px;
  border: 1px solid rgba(230, 193, 90, 0.18);
  background: rgba(255, 248, 234, 0.07);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.resource-card:hover,
.resource-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(230, 193, 90, 0.55);
  background: rgba(255, 248, 234, 0.1);
  outline: none;
}

.resource-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(230, 193, 90, 0.12);
}

.resource-icon svg {
  color: var(--gold-bright);
}

.resource-title {
  color: var(--bone);
  font-family: Cinzel, Georgia, serif;
  font-size: 1.2rem;
  font-weight: 800;
}

.resource-text {
  color: rgba(255, 248, 234, 0.73);
  line-height: 1.62;
}

.hiring-band {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) auto;
  gap: 36px;
  align-items: center;
}

.hiring-copy {
  max-width: 780px;
}

.hiring-copy p:not(.eyebrow),
.hiring-detail-copy p {
  margin: 18px 0 0;
  color: rgba(255, 248, 234, 0.78);
  font-size: 1.02rem;
}

.hiring-actions {
  display: grid;
  gap: 12px;
  min-width: 230px;
}

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

.hiring-card {
  min-height: 270px;
  padding: 28px;
  border: 1px solid rgba(58, 47, 33, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 248, 234, 0.72);
  box-shadow: 0 16px 34px rgba(72, 45, 19, 0.08);
}

.hiring-card svg {
  width: 30px;
  height: 30px;
  color: var(--copper);
}

.hiring-card h3 {
  margin-top: 22px;
}

.hiring-card p {
  margin: 12px 0 0;
}

.hiring-detail-layout {
  display: grid;
  grid-template-columns: minmax(340px, 1fr) minmax(300px, 0.72fr);
  gap: 48px;
  align-items: center;
}

.hiring-detail-copy {
  max-width: 760px;
}

.hiring-contact {
  display: grid;
  gap: 16px;
  padding: 30px;
  border: 1px solid rgba(230, 193, 90, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 248, 234, 0.07);
  box-shadow: var(--shadow);
}

.hiring-contact svg {
  width: 34px;
  height: 34px;
  color: var(--gold-bright);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label span {
  color: rgba(255, 248, 234, 0.74);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(230, 193, 90, 0.26);
  border-radius: var(--radius);
  background: rgba(15, 11, 7, 0.78);
  color: var(--bone);
  font: inherit;
  line-height: 1.45;
}

.contact-form textarea {
  resize: vertical;
  min-height: 168px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 248, 234, 0.42);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(230, 193, 90, 0.72);
  outline: 2px solid rgba(230, 193, 90, 0.16);
}

.contact-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-note {
  margin: 0;
  color: rgba(255, 248, 234, 0.66);
  font-size: 0.88rem;
  line-height: 1.5;
}

.contact-note.is-error {
  color: #ffb4a6;
}

.contact-note.is-success {
  color: #d9f2b0;
}

.builder-shell {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(420px, 1.3fr) minmax(300px, 0.95fr);
  gap: 16px;
  align-items: start;
}

.builder-panel {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(230, 193, 90, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 248, 234, 0.07);
  box-shadow: var(--shadow);
}

.builder-controls {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 18px;
}

.builder-controls h3,
.builder-panel-heading h3,
.roster-total h3 {
  font-size: 1.24rem;
}

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: rgba(255, 248, 234, 0.74);
  font-size: 0.82rem;
  font-weight: 800;
}

.field input,
.field select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(230, 193, 90, 0.22);
  border-radius: var(--radius);
  background: rgba(16, 13, 10, 0.72);
  color: var(--bone);
  font: inherit;
  font-weight: 700;
}

.field input:focus,
.field select:focus {
  border-color: rgba(230, 193, 90, 0.62);
  outline: none;
  box-shadow: 0 0 0 3px rgba(230, 193, 90, 0.12);
}

.field input[readonly] {
  color: var(--gold-bright);
  cursor: default;
}

.field-note {
  color: rgba(255, 248, 234, 0.54);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.35;
}

.faction-field {
  position: relative;
}

.field .native-faction-select {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.faction-picker {
  position: relative;
}

.faction-picker-button,
.faction-menu button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  color: var(--bone);
  text-align: left;
}

.faction-picker-button {
  min-height: 68px;
  padding: 10px;
  border: 1px solid rgba(230, 193, 90, 0.16);
  border-radius: var(--radius);
  background: rgba(16, 13, 10, 0.38);
  font: inherit;
  cursor: pointer;
}

.faction-picker-button:hover,
.faction-picker-button:focus-visible,
.faction-picker.is-open .faction-picker-button {
  border-color: rgba(230, 193, 90, 0.48);
  box-shadow: 0 0 0 3px rgba(230, 193, 90, 0.1);
  outline: none;
}

.faction-picker-button > svg {
  width: 18px;
  height: 18px;
  margin-left: auto;
  color: var(--gold-bright);
  transition: transform 160ms ease;
}

.faction-picker.is-open .faction-picker-button > svg {
  transform: rotate(180deg);
}

.faction-picker-button img,
.faction-menu img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex: 0 0 auto;
}

.faction-picker-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.faction-picker-copy small {
  color: rgba(255, 248, 234, 0.58);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.faction-picker-copy strong {
  color: var(--bone);
  font-family: Cinzel, Georgia, serif;
  font-size: 1.02rem;
  line-height: 1;
}

.faction-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(230, 193, 90, 0.22);
  border-radius: var(--radius);
  background: rgba(18, 14, 10, 0.98);
  box-shadow: var(--shadow);
}

.faction-menu[hidden],
.faction-picker:not(.is-open) .faction-menu {
  display: none;
}

.faction-menu button {
  min-height: 58px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.faction-menu button:hover,
.faction-menu button:focus-visible,
.faction-menu button.is-selected {
  border-color: rgba(230, 193, 90, 0.28);
  background: rgba(230, 193, 90, 0.08);
  outline: none;
}

.faction-menu span {
  min-width: 0;
  color: var(--bone);
  font-family: Cinzel, Georgia, serif;
  font-size: 1rem;
  font-weight: 900;
}

.faction-menu svg {
  width: 16px;
  height: 16px;
  margin-left: auto;
  color: var(--gold-bright);
}

.builder-actions {
  display: grid;
  gap: 10px;
}

.builder-button {
  width: 100%;
  min-height: 46px;
  cursor: pointer;
}

.file-button {
  position: relative;
}

.builder-status {
  min-height: 42px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(230, 193, 90, 0.14);
  border-radius: var(--radius);
  background: rgba(16, 13, 10, 0.38);
  color: rgba(255, 248, 234, 0.72);
  font-size: 0.86rem;
  line-height: 1.45;
}

.builder-status.is-error {
  border-color: rgba(214, 78, 65, 0.46);
  color: #ffc8bd;
}

.builder-status.is-success {
  border-color: rgba(126, 190, 100, 0.44);
  color: #d7f4c5;
}

.unit-browser {
  display: grid;
  gap: 16px;
}

.builder-panel-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 220px);
  gap: 16px;
  align-items: end;
}

.search-field input {
  min-height: 40px;
}

.slot-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.slot-filter button,
.quantity-stepper button,
.remove-unit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(230, 193, 90, 0.2);
  border-radius: var(--radius);
  background: rgba(16, 13, 10, 0.48);
  color: rgba(255, 248, 234, 0.82);
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.slot-filter button {
  min-height: 36px;
  padding: 8px 10px;
  font-size: 0.78rem;
}

.slot-filter button:hover,
.slot-filter button:focus-visible,
.slot-filter button.is-active {
  border-color: rgba(230, 193, 90, 0.58);
  background: rgba(230, 193, 90, 0.14);
  color: var(--bone);
  outline: none;
}

.unit-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-height: 760px;
  padding-right: 4px;
  overflow: auto;
}

.unit-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(230, 193, 90, 0.14);
  border-radius: var(--radius);
  background: rgba(16, 13, 10, 0.46);
}

.unit-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.unit-card h4,
.roster-row h4 {
  margin: 0;
  color: var(--bone);
  font-family: Cinzel, Georgia, serif;
  font-size: 1rem;
  line-height: 1.16;
}

.unit-cost {
  flex: 0 0 auto;
  padding: 6px 8px;
  border-radius: var(--radius);
  background: rgba(230, 193, 90, 0.16);
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 900;
}

.slot-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.slot-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 7px;
  border: 1px solid rgba(255, 248, 234, 0.14);
  border-radius: var(--radius);
  color: rgba(255, 248, 234, 0.75);
  font-size: 0.72rem;
  font-weight: 800;
}

.model-downloads {
  border: 1px solid rgba(230, 193, 90, 0.16);
  border-radius: var(--radius);
  background: rgba(16, 13, 10, 0.34);
}

.section-light .model-downloads,
.spin-viewer .model-downloads {
  border-color: rgba(58, 47, 33, 0.14);
  background: rgba(29, 23, 16, 0.05);
}

.model-downloads summary {
  min-height: 38px;
  padding: 9px 11px;
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.section-light .model-downloads summary,
.spin-viewer .model-downloads summary {
  color: #8a561d;
}

.model-downloads div {
  display: grid;
  gap: 6px;
  padding: 0 10px 10px;
}

.model-downloads a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 34px;
  padding: 7px 9px;
  border-radius: var(--radius);
  color: rgba(255, 248, 234, 0.8);
  font-size: 0.78rem;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.section-light .model-downloads a,
.spin-viewer .model-downloads a {
  color: rgba(29, 23, 16, 0.78);
}

.model-downloads a:hover,
.model-downloads a:focus-visible {
  background: rgba(230, 193, 90, 0.12);
  color: var(--bone);
  outline: none;
}

.section-light .model-downloads a:hover,
.section-light .model-downloads a:focus-visible,
.spin-viewer .model-downloads a:hover,
.spin-viewer .model-downloads a:focus-visible {
  background: rgba(138, 86, 29, 0.1);
  color: #1d1710;
}

.equipment-summary,
.equipment-controls {
  border: 1px solid rgba(230, 193, 90, 0.16);
  border-radius: var(--radius);
  background: rgba(16, 13, 10, 0.3);
}

.equipment-summary summary,
.equipment-controls summary {
  min-height: 38px;
  padding: 9px 11px;
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.equipment-summary p,
.equipment-controls p {
  margin: 0;
  padding: 0 11px 10px;
  color: rgba(255, 248, 234, 0.7);
  font-size: 0.78rem;
  line-height: 1.45;
}

.equipment-option-list,
.equipment-control-grid {
  display: grid;
  gap: 8px;
  padding: 0 10px 10px;
}

.equipment-option-list span,
.equipment-control-grid label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  min-height: 34px;
  padding: 7px 9px;
  border-radius: var(--radius);
  background: rgba(255, 248, 234, 0.055);
  color: rgba(255, 248, 234, 0.76);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.3;
}

.equipment-control-grid label {
  justify-content: flex-start;
  cursor: pointer;
}

.equipment-control-grid fieldset {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(255, 248, 234, 0.1);
  border-radius: var(--radius);
}

.equipment-control-grid legend {
  padding: 0 4px;
  color: rgba(255, 248, 234, 0.72);
  font-size: 0.72rem;
  font-weight: 900;
}

.equipment-control-grid input,
.equipment-control-grid select {
  flex: 0 0 auto;
  accent-color: var(--gold-bright);
}

.equipment-control-grid select {
  min-width: 54px;
  min-height: 30px;
  border: 1px solid rgba(230, 193, 90, 0.24);
  border-radius: var(--radius);
  background: rgba(16, 13, 10, 0.76);
  color: var(--bone);
  font-weight: 900;
}

.equipment-option-list strong,
.equipment-control-grid strong {
  flex: 0 0 auto;
  color: var(--gold-bright);
}

.equipment-option-list small,
.equipment-control-grid small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 248, 234, 0.54);
  font-size: 0.68rem;
  font-weight: 750;
}

.equipment-select span {
  min-width: 0;
}

.add-unit {
  min-height: 40px;
  padding: 9px 12px;
  cursor: pointer;
}

.roster-panel {
  display: grid;
  gap: 16px;
}

.roster-total,
.roster-meta,
.slot-item,
.roster-row-main,
.roster-row-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gold-readout {
  display: grid;
  justify-items: end;
  color: var(--gold-bright);
  font-weight: 900;
}

.gold-readout span {
  font-family: Cinzel, Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.gold-readout small {
  color: rgba(255, 248, 234, 0.66);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.gold-meter {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(16, 13, 10, 0.7);
}

.gold-meter span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--moss), var(--gold-bright));
  transition: width 180ms ease;
}

.gold-meter span.is-over {
  background: linear-gradient(90deg, #8d302b, #df695c);
}

.roster-meta {
  flex-wrap: wrap;
  color: rgba(255, 248, 234, 0.72);
  font-size: 0.86rem;
}

.roster-meta strong {
  color: var(--bone);
}

.slot-summary,
.validation-box,
.roster-list {
  display: grid;
  gap: 8px;
}

.slot-item {
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 248, 234, 0.12);
  border-radius: var(--radius);
  background: rgba(16, 13, 10, 0.38);
  color: rgba(255, 248, 234, 0.74);
  font-size: 0.78rem;
  font-weight: 800;
}

.slot-item.is-over,
.slot-item.is-under {
  border-color: rgba(214, 78, 65, 0.46);
  color: #ffc8bd;
}

.validation-item {
  padding: 10px 12px;
  border: 1px solid rgba(255, 248, 234, 0.12);
  border-radius: var(--radius);
  background: rgba(16, 13, 10, 0.38);
  color: rgba(255, 248, 234, 0.72);
  font-size: 0.84rem;
  line-height: 1.45;
}

.validation-item.is-error {
  border-color: rgba(214, 78, 65, 0.46);
  color: #ffc8bd;
}

.validation-item.is-ok {
  border-color: rgba(126, 190, 100, 0.44);
  color: #d7f4c5;
}

.roster-list {
  max-height: 430px;
  overflow: auto;
}

.roster-row {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(230, 193, 90, 0.14);
  border-radius: var(--radius);
  background: rgba(16, 13, 10, 0.46);
}

.roster-row p,
.roster-empty {
  margin: 0;
  color: rgba(255, 248, 234, 0.68);
  font-size: 0.84rem;
  line-height: 1.45;
}

.quantity-stepper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.quantity-stepper button,
.remove-unit {
  width: 34px;
  height: 34px;
}

.quantity-stepper button:hover,
.quantity-stepper button:focus-visible,
.remove-unit:hover,
.remove-unit:focus-visible {
  border-color: rgba(230, 193, 90, 0.58);
  background: rgba(230, 193, 90, 0.14);
  color: var(--bone);
  outline: none;
}

.quantity-stepper strong {
  min-width: 28px;
  text-align: center;
  color: var(--bone);
}

.unit-subtotal {
  color: var(--gold-bright);
  font-weight: 900;
}

.world-layout,
.creator-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(420px, 1.12fr);
  gap: 58px;
  align-items: center;
}

.world-copy p,
.creator-copy p {
  margin: 20px 0 0;
  color: rgba(255, 248, 234, 0.78);
  font-size: 1.02rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--gold-bright);
  font-weight: 800;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--bone);
  outline: none;
}

.map-frame,
.gallery-card,
.creator-seal {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(230, 193, 90, 0.2);
  background: #0f0d0a;
  box-shadow: var(--shadow);
}

.map-frame {
  border-radius: var(--radius);
}

.map-frame {
  width: min(520px, 100%);
  justify-self: center;
}

.map-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.map-frame figcaption,
.gallery-card figcaption {
  padding: 14px 16px;
  color: rgba(255, 248, 234, 0.68);
  font-size: 0.88rem;
}

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

.faction-card {
  position: relative;
  display: grid;
  grid-template-rows: 86px 260px auto;
  min-height: 484px;
  padding: 24px 20px 22px;
  overflow: hidden;
  border: 1px solid rgba(230, 193, 90, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 248, 234, 0.06);
  box-shadow: var(--shadow);
}

.faction-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 22%, var(--faction-glow), transparent 42%),
    linear-gradient(180deg, rgba(255, 248, 234, 0.08), transparent 36%);
  opacity: 0.9;
}

.faction-title,
.faction-logo,
.faction-card p {
  position: relative;
  z-index: 1;
}

.faction-title {
  align-self: center;
  justify-self: center;
  max-width: 94%;
  max-height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.42));
}

.faction-logo {
  align-self: center;
  justify-self: center;
  width: min(100%, 250px);
  max-height: 250px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.32));
}

.faction-card p {
  align-self: end;
  margin: 14px 0 0;
  color: rgba(255, 248, 234, 0.76);
  line-height: 1.62;
}

.faction-elves {
  --faction-glow: rgba(77, 182, 92, 0.28);
}

.faction-kingdoms {
  --faction-glow: rgba(102, 145, 222, 0.26);
}

.faction-undead {
  --faction-glow: rgba(135, 221, 49, 0.22);
}

.faction-orcs {
  --faction-glow: rgba(196, 57, 35, 0.28);
}

.spin-viewer {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(320px, 1.05fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 32px;
  padding: 22px;
  border: 1px solid rgba(58, 47, 33, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 248, 234, 0.74);
  box-shadow: 0 16px 34px rgba(72, 45, 19, 0.08);
}

.spin-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(58, 47, 33, 0.12);
  border-radius: var(--radius);
  background: #fff;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.spin-stage.is-dragging {
  cursor: grabbing;
}

.spin-stage img {
  width: min(100%, 560px);
  max-height: 560px;
  aspect-ratio: 1;
  object-fit: contain;
  pointer-events: none;
}

.spin-button {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(29, 23, 16, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 248, 234, 0.9);
  color: #1d1710;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.spin-button:hover,
.spin-button:focus-visible {
  border-color: rgba(138, 86, 29, 0.48);
  background: #fff8ea;
  outline: none;
  transform: translateY(-50%) scale(1.04);
}

.spin-prev {
  left: 14px;
}

.spin-next {
  right: 14px;
}

.spin-count {
  position: absolute;
  right: 14px;
  bottom: 14px;
  min-width: 54px;
  padding: 7px 10px;
  border-radius: var(--radius);
  background: rgba(29, 23, 16, 0.74);
  color: var(--bone);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.spin-copy {
  display: grid;
  gap: 16px;
}

.spin-copy h3 {
  color: #1d1710;
  font-size: 2rem;
}

.spin-copy p {
  margin: 0;
  color: rgba(29, 23, 16, 0.76);
}

.spin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.spin-tabs button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 11px;
  border: 1px solid rgba(58, 47, 33, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 248, 234, 0.56);
  color: #1d1710;
  font-weight: 900;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.spin-tabs button:hover,
.spin-tabs button:focus-visible,
.spin-tabs button.is-active {
  border-color: rgba(138, 86, 29, 0.5);
  background: #1d1710;
  color: var(--bone);
  outline: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-auto-rows: auto;
  gap: 18px;
}

.gallery-card {
  min-height: 260px;
  background: #17120e;
}

.gallery-card[data-spin-jump] {
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.gallery-card[data-spin-jump]:hover,
.gallery-card[data-spin-jump]:focus-visible {
  border-color: rgba(138, 86, 29, 0.52);
  box-shadow: 0 18px 42px rgba(72, 45, 19, 0.16);
  outline: none;
  transform: translateY(-3px);
}

.gallery-card img {
  width: 100%;
  height: auto;
  min-height: 240px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-wide {
  grid-row: span 2;
}

.gallery-wide img {
  min-height: 590px;
  object-position: 50% 54%;
}

.creator-layout {
  grid-template-columns: minmax(340px, 0.95fr) minmax(360px, 1.05fr);
}

.creator-seal {
  display: grid;
  gap: 28px;
  padding: 34px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 0%, rgba(230, 193, 90, 0.16), transparent 42%),
    rgba(255, 248, 234, 0.055);
}

.creator-seal img {
  justify-self: center;
  width: min(320px, 92%);
}

.creator-seal dl {
  display: grid;
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(230, 193, 90, 0.14);
  border-radius: var(--radius);
}

.creator-seal div {
  padding: 18px;
  background: rgba(16, 13, 10, 0.64);
}

.creator-seal dt {
  color: var(--gold-bright);
  font-family: Cinzel, Georgia, serif;
  font-size: 1.12rem;
  font-weight: 800;
}

.creator-seal dd {
  margin: 6px 0 0;
  color: rgba(255, 248, 234, 0.7);
  line-height: 1.55;
}

.creator-copy h2 {
  max-width: 680px;
}

.section-newsletter {
  border-top: 1px solid rgba(230, 193, 90, 0.14);
  border-bottom: 1px solid rgba(230, 193, 90, 0.14);
  background:
    radial-gradient(circle at 16% 22%, rgba(201, 155, 53, 0.18), transparent 30%),
    radial-gradient(circle at 86% 48%, rgba(43, 111, 109, 0.2), transparent 34%),
    linear-gradient(180deg, #17120e 0%, #0d0b08 100%);
}

.newsletter-panel {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 0.82fr);
  gap: 36px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(230, 193, 90, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 248, 234, 0.07);
  box-shadow: var(--shadow);
}

.newsletter-copy h2 {
  max-width: 760px;
}

.newsletter-copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 248, 234, 0.78);
  font-size: 1.02rem;
  line-height: 1.7;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
}

.newsletter-form input {
  min-width: 0;
  min-height: 52px;
  width: 100%;
  padding: 0 16px;
  border: 1px solid rgba(230, 193, 90, 0.26);
  border-radius: var(--radius);
  background: rgba(15, 11, 7, 0.78);
  color: var(--bone);
  font: inherit;
  font-weight: 700;
}

.newsletter-form input::placeholder {
  color: rgba(255, 248, 234, 0.46);
}

.newsletter-form input:focus {
  border-color: rgba(230, 193, 90, 0.72);
  outline: 2px solid rgba(230, 193, 90, 0.16);
}

.newsletter-note {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 248, 234, 0.64);
  font-size: 0.88rem;
  line-height: 1.5;
}

.newsletter-note.is-error {
  color: #ffb4a6;
}

.newsletter-note.is-success {
  color: #d9f2b0;
}

.site-footer {
  padding: 38px clamp(24px, 6%, 72px);
  border-top: 1px solid rgba(230, 193, 90, 0.16);
  background: #090806;
}

.footer-inner {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px 42px;
  align-items: center;
  width: min(var(--max-width), 100%);
  margin: 0 auto;
}

.footer-inner img {
  width: 180px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: flex-end;
  font-weight: 800;
}

.footer-links a {
  color: rgba(255, 248, 234, 0.78);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold-bright);
  outline: none;
}

.footer-inner p {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 248, 234, 0.54);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  stroke-width: 2.1;
}

@media (max-width: 1180px) {
  .site-nav {
    font-size: 0.78rem;
  }

  .site-nav a {
    padding-right: 8px;
    padding-left: 8px;
  }

  .builder-shell {
    grid-template-columns: minmax(220px, 0.76fr) minmax(0, 1.24fr);
  }

  .roster-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1060px) {
  .site-nav {
    gap: 0;
    font-size: 0.86rem;
  }

  .brand {
    height: 54px;
  }

  .brand img {
    height: 52px;
  }

  h1 {
    font-size: 3.8rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hiring-band,
  .hiring-detail-layout,
  .newsletter-panel {
    grid-template-columns: 1fr;
  }

  .hiring-actions {
    min-width: 0;
    width: min(420px, 100%);
  }

  .hiring-role-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .builder-shell {
    grid-template-columns: 1fr;
  }

  .builder-controls {
    position: static;
  }

  .roster-panel {
    grid-column: auto;
  }

  .world-layout,
  .creator-layout,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .world-copy,
  .creator-copy {
    max-width: 780px;
  }

  .faction-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spin-viewer {
    grid-template-columns: 1fr;
  }

  .spin-stage {
    min-height: 460px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

}

@media (max-width: 820px) {
  .site-header {
    min-height: 68px;
    padding: 12px 20px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 68px 16px auto 16px;
    display: grid;
    justify-content: stretch;
    gap: 4px;
    max-height: calc(100dvh - 92px);
    padding: 14px;
    border: 1px solid rgba(230, 193, 90, 0.18);
    border-radius: var(--radius);
    background: rgba(16, 13, 10, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a,
  .site-nav .nav-cta {
    justify-content: flex-start;
    min-height: 48px;
    margin-left: 0;
  }

  .hero {
    min-height: 660px;
    padding: 92px 22px 42px;
  }

  .hero-subpage {
    min-height: 560px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(10, 8, 6, 0.9) 0%, rgba(16, 13, 10, 0.72) 48%, rgba(16, 13, 10, 0.94) 100%),
      linear-gradient(90deg, rgba(16, 13, 10, 0.72), rgba(16, 13, 10, 0.38));
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.18rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .feature-grid,
  .resource-grid,
  .faction-grid,
  .gallery-grid,
  .unit-catalog {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 74px 22px;
  }

  .standalone-main .section:first-child {
    padding-top: 118px;
  }

  .feature-card,
  .resource-card,
  .hiring-card,
  .builder-panel {
    min-height: auto;
  }

  .spin-viewer {
    padding: 16px;
  }

  .spin-stage {
    min-height: 340px;
  }

  .spin-stage img {
    max-height: 420px;
  }

  .spin-copy h3 {
    font-size: 1.55rem;
  }

  .builder-panel-heading,
  .roster-total {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-rows: none;
  }

  .gallery-wide {
    grid-row: auto;
  }

  .gallery-card img,
  .gallery-wide img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .faction-card {
    grid-template-rows: 78px 230px auto;
    min-height: 428px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .brand {
    height: 50px;
  }

  .brand img {
    height: 48px;
  }

  .hero {
    min-height: 700px;
  }

  .hero-subpage {
    min-height: 620px;
  }

  .hero-logo {
    width: 92%;
  }

  h1 {
    font-size: 2.42rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .hero-actions,
  .creator-actions,
  .hiring-actions,
  .roster-row-main,
  .roster-row-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .spin-tabs button {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }

  .spin-button {
    width: 40px;
    height: 40px;
  }

  .faction-card {
    padding: 22px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
