:root {
  /* Upload cache-buster: styles-v2.css */
  color-scheme: dark;
  --ink: #0d0e0d;
  --panel: #1b1d1a;
  --panel-strong: #272922;
  --metal: #3d3f38;
  --line: #6d705f;
  --paper: #eef1e7;
  --muted: #b7bca8;
  --vault-yellow: #f5c542;
  --signal-green: #7cff9d;
  --warning-red: #d94b3d;
  --shadow: rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--ink);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--paper);
  font-family: "Arial Narrow", "Franklin Gothic Medium", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(13, 14, 13, 0.12), rgba(13, 14, 13, 0.76) 72%),
    linear-gradient(90deg, rgba(13, 14, 13, 0.24), rgba(13, 14, 13, 0.34)),
    url("assets/graphic2.png") center top / cover fixed no-repeat,
    linear-gradient(90deg, rgba(245, 197, 66, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(124, 255, 157, 0.055) 1px, transparent 1px),
    var(--ink);
  background-size: auto, auto, cover, 56px 56px, 56px 56px, auto;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13, 14, 13, 0.18), rgba(13, 14, 13, 0.5)),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.025),
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px,
      transparent 4px
    );
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 20;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--vault-yellow);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  padding: 20px 0;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--paper);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 900;
}

.brand img {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border: 2px solid var(--vault-yellow);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px var(--shadow);
}

.brand span {
  overflow-wrap: anywhere;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-links a,
.site-footer a {
  min-height: 40px;
  padding: 8px 12px;
  color: var(--paper);
  text-decoration: none;
  border: 1px solid rgba(238, 241, 231, 0.2);
  border-radius: 8px;
  background: rgba(27, 29, 26, 0.73);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
  background: var(--vault-yellow);
  border-color: var(--vault-yellow);
}

.nav-links [aria-current="page"] {
  color: var(--signal-green);
  border-color: rgba(124, 255, 157, 0.5);
}

.hero-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  width: min(1180px, calc(100% - 32px));
  min-height: 108px;
  margin: 8px auto 0;
  padding: 12px 14px 20px;
  overflow: hidden;
  border: 1px solid rgba(245, 197, 66, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(13, 14, 13, 0.73), rgba(27, 29, 26, 0.73) 62%, rgba(13, 14, 13, 0.73)),
    rgba(13, 14, 13, 0.73);
  box-shadow: 0 24px 60px var(--shadow);
}

.hero-band::after {
  position: absolute;
  right: 0;
  bottom: 12px;
  left: 0;
  height: 7px;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(217, 75, 61, 0.86), rgba(245, 197, 66, 0.72), transparent);
}

.hero-band::before,
.content-band::before,
.page-intro::before,
.guide-card::before {
  position: absolute;
  inset: 10px;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(238, 241, 231, 0.16);
  border-radius: 6px;
}

.hero-scenery-strip {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  height: 46px;
  border-top: 1px solid rgba(245, 197, 66, 0.4);
  background:
    linear-gradient(90deg, rgba(13, 14, 13, 0.54), rgba(13, 14, 13, 0.06), rgba(13, 14, 13, 0.68)),
    url("assets/appalachian-mountains-wv-banner.jpg") center bottom / cover no-repeat;
  display: none;
}

.appalachia-art-bar {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  height: 46px;
  background:
    linear-gradient(90deg, rgba(13, 14, 13, 0.12), rgba(13, 14, 13, 0), rgba(13, 14, 13, 0.22)),
    url("assets/appalachian-mountains-wv-banner.jpg") center bottom / cover no-repeat;
  filter: saturate(1.2) contrast(1.08);
  display: none;
}

.nuka-prop {
  position: absolute;
  right: 30px;
  bottom: 12px;
  width: 34px;
  height: 34px;
  border: 3px solid rgba(238, 241, 231, 0.85);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--vault-yellow) 0 16%, transparent 17%),
    repeating-conic-gradient(from 0deg, var(--warning-red) 0 12deg, #8e2020 12deg 24deg);
  box-shadow: 0 10px 18px var(--shadow);
}

