:root {
  --night: #050b10;
  --fjord: #081722;
  --iron: #102a3a;
  --frost: #8fafc2;
  --ice: #dceaf0;
  --snow: #f1f5f6;
  --steel: #536b78;
  --ancient: #1c5270;
  --spirit: #3fa8d0;
  --sepia: #80684d;
  --ember: #8a6044;
  --black: #020508;
  --display: "Cinzel Decorative", serif;
  --body: "Cormorant Garamond", "Palatino Linotype", serif;
  --gutter: 6vw;
  --measure: 34rem;
}

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

html {
  background: var(--night);
  color: var(--ice);
  font-family: var(--body);
  font-size: 18px;
  scrollbar-color: var(--steel) var(--night);
}

body {
  margin: 0;
  overflow-x: hidden;
  line-height: 1.7;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--night);
}

::-webkit-scrollbar-thumb {
  background: var(--steel);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--frost);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.03;
  mix-blend-mode: overlay;
  background-image: repeating-linear-gradient(0deg, #fff 0 1px, transparent 1px 2px), repeating-linear-gradient(90deg, #fff 0 1px, transparent 1px 3px);
}

.display {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--snow);
  text-transform: uppercase;
  line-height: 1.15;
}

h1.display {
  font-size: clamp(1.9rem, 8.4vw, 7rem);
  margin: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  text-shadow: 0 0 60px rgba(5, 11, 16, 0.9), 0 2px 2px var(--black);
}

@media (max-width: 767px) {
  h1.display {
    letter-spacing: 0.06em;
  }
  .display {
    letter-spacing: 0.1em;
  }
}
h2.display {
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  margin: 0 0 2.5rem;
}

h3.display {
  font-size: 1rem;
  letter-spacing: 0.22em;
  margin: 0;
}

.label {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--steel);
}

p {
  max-width: var(--measure);
}

a {
  color: var(--frost);
  text-decoration: none;
  transition: color 0.4s ease;
}

a:hover,
a:focus-visible {
  color: var(--snow);
}

.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 50;
}

.rune-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 3rem 0;
  color: var(--steel);
}

.rune-divider .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--steel), transparent);
}

.rune {
  color: var(--steel);
  font-size: 0.9rem;
}

.ornate-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 2rem);
  margin-bottom: 2.6rem;
  color: var(--steel);
  text-align: center;
}

.ornate-heading h1,
.ornate-heading h2,
.ornate-heading h3 {
  margin: 0;
  flex: 0 1 auto;
}

.ornament {
  flex: 0 1 12rem;
  width: clamp(4rem, 12vw, 12rem);
  height: auto;
  opacity: 0.7;
}

.ornament--flip {
  scale: -1 1;
}

.god-columns .ornate-heading,
.member .ornate-heading,
.chapter .ornate-heading {
  justify-content: flex-start;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.god-columns .ornate-heading .ornament:first-child,
.member .ornate-heading .ornament:first-child,
.chapter .ornate-heading .ornament:first-child {
  display: none;
}

.god-columns .ornate-heading h2,
.member .ornate-heading h2,
.chapter .ornate-heading h2 {
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.god-columns .ornament,
.member .ornament {
  flex: 1 1 auto;
  width: auto;
  min-width: 3rem;
}

.knot-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 3.2rem 0;
  color: var(--steel);
}

.knot-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(83, 107, 120, 0.55), transparent);
}

.knot {
  flex: 0 0 auto;
  width: 7.5rem;
  height: auto;
  opacity: 0.75;
}

