:root {
  --void: #07060a;
  --ink: #0e0c12;
  --stone: #17141c;
  --ash: #9a9088;
  --bone: #e8dfd4;
  --ember: #c45a3a;
  --ember-soft: #a84a32;
  --gold: #b89a6a;
  --line: rgba(184, 154, 106, 0.28);
  --forge-face: linear-gradient(165deg, #2a221c 0%, #141018 42%, #0c0a0e 100%);
  --forge-face-hot: linear-gradient(165deg, #3a2a22 0%, #1a1418 45%, #100c10 100%);
  --forge-edge: rgba(184, 154, 106, 0.55);
  --forge-edge-hot: rgba(196, 90, 58, 0.75);
  --forge-inset: inset 0 1px 0 rgba(232, 223, 212, 0.12), inset 0 -1px 0 rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--bone);
  background: var(--void);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.ash,
.ember-veil {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
}

.ash {
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(232, 223, 212, 0.35), transparent),
    radial-gradient(1px 1px at 28% 62%, rgba(232, 223, 212, 0.22), transparent),
    radial-gradient(1.5px 1.5px at 44% 30%, rgba(196, 90, 58, 0.35), transparent),
    radial-gradient(1px 1px at 61% 78%, rgba(232, 223, 212, 0.2), transparent),
    radial-gradient(1px 1px at 76% 22%, rgba(232, 223, 212, 0.28), transparent),
    radial-gradient(1.5px 1.5px at 88% 55%, rgba(196, 90, 58, 0.25), transparent),
    radial-gradient(1px 1px at 94% 12%, rgba(232, 223, 212, 0.3), transparent);
  opacity: 0.5;
  animation: ash-drift 14s ease-in-out infinite;
}

.ember-veil {
  background:
    radial-gradient(ellipse 70% 45% at 50% 110%, rgba(196, 90, 58, 0.12), transparent 55%),
    radial-gradient(ellipse 40% 30% at 15% 20%, rgba(184, 154, 106, 0.05), transparent 50%);
}

.site-nav,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* Nav */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  background: linear-gradient(180deg, rgba(7, 6, 10, 0.94), transparent);
}

.site-nav__brand {
  justify-self: start;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--bone);
  flex-shrink: 0;
}

.site-nav__links {
  justify-self: center;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.35rem 0.45rem;
  background:
    linear-gradient(180deg, rgba(20, 16, 22, 0.88), rgba(10, 8, 12, 0.92));
  border: 1px solid rgba(184, 154, 106, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(232, 223, 212, 0.08),
    0 10px 28px rgba(0, 0, 0, 0.45);
}

.spell-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(184, 154, 106, 0.45);
  background: rgba(8, 6, 10, 0.9);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.55),
    0 2px 6px rgba(0, 0, 0, 0.45);
  transition:
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease),
    filter 0.25s var(--ease);
}

.spell-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.92) saturate(0.95);
  transition: filter 0.25s var(--ease);
}

.spell-btn__tip {
  position: absolute;
  left: 50%;
  top: calc(100% + 0.55rem);
  bottom: auto;
  transform: translateX(-50%) translateY(-4px);
  padding: 0.35rem 0.65rem;
  white-space: nowrap;
  color: #fff4e4;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(28, 22, 30, 0.96), rgba(12, 10, 14, 0.98));
  border: 1px solid rgba(184, 154, 106, 0.55);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(232, 223, 212, 0.08);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s var(--ease),
    transform 0.2s var(--ease);
  z-index: 5;
}

.spell-btn__tip::after {
  content: "";
  position: absolute;
  top: auto;
  bottom: 100%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  margin-bottom: -4px;
  background: rgba(28, 22, 30, 0.96);
  border-left: 1px solid rgba(184, 154, 106, 0.55);
  border-top: 1px solid rgba(184, 154, 106, 0.55);
  border-right: none;
  border-bottom: none;
  transform: rotate(45deg);
}

.spell-btn:hover,
.spell-btn:focus-visible {
  border-color: rgba(255, 220, 150, 0.9);
  box-shadow:
    inset 0 0 0 1px rgba(255, 230, 170, 0.25),
    0 0 0 1px rgba(196, 90, 58, 0.25),
    0 0 18px rgba(196, 90, 58, 0.45),
    0 0 28px rgba(184, 154, 106, 0.25);
  transform: translateY(-1px);
  outline: none;
  z-index: 2;
}

.spell-btn:hover img,
.spell-btn:focus-visible img {
  filter: brightness(1.18) saturate(1.15) drop-shadow(0 0 6px rgba(255, 210, 140, 0.35));
}

.spell-btn:hover .spell-btn__tip,
.spell-btn:focus-visible .spell-btn__tip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding: 7rem 1.5rem 5rem;
  text-align: center;
}

