:root {
  color-scheme: dark;
  --bg: #080604;
  --paper: #d7c9a6;
  --paper-deep: #9a8f6e;
  --ink: #f1e4c2;
  --muted: #b6aa8b;
  --line: #4a3325;
  --panel: #17110b;
  --panel-2: #21170d;
  --blood: #6f0f12;
  --ember: #b24b20;
  --acid: #f019c8;
  --moss: #415638;
  --rot: #8c7f37;
  --stone: #18130d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(8, 6, 4, 0.22), var(--bg) 42rem),
    repeating-linear-gradient(0deg, rgba(215, 201, 166, 0.035) 0 1px, transparent 1px 4px),
    radial-gradient(circle at 15% 8%, rgba(240, 25, 200, 0.13), transparent 18rem),
    radial-gradient(circle at 88% 18%, rgba(65, 86, 56, 0.22), transparent 24rem),
    radial-gradient(circle at 65% 86%, rgba(111, 15, 18, 0.2), transparent 28rem),
    var(--bg);
  color: var(--ink);
  font-family: "Trebuchet MS", "Arial Narrow", Arial, sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.15;
  background-image:
    repeating-linear-gradient(18deg, transparent 0 12px, rgba(215, 201, 166, 0.08) 12px 13px),
    radial-gradient(circle at 20% 30%, rgba(215, 201, 166, 0.18) 1px, transparent 1px);
  background-size: 54px 54px, 8px 8px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.shop-page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.shop-page main {
  display: grid;
  flex: 1;
  place-items: center;
}

.shop-page .page-hero.compact {
  display: grid;
  width: 100%;
  min-height: 100%;
  place-items: center;
  padding-block: clamp(3rem, 8vw, 6rem);
  text-align: center;
}

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

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

.cover-page {
  min-height: 100vh;
  overflow: hidden;
  background:
    repeating-linear-gradient(90deg, rgba(215, 201, 166, 0.035) 0 1px, transparent 1px 7px),
    radial-gradient(circle at 50% 42%, rgba(240, 25, 200, 0.2), transparent 18rem),
    linear-gradient(180deg, #160d11, #050403 66%);
}

.cover {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 1.5rem;
}

.cover-panel {
  display: grid;
  position: relative;
  justify-items: center;
  align-items: center;
  width: min(34rem, 100%);
  min-height: 18rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.cover-panel img {
  width: min(22rem, 78vw);
  image-rendering: pixelated;
  filter: drop-shadow(0 0 32px rgba(240, 25, 200, 0.82));
  transition: transform 160ms ease, filter 160ms ease;
}

.cover-play {
  position: absolute;
  left: 50%;
  top: 51%;
  display: grid;
  place-items: center;
  width: clamp(3.2rem, 13vw, 5rem);
  height: clamp(3.2rem, 13vw, 5rem);
  color: var(--paper);
  font-size: clamp(2rem, 8vw, 3.4rem);
  line-height: 1;
  text-shadow:
    0 0 10px rgba(0, 0, 0, 0.9),
    0 0 18px rgba(240, 25, 200, 0.75);
  transform: translate(-44%, -48%);
  pointer-events: none;
}

.cover-panel:hover img {
  transform: scale(1.03);
  filter: drop-shadow(0 0 42px rgba(240, 25, 200, 0.95));
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.2rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  background:
    linear-gradient(180deg, var(--paper), var(--paper-deep));
  color: #110c08;
  font: 800 0.78rem/1 Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button:hover {
  border-color: var(--ember);
  background:
    repeating-linear-gradient(-12deg, rgba(0, 0, 0, 0.12) 0 2px, transparent 2px 5px),
    linear-gradient(180deg, var(--ember), #8b2b18);
}

.button.ghost {
  background: rgba(5, 5, 5, 0.3);
  color: var(--ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(10rem, 18rem) 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.8rem clamp(1rem, 4vw, 3rem);
  border-bottom: 2px solid rgba(215, 201, 166, 0.25);
  background:
    repeating-linear-gradient(90deg, rgba(215, 201, 166, 0.045) 0 1px, transparent 1px 6px),
    linear-gradient(180deg, rgba(23, 17, 11, 0.98), rgba(8, 6, 4, 0.94));
  backdrop-filter: blur(10px);
}

.brand img {
  width: min(12.5rem, 42vw);
  height: 5.7rem;
  object-fit: contain;
  object-position: left center;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 14px rgba(240, 25, 200, 0.58));
}

.main-nav {
  display: flex;
  gap: clamp(0.8rem, 2vw, 2rem);
  justify-content: flex-end;
  color: var(--muted);
  font-size: clamp(0.9rem, 1.25vw, 1.08rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--ink);
  text-shadow: 0 0 10px rgba(240, 25, 200, 0.5);
}

.hero {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 100vw;
  min-height: calc(100vh - 6.6rem);
  padding: clamp(6rem, 10vw, 9rem) clamp(1rem, 4vw, 3rem) 4rem;
  overflow: hidden;
  border-bottom: 2px solid var(--line);
  background:
    linear-gradient(90deg, rgba(8, 6, 4, 0.94), rgba(23, 17, 11, 0.86)),
    #050403;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: auto;
  aspect-ratio: auto;
  margin: 0;
  filter: contrast(1.15) saturate(0.75);
  transform: scale(1.01);
}

.hero-media-home {
  background:
    linear-gradient(90deg, rgba(8, 6, 4, 0.45) 0%, rgba(8, 6, 4, 0.36) 48%, rgba(8, 6, 4, 0.3) 100%),
    linear-gradient(0deg, rgba(8, 6, 4, 0.9) 0%, transparent 30%),
    linear-gradient(180deg, transparent 0%, transparent 44%, rgba(8, 6, 4, 0.36) 100%),
    radial-gradient(circle at 78% 70%, rgba(196, 86, 36, 0.16), transparent 16rem),
    url("images/moulaga.JPG") left -3.7rem / cover no-repeat,
    #030403;
  border: 2px solid rgba(215, 201, 166, 0.2);
  box-shadow:
    0 0 0 8px rgba(8, 6, 4, 0.75),
    0 0 0 10px rgba(240, 25, 200, 0.08),
    0 22px 80px rgba(0, 0, 0, 0.55);
}

.hero-content {
  position: relative;
  align-self: end;
  width: 100%;
  min-width: 0;
  max-width: 58rem;
  margin: 0;
}

.kicker {
  margin: 0 0 0.65rem;
  color: var(--acid);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 7.7vw, 7.1rem);
  line-height: 0.9;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-transform: uppercase;
  text-shadow:
    0 0 22px rgba(240, 25, 200, 0.14),
    0 2px 0 rgba(0, 0, 0, 0.55);
}

h2 {
  margin-bottom: 0.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3.9vw, 3.6rem);
  line-height: 1;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.05rem;
  line-height: 1.05;
  text-transform: uppercase;
}

p {
  color: var(--muted);
  line-height: 1.55;
}

.hero-copy {
  width: 100%;
  max-width: 36rem;
  font-size: clamp(0.98rem, 1.45vw, 1.12rem);
  line-height: 1.45;
  overflow-wrap: break-word;
}

.hero .hero-content h1 {
  max-width: 54rem;
  margin-bottom: 1rem;
  font-size: clamp(3.6rem, 10vw, 9rem);
  line-height: 0.84;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.notice-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background:
    repeating-linear-gradient(-9deg, rgba(215, 201, 166, 0.04) 0 1px, transparent 1px 6px),
    linear-gradient(90deg, rgba(65, 86, 56, 0.2), transparent 30%, rgba(111, 15, 18, 0.2)),
    #0d0a06;
}

.notice-strip span {
  min-width: 0;
  padding: 0.9rem 1rem;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.page-hero {
  width: 100%;
  max-width: 100vw;
  padding: clamp(5rem, 10vw, 8rem) clamp(1rem, 4vw, 3rem) clamp(2.5rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
  background:
    repeating-linear-gradient(0deg, rgba(215, 201, 166, 0.04) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, rgba(8, 6, 4, 0.25), var(--bg)),
    radial-gradient(circle at 52% 20%, rgba(240, 25, 200, 0.2), transparent 20rem),
    url("images/CERRRRR_logo_roseee.png") center 24% / min(34rem, 80vw) auto no-repeat;
}

.page-hero.compact {
  background:
    repeating-linear-gradient(0deg, rgba(215, 201, 166, 0.04) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, rgba(8, 6, 4, 0.18), var(--bg)),
    radial-gradient(circle at 85% 45%, rgba(65, 86, 56, 0.24), transparent 22rem),
    url("images/DG_logo_blanc.png") right -8rem center / min(42rem, 95vw) auto no-repeat;
}

.page-hero p {
  max-width: 38rem;
  font-size: 1rem;
}

.split-section {
  display: grid;
  width: 100%;
  max-width: 100vw;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.85fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  background:
    repeating-linear-gradient(90deg, rgba(215, 201, 166, 0.035) 0 1px, transparent 1px 9px),
    linear-gradient(135deg, rgba(24, 19, 13, 0.92), rgba(8, 6, 4, 0.96)),
    radial-gradient(circle at 80% 40%, rgba(140, 127, 55, 0.16), transparent 18rem);
}

.split-section.dark {
  background:
    repeating-linear-gradient(-8deg, rgba(215, 201, 166, 0.04) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, #0b0805, #050403),
    radial-gradient(circle at 20% 10%, rgba(240, 25, 200, 0.12), transparent 14rem);
  border-top: 1px solid var(--line);
}

.split-copy {
  max-width: 52rem;
}

.split-copy p {
  max-width: 36rem;
  font-size: 0.98rem;
}

.feature-frame,
.contact-image,
.archive-item {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0;
  background:
    repeating-linear-gradient(-15deg, rgba(215, 201, 166, 0.045) 0 1px, transparent 1px 7px),
    linear-gradient(135deg, rgba(238, 231, 216, 0.06), transparent),
    linear-gradient(180deg, var(--stone), #090604);
  box-shadow:
    inset 0 1px 0 rgba(238, 231, 216, 0.05),
    0 18px 42px rgba(0, 0, 0, 0.34);
}

.feature-frame {
  min-height: 22rem;
}

.feature-frame img,
.contact-image img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
  filter: grayscale(0.18) contrast(1.1);
}

.split-section .feature-frame img {
  object-fit: contain;
  padding: 1.4rem;
  background: #050403;
}

.feature-frame.contain img {
  object-fit: contain;
  padding: 2rem;
}

.image-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.image-band a {
  display: grid;
  place-items: center;
  min-height: clamp(14rem, 25vw, 26rem);
  background:
    radial-gradient(circle at 50% 50%, rgba(240, 25, 200, 0.12), transparent 15rem),
    repeating-linear-gradient(15deg, rgba(215, 201, 166, 0.04) 0 1px, transparent 1px 8px),
    #080604;
  overflow: hidden;
}

.image-band img {
  width: 88%;
  max-height: 78%;
  object-fit: contain;
  border: 1px solid rgba(215, 201, 166, 0.2);
  image-rendering: auto;
  transition: transform 180ms ease;
}

.image-band a:hover img {
  transform: scale(1.05);
}

.manifest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem);
}

.audio-relic {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.8fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  background:
    repeating-linear-gradient(-10deg, rgba(215, 201, 166, 0.05) 0 1px, transparent 1px 7px),
    linear-gradient(90deg, rgba(240, 25, 200, 0.1), rgba(33, 23, 13, 0.9));
}

.audio-relic h2 {
  margin-bottom: 0.45rem;
}

.audio-relic p {
  max-width: 38rem;
}

.audio-relic audio {
  width: 100%;
  min-height: 44px;
  filter: sepia(0.75) saturate(0.8) contrast(1.1);
}

.manifest-grid article {
  min-width: 0;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    repeating-linear-gradient(-11deg, rgba(215, 201, 166, 0.05) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, rgba(33, 23, 13, 0.96), rgba(8, 6, 4, 0.98)),
    radial-gradient(circle at 20% 0%, rgba(65, 86, 56, 0.14), transparent 12rem);
}

.manifest-grid span,
.archive-item figcaption {
  color: var(--acid);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem);
}

.archive-item {
  display: grid;
  grid-template-rows: minmax(12rem, 18vw) auto;
}

.archive-item.wide {
  grid-column: span 2;
}

.archive-item.tall {
  grid-row: span 2;
  grid-template-rows: 1fr auto;
}

.archive-item.tall img {
  object-fit: cover;
}

.archive-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.2) contrast(1.08);
  transition: transform 180ms ease, filter 180ms ease;
}

.archive-item.contain img {
  object-fit: contain;
  padding: 2rem;
  image-rendering: pixelated;
}

.archive-item.sticker {
  grid-template-rows: minmax(9rem, 12vw) auto;
}

.archive-item.sticker img {
  padding: 1rem;
  image-rendering: auto;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.08) 0 2px, transparent 2px 4px),
    var(--paper);
}