@media (max-width: 767px) {
  .ornament {
    display: none;
  }
  .knot {
    width: 5rem;
  }
}
.hero {
  position: relative;
  min-height: max(100svh, 700px);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.hero-layers {
  position: absolute;
  inset: -6% 0;
}

.hero-layers .layer {
  position: absolute;
  inset: 0;
}

.layer-plate {
  background-size: cover;
  background-position: center 55%;
  transform: translateY(var(--parallax-mid, 0px)) scale(1.04);
}

.layer-sky {
  background: linear-gradient(180deg, var(--black) 0%, transparent 45%);
  transform: translateY(var(--parallax-sky, 0px));
}

.layer-glow {
  background: radial-gradient(circle at 50% 62%, rgba(63, 168, 208, 0.16), transparent 55%);
  animation: breathe 14s ease-in-out infinite;
}

.layer-fog {
  background: linear-gradient(90deg, transparent, rgba(143, 175, 194, 0.1) 40%, transparent 75%);
  animation: drift-a 48s linear infinite;
}

.layer-fog-far {
  background: linear-gradient(270deg, transparent, rgba(143, 175, 194, 0.07) 55%, transparent);
  animation: drift-b 72s linear infinite;
}

.layer-foreground {
  background: linear-gradient(0deg, var(--night) 2%, transparent 38%);
  transform: translateY(var(--parallax-fore, 0px));
}

.snow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 8rem 1.5rem 6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.emblem {
  position: relative;
  width: clamp(9rem, 17vw, 15rem);
  margin: 0;
  filter: drop-shadow(0 0 40px rgba(5, 11, 16, 0.85));
}

.emblem img {
  display: block;
  width: 100%;
  height: auto;
}

.emblem::after {
  content: "";
  position: absolute;
  inset: 34% 28% 44%;
  background: radial-gradient(circle, rgba(63, 168, 208, 0.45), transparent 70%);
  filter: blur(6px);
  animation: glow 6s ease-in-out infinite;
  pointer-events: none;
}

.motto {
  max-width: none;
  margin: 0.8rem 0 0;
  font-size: clamp(0.66rem, 1.7vw, 1.05rem);
  letter-spacing: clamp(0.2em, 0.8vw, 0.42em);
  text-transform: uppercase;
  color: var(--frost);
}

.scroll-hint {
  margin-top: 2.5rem;
  color: var(--steel);
  font-size: 1.4rem;
  animation: nudge 3.5s ease-in-out infinite;
}

@keyframes drift-a {
  from {
    transform: translateX(-10%);
  }
  to {
    transform: translateX(10%);
  }
}
@keyframes drift-b {
  from {
    transform: translateX(8%);
  }
  to {
    transform: translateX(-8%);
  }
}
@keyframes glow {
  0%, 100% {
    opacity: 0.65;
  }
  50% {
    opacity: 1;
  }
}
@keyframes breathe {
  0%, 100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}
@keyframes nudge {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateY(8px);
    opacity: 1;
  }
}
@media (max-width: 767px) {
  .layer-fog-far,
  .layer-glow {
    display: none;
  }
  .layer-plate {
    transform: none;
    background-position: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .layer-fog,
  .layer-fog-far,
  .layer-glow,
  .emblem::after,
  .scroll-hint {
    animation: none;
  }
  .hero-layers .layer {
    transform: none;
  }
}
.cinematic-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 1.1rem var(--gutter);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.6s ease, border-color 0.6s ease;
}

.cinematic-nav a {
  font-family: var(--display);
  font-size: clamp(0.56rem, 0.72vw, 0.66rem);
  letter-spacing: clamp(0.12em, 0.5vw, 0.26em);
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--frost);
}

@media (max-width: 1199px) {
  .cinematic-nav {
    gap: 0.6rem;
    padding-inline: 0.9rem;
  }
}
.cinematic-nav.is-scrolled {
  background: rgba(3, 10, 15, 0.85);
  backdrop-filter: blur(8px);
  border-bottom-color: rgba(83, 107, 120, 0.35);
}

.section {
  position: relative;
  padding: 7rem var(--gutter);
}

.section--fjord {
  background: linear-gradient(180deg, var(--night), var(--fjord) 22%, var(--fjord) 78%, var(--night));
}

.section-intro {
  color: var(--frost);
  font-style: italic;
}

.geschichte-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.chronicle-text {
  font-size: 1.02rem;
}

.chronicle-text h1,
.chronicle-text h2,
.chronicle-text h3 {
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--frost);
  margin: 2.2rem 0 0.8rem;
}

.chronicle-text p {
  color: var(--ice);
}

.chronicle-text ul {
  padding-left: 1.1rem;
  color: var(--frost);
}

.plate {
  position: relative;
  margin: 0;
}

.plate img {
  display: block;
  width: 100%;
  height: auto;
}