.hero__plane {
  position: absolute;
  inset: 0;
}

.hero__plane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  animation: hero-ken 28s ease-in-out infinite alternate;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 6, 10, 0.55) 0%, rgba(7, 6, 10, 0.35) 35%, rgba(7, 6, 10, 0.82) 72%, var(--void) 100%),
    radial-gradient(ellipse 80% 60% at 50% 70%, transparent 20%, rgba(7, 6, 10, 0.55) 100%);
}

.hero__content {
  position: relative;
  max-width: 42rem;
  animation: rise 1.35s var(--ease) both;
}

.hero__logo {
  display: block;
  width: min(95.83vw, 29.28rem);
  height: auto;
  margin: 0 auto 1.15rem;
}

.hero__title {
  margin: 0 auto 1.1rem;
  max-width: 34rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--gold);
}

.hero__lead {
  margin: 0 auto 2.2rem;
  max-width: 28rem;
  color: var(--ash);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.hero__scroll {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 2.6rem;
  background: linear-gradient(180deg, var(--ember), transparent);
  opacity: 0.7;
}

.hero__scroll span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--ember);
  animation: scroll-dot 2.2s var(--ease) infinite;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  padding: 0.75rem 1.85rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--forge-edge);
  background: var(--forge-face);
  color: var(--bone);
  box-shadow: var(--forge-inset), 0 10px 24px rgba(0, 0, 0, 0.4);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition:
    background 0.35s var(--ease),
    color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.btn--ember {
  background: linear-gradient(165deg, #a84a32 0%, #7a3224 45%, #4a1e16 100%);
  border-color: rgba(232, 180, 120, 0.45);
  color: var(--bone);
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 180, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    0 10px 26px rgba(120, 40, 20, 0.35);
}

.btn--ember:hover {
  background: linear-gradient(165deg, #c45a3a 0%, #8f3a28 48%, #5a241a 100%);
  border-color: rgba(255, 210, 150, 0.55);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 180, 0.28),
    0 0 0 1px rgba(196, 90, 58, 0.25),
    0 12px 28px rgba(120, 40, 20, 0.45);
}

.btn--ghost {
  background: var(--forge-face);
  color: var(--bone);
  border-color: var(--forge-edge);
}

.btn--ghost:hover {
  border-color: var(--forge-edge-hot);
  color: var(--gold);
  background: var(--forge-face-hot);
  transform: translateY(-2px);
  box-shadow:
    var(--forge-inset),
    0 0 0 1px rgba(196, 90, 58, 0.18),
    0 12px 26px rgba(0, 0, 0, 0.45);
}

/* Shared section heads */
.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 3rem;
}

.section-head--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.section-head--left .section-head__mark {
  margin-left: 0;
}

.section-head__mark {
  display: block;
  position: relative;
  width: min(12rem, 55%);
  height: 1px;
  margin: 0 auto 1.35rem;
  background: linear-gradient(90deg, transparent, rgba(184, 154, 106, 0.55), transparent);
}

.section-head__mark::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border: 1px solid var(--gold);
  background: var(--void);
  transform: rotate(45deg);
  box-shadow: 0 0 0 3px rgba(7, 6, 10, 0.9);
}

.section-head--left .section-head__mark {
  margin-left: 0;
  background: linear-gradient(90deg, rgba(184, 154, 106, 0.65), transparent);
}

.section-head--left .section-head__mark::before {
  left: 0;
  margin-left: -1px;
}

.section-head h2 {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  letter-spacing: 0.12em;
}

.section-head p {
  margin: 0;
  color: var(--ash);
  font-size: 0.98rem;
}

/* Realm — character charters */
.realm {
  padding: clamp(4rem, 9vw, 7rem) clamp(1.25rem, 5vw, 3.5rem);
  max-width: 1080px;
  margin: 0 auto;
}

.charters {
  display: grid;
  gap: 2.75rem;
}

.charter {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 780px) {
  .charter {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2.25rem;
  }

  .charter--flip .charter__art {
    order: 2;
  }

  .charter--flip .charter__copy {
    order: 1;
    text-align: right;
  }

  .charter--flip .charter__copy h3::after {
    margin-left: auto;
  }
}

.charter__art {
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--forge-edge);
  background: var(--ink);
  isolation: isolate;
  display: block;
  width: 100%;
  cursor: pointer;
  color: inherit;
  font: inherit;
  text-align: left;
  box-shadow: var(--forge-inset), 0 10px 22px rgba(0, 0, 0, 0.35);
}

.charter__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 6, 10, 0.45));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.charter__art:hover::after,
.charter__art:focus-visible::after {
  opacity: 1;
}

.charter__art:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 2px;
}

.charter__art img {
  width: 100%;
  height: clamp(16rem, 48vw, 26rem);
  object-fit: cover;
  object-position: center top;
  transition: transform 1.1s var(--ease);
}