.cola-dot {
  position: absolute;
  right: 26px;
  bottom: 10px;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(238, 241, 231, 0.9);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--vault-yellow) 0 18%, transparent 19%),
    repeating-conic-gradient(var(--warning-red) 0 12deg, #8e2020 12deg 24deg);
  box-shadow: 0 8px 14px var(--shadow);
}

.cola-dot-small {
  right: 58px;
  bottom: 14px;
  width: 16px;
  height: 16px;
  opacity: 0.78;
}

.hero-art {
  position: relative;
  z-index: 1;
  display: none;
}

.hero-art img {
  width: 54px;
  border-radius: 8px;
  border: 2px solid var(--vault-yellow);
  box-shadow: 0 18px 36px var(--shadow);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.eyebrow,
.channel-kicker {
  margin: 0 0 10px;
  color: var(--signal-green);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  color: var(--vault-yellow);
  font-size: 1.55rem;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.55);
}

h2 {
  color: var(--vault-yellow);
  font-size: 2.6rem;
}

h3 {
  color: var(--paper);
  font-size: 1.35rem;
}

p {
  margin: 10px 0 0;
}

.hero-copy p:not(.eyebrow),
.section-heading p,
.page-intro p,
.guide-copy p,
.feature-link span,
.feature-panel span,
.discord-join span,
.voice-link span,
.discord-channel-list span {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.hero-actions .button {
  min-height: 30px;
  padding: 5px 10px;
  font-size: 0.75rem;
}

.hero-actions .button.primary {
  color: var(--paper);
  background: var(--warning-red);
  border-color: rgba(238, 241, 231, 0.62);
}

.button,
.discord-join,
.voice-link,
.discord-channel-list a,
.feature-link,
.guide-preview-button {
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 8px;
}

.button.primary {
  color: var(--ink);
  background: var(--vault-yellow);
  border: 2px solid var(--vault-yellow);
}

.button.secondary {
  color: var(--paper);
  background: rgba(27, 29, 26, 0.73);
  border: 2px solid rgba(238, 241, 231, 0.35);
}

.button:hover,
.button:focus-visible,
.discord-join:hover,
.discord-join:focus-visible,
.voice-link:hover,
.voice-link:focus-visible,
.discord-channel-list a:hover,
.discord-channel-list a:focus-visible,
.feature-link:hover,
.feature-link:focus-visible {
  transform: translateY(-2px);
}

.content-band,
.page-intro,
.guide-card {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 0;
  padding: 26px 28px;
  border: 1px solid rgba(109, 112, 95, 0.7);
  border-radius: 8px;
  background: rgba(27, 29, 26, 0.73);
  box-shadow: 0 18px 44px var(--shadow);
}

.content-band {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(27, 29, 26, 0.73), rgba(27, 29, 26, 0.73) 56%, rgba(13, 14, 13, 0.73)),
    rgba(27, 29, 26, 0.73);
}

.content-band::after {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 0;
  height: 7px;
  content: "";
  pointer-events: none;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(217, 75, 61, 0.82), rgba(245, 197, 66, 0.68), transparent);
}

.nuka-corner-label {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  max-width: min(42%, 180px);
  padding: 6px 10px;
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  border: 1px solid rgba(245, 197, 66, 0.7);
  border-radius: 8px;
  background: rgba(217, 75, 61, 0.9);
  box-shadow: 0 12px 24px var(--shadow);
}

.section-heading,
.discord-layout,
.page-intro > *,
.guide-card > *,
.compact-band > * {
  position: relative;
  z-index: 1;
}

.section-heading {
  max-width: 760px;
}

.discord-layout {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 14px;
  margin-top: 18px;
}

.discord-action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.discord-join,
.voice-link,
.discord-channel-list a,
.feature-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  color: var(--paper);
  text-decoration: none;
  border-radius: 8px;
}

.feature-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 18px;
  color: var(--paper);
  border: 1px solid rgba(245, 197, 66, 0.42);
  border-radius: 8px;
  background: rgba(13, 14, 13, 0.73);
}