.plate-caption {
  display: flex;
  justify-content: space-between;
  margin-top: 0.9rem;
}

.lore-image,
.gallery-image,
.character-image {
  filter: sepia(0.92) saturate(0.4) contrast(0.92) brightness(0.8);
  transform: scale(1.04);
  transition: filter 1.9s ease, transform 2.1s ease;
}

.gallery-image {
  filter: sepia(1) grayscale(0.35) brightness(0.75);
}

.lore-image.is-visible,
.lore-image.is-color,
.gallery-image.is-visible,
.gallery-image.is-color,
.character-image.is-visible,
.character-image.is-color {
  filter: sepia(0) saturate(1) contrast(1.05) brightness(1);
  transform: scale(1);
}

.mural-item:nth-child(2n).is-visible {
  transition-delay: 0.15s;
}

.mural-item:nth-child(3n).is-visible {
  transition-delay: 0.3s;
}

.goetter {
  overflow: hidden;
}

.rune-background {
  position: absolute;
  top: 50%;
  right: -12vw;
  width: min(46vw, 40rem);
  translate: 0 -50%;
  opacity: 0.055;
  transform: translateY(var(--parallax-rune, 0px));
  pointer-events: none;
}

.rune-background img {
  display: block;
  width: 100%;
  height: auto;
}

.god-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.god-grid > li {
  padding: 0 1.4rem;
  text-align: center;
  border-left: 1px solid rgba(83, 107, 120, 0.3);
}

.god-grid > li:first-child {
  border-left: 0;
}

.god-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--ice);
}

.god-symbol {
  width: clamp(3.4rem, 6vw, 5.5rem);
  height: auto;
  opacity: 0.65;
  transition: opacity 0.5s ease, filter 0.5s ease, transform 0.5s ease;
}

.god-grid > li:hover .god-symbol,
.god-grid > li:focus-within .god-symbol,
.tile a:hover .tile-symbol .god-symbol {
  opacity: 1;
  filter: drop-shadow(0 0 14px rgba(63, 168, 208, 0.55));
  transform: scale(1.04);
}

.god-name {
  margin: 1.2rem 0 0.7rem;
  color: var(--snow);
}

.god-keywords {
  list-style: none;
  margin: 0;
  padding: 0;
}

.god-keywords li {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
}

.halbgoetter {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  justify-content: center;
  list-style: none;
  margin: 3.5rem 0 0;
  padding: 0;
}

.halbgoetter li {
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--steel);
}

.galerie {
  padding-inline: 0;
}

.galerie > .ornate-heading,
.galerie > .knot-divider,
.galerie > .section-intro,
.galerie > p {
  margin-inline: var(--gutter);
}

.galerie > .section-intro {
  margin-bottom: 2rem;
}

.mural {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}

.mural-item {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  grid-column: span 2;
  aspect-ratio: 4/3;
  clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%);
  margin-inline: -1.6%;
}

.mural .mural-item:first-child {
  grid-column: 1/-1;
  aspect-ratio: 21/9;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 50% 100%, 0 88%);
  margin-inline: 0;
}

.mural-item.mural-wide {
  grid-column: span 4;
  aspect-ratio: 16/9;
}

.mural-item.mural-tall {
  grid-column: span 2;
  aspect-ratio: 3/4;
}

.mural-item:nth-child(even) {
  clip-path: polygon(0 0, 93% 0, 100% 100%, 7% 100%);
}

.galerie--event .mural {
  margin-top: 1.5rem;
}

.mural-empty {
  margin-inline: var(--gutter);
  color: var(--steel);
  font-style: italic;
}

.halbgoetter li.label {
  color: rgba(83, 107, 120, 0.75);
}

.cinematic-nav a.is-current {
  color: var(--snow);
}

.weiterlesen {
  font-family: var(--display);
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.poster {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}

.poster .layer-plate {
  position: absolute;
  inset: 0;
  background-position: center;
}

.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--night) 0%, transparent 30%, rgba(5, 11, 16, 0.55));
}

.poster-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.tagline {
  max-width: none;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(0.7rem, 1.8vw, 1.05rem);
  letter-spacing: 0.38em;
  color: var(--frost);
}