.charter:hover .charter__art img {
  transform: scale(1.04);
}

.charter__copy h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  letter-spacing: 0.1em;
}

.charter__copy h3::after {
  content: "";
  display: block;
  width: 2rem;
  height: 2px;
  margin-top: 0.85rem;
  background: var(--ember);
}

.charter__copy p {
  margin: 0;
  color: var(--ash);
  font-size: 1.02rem;
  max-width: 28rem;
}

.charter--flip .charter__copy p {
  margin-left: auto;
}

/* Progress */
.progress {
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1.25rem, 5vw, 3.5rem);
  max-width: 980px;
  margin: 0 auto;
}

.progress__layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 860px) {
  .progress__layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 2.5rem;
    align-items: stretch;
  }
}

.progress__art {
  margin: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--forge-edge);
  background: var(--ink);
  display: block;
  width: 100%;
  cursor: pointer;
  color: inherit;
  font: inherit;
  box-shadow: var(--forge-inset), 0 10px 22px rgba(0, 0, 0, 0.35);
}

.progress__art img {
  width: 100%;
  height: clamp(18rem, 55vw, 32rem);
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: saturate(0.95) contrast(1.04);
  transition: transform 1.2s var(--ease);
}

.progress__art:hover img,
.progress__art:focus-visible img {
  transform: scale(1.03);
}

.progress__art:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 2px;
}

.progress__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  min-height: 100%;
}

.progress__block h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
}

.progress__block h3 span {
  color: var(--ember);
}

.progress__block ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.progress__block li {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(154, 144, 136, 0.18);
  color: var(--bone);
  font-size: 0.98rem;
}

.progress__block li em {
  display: inline;
  font-style: normal;
  color: var(--gold);
  font-size: 0.88rem;
}

.progress__block--later {
  padding-top: 0.25rem;
  border-top: 1px solid var(--line);
}

.progress__block--later p {
  margin: 0;
  color: var(--ash);
  font-size: 0.95rem;
  max-width: 28rem;
}

.progress__block--later strong {
  color: var(--bone);
  font-weight: 600;
}

.progress__block.reveal:nth-child(2) {
  transition-delay: 0.1s;
}

/* Virtues — typographic features */
.virtues {
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1.25rem, 5vw, 3.5rem);
  max-width: 920px;
  margin: 0 auto;
}

.virtues__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.virtues__item {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.45rem 0;
  border-bottom: 1px solid rgba(154, 144, 136, 0.2);
}

.virtues__rune {
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.45rem;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 0 3px rgba(184, 154, 106, 0.12);
}

.virtues__item strong {
  display: block;
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  color: var(--bone);
}

.virtues__item p {
  margin: 0;
  color: var(--ash);
  font-size: 0.98rem;
  max-width: 34rem;
}

.virtues__item--featured {
  grid-template-columns: 1fr;
  gap: 1.35rem;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

@media (min-width: 720px) {
  .virtues__item--featured {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 1.75rem;
    align-items: center;
  }
}

.virtues__art {
  margin: 0;
  padding: 0;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--forge-edge);
  background: var(--ink);
  cursor: pointer;
  color: inherit;
  font: inherit;
  box-shadow: var(--forge-inset), 0 10px 22px rgba(0, 0, 0, 0.35);
}

.virtues__art:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 2px;
}

.virtues__art img {
  width: 100%;
  height: clamp(14rem, 42vw, 22rem);
  object-fit: cover;
  object-position: center top;
  transition: transform 1.1s var(--ease);
}

.virtues__art:hover img {
  transform: scale(1.03);
}

.virtues__featured-copy {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: 1rem;
  align-items: start;
}

.virtues__item.reveal:nth-child(2) { transition-delay: 0.04s; }
.virtues__item.reveal:nth-child(3) { transition-delay: 0.08s; }
.virtues__item.reveal:nth-child(4) { transition-delay: 0.12s; }
.virtues__item.reveal:nth-child(5) { transition-delay: 0.16s; }
.virtues__item.reveal:nth-child(6) { transition-delay: 0.2s; }
.virtues__item.reveal:nth-child(7) { transition-delay: 0.24s; }
.virtues__item.reveal:nth-child(8) { transition-delay: 0.28s; }
.virtues__item.reveal:nth-child(9) { transition-delay: 0.32s; }
.virtues__item.reveal:nth-child(10) { transition-delay: 0.36s; }

/* Faces gallery rail */
.faces {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3.5rem, 8vw, 6rem);
  max-width: none;
}

.faces .section-head {
  padding: 0 clamp(1.25rem, 5vw, 3.5rem);
  max-width: 42rem;
}