.archive-item:hover img {
  filter: grayscale(0) contrast(1.16);
  transform: scale(1.03);
}

.archive-item figcaption {
  padding: 0.9rem;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(240, 25, 200, 0.08), transparent),
    var(--panel);
}

.contact-layout {
  display: grid;
  width: 100%;
  max-width: 100vw;
  grid-template-columns: minmax(0, 0.95fr) minmax(16rem, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  min-height: calc(100vh - 4.6rem);
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem);
}

.contact-copy p {
  max-width: 36rem;
  font-size: 1rem;
}

.contact-copy h1 {
  font-size: clamp(2rem, 4.8vw, 4rem);
}

.contact-copy .button {
  margin-top: 1rem;
}

.site-footer {
  display: grid;
  gap: 0.4rem;
  justify-items: center;
  padding: 3rem 1rem;
  color: var(--muted);
  text-align: center;
}

.site-footer img {
  width: min(14rem, 58vw);
  margin-bottom: 0.75rem;
  max-height: 5.2rem;
  object-fit: contain;
  image-rendering: pixelated;
  filter: grayscale(1) contrast(1.12) drop-shadow(0 0 14px rgba(215, 201, 166, 0.2));
}

.site-footer p {
  margin-bottom: 0;
}

.sound-altar {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  min-height: 38px;
  padding: 0 0.85rem;
  border: 1px solid rgba(215, 201, 166, 0.55);
  border-radius: 0;
  background:
    repeating-linear-gradient(-12deg, rgba(0, 0, 0, 0.16) 0 2px, transparent 2px 5px),
    linear-gradient(180deg, var(--panel-2), #070403);
  color: var(--ink);
  cursor: pointer;
  font: 900 0.72rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(240, 25, 200, 0.18);
}

.sound-altar.is-playing {
  border-color: var(--acid);
  color: var(--acid);
}

.cover-page .sound-altar {
  display: none;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .brand img {
    width: min(11rem, 48vw);
    height: 5.2rem;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-bottom: 0.25rem;
  }

  .notice-strip,
  .split-section,
  .manifest-grid,
  .audio-relic,
  .archive-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .archive-item.wide {
    grid-column: auto;
  }

  .image-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 39rem;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .hero-media {
    width: auto;
    aspect-ratio: auto;
  }

  .hero-media-home {
    background:
      linear-gradient(90deg, rgba(8, 6, 4, 0.45) 0%, rgba(8, 6, 4, 0.36) 48%, rgba(8, 6, 4, 0.3) 100%),
      linear-gradient(0deg, rgba(8, 6, 4, 0.9) 0%, transparent 30%),
      linear-gradient(180deg, transparent 0%, transparent 44%, rgba(8, 6, 4, 0.36) 100%),
      radial-gradient(circle at 78% 70%, rgba(196, 86, 36, 0.16), transparent 16rem),
      url("images/moulaga.JPG") left -2.2rem / cover no-repeat,
      #030403;
  }

  h1 {
    max-width: calc(100vw - 2.5rem);
    font-size: clamp(2.05rem, 9.8vw, 2.65rem);
  }

  .hero .hero-content h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .hero-content,
  .hero-copy {
    max-width: calc(100vw - 2.5rem);
  }

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

  h2 {
    font-size: clamp(1.35rem, 7vw, 1.85rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .archive-item {
    grid-template-rows: 20rem auto;
  }
}

/* Cryptic fanzine skin */
:root {
  --bg: #020102;
  --paper: #d9c17e;
  --paper-deep: #8f7e4a;
  --ink: #f2e5bd;
  --muted: #a89768;
  --line: #6d3145;
  --panel: #080507;
  --panel-2: #14090e;
  --blood: #4d0508;
  --ember: #9d3215;
  --acid: #ff21cf;
  --moss: #1f3524;
  --rot: #6d6a2c;
  --stone: #070406;
}

body {
  background:
    radial-gradient(circle at 8% 9%, rgba(255, 33, 207, 0.2), transparent 13rem),
    radial-gradient(circle at 88% 15%, rgba(157, 50, 21, 0.22), transparent 18rem),
    radial-gradient(circle at 58% 92%, rgba(31, 53, 36, 0.34), transparent 26rem),
    repeating-linear-gradient(90deg, rgba(242, 229, 189, 0.035) 0 1px, transparent 1px 11px),
    repeating-linear-gradient(0deg, rgba(242, 229, 189, 0.028) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, #050206 0%, #020102 42%, #080204 100%);
  color: var(--ink);
  text-rendering: geometricPrecision;
}

body::before {
  z-index: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(115deg, transparent 0 47%, rgba(255, 33, 207, 0.08) 48% 49%, transparent 50%),
    repeating-linear-gradient(-11deg, rgba(217, 193, 126, 0.08) 0 1px, transparent 1px 8px),
    radial-gradient(circle at 70% 20%, rgba(217, 193, 126, 0.16) 1px, transparent 1px);
  background-size: 100% 100%, 72px 72px, 9px 9px;
  mix-blend-mode: screen;
}

body::after {
  position: fixed;
  right: -4rem;
  bottom: 5rem;
  z-index: 0;
  pointer-events: none;
  content: "CM 1888 CAVE ANGEL / PORTE 23 / NO SHOP YET /";
  width: min(34rem, 92vw);
  color: rgba(217, 193, 126, 0.08);
  font: 900 clamp(2.8rem, 11vw, 8rem)/0.78 Impact, Haettenschweiler, "Arial Narrow", sans-serif;
  letter-spacing: 0;
  text-align: right;
  text-transform: uppercase;
  transform: rotate(-7deg);
}

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

.site-header {
  border-bottom: 1px solid rgba(255, 33, 207, 0.38);
  background:
    linear-gradient(90deg, rgba(255, 33, 207, 0.13), transparent 34%, rgba(217, 193, 126, 0.08)),
    repeating-linear-gradient(135deg, rgba(217, 193, 126, 0.055) 0 2px, transparent 2px 9px),
    rgba(3, 2, 3, 0.93);
  box-shadow: 0 0 0 1px rgba(217, 193, 126, 0.09), 0 12px 34px rgba(0, 0, 0, 0.45);
}

.brand img {
  width: min(15rem, 46vw);
  height: 6.35rem;
  filter:
    drop-shadow(0 0 10px rgba(255, 33, 207, 0.72))
    drop-shadow(-3px 2px 0 rgba(60, 5, 19, 0.9))
    contrast(1.25);
}

.main-nav {
  gap: clamp(0.7rem, 2.6vw, 2rem);
}

.main-nav a {
  position: relative;
  padding: 0.25rem 0;
  color: var(--paper);
  font-size: clamp(1.05rem, 2.6vw, 1.55rem);
  text-shadow: 0 0 10px rgba(255, 33, 207, 0.25);
}

.main-nav a::before,
.main-nav a::after {
  color: rgba(255, 33, 207, 0.82);
  font-weight: 900;
}

.main-nav a::before {
  content: "[";
  margin-right: 0.16rem;
}

.main-nav a::after {
  content: "]";
  margin-left: 0.16rem;
}

.main-nav a.is-active,
.main-nav a:hover {
  color: #fff5ce;
  text-shadow: 0 0 12px rgba(255, 33, 207, 0.82), 2px 0 0 rgba(109, 106, 44, 0.58);
}

.cover-page {
  background:
    radial-gradient(circle, rgba(255, 33, 207, 0.17), transparent 18rem),
    repeating-radial-gradient(circle at 50% 47%, rgba(217, 193, 126, 0.09) 0 1px, transparent 1px 12px),
    linear-gradient(145deg, #020102, #12040b 54%, #020102);
}

.cover {
  min-height: 100vh;
  padding: 2rem;
}

.cover-panel {
  isolation: isolate;
  outline: 0;
}

.cover-panel::before {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: -1;
  width: min(30rem, 76vw);
  aspect-ratio: 1;
  border: 1px solid rgba(217, 193, 126, 0.25);
  content: "";
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: inset 0 0 70px rgba(255, 33, 207, 0.13), 0 0 42px rgba(0, 0, 0, 0.75);
}

.cover-panel img {
  width: min(30rem, 86vw);
  filter:
    drop-shadow(0 0 20px rgba(255, 33, 207, 0.86))
    drop-shadow(6px -3px 0 rgba(77, 5, 8, 0.78))
    contrast(1.35);
}

.cover-play {
  color: #10040b;
  font-size: clamp(3rem, 13vw, 6.4rem);
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.72),
    0 0 24px rgba(255, 33, 207, 0.9);
  transform: translate(-42%, -50%);
}

.hero {
  min-height: calc(100vh - 6.6rem);
  border-bottom: 1px solid rgba(217, 193, 126, 0.2);
  background:
    linear-gradient(110deg, rgba(2, 1, 2, 0.8), rgba(2, 1, 2, 0.18) 48%, rgba(2, 1, 2, 0.75)),
    repeating-linear-gradient(0deg, rgba(217, 193, 126, 0.055) 0 2px, transparent 2px 7px);
}

.hero::after {
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(255, 33, 207, 0.22);
  content: "";
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-media-home {
  background:
    linear-gradient(90deg, rgba(2, 1, 2, 0.34) 0%, rgba(2, 1, 2, 0.13) 46%, rgba(2, 1, 2, 0.42) 100%),
    linear-gradient(0deg, rgba(2, 1, 2, 0.88) 0%, transparent 26%),
    radial-gradient(circle at 75% 68%, rgba(255, 33, 207, 0.18), transparent 14rem),
    url("images/moulaga.JPG") left -3.7rem / cover no-repeat,
    #020102;
  filter: contrast(1.55) saturate(0.7) sepia(0.18) brightness(0.86);
}

.hero-content h1,
.page-hero h1 {
  color: #fff1c4;
  text-shadow:
    0 0 16px rgba(255, 33, 207, 0.44),
    3px 2px 0 rgba(77, 5, 8, 0.9),
    -2px 0 0 rgba(109, 106, 44, 0.55);
}

h1,
h2 {
  font-family: Impact, Haettenschweiler, "Arial Narrow", sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}

p,
figcaption,
.page-hero,
.contact-line,
.notice-strip span {
  color: rgba(242, 229, 189, 0.84);
}

.button {
  border: 1px solid rgba(217, 193, 126, 0.72);
  border-radius: 0;
  background:
    repeating-linear-gradient(-8deg, rgba(2, 1, 2, 0.14) 0 2px, transparent 2px 5px),
    linear-gradient(180deg, #ead693, #9f813d);
  color: #120407;
  box-shadow: 5px 5px 0 rgba(255, 33, 207, 0.26), 0 0 28px rgba(0, 0, 0, 0.34);
}

.button.ghost {
  background:
    repeating-linear-gradient(-8deg, rgba(217, 193, 126, 0.08) 0 2px, transparent 2px 5px),
    rgba(8, 5, 7, 0.86);
  color: var(--paper);
}

.button:hover {
  transform: translate(-2px, -2px) rotate(-1deg);
  box-shadow: 8px 8px 0 rgba(255, 33, 207, 0.34);
}

.page-hero,
.page-hero.compact,
.audio-relic,
.split-section,
.contact-layout,
.archive-grid,
.manifest-grid {
  background:
    linear-gradient(180deg, rgba(20, 9, 14, 0.88), rgba(5, 2, 4, 0.9)),
    repeating-linear-gradient(90deg, rgba(217, 193, 126, 0.055) 0 1px, transparent 1px 12px);
  border-color: rgba(217, 193, 126, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 33, 207, 0.08);
}

.archive-item,
.feature-frame,
.contact-image,
.manifest-grid article {
  border: 1px solid rgba(217, 193, 126, 0.26);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(217, 193, 126, 0.08), rgba(2, 1, 2, 0.08)),
    #080507;
  box-shadow: 0 17px 34px rgba(0, 0, 0, 0.42);
}

.archive-item:nth-child(3n) {
  transform: rotate(0.65deg);
}

.archive-item:nth-child(4n) {
  transform: rotate(-0.55deg);
}

.archive-item img,
.feature-frame img,
.contact-image img {
  filter: contrast(1.28) saturate(0.82) sepia(0.12);
}

.archive-item.contain img {
  filter: contrast(1.4) drop-shadow(0 0 16px rgba(255, 33, 207, 0.26));
}

.archive-item figcaption {
  border-top: 1px solid rgba(217, 193, 126, 0.18);
  color: #ffdaf6;
  font-family: "Courier New", monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}

.audio-relic audio {
  border: 1px solid rgba(255, 33, 207, 0.36);
  box-shadow: 0 0 24px rgba(255, 33, 207, 0.14);
}

.site-footer {
  border-top: 1px solid rgba(255, 33, 207, 0.24);
  background:
    linear-gradient(90deg, rgba(77, 5, 8, 0.2), rgba(2, 1, 2, 0.96), rgba(31, 53, 36, 0.18)),
    #020102;
}

.site-footer img {
  width: min(9rem, 33vw);
  opacity: 0.78;
  filter: grayscale(1) contrast(1.28) drop-shadow(0 0 14px rgba(217, 193, 126, 0.14));
}

.site-footer p {
  color: rgba(217, 193, 126, 0.68);
  font-family: "Courier New", monospace;
  letter-spacing: 0;
}

.sound-altar {
  border-color: rgba(255, 33, 207, 0.62);
  background:
    repeating-linear-gradient(90deg, rgba(217, 193, 126, 0.09) 0 1px, transparent 1px 5px),
    #090407;
  color: var(--paper);
  box-shadow: 0 0 24px rgba(255, 33, 207, 0.24);
}

.sound-altar.is-playing {
  color: #ffe8b2;
  text-shadow: 0 0 12px rgba(255, 33, 207, 0.9);
}

@media (max-width: 900px) {
  .brand img {
    width: min(13rem, 58vw);
    height: 5.85rem;
  }
}

@media (max-width: 620px) {
  body::after {
    right: -2rem;
    bottom: 7rem;
    width: 21rem;
  }

  .main-nav a {
    font-size: 0.76rem;
  }

  .site-header {
    justify-items: center;
    padding-inline: 0.85rem;
  }

  .main-nav {
    width: 100%;
    gap: 0.32rem 0.35rem;
    justify-content: center;
  }

  .main-nav a::before {
    margin-right: 0.08rem;
  }

  .main-nav a::after {
    margin-left: 0.08rem;
  }

  .hero-media-home {
    background:
      linear-gradient(90deg, rgba(2, 1, 2, 0.28) 0%, rgba(2, 1, 2, 0.18) 45%, rgba(2, 1, 2, 0.46) 100%),
      linear-gradient(0deg, rgba(2, 1, 2, 0.9) 0%, transparent 31%),
      radial-gradient(circle at 75% 68%, rgba(255, 33, 207, 0.14), transparent 12rem),
      url("images/moulaga.JPG") left -2.2rem / cover no-repeat,
      #020102;
  }

  .hero::after {
    inset: 0.65rem;
  }
}

/* Neocities nightmare pass */
html {
  background: #000;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -12rem, rgba(255, 33, 207, 0.2), transparent 24rem),
    linear-gradient(rgba(255, 33, 207, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 33, 207, 0.026) 1px, transparent 1px),
    repeating-linear-gradient(0deg, #030003 0 2px, #080008 2px 4px);
  background-size: auto, 100% 7px, 7px 100%, auto;
  color: #cfc7ff;
  font-family: Verdana, Geneva, Arial, sans-serif;
  font-size: 13px;
}

body::before {
  z-index: 0;
  opacity: 0.42;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 3px),
    radial-gradient(circle at 23% 20%, rgba(70, 80, 255, 0.18), transparent 18rem),
    radial-gradient(circle at 78% 72%, rgba(255, 33, 207, 0.14), transparent 20rem);
  mix-blend-mode: screen;
  mask-image: none;
}

body::after {
  right: 2vw;
  bottom: 4vh;
  width: min(18rem, 60vw);
  content: "cercle\\A moulaga\\A 23 janv\\A www";
  white-space: pre;
  color: rgba(255, 255, 255, 0.045);
  font: 400 clamp(1.4rem, 5vw, 4.6rem)/0.92 "Times New Roman", serif;
  text-align: left;
  text-transform: lowercase;
  transform: rotate(0deg);
}

a {
  color: #9cc6ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: #ff43d5;
  background: rgba(255, 67, 213, 0.15);
}

.site-header,
main,
.site-footer {
  width: min(860px, calc(100vw - 24px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  top: auto;
  display: block;
  margin-top: 18px;
  padding: 18px 14px 10px;
  border: 1px solid #2a2462;
  background:
    linear-gradient(90deg, rgba(255, 33, 207, 0.08), rgba(20, 24, 70, 0.7), rgba(0, 0, 0, 0.94)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 5px);
  box-shadow: 0 0 0 2px #000, 0 0 28px rgba(65, 83, 255, 0.28);
  text-align: center;
}

.brand {
  display: inline-block;
}

.brand img {
  width: min(270px, 76vw);
  height: auto;
  margin: 0 auto 6px;
  object-position: center;
  image-rendering: pixelated;
  filter:
    drop-shadow(0 0 5px #ff21cf)
    drop-shadow(0 0 16px rgba(255, 33, 207, 0.8))
    contrast(1.35);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
  padding-top: 8px;
  border-top: 1px dotted rgba(156, 198, 255, 0.45);
  color: #d6d0ff;
  font: 700 12px/1.2 Verdana, Geneva, Arial, sans-serif;
  text-transform: lowercase;
}

.main-nav a {
  padding: 3px 8px;
  color: #d6d0ff;
  font-size: 12px;
  text-shadow: none;
}

.main-nav a::before,
.main-nav a::after {
  color: #ff43d5;
}

.main-nav a.is-active {
  color: #fff;
  background: rgba(255, 67, 213, 0.16);
  text-shadow: 0 0 7px #ff43d5;
}

main {
  margin-top: 10px;
  border: 1px solid #221d56;
  background:
    linear-gradient(180deg, rgba(7, 8, 24, 0.92), rgba(1, 0, 3, 0.96)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px);
  box-shadow: 0 0 0 2px #000, 0 0 35px rgba(255, 33, 207, 0.12);
}

main::before {
  display: block;
  padding: 5px 8px;
  border-bottom: 1px solid #221d56;
  background: #09071e;
  color: #7d86ff;
  content: "/home/container/www/cercle_moulaga";
  font: 11px/1 "Courier New", monospace;
}

.cover::before {
  display: none;
}

.hero {
  display: block;
  min-height: 0;
  padding: 18px;
  border: 0;
  background: transparent;
}

.hero::before {
  display: block;
  margin-bottom: 12px;
  color: #ff43d5;
  content: "---- ouvert la famille ----";
  font: 12px/1.4 "Courier New", monospace;
  text-align: center;
}

.hero::after {
  display: none;
}

.hero-media {
  position: relative;
  width: min(620px, 100%);
  height: auto;
  min-height: 390px;
  margin: 0 auto;
  border: 1px solid #39428f;
  background-color: #000;
  box-shadow: 0 0 0 2px #000, 0 0 22px rgba(65, 83, 255, 0.24);
}

.hero-media-home {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08)),
    url("images/moulaga.JPG") center top / contain no-repeat,
    #000;
  filter: contrast(1.18) saturate(0.84) brightness(0.92);
}

.hero-content {
  position: relative;
  width: min(620px, 100%);
  margin: 10px auto 0;
  padding: 0 12px 12px;
  text-align: left;
}

.hero-content h1 {
  width: fit-content;
  max-width: 100%;
  margin: 0 0 10px;
  padding: 3px 6px;
  background: #000;
  color: #fff4c9;
  font: 900 clamp(2.1rem, 6vw, 4rem)/0.86 Impact, Haettenschweiler, "Arial Narrow", sans-serif;
  text-shadow: 2px 0 #ff43d5, -2px 0 #4153ff, 0 0 8px #ff43d5;
}

.hero-actions {
  display: block;
}

.button {
  display: inline-block;
  min-height: 0;
  margin: 0 7px 7px 0;
  padding: 5px 10px;
  border: 1px solid #7d86ff;
  background: #06061b;
  color: #d6d0ff;
  box-shadow: none;
  font: 700 11px/1.2 Verdana, Geneva, Arial, sans-serif;
  text-transform: lowercase;
}

.button.primary {
  background: #12051b;
  color: #ffb5ed;
}

.button:hover {
  transform: none;
  box-shadow: 0 0 14px rgba(255, 67, 213, 0.38);
}

.page-hero,
.page-hero.compact {
  min-height: 0;
  padding: 34px 18px;
  border: 0;
  border-bottom: 1px solid #221d56;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 67, 213, 0.14), transparent 17rem),
    #060411;
  text-align: left;
}

.page-hero h1,
.page-hero.compact h1,
.contact-copy h1 {
  margin: 0;
  color: #fff4c9;
  font: 900 clamp(2rem, 7vw, 4.6rem)/0.9 Impact, Haettenschweiler, "Arial Narrow", sans-serif;
  text-shadow: 2px 0 #ff43d5, -2px 0 #4153ff;
}

.audio-relic,
.contact-layout,
.split-section,
.manifest-grid,
.archive-grid {
  width: auto;
  margin: 0;
  padding: 18px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.audio-relic {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 14px;
  align-items: center;
  border-bottom: 1px dotted #2a2462;
}

.audio-relic h2 {
  margin: 0;
  color: #ffb5ed;
  font: 700 15px/1.2 "Courier New", monospace;
}

.audio-relic audio {
  width: 100%;
  height: 32px;
  border: 1px solid #2a2462;
  border-radius: 0;
  background: #000;
}

.archive-grid {
  display: block;
  columns: 3 210px;
  column-gap: 14px;
}

.archive-item,
.archive-item.wide,
.archive-item.tall {
  display: inline-block;
  width: 100%;
  margin: 0 0 14px;
  break-inside: avoid;
  border: 1px solid #2a2462;
  background: #010107;
  box-shadow: 0 0 0 2px #000;
  transform: none;
}

.archive-item:nth-child(3n),
.archive-item:nth-child(4n) {
  transform: none;
}

.archive-item img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  background: #000;
  image-rendering: auto;
  filter: contrast(1.14) saturate(0.8);
}

.archive-item.contain img {
  padding: 14px;
  filter: contrast(1.2) drop-shadow(0 0 10px rgba(255, 67, 213, 0.26));
}

.archive-item figcaption {
  padding: 6px 8px;
  border-top: 1px dotted #2a2462;
  background: #070214;
  color: #d6d0ff;
  font: 11px/1.2 "Courier New", monospace;
  text-transform: lowercase;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 18px;
  align-items: start;
}

.contact-copy,
.contact-image,
.feature-frame,
.manifest-grid article {
  border: 1px solid #2a2462;
  background: #02020b;
}

.contact-copy {
  padding: 18px;
}

.contact-copy p,
.kicker {
  color: #d6d0ff;
  font: 13px/1.55 Verdana, Geneva, Arial, sans-serif;
}

.contact-image img {
  width: 100%;
  height: auto;
}

.shop-page main {
  display: block;
}

.site-footer {
  margin-top: 10px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid #221d56;
  background: #020107;
  box-shadow: 0 0 0 2px #000;
}

.site-footer img {
  width: min(130px, 40vw);
  margin: 0 auto 8px;
  opacity: 0.72;
}

.site-footer p {
  margin: 0;
  color: #7d86ff;
  font: 11px/1.3 "Courier New", monospace;
  text-align: center;
}

.cover-page {
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 33, 207, 0.22), transparent 15rem),
    repeating-linear-gradient(0deg, #000 0 2px, #070009 2px 4px);
}

.cover {
  display: grid;
  width: 100vw;
  min-height: 100vh;
  margin: 0;
  place-items: center;
}

.cover-panel::before {
  display: none;
}

.cover-panel img {
  width: min(360px, 80vw);
  image-rendering: pixelated;
  filter: drop-shadow(0 0 9px #ff43d5) drop-shadow(0 0 24px rgba(255, 67, 213, 0.84));
}

.cover-play {
  color: #000;
  font-size: clamp(2.6rem, 13vw, 5.2rem);
  text-shadow: 0 0 6px #fff, 0 0 15px #ff43d5;
}

.sound-altar {
  right: 10px;
  bottom: 10px;
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid #7d86ff;
  background: #02020b;
  color: #d6d0ff;
  font: 10px/1 Verdana, Geneva, Arial, sans-serif;
  text-transform: lowercase;
}

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

  .site-header,
  main,
  .site-footer {
    width: calc(100vw - 14px);
  }

  .site-header {
    margin-top: 7px;
    padding: 12px 7px 8px;
  }

  .brand img {
    width: min(230px, 74vw);
  }

  .main-nav {
    gap: 0;
    padding-top: 6px;
  }

  .main-nav a {
    padding: 3px 4px;
    font-size: 10px;
  }

  .hero {
    padding: 10px;
  }

  .hero-media {
    min-height: 360px;
  }

  .hero-media-home {
    background:
      url("images/moulaga.JPG") center top / contain no-repeat,
      #000;
  }

  .hero-content {
    margin-top: 8px;
    padding-inline: 0;
  }

  .hero-content h1 {
    font-size: clamp(1.9rem, 13vw, 3.05rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .button {
    margin-right: 0;
    text-align: center;
  }

  .audio-relic,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .archive-grid {
    columns: 1;
  }
}

/* Rot pass: no neon altar */
:root {
  --ash: #c8c0a2;
  --bone: #e2d8b4;
  --bruise: #111822;
  --mold: #7f8b54;
  --rust: #6f3a1c;
  --void: #020202;
  --wire: #394034;
}

body {
  background:
    radial-gradient(circle at 52% -8rem, rgba(127, 139, 84, 0.17), transparent 22rem),
    radial-gradient(circle at 20% 72%, rgba(111, 58, 28, 0.12), transparent 19rem),
    linear-gradient(rgba(226, 216, 180, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 216, 180, 0.018) 1px, transparent 1px),
    repeating-linear-gradient(0deg, #010101 0 2px, #050504 2px 4px);
  background-size: auto, auto, 100% 9px, 9px 100%, auto;
  color: var(--ash);
}

body::before {
  opacity: 0.28;
  background:
    repeating-linear-gradient(0deg, rgba(226, 216, 180, 0.035) 0 1px, transparent 1px 3px),
    radial-gradient(circle at 23% 20%, rgba(127, 139, 84, 0.1), transparent 18rem),
    radial-gradient(circle at 78% 72%, rgba(111, 58, 28, 0.11), transparent 20rem);
}

body::after {
  color: rgba(226, 216, 180, 0.035);
  content: "0000\\A seuil\\A chambre froide\\A registre humide\\A signal coupé";
}

a {
  color: #b7c29a;
}

a:hover {
  color: #f2e7ba;
  background: rgba(127, 139, 84, 0.18);
}

.site-header {
  border-color: #2e352b;
  background:
    linear-gradient(90deg, rgba(127, 139, 84, 0.08), rgba(7, 12, 11, 0.8), rgba(0, 0, 0, 0.96)),
    repeating-linear-gradient(45deg, rgba(226, 216, 180, 0.035) 0 1px, transparent 1px 6px);
  box-shadow: 0 0 0 2px #000, 0 0 26px rgba(127, 139, 84, 0.11);
}

.brand img,
.cover-panel img {
  filter:
    grayscale(0.86)
    sepia(0.48)
    hue-rotate(24deg)
    contrast(1.46)
    brightness(0.86)
    drop-shadow(0 0 5px rgba(226, 216, 180, 0.28));
}

.main-nav {
  border-top-color: rgba(127, 139, 84, 0.45);
  color: var(--ash);
}

.main-nav a {
  color: var(--ash);
}

.main-nav a::before,
.main-nav a::after {
  color: #7f8b54;
}

.main-nav a.is-active {
  color: var(--bone);
  background: rgba(127, 139, 84, 0.14);
  text-shadow: 0 0 7px rgba(226, 216, 180, 0.18);
}

main {
  border-color: #2e352b;
  background:
    linear-gradient(180deg, rgba(5, 8, 8, 0.94), rgba(1, 1, 1, 0.97)),
    repeating-linear-gradient(90deg, rgba(226, 216, 180, 0.018) 0 1px, transparent 1px 4px);
  box-shadow: 0 0 0 2px #000, 0 0 30px rgba(127, 139, 84, 0.08);
}

main::before {
  border-bottom-color: #2e352b;
  background: #040605;
  color: #7f8b54;
  content: "/var/limbe/000/chambre";
}

.hero::before {
  color: #a8ae7e;
  content: "---- ouvert la famille ----";
}

.hero-media {
  border-color: #394034;
  box-shadow: 0 0 0 2px #000, 0 0 18px rgba(127, 139, 84, 0.12);
}

.hero-media-home {
  filter: grayscale(0.25) sepia(0.24) contrast(1.28) saturate(0.62) brightness(0.76);
}

.hero-content h1,
.page-hero h1,
.page-hero.compact h1,
.contact-copy h1 {
  color: var(--bone);
  text-shadow: 1px 0 rgba(127, 139, 84, 0.72), -1px 0 rgba(111, 58, 28, 0.72);
}

.button,
.button.primary,
.button.ghost {
  border-color: #596143;
  background:
    repeating-linear-gradient(-8deg, rgba(226, 216, 180, 0.035) 0 1px, transparent 1px 5px),
    #030504;
  color: #d6cdad;
}

.button:hover {
  box-shadow: 0 0 12px rgba(127, 139, 84, 0.24);
}

.page-hero,
.page-hero.compact {
  border-bottom-color: #2e352b;
  background:
    radial-gradient(circle at 50% 0, rgba(127, 139, 84, 0.1), transparent 17rem),
    #040504;
}

.audio-relic {
  border-bottom-color: #2e352b;
}

.audio-relic h2,
.archive-item figcaption,
.contact-copy p,
.kicker {
  color: #c8c0a2;
}

.archive-item,
.archive-item.wide,
.archive-item.tall,
.contact-copy,
.contact-image,
.feature-frame,
.manifest-grid article {
  border-color: #2e352b;
  background: #010201;
}

.archive-item img,
.contact-image img {
  filter: grayscale(0.38) sepia(0.18) contrast(1.22) saturate(0.64) brightness(0.86);
}

.archive-item.contain img {
  filter: grayscale(0.62) sepia(0.35) contrast(1.28) brightness(0.84);
}

.archive-item figcaption {
  border-top-color: #2e352b;
  background: #040504;
}

.site-footer {
  border-color: #2e352b;
  background: #010201;
}

.site-footer p {
  color: #7f8b54;
}

.cover-page {
  background:
    radial-gradient(circle at 50% 42%, rgba(127, 139, 84, 0.13), transparent 13rem),
    repeating-linear-gradient(0deg, #000 0 2px, #030403 2px 4px);
}

.cover-play {
  color: #000;
  text-shadow: 0 0 5px rgba(226, 216, 180, 0.65), 0 0 14px rgba(127, 139, 84, 0.4);
}

.sound-altar {
  border-color: #596143;
  background: #020302;
  color: #c8c0a2;
}

.sound-altar.is-playing {
  color: #e2d8b4;
  text-shadow: 0 0 8px rgba(127, 139, 84, 0.5);
}

/* Dungeon codex pass */
:root {
  --dungeon-black: #050403;
  --dungeon-stone: #171411;
  --dungeon-stone-2: #24201a;
  --dungeon-line: #5f5038;
  --dungeon-gold: #c7a760;
  --dungeon-parchment: #d7c59b;
  --dungeon-ink: #1b130c;
  --dungeon-red: #5a0d0b;
  --dungeon-red-bright: #a33120;
}

body {
  background:
    radial-gradient(circle at 50% -6rem, rgba(199, 167, 96, 0.13), transparent 23rem),
    radial-gradient(circle at 18% 70%, rgba(90, 13, 11, 0.19), transparent 22rem),
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.72)),
    repeating-linear-gradient(0deg, rgba(215, 197, 155, 0.035) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(90deg, rgba(215, 197, 155, 0.026) 0 1px, transparent 1px 7px),
    #050403;
  color: var(--dungeon-parchment);
  font-family: Georgia, "Times New Roman", serif;
}

body::before {
  opacity: 0.2;
  background:
    repeating-linear-gradient(45deg, rgba(199, 167, 96, 0.055) 0 1px, transparent 1px 9px),
    radial-gradient(circle at 50% 40%, rgba(163, 49, 32, 0.08), transparent 22rem);
}

body::after {
  right: 3vw;
  bottom: 8vh;
  color: rgba(199, 167, 96, 0.055);
  content: "I\\A II\\A III\\A IV\\A V";
  font: 900 clamp(3rem, 12vw, 9rem)/0.76 Georgia, "Times New Roman", serif;
}

.site-header,
main,
.site-footer {
  width: min(980px, calc(100vw - 26px));
}

.site-header {
  margin-top: 16px;
  padding: 14px 18px 12px;
  border: 2px ridge var(--dungeon-line);
  background:
    linear-gradient(180deg, rgba(36, 32, 26, 0.98), rgba(9, 7, 5, 0.98)),
    repeating-linear-gradient(90deg, rgba(215, 197, 155, 0.06) 0 1px, transparent 1px 12px);
  box-shadow:
    inset 0 0 0 1px rgba(215, 197, 155, 0.11),
    0 0 0 2px #000,
    0 18px 40px rgba(0, 0, 0, 0.65);
}

.brand img {
  width: min(250px, 72vw);
  filter:
    grayscale(1)
    sepia(0.72)
    hue-rotate(344deg)
    contrast(1.45)
    brightness(0.9)
    drop-shadow(0 2px 0 #000)
    drop-shadow(0 0 8px rgba(199, 167, 96, 0.28));
}

.main-nav {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(199, 167, 96, 0.42);
  font-family: "Times New Roman", Georgia, serif;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.main-nav a {
  margin: 0 4px 6px;
  padding: 4px 11px;
  border: 1px solid rgba(95, 80, 56, 0.92);
  background:
    linear-gradient(180deg, rgba(36, 32, 26, 0.9), rgba(7, 5, 4, 0.92));
  color: var(--dungeon-parchment);
  font: 700 0.82rem/1 Georgia, "Times New Roman", serif;
  text-decoration: none;
  letter-spacing: 0;
}

.main-nav a::before,
.main-nav a::after {
  content: "";
  margin: 0;
}

.main-nav a.is-active,
.main-nav a:hover {
  border-color: var(--dungeon-gold);
  background:
    linear-gradient(180deg, rgba(90, 13, 11, 0.82), rgba(17, 8, 6, 0.95));
  color: #f6e5b5;
  text-shadow: 0 1px 0 #000;
}

main {
  margin-top: 12px;
  border: 2px ridge var(--dungeon-line);
  background:
    linear-gradient(180deg, rgba(19, 16, 12, 0.98), rgba(5, 4, 3, 0.98)),
    repeating-linear-gradient(0deg, rgba(215, 197, 155, 0.024) 0 1px, transparent 1px 6px);
  box-shadow:
    inset 0 0 0 1px rgba(215, 197, 155, 0.08),
    0 0 0 2px #000,
    0 16px 45px rgba(0, 0, 0, 0.7);
}

main::before {
  padding: 7px 10px;
  border-bottom: 1px solid rgba(199, 167, 96, 0.42);
  background:
    linear-gradient(180deg, #211b14, #090705);
  color: #b59a5d;
  content: "CERCLE MOULAGA :: INDEX DONJON :: FEUILLET NOIR";
  font: 700 0.72rem/1 Georgia, "Times New Roman", serif;
  text-transform: uppercase;
}

.hero {
  padding: 18px;
}

.hero::before {
  margin: 0 auto 13px;
  color: #b59a5d;
  content: "OUVERT LA FAMILLE";
  font: 700 0.78rem/1 Georgia, "Times New Roman", serif;
  text-transform: uppercase;
}

.hero-media {
  width: min(690px, 100%);
  min-height: 430px;
  border: 2px ridge var(--dungeon-line);
  background-color: #000;
  box-shadow:
    inset 0 0 35px rgba(0, 0, 0, 0.82),
    0 0 0 2px #000;
}

.hero-media-home {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08)),
    url("images/ITEM_DRAGON_CD.jpg") center center / contain no-repeat,
    #000;
  filter: contrast(1.08) saturate(0.92) sepia(0.12) brightness(0.88);
}

.hero-media-home.is-green {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08)),
    url("images/ITEM_DRAGON_CD_GREEEN.jpg") center center / contain no-repeat,
    #000;
  filter: contrast(1.14) saturate(0.82) sepia(0.18) brightness(0.82);
}

.hero-content {
  width: min(690px, 100%);
  padding: 13px 0 0;
}

.hero-content h1,
.page-hero h1,
.page-hero.compact h1,
.contact-copy h1 {
  color: var(--dungeon-parchment);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    0 2px 0 #000,
    0 0 13px rgba(163, 49, 32, 0.34);
}

.hero-content h1 {
  padding: 0;
  background: transparent;
  font-size: clamp(2.7rem, 7vw, 5.2rem);
}

.button,
.button.primary,
.button.ghost {
  padding: 7px 13px;
  border: 1px solid var(--dungeon-line);
  background:
    linear-gradient(180deg, #241a12, #090604);
  color: #dfc989;
  font: 700 0.78rem/1 Georgia, "Times New Roman", serif;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover {
  border-color: var(--dungeon-gold);
  background: linear-gradient(180deg, #5a0d0b, #120604);
  color: #f4dfaa;
  box-shadow: none;
}

.page-hero,
.page-hero.compact {
  padding: 30px 20px;
  border-bottom: 2px ridge var(--dungeon-line);
  background:
    radial-gradient(circle at 50% 0, rgba(90, 13, 11, 0.2), transparent 18rem),
    linear-gradient(180deg, #17120d, #070504);
}

.page-hero h1,
.page-hero.compact h1 {
  font-size: clamp(2.2rem, 6vw, 4.7rem);
}

.audio-relic {
  grid-template-columns: 190px 1fr;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(95, 80, 56, 0.65);
  background:
    linear-gradient(180deg, rgba(36, 32, 26, 0.55), rgba(5, 4, 3, 0.4));
}

.audio-relic h2 {
  color: #dfc989;
  font: 700 0.86rem/1 Georgia, "Times New Roman", serif;
  text-transform: uppercase;
}

.audio-relic audio {
  border: 1px solid var(--dungeon-line);
  background: #0a0705;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  columns: auto;
}

.archive-item,
.archive-item.wide,
.archive-item.tall {
  display: grid;
  width: 100%;
  margin: 0;
  border: 1px solid var(--dungeon-line);
  background:
    linear-gradient(180deg, rgba(31, 25, 17, 0.96), rgba(4, 3, 2, 0.98));
  box-shadow: inset 0 0 0 1px rgba(215, 197, 155, 0.04);
}

.archive-item.wide {
  grid-column: span 2;
}

.archive-item.tall {
  grid-row: span 2;
}

.archive-item img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-bottom: 1px solid rgba(95, 80, 56, 0.72);
  background: #000;
  filter: sepia(0.2) saturate(0.75) contrast(1.18) brightness(0.84);
}

.archive-item.wide img {
  height: 260px;
}

.archive-item.tall img {
  height: 472px;
}

.archive-item.contain img {
  object-fit: contain;
  padding: 12px;
  filter: sepia(0.38) saturate(0.62) contrast(1.28) brightness(0.82);
}

.archive-item figcaption {
  min-height: 32px;
  padding: 8px 10px;
  border-top: 0;
  background:
    linear-gradient(180deg, #20160f, #090604);
  color: #d7c59b;
  font: 700 0.75rem/1.25 Georgia, "Times New Roman", serif;
  text-transform: uppercase;
}

.contact-layout {
  grid-template-columns: minmax(0, 1fr) 260px;
  padding: 20px;
  gap: 20px;
}

.contact-copy,
.contact-image,
.feature-frame,
.manifest-grid article {
  border: 2px ridge var(--dungeon-line);
  background:
    linear-gradient(180deg, rgba(29, 23, 16, 0.98), rgba(6, 4, 3, 0.98));
}

.contact-copy {
  padding: 20px;
}

.contact-copy p,
.kicker {
  color: #d7c59b;
  font-family: Georgia, "Times New Roman", serif;
}

.site-footer {
  border: 2px ridge var(--dungeon-line);
  background: linear-gradient(180deg, #100c08, #030201);
}

.site-footer img {
  filter: grayscale(1) sepia(0.38) contrast(1.2) brightness(0.85);
}

.site-footer p {
  color: #b59a5d;
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
}

.cover-page {
  background:
    radial-gradient(circle at 50% 43%, rgba(199, 167, 96, 0.17), transparent 13rem),
    radial-gradient(circle at 50% 46%, rgba(90, 13, 11, 0.22), transparent 18rem),
    repeating-linear-gradient(0deg, #000 0 2px, #060403 2px 4px);
}

.cover-panel img {
  width: min(340px, 78vw);
  filter:
    grayscale(1)
    sepia(0.74)
    hue-rotate(344deg)
    contrast(1.55)
    brightness(0.86)
    drop-shadow(0 0 8px rgba(199, 167, 96, 0.3));
}

.cover-play {
  color: #050403;
  text-shadow: 0 0 4px #d7c59b, 0 0 12px rgba(199, 167, 96, 0.45);
}

.sound-altar {
  border: 1px solid var(--dungeon-line);
  background: linear-gradient(180deg, #21180f, #050403);
  color: #dfc989;
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .archive-item.wide,
  .archive-item.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .archive-item img,
  .archive-item.wide img,
  .archive-item.tall img {
    height: auto;
    max-height: none;
  }
}

@media (max-width: 620px) {
  .site-header,
  main,
  .site-footer {
    width: calc(100vw - 12px);
  }

  .main-nav a {
    padding: 5px 8px;
    font-size: 0.72rem;
  }

  main::before {
    font-size: 0.62rem;
  }

  .hero-media {
    min-height: 360px;
  }

  .hero-content h1 {
    font-size: clamp(1.8rem, 10.8vw, 2.7rem);
  }

  .audio-relic,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* Magic-dungeon interface pass */
body {
  background:
    radial-gradient(circle at 50% 0, rgba(95, 58, 24, 0.18), transparent 23rem),
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), transparent 14%, transparent 86%, rgba(0, 0, 0, 0.9)),
    repeating-linear-gradient(0deg, rgba(203, 177, 115, 0.028) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(203, 177, 115, 0.022) 0 1px, transparent 1px 6px),
    #070503;
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 12px;
}

.site-header {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 12px;
  align-items: end;
  max-width: 1180px;
  padding: 8px;
  border: 1px solid #6b552c;
  background:
    linear-gradient(180deg, #2c2417, #090604 70%),
    repeating-linear-gradient(90deg, rgba(226, 203, 148, 0.08) 0 1px, transparent 1px 10px);
}

.brand {
  display: grid;
  min-height: 104px;
  place-items: center;
  border: 1px solid #40331b;
  background: #090604;
}

.brand img {
  width: min(180px, 64vw);
  margin: 0;
}

.main-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin: 0;
  padding: 0;
  border: 0;
}

.main-nav a {
  display: grid;
  min-height: 32px;
  place-items: center;
  margin: 0;
  border: 1px solid #7b6335;
  background:
    linear-gradient(180deg, #332513, #120b06 58%, #060403);
  color: #d8c17c;
  font: 700 0.72rem/1 Tahoma, Verdana, Arial, sans-serif;
  text-transform: uppercase;
}

.main-nav a.is-active,
.main-nav a:hover {
  background:
    linear-gradient(180deg, #6c1d13, #291009 58%, #080403);
  color: #ffe6a3;
}

main.rpg-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 8px;
  max-width: 1180px;
  margin-top: 8px;
  padding: 8px;
  border: 1px solid #6b552c;
  background:
    linear-gradient(180deg, rgba(24, 18, 11, 0.98), rgba(5, 3, 2, 0.98));
}

main.rpg-shell::before {
  display: none;
}

.rpg-sidebar,
.rpg-content,
.entry-card,
.dungeon-table,
.codex-top,
.inventory-table {
  border: 1px solid #5a4726;
  background:
    linear-gradient(180deg, rgba(30, 23, 14, 0.98), rgba(6, 4, 3, 0.98));
}

.rpg-sidebar {
  align-self: start;
  padding: 7px;
}

.panel-title {
  margin: 0 0 6px;
  padding: 5px 7px;
  border: 1px solid #6b552c;
  background: #100a05;
  color: #f0d894;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.menu-row {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 6px;
  align-items: center;
  margin-bottom: 5px;
  padding: 5px;
  border: 1px solid #4b3b21;
  background: #0b0704;
  color: #d8c17c;
  text-decoration: none;
  text-transform: uppercase;
}

.menu-row span {
  display: grid;
  min-height: 26px;
  place-items: center;
  border: 1px solid #604b27;
  background: #1d1309;
  color: #a83222;
  font-weight: 900;
}

.menu-row.is-active,
.menu-row:hover {
  border-color: #c7a760;
  background: #271007;
  color: #ffe1a1;
}

.side-ledger {
  margin-top: 10px;
  border: 1px solid #4b3b21;
}

.side-ledger p,
.stat-book p {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  margin: 0;
  border-bottom: 1px solid #362817;
}

.side-ledger p:last-child,
.stat-book p:last-child {
  border-bottom: 0;
}

.side-ledger b,
.side-ledger span,
.stat-book b,
.stat-book span {
  padding: 6px 7px;
}

.side-ledger b,
.stat-book b {
  border-right: 1px solid #362817;
  background: rgba(80, 54, 25, 0.36);
  color: #c7a760;
  text-transform: uppercase;
}

.side-ledger span,
.stat-book span {
  color: #d7c59b;
}

.difficulty-row span {
  display: flex;
  gap: 4px;
  align-items: center;
}

.difficulty-row img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.9;
  filter: grayscale(1) contrast(1.55) brightness(1.08);
}

.rpg-content {
  padding: 8px;
  min-width: 0;
}

.entry-card {
  padding: 0;
}

.entry-header {
  padding: 10px 12px;
  border-bottom: 1px solid #5a4726;
  background:
    linear-gradient(180deg, rgba(77, 18, 12, 0.48), rgba(12, 7, 4, 0.92));
}

.entry-header span,
.codex-top span {
  display: block;
  margin-bottom: 3px;
  color: #b69854;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.entry-header h1,
.codex-top h1 {
  margin: 0;
  color: #ecd59a;
  font: 900 clamp(2rem, 5.4vw, 4.2rem)/0.92 Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 2px 0 #000, 0 0 10px rgba(116, 26, 18, 0.45);
}

.entry-body {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(230px, 0.9fr);
  gap: 8px;
  padding: 8px;
}

.entry-portrait {
  margin: 0;
  border: 1px solid #4b3b21;
  background: #000;
}

.entry-portrait figcaption {
  padding: 7px 9px;
  border-top: 1px solid #4b3b21;
  background: #0d0804;
  color: #c7a760;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-media {
  width: 100%;
  min-height: 360px;
  border: 0;
  box-shadow: none;
}

.hero::before,
.hero-content,
.hero-actions {
  display: none;
}

.stat-book {
  border: 1px solid #4b3b21;
  background: #0a0603;
}

.rpg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  border-top: 1px solid #5a4726;
  background: #0a0603;
}

.button,
.button.primary,
.button.ghost {
  min-height: 28px;
  padding: 7px 12px;
  border: 1px solid #7b6335;
  background: linear-gradient(180deg, #30200e, #0b0603);
  color: #e5cc86;
  font: 700 0.72rem/1 Tahoma, Verdana, Arial, sans-serif;
}

.dungeon-table {
  margin-top: 8px;
}

.dungeon-table h2 {
  margin: 0;
  padding: 7px 9px;
  border-bottom: 1px solid #5a4726;
  background: #130c06;
  color: #f0d894;
  font: 700 0.8rem/1 Tahoma, Verdana, Arial, sans-serif;
  text-transform: uppercase;
}

.dungeon-table a {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 8px;
  padding: 8px 9px;
  border-bottom: 1px solid #332414;
  color: #d7c59b;
  text-decoration: none;
}

.dungeon-table a:last-child {
  border-bottom: 0;
}

.dungeon-table span {
  color: #c7a760;
  font-weight: 700;
  text-transform: uppercase;
}

.dungeon-table small {
  color: #b8a77d;
}

.inventory-table {
  margin: 8px;
}

.trial-lock {
  margin: 10px 8px 8px;
  padding: 12px;
  border: 1px solid rgba(198, 167, 96, 0.54);
  background:
    linear-gradient(90deg, rgba(92, 22, 65, 0.18), transparent 62%),
    repeating-linear-gradient(135deg, rgba(198, 167, 96, 0.07) 0 1px, transparent 1px 9px),
    #080604;
  box-shadow: inset 0 0 22px rgba(0, 0, 0, 0.58);
}

.trial-lock span {
  display: block;
  margin-bottom: 6px;
  color: #c7a760;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trial-lock p {
  margin: 0;
  color: #d8c99d;
  font-size: 0.92rem;
  line-height: 1.45;
}

.inventory-head,
.inventory-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
}

.inventory-head span,
.inventory-row span {
  padding: 8px;
  border-right: 1px solid #4b3b21;
  border-bottom: 1px solid #4b3b21;
}

.inventory-head span:last-child,
.inventory-row span:last-child {
  border-right: 0;
}

.inventory-head {
  background: #25180a;
  color: #f0d894;
  font-weight: 700;
  text-transform: uppercase;
}

.inventory-row {
  color: #d7c59b;
}

.codex-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 42%);
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  margin-bottom: 8px;
}

.codex-top audio {
  width: 100%;
}

.archive-grid.codex-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
}

.archive-grid.codex-grid .archive-item,
.archive-grid.codex-grid .archive-item.wide,
.archive-grid.codex-grid .archive-item.tall {
  grid-column: auto;
  grid-row: auto;
  border-color: #5a4726;
}

.archive-grid.codex-grid .archive-item img,
.archive-grid.codex-grid .archive-item.wide img,
.archive-grid.codex-grid .archive-item.tall img {
  height: 170px;
  object-fit: cover;
}

.archive-grid.codex-grid .archive-item.contain img {
  object-fit: contain;
}

.archive-grid.codex-grid figcaption {
  min-height: 34px;
  padding: 7px;
  font: 700 0.68rem/1.15 Tahoma, Verdana, Arial, sans-serif;
}

.seal-card .contact-image {
  margin: 0;
}

.seal-card .contact-image img {
  height: 280px;
  object-fit: cover;
}

.site-footer {
  max-width: 1180px;
}

@media (max-width: 920px) {
  .site-header,
  main.rpg-shell,
  .site-footer {
    width: calc(100vw - 14px);
  }

  .site-header,
  main.rpg-shell {
    grid-template-columns: 1fr;
  }

  .brand {
    min-height: 88px;
  }

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

  .rpg-sidebar .panel-title,
  .side-ledger {
    grid-column: 1 / -1;
  }

  .menu-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .menu-row span {
    display: none;
  }

  .entry-body,
  .codex-top {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 520px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  .main-nav {
    grid-template-columns: 1fr;
  }

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

  .entry-header h1,
  .codex-top h1 {
    font-size: clamp(1.7rem, 12vw, 2.65rem);
  }

  .hero-media {
    min-height: 300px;
  }

  .side-ledger p,
  .stat-book p,
  .dungeon-table a,
  .inventory-head,
  .inventory-row {
    grid-template-columns: 1fr;
  }

  .side-ledger b,
  .stat-book b,
  .inventory-head span,
  .inventory-row span {
    border-right: 0;
  }

  .archive-grid.codex-grid {
    grid-template-columns: 1fr;
  }

  body:not(.cover-page) .site-header,
  body:not(.cover-page) main.rpg-shell,
  body:not(.cover-page) .site-footer {
    width: 100vw;
    max-width: 100vw;
  }

  body:not(.cover-page) .site-header,
  body:not(.cover-page) main.rpg-shell {
    padding-right: 6px;
    padding-left: 6px;
  }

  body:not(.cover-page) .rpg-sidebar {
    grid-template-columns: 1fr;
  }

  body:not(.cover-page) .menu-row {
    min-width: 0;
  }

  body:not(.cover-page) .main-nav a,
  body:not(.cover-page) .menu-row,
  body:not(.cover-page) .button {
    font-size: 0.66rem;
  }

  body:not(.cover-page) .entry-body {
    padding: 6px;
  }

  body:not(.cover-page) .entry-header h1,
  body:not(.cover-page) .codex-top h1 {
    max-width: 100%;
    font-size: clamp(1.35rem, 8.2vw, 2rem);
    overflow-wrap: anywhere;
  }

  body:not(.cover-page) .rpg-content,
  body:not(.cover-page) .entry-card,
  body:not(.cover-page) .entry-portrait,
  body:not(.cover-page) .stat-book,
  body:not(.cover-page) .dungeon-table {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }
}

/* Final stat/image alignment: same top, image extends lower */
body:not(.cover-page) .stat-book {
  height: calc(100% - 48px);
  margin-top: 0;
}

/* Final background inscription */
body::after {
  content: "XXIII I";
  white-space: nowrap;
  right: clamp(12px, 3vw, 42px);
  bottom: clamp(16px, 4vh, 46px);
  width: auto;
  max-width: calc(100vw - 24px);
  color: rgba(199, 167, 96, 0.07);
  font: 900 clamp(2.2rem, 8vw, 6.2rem)/1 Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

/* Lift the stat panel above the image edge */
body:not(.cover-page) .stat-book {
  height: calc(100% + 58px);
  margin-top: -58px;
}

/* Temporary fixed dragon item: green only */
.entry-portrait .hero-media-home,
.entry-portrait .hero-media-home.is-green {
  background:
    url("images/ITEM_DRAGON_CD_GREEEN.jpg") center center / 100% 100% no-repeat;
  filter: contrast(1.12) saturate(0.88) sepia(0.14) brightness(0.86);
}

.entry-portrait .hero-media-home[style] {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.entry-portrait .hero-media-home.is-athal-zackar[style] {
  background-position: 82% center;
}

.entry-portrait .hero-media-home.is-contain[style] {
  background-size: contain;
}

.runner-altar {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 2px ridge var(--dungeon-line);
  background:
    linear-gradient(180deg, rgba(15, 11, 7, 0.98), rgba(4, 3, 2, 0.98)),
    #070504;
  box-shadow:
    inset 0 0 30px rgba(0, 0, 0, 0.72),
    0 0 0 2px #000;
}

.runner-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.runner-topline h2 {
  margin: 0;
  color: #f4ecd8;
  font-size: clamp(1rem, 3vw, 1.45rem);
  line-height: 1.1;
}

.runner-score {
  min-width: 5.6ch;
  padding: 4px 8px;
  border: 1px solid rgba(214, 193, 125, 0.5);
  color: #d6c17d;
  background: #060504;
  font-family: "Courier New", monospace;
  font-size: 0.95rem;
  font-weight: 900;
  text-align: right;
}

.runner-canvas {
  display: block;
  width: 100%;
  height: clamp(160px, 27vw, 230px);
  border: 1px solid rgba(214, 193, 125, 0.42);
  background: #050403;
  image-rendering: auto;
}

/* Dragon item fit + difficulty sigils */
.entry-portrait {
  background: transparent;
}

.entry-portrait .hero-media-home {
  aspect-ratio: 1119 / 840;
  min-height: 0;
  background:
    url("images/ITEM_DRAGON_CD.jpg") center center / 100% 100% no-repeat;
  filter: contrast(1.08) saturate(0.98) sepia(0.06) brightness(0.92);
}

.entry-portrait .hero-media-home.is-green {
  background:
    url("images/ITEM_DRAGON_CD_GREEEN.jpg") center center / 100% 100% no-repeat;
  filter: contrast(1.12) saturate(0.88) sepia(0.14) brightness(0.86);
}

.difficulty-row span {
  gap: 7px;
}

.difficulty-row img {
  width: 42px;
  height: 30px;
  object-fit: contain;
  opacity: 1;
  filter: grayscale(1) invert(1) contrast(2.6) brightness(2.8) drop-shadow(0 1px 0 #000);
}

@media (max-width: 520px) {
  .difficulty-row img {
    width: 36px;
    height: 26px;
  }
}

/* Final lock: green dragon only until refresh variants come back */
.entry-portrait .hero-media-home,
.entry-portrait .hero-media-home.is-green {
  background:
    url("images/ITEM_DRAGON_CD_GREEEN.jpg") center center / 100% 100% no-repeat;
  aspect-ratio: 1119 / 840;
  filter: contrast(1.12) saturate(0.88) sepia(0.14) brightness(0.86);
}

/* Full-screen dungeon layout */
body:not(.cover-page) {
  min-height: 100vh;
}

body:not(.cover-page) .site-header,
body:not(.cover-page) main.rpg-shell,
body:not(.cover-page) .site-footer {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
}

/* Centered codex frame restoration */
body:not(.cover-page) .site-header,
body:not(.cover-page) main.rpg-shell,
body:not(.cover-page) .site-footer {
  width: min(1180px, calc(100vw - 28px));
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

body:not(.cover-page) .site-header {
  position: relative;
  top: auto;
  min-height: 0;
  margin-top: 16px;
  border-right: 1px solid #6b552c;
  border-left: 1px solid #6b552c;
  grid-template-columns: 210px 1fr;
}

body:not(.cover-page) main.rpg-shell {
  min-height: 0;
  margin-top: 8px;
  border-right: 1px solid #6b552c;
  border-left: 1px solid #6b552c;
  grid-template-columns: 220px minmax(0, 1fr);
}

body:not(.cover-page) .rpg-sidebar {
  position: static;
  max-height: none;
  overflow: visible;
}

body:not(.cover-page) .rpg-content {
  min-height: 0;
}

body:not(.cover-page) .entry-body {
  grid-template-columns: minmax(260px, 0.86fr) minmax(330px, 1.14fr);
}

body:not(.cover-page) .stat-book p {
  grid-template-columns: minmax(118px, 0.34fr) minmax(0, 1fr);
}

body:not(.cover-page) .stat-book {
  display: grid;
  grid-template-rows: repeat(6, minmax(0, 1fr));
  height: calc(100% + 14px);
  margin-top: -14px;
}

body:not(.cover-page) .stat-book p {
  min-height: 0;
}

body:not(.cover-page) .stat-book b,
body:not(.cover-page) .stat-book span {
  display: flex;
  align-items: center;
  padding: 9px 10px;
}

body:not(.cover-page) .stat-book span {
  font-size: 0.86rem;
}

body:not(.cover-page) .hero-media {
  min-height: 360px;
}

body:not(.cover-page) .archive-grid.codex-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body:not(.cover-page) .archive-grid.codex-grid .archive-item img,
body:not(.cover-page) .archive-grid.codex-grid .archive-item.wide img,
body:not(.cover-page) .archive-grid.codex-grid .archive-item.tall img {
  height: 170px;
}

body:not(.cover-page) .site-footer {
  margin-top: 12px;
  margin-bottom: 18px;
  border-right: 1px solid #6b552c;
  border-left: 1px solid #6b552c;
}

@media (max-width: 920px) {
  body:not(.cover-page) .site-header,
  body:not(.cover-page) main.rpg-shell,
  body:not(.cover-page) .site-footer {
    width: calc(100vw - 14px);
  }

  body:not(.cover-page) .site-header,
  body:not(.cover-page) main.rpg-shell {
    grid-template-columns: 1fr;
  }

  body:not(.cover-page) .rpg-sidebar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
  }

  body:not(.cover-page) .rpg-sidebar .panel-title,
  body:not(.cover-page) .side-ledger {
    grid-column: 1 / -1;
  }

  body:not(.cover-page) .entry-body {
    grid-template-columns: 1fr;
  }

  body:not(.cover-page) .archive-grid.codex-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  body:not(.cover-page) .site-header,
  body:not(.cover-page) main.rpg-shell,
  body:not(.cover-page) .site-footer {
    width: calc(100vw - 12px);
    max-width: calc(100vw - 12px);
  }

  body:not(.cover-page) .rpg-sidebar,
  body:not(.cover-page) .main-nav,
  body:not(.cover-page) .archive-grid.codex-grid {
    grid-template-columns: 1fr;
  }
}

body:not(.cover-page) .site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 118px;
  margin-top: 0;
  border-right: 0;
  border-left: 0;
  grid-template-columns: 230px 1fr;
}

body:not(.cover-page) main.rpg-shell {
  min-height: calc(100vh - 118px);
  margin-top: 0;
  border-right: 0;
  border-left: 0;
  grid-template-columns: clamp(220px, 18vw, 300px) minmax(0, 1fr);
}

body:not(.cover-page) .rpg-sidebar {
  position: sticky;
  top: 134px;
  max-height: calc(100vh - 150px);
  overflow: auto;
}

body:not(.cover-page) .rpg-content {
  min-height: calc(100vh - 150px);
}

body:not(.cover-page) .entry-body {
  grid-template-columns: minmax(340px, 1fr) minmax(300px, 0.8fr);
}

body:not(.cover-page) .hero-media {
  min-height: clamp(420px, 48vh, 620px);
}

body:not(.cover-page) .archive-grid.codex-grid {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}

body:not(.cover-page) .archive-grid.codex-grid .archive-item img,
body:not(.cover-page) .archive-grid.codex-grid .archive-item.wide img,
body:not(.cover-page) .archive-grid.codex-grid .archive-item.tall img {
  height: clamp(170px, 18vw, 260px);
}

body:not(.cover-page) .site-footer {
  margin-top: 0;
  margin-bottom: 0;
  border-right: 0;
  border-left: 0;
}

@media (max-width: 920px) {
  body:not(.cover-page) .site-header,
  body:not(.cover-page) main.rpg-shell,
  body:not(.cover-page) .site-footer {
    width: 100%;
  }

  body:not(.cover-page) .site-header {
    position: relative;
    min-height: 0;
    grid-template-columns: 1fr;
  }

  body:not(.cover-page) main.rpg-shell {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  body:not(.cover-page) .rpg-sidebar {
    position: static;
    max-height: none;
  }

  body:not(.cover-page) .rpg-content {
    min-height: auto;
  }

  body:not(.cover-page) .entry-body {
    grid-template-columns: 1fr;
  }
}

/* Final state lock */
body:not(.cover-page) .site-header,
body:not(.cover-page) main.rpg-shell,
body:not(.cover-page) .site-footer {
  width: min(1180px, calc(100vw - 28px));
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

body:not(.cover-page) .site-header {
  position: relative;
  top: auto;
  min-height: 0;
  margin-top: 16px;
  border-right: 1px solid #6b552c;
  border-left: 1px solid #6b552c;
  grid-template-columns: 210px 1fr;
}

body:not(.cover-page) main.rpg-shell {
  min-height: 0;
  margin-top: 8px;
  border-right: 1px solid #6b552c;
  border-left: 1px solid #6b552c;
  grid-template-columns: 220px minmax(0, 1fr);
}

body:not(.cover-page) .rpg-sidebar {
  position: static;
  max-height: none;
  overflow: visible;
}

body:not(.cover-page) .rpg-content {
  min-height: 0;
}

body:not(.cover-page) .entry-body {
  grid-template-columns: minmax(280px, 1.1fr) minmax(230px, 0.9fr);
}

body:not(.cover-page) .hero-media {
  min-height: 360px;
}

.entry-portrait .hero-media-home,
.entry-portrait .hero-media-home.is-green {
  background:
    url("images/ITEM_DRAGON_CD_GREEEN.jpg") center center / 100% 100% no-repeat;
  filter: contrast(1.12) saturate(0.88) sepia(0.14) brightness(0.86);
}

.archive-grid.codex-grid .archive-item img[src*="midoran"],
.archive-grid.codex-grid .archive-item.wide img[src*="midoran"],
.archive-grid.codex-grid .archive-item.tall img[src*="midoran"] {
  object-fit: contain;
  padding: 10px;
  background: #000;
}

@media (max-width: 920px) {
  body:not(.cover-page) .site-header,
  body:not(.cover-page) main.rpg-shell,
  body:not(.cover-page) .site-footer {
    width: calc(100vw - 14px);
  }

  body:not(.cover-page) .site-header,
  body:not(.cover-page) main.rpg-shell {
    grid-template-columns: 1fr;
  }

  body:not(.cover-page) .rpg-sidebar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
  }

  body:not(.cover-page) .rpg-sidebar .panel-title,
  body:not(.cover-page) .side-ledger {
    grid-column: 1 / -1;
  }

  body:not(.cover-page) .entry-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  body:not(.cover-page) .site-header,
  body:not(.cover-page) main.rpg-shell,
  body:not(.cover-page) .site-footer {
    width: calc(100vw - 12px);
    max-width: calc(100vw - 12px);
  }

  body:not(.cover-page) .site-header,
  body:not(.cover-page) main.rpg-shell {
    padding-right: 6px;
    padding-left: 6px;
  }

  body:not(.cover-page) .main-nav,
  body:not(.cover-page) .rpg-sidebar {
    grid-template-columns: 1fr;
  }

  body:not(.cover-page) .entry-body {
    padding: 6px;
  }

  body:not(.cover-page) .entry-header h1,
  body:not(.cover-page) .codex-top h1 {
    max-width: 100%;
    font-size: clamp(1.35rem, 8.2vw, 2rem);
    overflow-wrap: anywhere;
  }
}

/* Stable menu lock */
body:not(.cover-page) .site-header {
  grid-template-columns: 210px minmax(0, 1fr);
}

body:not(.cover-page) main.rpg-shell {
  grid-template-columns: 220px minmax(0, 1fr);
}

body:not(.cover-page) .rpg-sidebar {
  width: 220px;
  min-width: 220px;
  box-sizing: border-box;
}

body:not(.cover-page) .panel-title,
body:not(.cover-page) .menu-row,
body:not(.cover-page) .side-ledger p {
  box-sizing: border-box;
}

body:not(.cover-page) .menu-row {
  min-height: 38px;
  grid-template-columns: 32px minmax(0, 1fr);
}

body:not(.cover-page) .menu-row span {
  min-width: 32px;
}

body:not(.cover-page) .menu-row,
body:not(.cover-page) .side-ledger b,
body:not(.cover-page) .side-ledger span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body:not(.cover-page) .side-ledger p {
  min-height: 34px;
  grid-template-columns: 86px minmax(0, 1fr);
}

@media (max-width: 920px) {
  body:not(.cover-page) .site-header,
  body:not(.cover-page) main.rpg-shell {
    grid-template-columns: 1fr;
  }

  body:not(.cover-page) .rpg-sidebar {
    width: 100%;
    min-width: 0;
  }
}