.site-footer {
  padding: 3rem var(--gutter) 4rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  background: var(--black);
}

.member {
  padding: 9rem var(--gutter) 6rem;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.member .character-image {
  display: block;
  width: 100%;
  height: auto;
}

.member-cohorts {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.member-cohorts li {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
}

.chronicle-page {
  max-width: 46rem;
  margin: 0 auto;
  padding: 9rem 1.5rem 6rem;
}

.lore-gap {
  color: var(--steel);
  font-style: italic;
}

@media (max-width: 1199px) {
  .rune-background {
    opacity: 0.04;
  }
}
@media (max-width: 767px) {
  :root {
    --gutter: 1.4rem;
  }
  .geschichte-split,
  .member {
    grid-template-columns: 1fr;
  }
  .god-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 0;
  }
  .god-grid > li:nth-child(odd) {
    border-left: 0;
  }
  .rune-background {
    display: none;
  }
  .mural-item,
  .mural-item.mural-wide,
  .mural-item.mural-tall {
    grid-column: 1/-1;
    aspect-ratio: 4/3;
  }
  .mural-item:nth-child(4n) {
    clip-path: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lore-image,
  .gallery-image,
  .character-image {
    transition: none;
  }
  .rune-background {
    transform: none;
  }
}
.page-header {
  position: relative;
  min-height: min(68svh, 40rem);
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
}

.page-header .layer-plate,
.god-hero .layer-plate,
.chapter-plate {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
}

.page-header::after,
.god-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 5, 8, 0.85) 0%, rgba(5, 11, 16, 0.45) 45%, var(--night) 100%);
}

.page-header-copy,
.god-hero-copy {
  position: relative;
  z-index: 2;
  padding: 8rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.page-header-copy h1,
.god-hero-copy h1 {
  font-size: clamp(2rem, 6vw, 4.4rem);
}

.page-lead {
  color: var(--frost);
  font-style: italic;
  text-align: center;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  gap: clamp(1.2rem, 2.5vw, 2.2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.tile-grid--gods {
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
}

.tile-grid--events {
  grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
}

.tile a {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--ice);
}

.tile-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3/4;
  border: 1px solid rgba(83, 107, 120, 0.3);
  background: var(--black);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 92% 100%, 0 100%);
}

.tile-frame--wide {
  aspect-ratio: 16/10;
}

.tile-frame--plate {
  aspect-ratio: 2/3;
}

.tile-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s ease, filter 1.6s ease;
}

.tile-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 11, 16, 0.1) 0%, rgba(5, 11, 16, 0.8) 100%), linear-gradient(0deg, rgba(28, 82, 112, 0.35), rgba(28, 82, 112, 0.35));
  mix-blend-mode: multiply;
  transition: opacity 0.6s ease;
}

.tile a:hover .tile-frame::after,
.tile a:focus-visible .tile-frame::after {
  opacity: 0.6;
}

.tile a:hover .tile-frame img,
.tile a:focus-visible .tile-frame img {
  transform: scale(1.05);
}

.tile a:hover .tile-frame,
.tile a:focus-visible .tile-frame {
  border-color: rgba(63, 168, 208, 0.55);
}

.tile-symbol {
  display: block;
  margin-top: -2.6rem;
  margin-left: 0.6rem;
}

.tile-symbol img {
  width: 3.2rem;
  height: auto;
  opacity: 0.85;
  filter: drop-shadow(0 0 12px var(--black));
}

.tile-name {
  font-size: 0.86rem;
  letter-spacing: 0.14em;
}

.god-hero {
  position: relative;
  min-height: min(78svh, 46rem);
  display: grid;
  place-items: end center;
  overflow: hidden;
}

.god-sigil {
  width: clamp(4.5rem, 9vw, 7.5rem);
  height: auto;
  filter: drop-shadow(0 0 22px rgba(63, 168, 208, 0.35));
}

.god-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.attribute-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.attribute-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(83, 107, 120, 0.22);
  font-size: 0.95rem;
}

.kin-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.kin-name {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  margin-right: 0.7rem;
}

.kin-note {
  color: var(--steel);
  font-size: 0.9rem;
}