.faces__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(10.5rem, 16rem);
  gap: 0.85rem;
  overflow-x: auto;
  padding: 0.25rem clamp(1.25rem, 5vw, 3.5rem) 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.faces__rail::-webkit-scrollbar {
  height: 6px;
}

.faces__rail::-webkit-scrollbar-thumb {
  background: rgba(184, 154, 106, 0.35);
}

.faces__shot {
  position: relative;
  margin: 0;
  padding: 0;
  border: 1px solid var(--forge-edge);
  background: var(--ink);
  cursor: pointer;
  overflow: hidden;
  scroll-snap-align: start;
  color: inherit;
  font: inherit;
  opacity: 0;
  transform: translateY(1.15rem) scale(0.97);
  box-shadow: var(--forge-inset), 0 8px 18px rgba(0, 0, 0, 0.35);
  transition:
    border-color 0.35s var(--ease),
    transform 0.85s var(--ease),
    opacity 0.85s var(--ease),
    box-shadow 0.35s var(--ease);
}

.faces__shot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(5, 4, 8, 0.82);
  opacity: 1;
  pointer-events: none;
  transition: opacity 1s var(--ease);
}

.faces__shot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(115deg, transparent 35%, rgba(196, 90, 58, 0.28) 48%, rgba(184, 154, 106, 0.22) 52%, transparent 65%);
  mix-blend-mode: soft-light;
}

.faces.is-awake .faces__shot {
  opacity: 1;
  transform: none;
}

.faces.is-awake .faces__shot::before {
  opacity: 0;
}

.faces.is-awake .faces__shot::after {
  animation: faces-ember 1.55s ease-in-out both;
}

.faces.is-awake .faces__shot:nth-child(1) { transition-delay: 0.05s; }
.faces.is-awake .faces__shot:nth-child(2) { transition-delay: 0.16s; }
.faces.is-awake .faces__shot:nth-child(3) { transition-delay: 0.27s; }
.faces.is-awake .faces__shot:nth-child(4) { transition-delay: 0.38s; }
.faces.is-awake .faces__shot:nth-child(5) { transition-delay: 0.49s; }
.faces.is-awake .faces__shot:nth-child(6) { transition-delay: 0.6s; }

.faces.is-awake .faces__shot:nth-child(1)::before { transition-delay: 0.05s; }
.faces.is-awake .faces__shot:nth-child(2)::before { transition-delay: 0.16s; }
.faces.is-awake .faces__shot:nth-child(3)::before { transition-delay: 0.27s; }
.faces.is-awake .faces__shot:nth-child(4)::before { transition-delay: 0.38s; }
.faces.is-awake .faces__shot:nth-child(5)::before { transition-delay: 0.49s; }
.faces.is-awake .faces__shot:nth-child(6)::before { transition-delay: 0.6s; }

.faces.is-awake .faces__shot:nth-child(1)::after { animation-delay: 0.2s; }
.faces.is-awake .faces__shot:nth-child(2)::after { animation-delay: 0.32s; }
.faces.is-awake .faces__shot:nth-child(3)::after { animation-delay: 0.44s; }
.faces.is-awake .faces__shot:nth-child(4)::after { animation-delay: 0.56s; }
.faces.is-awake .faces__shot:nth-child(5)::after { animation-delay: 0.68s; }
.faces.is-awake .faces__shot:nth-child(6)::after { animation-delay: 0.8s; }

.faces__shot:hover,
.faces__shot:focus-visible {
  border-color: var(--forge-edge-hot);
  box-shadow:
    var(--forge-inset),
    0 0 0 1px rgba(196, 90, 58, 0.22),
    0 12px 24px rgba(0, 0, 0, 0.4);
}

.faces.is-awake .faces__shot:hover,
.faces.is-awake .faces__shot:focus-visible {
  transform: translateY(-3px);
}

.faces__shot:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 2px;
}

.faces__shot img {
  width: 100%;
  height: clamp(14rem, 42vw, 22rem);
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.55) saturate(0.85);
  transition: transform 1s var(--ease), filter 1s var(--ease);
}

.faces.is-awake .faces__shot img {
  filter: brightness(1) saturate(0.95);
}

.faces.is-awake .faces__shot:nth-child(1) img { transition-delay: 0.05s; }
.faces.is-awake .faces__shot:nth-child(2) img { transition-delay: 0.16s; }
.faces.is-awake .faces__shot:nth-child(3) img { transition-delay: 0.27s; }
.faces.is-awake .faces__shot:nth-child(4) img { transition-delay: 0.38s; }
.faces.is-awake .faces__shot:nth-child(5) img { transition-delay: 0.49s; }
.faces.is-awake .faces__shot:nth-child(6) img { transition-delay: 0.6s; }

.faces__shot:hover img {
  transform: scale(1.05);
  filter: brightness(1.05) saturate(1);
}