.discord-join {
  min-height: 64px;
  justify-content: center;
  padding: 10px 12px;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(217, 75, 61, 0.45), rgba(13, 14, 13, 0.9)),
    rgba(27, 29, 26, 0.73);
  border: 1px solid rgba(245, 197, 66, 0.58);
}

.discord-join span,
.discord-join .channel-kicker {
  color: var(--muted);
}

.discord-join strong,
.voice-link strong,
.feature-link strong,
.feature-panel strong {
  font-size: 0.98rem;
  line-height: 1.1;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.discord-destinations {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.voice-link {
  min-height: 64px;
  padding: 10px 12px;
  background: rgba(39, 41, 34, 0.73);
  border: 1px solid rgba(124, 255, 157, 0.45);
}

.text-channel-panel {
  display: grid;
  gap: 18px;
}

.discord-channel-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.discord-channel-list a {
  min-height: 64px;
  padding: 10px 12px;
  background: rgba(13, 14, 13, 0.73);
  border: 1px solid rgba(238, 241, 231, 0.16);
}

.discord-channel-list strong {
  color: var(--vault-yellow);
  text-transform: uppercase;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 420px);
  align-items: center;
  gap: 28px;
}

.feature-link {
  min-height: 180px;
  justify-content: center;
  padding: 24px;
  border: 1px solid rgba(245, 197, 66, 0.42);
  background: rgba(13, 14, 13, 0.73);
}

.guide-preview-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.page-intro {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.guide-grid {
  display: grid;
  gap: 28px;
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 0;
}

.guide-card {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 240px);
  gap: 26px;
  align-items: center;
}

.guide-copy {
  align-self: start;
}

.guide-preview-button {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  color: var(--paper);
  cursor: zoom-in;
  border: 2px solid rgba(245, 197, 66, 0.44);
  border-radius: 8px;
  background: rgba(13, 14, 13, 0.73);
}

.guide-preview-button:hover,
.guide-preview-button:focus-visible {
  border-color: var(--vault-yellow);
  transform: translateY(-2px);
}

.guide-preview-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  object-position: top center;
  background: #050505;
}

.guide-missing {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 24px;
  color: var(--muted);
  font: inherit;
}

.guide-preview-button.is-missing {
  cursor: default;
}

.guide-preview-button.is-missing .guide-preview-image {
  display: none;
}

.guide-preview-button.is-missing .guide-missing {
  display: flex;
}

.compact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer {
  padding: 32px 0 40px;
  color: var(--muted);
}

.site-footer span {
  font-weight: 900;
  text-transform: uppercase;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 72px 18px 24px;
  background: rgba(0, 0, 0, 0.9);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(100%, 1200px);
  max-height: calc(100vh - 120px);
  object-fit: contain;
  border: 2px solid var(--vault-yellow);
  border-radius: 8px;
  background: #050505;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  min-height: 44px;
  padding: 10px 14px;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  background: var(--vault-yellow);
  border: 0;
  border-radius: 8px;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer,
  .compact-band {
    align-items: stretch;
    flex-direction: column;
  }

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

  .discord-layout,
  .split-band,
  .guide-card {
    grid-template-columns: 1fr;
  }

  .hero-band {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 14px 14px 22px;
  }

  .hero-art img {
    width: 54px;
  }

  h1 {
    font-size: 1.45rem;
  }

  h2 {
    font-size: 2rem;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .site-header,
  .site-footer,
  .hero-band,
  .content-band,
  .page-intro,
  .guide-grid {
    width: min(100% - 20px, 1180px);
  }

  .brand {
    align-items: flex-start;
  }

  .nav-links a,
  .site-footer a {
    width: 100%;
  }

  .hero-band,
  .content-band,
  .page-intro,
  .guide-card {
    padding: 16px;
  }

  h1 {
    font-size: 1.35rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .hero-actions,
  .discord-action-row,
  .discord-channel-list {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-actions .button {
    width: auto;
  }

  .discord-channel-list {
    display: grid;
  }
}