.mention-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.8rem;
}

.mention-list blockquote {
  margin: 0 0 0.5rem;
  padding-left: 1.2rem;
  border-left: 1px solid rgba(63, 168, 208, 0.45);
  color: var(--ice);
  font-style: italic;
}

.god-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.god-switch a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.god-switch img {
  width: 2.8rem;
  opacity: 0.55;
  transition: opacity 0.4s ease;
}

.god-switch a:hover img,
.god-switch a:focus-visible img {
  opacity: 1;
}

.chapter {
  position: relative;
  max-width: 52rem;
  margin: 0 auto;
  padding: 9rem 1.5rem 5rem;
  animation: chapter-in 0.7s ease both;
}

@keyframes chapter-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.chapter-plate {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.16;
  background-position: center;
}

.chapter-head h1 {
  font-size: clamp(1.7rem, 4.4vw, 3rem);
  margin: 0.6rem 0 1.4rem;
}

.chapter-progress {
  height: 1px;
  background: rgba(83, 107, 120, 0.3);
}

.chapter-progress span {
  display: block;
  height: 1px;
  background: var(--spirit);
  box-shadow: 0 0 10px var(--spirit);
  transition: width 1s ease;
}

.chapter-body {
  margin-top: 2.5rem;
}

.chapter-body p,
.chapter-body li {
  max-width: none;
}

.chapter-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.chapter-step {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(83, 107, 120, 0.28);
  background: rgba(8, 23, 34, 0.55);
  transition: border-color 0.4s ease, background 0.4s ease, transform 0.4s ease;
}

.chapter-step.is-empty {
  border-color: transparent;
  background: none;
}

.chapter-step--next {
  text-align: right;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 6% 100%);
}

.chapter-step--back {
  clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
}

.chapter-step:hover,
.chapter-step:focus-visible {
  border-color: rgba(63, 168, 208, 0.55);
  background: rgba(16, 42, 58, 0.65);
  transform: translateY(-2px);
}

.chapter-step-title {
  font-size: 0.86rem;
  letter-spacing: 0.12em;
}

.chapter-arrow {
  color: var(--spirit);
  font-size: 1.2rem;
  animation: pull 2.8s ease-in-out infinite;
}

.chapter-step:hover .chapter-arrow {
  animation-duration: 1.2s;
}

@keyframes pull {
  0%, 100% {
    transform: translateX(0);
    opacity: 0.6;
  }
  50% {
    transform: translateX(6px);
    opacity: 1;
  }
}
.chapter-list {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  counter-reset: chapter;
}

.chapter-list a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1.4rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(83, 107, 120, 0.22);
}

.chapter-list a:hover,
.chapter-list a:focus-visible {
  border-bottom-color: rgba(63, 168, 208, 0.55);
}

.chapter-title {
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}

.chapter-list--full a {
  padding: 1.2rem 0;
}

.event-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.4rem;
  list-style: none;
  margin: 2.5rem var(--gutter) 0;
  padding: 0;
}

.event-strip a {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.event-name {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
}

.event-strip li.is-current .event-name {
  color: var(--spirit);
}

.event-breadcrumb {
  display: block;
  margin: 0 var(--gutter) 1rem;
}

.member-page .member {
  padding-bottom: 3rem;
}

.member-name {
  font-size: clamp(1.9rem, 5vw, 3.4rem);
}

.member-note {
  text-align: left;
  letter-spacing: 0.16em;
}

.source-note {
  margin-top: 2.5rem;
  display: block;
  color: rgba(83, 107, 120, 0.75);
}

.poster-title {
  font-size: clamp(2rem, 6vw, 4.5rem);
  margin: 0;
}

@media (max-width: 767px) {
  .god-columns,
  .chapter-nav {
    grid-template-columns: 1fr;
  }
  .chapter-step--next,
  .chapter-step--back {
    clip-path: none;
    text-align: left;
  }
  .event-strip {
    margin-inline: var(--gutter);
  }
}
@media (prefers-reduced-motion: reduce) {
  .chapter {
    animation: none;
  }
  .chapter-arrow,
  .tile-frame img {
    animation: none;
    transition: none;
  }
}