/* Lightbox */
body.is-locked {
  overflow: hidden;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 3, 6, 0.86);
  backdrop-filter: blur(6px);
}

.lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  display: grid;
  gap: 0;
  background: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

@media (min-width: 820px) {
  .lightbox__panel {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    min-height: min(78vh, 640px);
  }
}

.lightbox__close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  z-index: 3;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--forge-edge);
  background: var(--forge-face);
  color: var(--bone);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--forge-inset);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}

.lightbox__close:hover {
  border-color: var(--forge-edge-hot);
  color: var(--gold);
  background: var(--forge-face-hot);
}

.lightbox__nav {
  position: absolute;
  top: 42%;
  z-index: 3;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--forge-edge);
  background: var(--forge-face);
  color: var(--bone);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--forge-inset);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}

.lightbox__nav:hover {
  border-color: var(--forge-edge-hot);
  color: var(--gold);
  background: var(--forge-face-hot);
}

.lightbox__nav--prev { left: 0.6rem; }
.lightbox__nav--next { right: 0.6rem; }

@media (min-width: 820px) {
  .lightbox__nav--prev { left: 0.75rem; }
  .lightbox__nav--next { left: calc(52% - 1.5rem); right: auto; }
}

.lightbox__frame {
  background: #050408;
  min-height: 16rem;
}

.lightbox__img {
  width: 100%;
  height: min(52vh, 420px);
  object-fit: cover;
  object-position: center top;
}

@media (min-width: 820px) {
  .lightbox__img {
    height: 100%;
    min-height: 640px;
  }
}

.lightbox__meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem 1.35rem 1.6rem;
}

.lightbox__kicker {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ember);
}

.lightbox__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  letter-spacing: 0.08em;
}

.lightbox__text {
  margin: 0;
  color: var(--ash);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 28rem;
}

.lightbox__dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.lightbox__dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(154, 144, 136, 0.45);
  cursor: pointer;
}

.lightbox__dot.is-active {
  background: var(--ember);
}

/* Chronicle — lore strip */
.chronicle {
  position: relative;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.chronicle__bg {
  position: absolute;
  inset: 0;
}

.chronicle__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.35) saturate(0.75);
}

.chronicle__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 6, 10, 0.92) 0%, rgba(7, 6, 10, 0.78) 45%, rgba(7, 6, 10, 0.55) 100%),
    linear-gradient(180deg, var(--void), transparent 18%, transparent 82%, var(--void));
}

.chronicle__inner {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3.5rem);
}

.chronicle__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 820px) {
  .chronicle__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 3rem;
    align-items: start;
  }
}

.chronicle__lead {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.55;
  letter-spacing: 0.03em;
  color: var(--bone);
}

.chronicle__lead strong {
  color: var(--gold);
  font-weight: 600;
}

.chronicle__points {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.chronicle__points li {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(154, 144, 136, 0.2);
  color: var(--ash);
  font-size: 0.95rem;
}

@media (min-width: 560px) {
  .chronicle__points li {
    grid-template-columns: 6.5rem 1fr;
    gap: 1rem;
    align-items: baseline;
  }
}

.chronicle__points span {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
}

.chronicle__points em {
  font-style: normal;
  color: var(--gold);
}

/* Start */
.start {
  padding: clamp(4rem, 9vw, 7rem) clamp(1.25rem, 5vw, 3.5rem);
  max-width: 1080px;
  margin: 0 auto;
}

.start__split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .start__split {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 2.5rem;
    align-items: center;
  }
}

.start__art {
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}

.start__art img {
  width: 100%;
  height: clamp(14rem, 40vw, 24rem);
  object-fit: cover;
  object-position: center;
  transition: transform 1.2s var(--ease);
}

.start__art:hover img {
  transform: scale(1.03);
}

.start__art figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 2rem 1rem 0.9rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone);
  background: linear-gradient(180deg, transparent, rgba(7, 6, 10, 0.9));
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.steps__item {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(154, 144, 136, 0.18);
}

.steps__num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ember);
  line-height: 1.2;
}

.steps__item h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}

.steps__item p {
  margin: 0;
  color: var(--ash);
  font-size: 0.95rem;
}

.steps__item p + p,
.steps__item .realmlist + p {
  margin-top: 0.55rem;
}

.steps__link {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  color: var(--gold);
  background: var(--forge-face);
  border: 1px solid var(--forge-edge);
  box-shadow: var(--forge-inset);
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.steps__link:hover {
  color: var(--bone);
  border-color: var(--forge-edge-hot);
  background: var(--forge-face-hot);
}

.realmlist {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.6rem 0.95rem;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.82rem;
  color: var(--bone);
  background: var(--forge-face);
  border: 1px solid var(--forge-edge);
  box-shadow: var(--forge-inset), 0 6px 16px rgba(0, 0, 0, 0.3);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.realmlist:hover {
  border-color: var(--forge-edge-hot);
  background: var(--forge-face-hot);
  box-shadow:
    var(--forge-inset),
    0 0 0 1px rgba(196, 90, 58, 0.2),
    0 8px 18px rgba(0, 0, 0, 0.35);
}

.realmlist[data-copied="1"]::after {
  content: " — скопировано";
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.75rem;
}

/* Community */
.community {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 5vw, 3.5rem) clamp(4rem, 9vw, 7rem);
  max-width: 980px;
  margin: 0 auto;
}

.community__banner {
  position: relative;
  margin: 0 0 1.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: clamp(12rem, 32vw, 18rem);
}

.community__banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.55) saturate(0.9);
}

.community__banner-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: inherit;
  padding: 2.5rem 1.4rem 1.5rem;
  background: linear-gradient(180deg, transparent 10%, rgba(7, 6, 10, 0.88));
}

.community__banner-copy h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  letter-spacing: 0.14em;
}

.community__banner-copy p {
  margin: 0;
  max-width: 28rem;
  color: var(--ash);
  font-size: 0.95rem;
}

.links {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .links {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.links__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--bone);
  background: var(--forge-face);
  border: 1px solid var(--forge-edge);
  box-shadow: var(--forge-inset), 0 8px 20px rgba(0, 0, 0, 0.3);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition:
    border-color 0.35s var(--ease),
    background 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    transform 0.35s var(--ease),
    color 0.35s var(--ease);
}

.links__item:hover {
  border-color: var(--forge-edge-hot);
  background: var(--forge-face-hot);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow:
    var(--forge-inset),
    0 0 0 1px rgba(196, 90, 58, 0.2),
    0 12px 26px rgba(0, 0, 0, 0.4);
}

.links__item[aria-disabled="true"] {
  opacity: 0.7;
  cursor: default;
}

.links__item[aria-disabled="true"]:hover {
  border-color: var(--forge-edge);
  background: var(--forge-face);
  color: var(--bone);
  transform: none;
  box-shadow: var(--forge-inset), 0 8px 20px rgba(0, 0, 0, 0.3);
}

.links__item strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
}

.links__item span {
  font-size: 0.85rem;
  color: var(--ash);
}

/* Footer */
.site-footer {
  padding: 2.5rem 1.5rem 3.5rem;
  text-align: center;
  border-top: 1px solid rgba(154, 144, 136, 0.14);
}

.site-footer__brand {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.site-footer p:last-child {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash);
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(1.1rem);
  transition: opacity 0.95s var(--ease), transform 0.95s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.charter.reveal:nth-child(2) { transition-delay: 0.06s; }
.charter.reveal:nth-child(3) { transition-delay: 0.1s; }
.charter.reveal:nth-child(4) { transition-delay: 0.14s; }
.progress__block.reveal:nth-child(2) { transition-delay: 0.1s; }
.steps__item.reveal:nth-child(2) { transition-delay: 0.08s; }
.steps__item.reveal:nth-child(3) { transition-delay: 0.16s; }
.links__item.reveal:nth-child(2) { transition-delay: 0.08s; }
.links__item.reveal:nth-child(3) { transition-delay: 0.16s; }
.chronicle__points li.reveal:nth-child(2) { transition-delay: 0.06s; }
.chronicle__points li.reveal:nth-child(3) { transition-delay: 0.12s; }
.chronicle__points li.reveal:nth-child(4) { transition-delay: 0.18s; }

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.6rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes faces-ember {
  0% {
    opacity: 0;
    transform: translateX(-35%);
  }
  35% {
    opacity: 0.85;
  }
  55% {
    opacity: 0.35;
  }
  70% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: translateX(35%);
  }
}

@keyframes hero-ken {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(0, -1.5%, 0); }
}

@keyframes ash-drift {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.65; }
}

@keyframes scroll-dot {
  0% { top: 0; opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

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

  .hero__content,
  .hero__plane img,
  .ash,
  .hero__scroll span,
  .faces.is-awake .faces__shot::after {
    animation: none;
  }

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

  .faces__shot::before {
    opacity: 0;
  }

  .faces__shot img {
    filter: none;
  }

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

  .btn:hover,
  .charter:hover .charter__art img,
  .progress__art:hover img,
  .start__art:hover img,
  .faces__shot:hover,
  .faces__shot:hover img,
  .virtues__art:hover img {
    transform: none;
  }
}

@media (max-width: 640px) {
  .site-nav {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.45rem;
    padding-top: 0.65rem;
  }

  .site-nav__brand {
    justify-self: center;
  }

  .site-nav__links {
    gap: 0.28rem;
    padding: 0.28rem 0.35rem;
    max-width: 100%;
  }

  .spell-btn {
    width: 36px;
    height: 36px;
  }

  .spell-btn__tip {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    padding: 0.28rem 0.5rem;
  }

  .hero {
    align-items: center;
    padding-bottom: 4rem;
  }

  .band {
    padding-block: clamp(2.5rem, 7vw, 4rem);
  }

  .band__frame {
    margin-inline: 0.75rem;
    padding: 1.25rem 0.85rem 1.5rem;
  }
}

/* ===== Band panels (Elden-inspired, our palette) ===== */
.band {
  position: relative;
  isolation: isolate;
  padding-block: clamp(2.25rem, 5vw, 4rem);
  overflow: hidden;
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.28;
  filter: saturate(0.75) brightness(0.55);
}

.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(7, 6, 10, 0.72), rgba(7, 6, 10, 0.55) 40%, rgba(7, 6, 10, 0.82)),
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(184, 154, 106, 0.06), transparent 60%);
  pointer-events: none;
}

.band--mist::before {
  background-image: url("../images/bg-section-mist.png");
}

.band--plain::before {
  background-image: url("../images/bg-section-plain.png");
}

.band > .band__frame {
  position: relative;
  z-index: 1;
}

.band__frame {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 3vw, 2rem);
  border: 1px solid rgba(232, 223, 212, 0.22);
  background: rgba(7, 6, 10, 0.42);
  box-shadow:
    inset 0 0 0 1px rgba(184, 154, 106, 0.08),
    0 20px 50px rgba(0, 0, 0, 0.35);
}

.band__frame--flush {
  max-width: 1180px;
  padding-left: 0;
  padding-right: 0;
}

.band__frame--flush .section-head {
  padding-inline: clamp(1rem, 3vw, 2rem);
}

.band__frame--on-media {
  max-width: 1080px;
  background: rgba(7, 6, 10, 0.28);
}

.band__node {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold);
  background: rgba(7, 6, 10, 0.95);
  transform: rotate(45deg);
  z-index: 2;
  pointer-events: none;
}

.band__node--tl { top: -4px; left: -4px; }
.band__node--tr { top: -4px; right: -4px; }
.band__node--bl { bottom: -4px; left: -4px; }
.band__node--br { bottom: -4px; right: -4px; }

/* Override old max-width paddings when inside bands */
.band.faces,
.band.realm,
.band.virtues,
.band.progress,
.band.start,
.band.community,
.band.chronicle {
  max-width: none;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: clamp(2.25rem, 5vw, 4rem);
  padding-bottom: clamp(2.25rem, 5vw, 4rem);
}

.band.faces {
  padding-top: clamp(2.25rem, 5vw, 4rem);
}

.band.chronicle {
  position: relative;
  min-height: 0;
  padding-block: clamp(2.5rem, 5.5vw, 4.25rem);
}

.band.chronicle .chronicle__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.band.chronicle .chronicle__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.band.chronicle .band__frame {
  z-index: 1;
  margin-inline: auto;
}

.band.chronicle .chronicle__inner {
  max-width: none;
  padding: 0;
}

.band.faces .faces__rail {
  padding-left: clamp(1rem, 3vw, 2rem);
  padding-right: clamp(1rem, 3vw, 2rem);
}

.band .charters,
.band.virtues .virtues__list,
.band.progress .progress__layout,
.band.start .start__split,
.band.community .links {
  max-width: none;
}

/* Kill old section paddings that stacked with bands */
.band.realm,
.band.virtues,
.band.progress,
.band.start,
.band.community {
  padding-inline: 0;
}

/* Refined spell-bar nav */
.site-nav__links {
  border-radius: 0;
}

.spell-btn {
  clip-path: none;
  border-radius: 2px;
}

/* Ceremonial CTA with side flourishes */
.btn {
  clip-path: none;
  position: relative;
  background: rgba(14, 12, 18, 0.85);
  border: 1px solid rgba(184, 154, 106, 0.55);
  box-shadow:
    inset 0 0 0 1px rgba(232, 223, 212, 0.06),
    0 10px 28px rgba(0, 0, 0, 0.35);
  letter-spacing: 0.2em;
}

.btn::before,
.btn::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(184, 154, 106, 0.45);
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
  opacity: 0.85;
}

.btn::before {
  left: -11px;
  border-right: none;
  border-top: none;
  background: linear-gradient(135deg, transparent 45%, rgba(184, 154, 106, 0.15));
}

.btn::after {
  right: -11px;
  border-left: none;
  border-bottom: none;
  background: linear-gradient(-45deg, transparent 45%, rgba(184, 154, 106, 0.15));
}

.btn--ember {
  background: linear-gradient(180deg, rgba(140, 60, 40, 0.95), rgba(70, 30, 22, 0.98));
  border-color: rgba(232, 190, 140, 0.5);
}

.btn--ember:hover {
  border-color: rgba(255, 220, 170, 0.7);
  box-shadow:
    inset 0 0 0 1px rgba(255, 220, 180, 0.12),
    0 0 22px rgba(196, 90, 58, 0.28),
    0 12px 28px rgba(0, 0, 0, 0.4);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(20, 16, 22, 0.92);
  box-shadow:
    inset 0 0 0 1px rgba(184, 154, 106, 0.12),
    0 0 20px rgba(184, 154, 106, 0.14);
}

.links__item,
.steps__link,
.realmlist {
  clip-path: none;
}

.links__item {
  background: rgba(14, 12, 18, 0.72);
  border: 1px solid rgba(232, 223, 212, 0.22);
  box-shadow: inset 0 0 0 1px rgba(184, 154, 106, 0.06);
}

.links__item:hover {
  border-color: var(--gold);
  box-shadow:
    inset 0 0 0 1px rgba(184, 154, 106, 0.12),
    0 0 20px rgba(184, 154, 106, 0.12);
}

.site-footer {
  border-top: 1px solid rgba(232, 223, 212, 0.14);
  background:
    linear-gradient(180deg, transparent, rgba(7, 6, 10, 0.9)),
    radial-gradient(ellipse 50% 80% at 50% 100%, rgba(184, 154, 106, 0.06), transparent 70%);
}

/* News modal */
.news-modal[hidden] {
  display: none;
}

.news-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
}

.news-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 3, 7, 0.78);
  backdrop-filter: blur(4px);
}

.news-modal__panel {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: min(88vh, 820px);
  overflow: hidden;
  border: 1px solid rgba(184, 154, 106, 0.45);
  box-shadow:
    0 0 0 1px rgba(232, 223, 212, 0.06),
    0 24px 64px rgba(0, 0, 0, 0.65),
    0 0 48px rgba(196, 90, 58, 0.12);
}

.news-modal__bg,
.news-modal__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.news-modal__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.news-modal__shade {
  background:
    linear-gradient(180deg, rgba(7, 6, 10, 0.55) 0%, rgba(7, 6, 10, 0.78) 38%, rgba(7, 6, 10, 0.94) 100%),
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(196, 90, 58, 0.14), transparent 60%);
}

.news-modal__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: min(88vh, 820px);
  overflow: auto;
  padding: clamp(1.25rem, 3.5vw, 2.1rem) clamp(1.5rem, 4vw, 2.4rem) clamp(1.5rem, 4vw, 2.4rem);
}

.news-modal__banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin: -0.15rem 0 0.35rem;
  padding: 0.85rem 0.5rem 1rem;
  border-bottom: 1px solid rgba(184, 154, 106, 0.35);
  background:
    linear-gradient(180deg, rgba(184, 154, 106, 0.08), transparent 70%);
  text-align: center;
}

.news-modal__ornament {
  display: block;
  width: min(220px, 72%);
  height: 10px;
  background:
    linear-gradient(90deg, transparent, rgba(184, 154, 106, 0.75), transparent);
  position: relative;
}

.news-modal__ornament::before,
.news-modal__ornament::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(232, 200, 140, 0.85);
  background: rgba(196, 90, 58, 0.35);
  transform: translateY(-50%) rotate(45deg);
  box-shadow: 0 0 10px rgba(184, 154, 106, 0.35);
}

.news-modal__ornament::before {
  left: 18%;
}

.news-modal__ornament::after {
  right: 18%;
}

.news-modal__ornament--flip {
  opacity: 0.85;
}

.news-modal__kicker {
  margin: 0;
  color: #f0d9a0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.36em;
  line-height: 1.2;
  text-align: center;
  text-indent: 0.36em;
  text-transform: uppercase;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.95),
    0 0 24px rgba(184, 154, 106, 0.4),
    0 2px 12px rgba(0, 0, 0, 0.8);
}

.news-modal__title {
  margin: 0;
  color: #fff8ee;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.9),
    0 2px 14px rgba(0, 0, 0, 0.75);
}

.news-modal__title--date {
  color: #f4e6c8;
  font-size: clamp(1.55rem, 3.6vw, 2.05rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.18em;
  text-align: center;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.95),
    0 0 20px rgba(184, 154, 106, 0.22),
    0 2px 14px rgba(0, 0, 0, 0.75);
}

.news-modal__text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #f3ebe1;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  font-weight: 500;
  line-height: 1.7;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.news-modal__text p {
  margin: 0;
}

.news-modal__text strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #ffe4c4;
  font-family: var(--font-display);
  font-size: 1.05em;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.95),
    0 0 18px rgba(196, 90, 58, 0.25);
}

.news-modal__ok {
  align-self: flex-start;
  margin-top: 0.35rem;
}
