@font-face {
  font-family: "Elan ITC Std Black";
  src: url("fonts/elan-itc-std-black-webfont.ttf?v=20260901-fontswap") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Marcellus SC";
  src: url("fonts/MarcellusSC-Regular.ttf?v=20260901-fontswap") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sand Dunes";
  src: url("fonts/SAND_DUNES.OTF?v=20260901-fontswap") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #000000;
  --parchment: #e9dfc8;
  --gold: #b97a22;
  --gold-bright: #e0a246;
  --green: #238B45;
  --green-bright: #35a85b;
  --line: rgba(233, 223, 200, 0.17);
  --font-display: "Elan ITC Std Black", "Elan ITC Std", "Trajan Pro 3", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Adobe Caslon Pro", "Palatino Linotype", Palatino, Georgia, serif;
  --font-quote: "Sand Dunes", "Adobe Caslon Pro", "Palatino Linotype", Palatino, Georgia, serif;
  --font-ui: "Marcellus SC", "Avenir Next", "Century Gothic", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--parchment);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
p { text-align: center; }
img { max-width: 100%; }

.H1L,
.H2L,
.H3L,
.PL,
.QL {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

.H1C,
.H2C,
.H3C,
.PC,
.QC {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.H1R,
.H2R,
.H3R,
.PR,
.QR {
  text-align: right !important;
  margin-left: auto !important;
  margin-right: 0 !important;
}

.Q,
.QL,
.QC,
.QR {
  max-width: 780px;
  color: #f5eddd;
  font-family: var(--font-body);
  font-size: clamp(19px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.55;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.wordmark { display: flex; align-items: center; }
.wordmark img { display: block; width: 46px; height: 46px; object-fit: contain; }
nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 46px);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
}
nav a { color: #bdb39f; transition: color .2s ease; }
nav a:hover, nav a:focus-visible { color: white; }
.nav-patreon { padding: 11px 16px; border: 1px solid rgba(224, 162, 70, .5); color: var(--gold-bright); }
.nav-secondary { padding: 11px 16px; border: 1px solid var(--line); color: #d8cebb; }
.member-status-badge {
  padding: 11px 16px;
  border: 1px solid rgba(224, 162, 70, .65);
  background: var(--gold);
  color: #120d07;
  font-family: var(--font-ui);
  box-shadow: 0 10px 34px rgba(185,122,34,.17);
}
.member-status-badge.subscribed {
  font-family: var(--font-display);
  font-weight: 900;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 900; }
h1 {
  max-width: 760px;
  margin: 0 auto;
  color: #fffaf0;
  font-size: clamp(58px, 7vw, 108px);
  line-height: .9;
}
.eyebrow,
.section-kicker {
  margin: 0 0 22px;
  color: var(--gold-bright);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: calc(100svh - 83px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .8fr);
  align-items: center;
  gap: clamp(40px, 7vw, 120px);
  overflow: hidden;
  padding: 80px max(32px, calc((100vw - 1440px) / 2));
  background: #000;
}
.hero-copy { text-align: center; }
.hero-copy h1 {
  max-width: 680px;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 42px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.button-primary { background: var(--gold); color: #120d07; box-shadow: 0 10px 34px rgba(185,122,34,.17); }
.button-primary:hover { background: var(--gold-bright); }
.button-quiet { gap: 12px; padding-inline: 0; color: #ddd2bd; }
.button-locked { background: #b81717; color: #fff3e3; box-shadow: 0 10px 34px rgba(184,23,23,.18); }
.button-locked:hover { background: #d52a2a; }
.paid-member .button-locked {
  background: var(--green);
  color: #fffaf0;
  box-shadow: 0 10px 34px rgba(47,143,78,.22);
}
.free-member .button-primary,
.paid-member .button-primary {
  background: var(--green);
  color: #fffaf0;
  box-shadow: 0 10px 34px rgba(35,139,69,.22);
}
.free-member .button-primary:hover,
.paid-member .button-primary:hover,
.paid-member .button-locked:hover { background: var(--green-bright); }
.nav-content-library {
  border-color: rgba(35,139,69,.8);
  background: var(--green);
  color: #fffaf0 !important;
  box-shadow: 0 10px 34px rgba(35,139,69,.22);
}
.nav-content-library:hover,
.nav-content-library:focus-visible {
  background: var(--green-bright);
  color: #fffaf0 !important;
}
.access-choice-grid {
  width: min(900px, calc(100% - 64px));
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.access-choice-card {
  display: grid;
  min-height: 220px;
  align-content: center;
  justify-items: center;
  gap: 18px;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
  text-align: center;
}
.access-choice-card:hover {
  border-color: rgba(224,162,70,.55);
  background: rgba(224,162,70,.055);
}
.access-choice-card h2 {
  margin: 0;
  color: #fffaf0;
  font-size: clamp(28px, 3vw, 44px);
}
.access-choice-card p {
  margin: 0;
  color: #bdb39f;
  font-family: var(--font-quote);
  font-size: clamp(20px, 2.1vw, 32px);
  line-height: 1.18;
}
.access-choice-card .button {
  margin-top: 8px;
  min-width: 150px;
}
.access-message {
  width: min(760px, calc(100% - 64px));
  margin: 42px auto 0;
  padding: 28px;
  border: 1px solid rgba(224,162,70,.35);
  color: #f5eddd;
  background: rgba(224,162,70,.055);
}
.hero-mark { justify-self: end; width: min(500px, 100%); text-align: center; }
.hero-mark img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 26px 65px rgba(0,0,0,.55));
}

.portfolio-menu {
  width: min(1360px, calc(100% - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
}
.portfolio-menu > a {
  position: relative;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  overflow: hidden;
  padding: 34px;
  background-position: center;
  background-size: cover;
  text-align: left;
}
.portfolio-menu h2 {
  margin: 0;
  color: #fffaf0;
  font-size: clamp(38px, 4vw, 62px);
  line-height: 1;
  text-shadow: 0 2px 18px #000;
}
.portfolio-menu p {
  margin: 18px 0 0;
  color: var(--gold-bright);
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.site-epilogue {
  display: block;
  width: min(900px, calc(100% - 64px));
  margin: 0 auto;
  padding: 120px 0 64px;
  border-top: 1px solid var(--line);
  color: #a99f8d;
  font: 17px/1.75 var(--font-body);
}
.site-epilogue p { margin: 0 0 28px; }
.site-epilogue .epilogue-thanks {
  margin-block: 54px;
  color: #f5eddd;
  font: 900 clamp(34px, 4vw, 56px)/1.1 var(--font-display);
}
.site-epilogue a {
  color: var(--gold-bright);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.site-epilogue .epilogue-copyright {
  margin: 72px 0 0;
  color: #655f54;
  font: 400 10px/1.5 var(--font-ui);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.subpage { min-height: 100vh; background: #000; }
.page-hero {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  padding: 130px 0 120px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 1050px; font-size: clamp(58px, 8vw, 122px); }
.page-hero h1,
.page-hero .eyebrow {
  text-align: center;
}
.page-hero > p:last-child {
  max-width: 760px;
  margin: 34px auto 0;
  color: #aaa08e;
  font: 19px/1.75 var(--font-body);
}
.minimal-title-hero {
  padding: 110px 0 64px;
  border-bottom: 0;
  text-align: center;
}
.minimal-title-hero h1 {
  max-width: 680px;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.minimal-title-hero .free-content-support {
  max-width: 680px;
  margin: 30px auto 0;
  color: #aaa08e;
  font: 17px/1.7 var(--font-body);
}
.free-content-support a { color: var(--gold-bright); }
.compact-hero { padding-bottom: 90px; }
.compact-hero h1 { max-width: 900px; font-size: clamp(58px, 7vw, 104px); }
.portfolio-hero {
  min-height: 68vh;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding-bottom: 70px;
}
.portfolio-hero h1 { font-size: clamp(90px, 14vw, 210px); }
.portfolio-hero > p:last-child { max-width: 520px; margin-top: 22px; }

.free-banner-list,
.member-banner-list {
  width: min(980px, calc(100% - 64px));
  margin: 0 auto;
  padding: 48px 0 130px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 42px);
}
.free-banner,
.member-banner {
  position: relative;
  aspect-ratio: 1 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: clamp(18px, 2.4vw, 34px);
  background-position: center;
  background-size: cover;
  overflow: hidden;
  text-align: center;
  transition: transform .28s ease, box-shadow .28s ease;
  will-change: transform;
}
.free-banner:hover,
.member-banner:hover {
  z-index: 2;
  transform: scale(1.035);
  box-shadow: 0 18px 48px rgba(0,0,0,.45);
}
.free-banner h2,
.member-banner h2 {
  margin: 0;
  min-width: min(78%, 230px);
  padding: 14px 18px;
  border: 1px solid rgba(224,162,70,.74);
  background: rgba(0,0,0,.72);
  color: var(--gold-bright);
  font-family: var(--font-ui);
  font-size: clamp(14px, 1.8vw, 22px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-shadow: 0 2px 18px #000;
  box-shadow: 0 12px 34px rgba(0,0,0,.45);
}
.free-banner-link,
.member-banner-link {
  display: none;
}

.member-small-banner-list {
  width: min(1360px, calc(100% - 64px));
  margin: -76px auto 130px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
}
.member-small-banner {
  min-height: clamp(130px, 15vw, 210px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 3vw, 34px);
  background-position: center;
  background-size: cover;
  color: #fffaf0;
  text-align: center;
}
.member-small-banner h2 {
  margin: 0;
  color: #fffaf0;
  font-size: clamp(24px, 2.8vw, 42px);
  line-height: 1;
  text-shadow: 0 2px 18px #000;
}
.member-small-banner .member-banner-link {
  margin-left: 14px;
  margin-top: 0;
}
.member-small-banner:hover .member-banner-link { transform: translate(3px, -3px); }

.pillar-grid {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
}
.pillar-grid article {
  min-height: 240px;
  padding: 40px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.pillar-grid article:nth-child(2n) { border-right: 0; }
.pillar-grid article:nth-last-child(-n+2) { border-bottom: 0; }
.pillar-grid span { color: var(--gold); font: italic 15px Georgia, serif; }
.pillar-grid h2 {
  margin: auto 0 14px;
  color: #f3ead8;
  font-size: clamp(32px, 4vw, 54px);
}
.pillar-grid p { max-width: 360px; margin: 0 auto; color: #958b79; line-height: 1.7; }
.story-callout {
  width: min(1080px, calc(100% - 64px));
  margin: 130px auto;
  padding-left: 0;
  border-left: 0;
  text-align: center;
}
.story-callout h2 {
  max-width: 900px;
  margin: 0 auto;
  color: #f6efdf;
  font: 900 clamp(40px, 5vw, 74px)/1.06 var(--font-display);
}
.story-callout .button { margin-top: 40px; }

.book-shelf {
  width: min(1360px, calc(100% - 64px));
  margin: 0 auto;
  padding: 60px 0 120px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
  justify-content: center;
  gap: clamp(24px, 4vw, 48px);
}
.book-library-section {
  padding: 0 0 30px;
}
.book-library-heading {
  width: min(1360px, calc(100% - 64px));
  margin: 0 auto;
  padding: 70px 0 0;
}
.book-library-heading h2 {
  margin: 10px 0 0;
}
.book-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  text-align: center !important;
}
.book-card { overflow: hidden; border: 1px solid var(--line); background: #000; }
.book-art {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1.414;
  overflow: hidden;
  background: #000;
}
.book-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: filter .4s ease, transform .5s ease;
}
.book-card:hover .book-art img { transform: scale(1.025); }
.book-info { padding: clamp(20px, 2vw, 28px); }
.book-status {
  margin: 0 0 10px;
  color: var(--gold-bright);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.book-card h2,
.dungeon-info h2 { margin: 0; color: #f3ead9; font: 900 30px/1.1 var(--font-display); }
.book-card h2 {
  font-size: clamp(28px, 2.6vw, 42px);
}
.book-info > p:last-child {
  margin: 14px 0 0;
  color: #8e8575;
  font: 16px/1.55 var(--font-body);
}
.book-info > p.book-card-summary {
  margin: 18px auto 0;
  color: #f5eddd;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
}
.book-detail-layout {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 330px);
}
.book-preview-panel {
  display: grid;
  justify-items: center;
}
.book-preview-panel img {
  width: min(520px, 100%);
  aspect-ratio: 1 / 1.414;
  object-fit: cover;
  display: block;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: 0 28px 80px rgba(0,0,0,.42);
}
.book-description {
  margin-top: 80px;
}
.book-description-grid {
  width: min(1280px, calc(100% - 64px));
  margin: 80px auto 0;
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 78px);
  align-items: start;
}
.book-preview-cycle {
  position: sticky;
  top: 28px;
  aspect-ratio: 1 / 1.414;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: 0 28px 80px rgba(0,0,0,.42);
}
.book-preview-cycle img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation-name: book-preview-cycle;
  animation-duration: 20s;
  animation-iteration-count: infinite;
  user-select: none;
}
.book-preview-cycle img:nth-child(1) { animation-delay: 0s; }
.book-preview-cycle img:nth-child(2) { animation-delay: 4s; }
.book-preview-cycle img:nth-child(3) { animation-delay: 8s; }
.book-preview-cycle img:nth-child(4) { animation-delay: 12s; }
.book-preview-cycle img:nth-child(5) { animation-delay: 16s; }
.book-preview-cycle img:only-child {
  opacity: 1;
  animation: none;
}
.book-description-copy {
  min-width: 0;
  width: auto;
  margin: 0;
}
@keyframes book-preview-cycle {
  0%, 18% { opacity: 1; }
  23%, 95% { opacity: 0; }
  100% { opacity: 1; }
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dungeon-grid {
  width: min(1360px, calc(100% - 64px));
  margin: 0 auto;
  padding: 90px 0 130px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.free-dungeon-grid { padding-bottom: 80px; }
.paid-dungeon-grid { padding-top: 0; }
.dungeon-unlock {
  width: min(1360px, calc(100% - 64px));
  margin: 0 auto;
  padding: 0 0 64px;
}
.dungeon-unlock h2 {
  margin: 0;
  color: #fffaf0;
  font-size: clamp(38px, 4vw, 62px);
}
.weekly-free-heading {
  width: min(1360px, calc(100% - 64px));
  margin: 0 auto -46px;
  padding-top: 30px;
  color: var(--gold-bright);
  font-family: var(--font-ui);
  font-size: clamp(15px, 1.9vw, 24px);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.dungeon-card { overflow: hidden; border: 1px solid var(--line); background: #000; }
.dungeon-art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.dungeon-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: filter .4s ease, transform .5s ease;
}
.dungeon-card:hover .dungeon-art img { transform: scale(1.025); }
.dungeon-card-locked .dungeon-art img { filter: grayscale(1) saturate(0); }
.dungeon-card-locked:hover .dungeon-art img { filter: grayscale(0) saturate(1); }
.free-tag {
  position: absolute;
  z-index: 1;
  top: 22px;
  left: 22px;
  padding: 9px 12px;
  background: var(--gold);
  color: #100b05;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.lock-tag {
  position: absolute;
  z-index: 1;
  top: 18px;
  left: 18px;
  width: 38px;
  height: 38px;
  overflow: hidden;
  color: transparent;
  background-image: url("images/originals/ButtonsLocked.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
}
.dungeon-info {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  padding: clamp(20px, 2.2vw, 30px);
  text-align: center;
}
.dungeon-info > div { width: 100%; }
.dungeon-info p {
  margin: 0 0 10px;
  color: var(--gold-bright);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.dungeon-info h2 {
  font-size: clamp(26px, 2.8vw, 42px);
  line-height: 1;
}
.dungeon-card-locked .dungeon-info p,
.dungeon-card-locked .dungeon-info span {
  display: none;
}
.dungeon-info div > span { display: block; margin-top: 10px; color: #8e8575; text-align: center; }

.dungeon-detail-hero {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  padding: 90px 0 70px;
}
.dungeon-detail-hero h1 {
  max-width: 980px;
  font-size: clamp(58px, 6.8vw, 104px);
  line-height: .95;
}
.dungeon-detail-subtitle {
  max-width: 820px;
  margin: 24px auto 0;
  color: #cfc3ad;
  font-family: var(--font-quote);
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.2;
}
.dungeon-detail-layout {
  width: min(1360px, calc(100% - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 330px);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.dungeon-tech-panel {
  border: 1px solid var(--line);
  padding: clamp(28px, 3vw, 42px);
  background: #000;
}
.dungeon-tech-panel h2 { margin: 0 0 34px; color: #fffaf0; font-size: clamp(30px, 3vw, 46px); }
.dungeon-tech-panel dl { display: grid; gap: 18px; margin: 0; }
.dungeon-tech-panel dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}
.dungeon-tech-panel dt {
  color: var(--gold-bright);
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.dungeon-tech-panel dd { margin: 0; color: #f5eddd; }
.download-actions { display: grid; gap: 14px; margin-top: 38px; }
.download-actions .button { width: 100%; }
.dungeon-preview-panel {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
}
.dungeon-wide {
  grid-template-columns: 1fr;
}
.dungeon-wide .preview-window {
  order: 1;
  aspect-ratio: 7087 / 4724;
}
.dungeon-wide .variant-rail {
  order: 2;
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  align-items: start;
}
.dungeon-wide .variant-rail .eyebrow {
  grid-column: 1 / -1;
  text-align: center !important;
  margin-inline: auto !important;
}
.dungeon-tall {
  grid-template-columns: 150px minmax(0, 1fr);
}
.variant-radio { position: absolute; opacity: 0; pointer-events: none; }
.variant-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  align-content: start;
  gap: clamp(14px, 2vw, 24px);
}
.variant-rail .eyebrow { margin: 0 0 4px; }
.variant-rail label {
  display: grid;
  gap: 8px;
  cursor: pointer;
  color: var(--gold-bright);
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: .14em;
  text-align: center;
  text-transform: uppercase;
}
.variant-rail img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(.72);
}
.preview-window {
  position: relative;
  border: 0;
  overflow: hidden;
  background: #020202;
}
.preview-set {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, filter .25s ease;
}
.preview-set img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  animation: preview-cycle 12s infinite;
  user-select: none;
  -webkit-user-drag: none;
}
.preview-set img:nth-child(2) { animation-delay: 3s; }
.preview-set img:nth-child(3) { animation-delay: 6s; }
.preview-set img:nth-child(4) { animation-delay: 9s; }
.preview-set img:only-child {
  opacity: 1;
  animation: none;
}
#variant-free:checked ~ .preview-window .preview-set-free,
#variant-full:checked ~ .preview-window .preview-set-full {
  opacity: 1;
  pointer-events: auto;
}
.variant-radio.paid-variant:checked ~ .preview-window .preview-unlock {
  display: block;
}
#fallen-main:checked ~ .preview-window .preview-fallen-main,
#fallen-tomb:checked ~ .preview-window .preview-fallen-tomb,
#fallen-lava:checked ~ .preview-window .preview-fallen-lava,
#fallen-forest:checked ~ .preview-window .preview-fallen-forest,
#fallen-desert:checked ~ .preview-window .preview-fallen-desert,
#soliscor-main:checked ~ .preview-window .preview-soliscor-main,
#soliscor-water:checked ~ .preview-window .preview-soliscor-water,
#soliscor-lava:checked ~ .preview-window .preview-soliscor-lava,
#soliscor-forest:checked ~ .preview-window .preview-soliscor-forest,
#soliscor-aether:checked ~ .preview-window .preview-soliscor-aether,
#economy-main:checked ~ .preview-window .preview-economy-main,
#economy-night:checked ~ .preview-window .preview-economy-night {
  opacity: 1;
  pointer-events: auto;
}
.preview-set-full { filter: blur(5px) grayscale(.1); }
.preview-unlock {
  position: absolute;
  z-index: 3;
  inset: 50% auto auto 50%;
  width: min(420px, calc(100% - 48px));
  transform: translate(-50%, -50%);
  display: none;
  padding: 28px;
  border: 1px solid rgba(224,162,70,.45);
  background: rgba(0,0,0,.78);
  box-shadow: 0 18px 45px rgba(0,0,0,.45);
}
.preview-unlock p {
  margin: 0;
  color: #fffaf0;
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: .16em;
  line-height: 1.5;
  text-transform: uppercase;
}
#variant-full:checked ~ .preview-window .preview-unlock {
  display: block;
}
.preview-set.active {
  opacity: 1;
  pointer-events: auto;
}
.preview-set.locked {
  filter: blur(5px) grayscale(.1);
}
.preview-set.active-locked,
.preview-set.active-locked img {
  filter: blur(5px) grayscale(.1);
}
.preview-window.show-unlock .preview-unlock {
  display: block;
}
.variant-rail button {
  display: grid;
  gap: 8px;
  padding: 0;
  cursor: pointer;
  color: var(--gold-bright);
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: .14em;
  text-align: center;
  text-transform: uppercase;
  background: transparent;
  border: 0;
}
.variant-rail button:focus-visible {
  outline: 1px solid var(--gold-bright);
  outline-offset: 4px;
}
.variant-rail button img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(.72);
}
.variant-rail button[aria-pressed="true"] img {
  border-color: rgba(224,162,70,.78);
  filter: saturate(1);
}
@keyframes preview-cycle {
  0%, 20% { opacity: 1; }
  25%, 95% { opacity: 0; }
  100% { opacity: 1; }
}
.dungeon-description {
  width: min(900px, calc(100% - 64px));
  margin: 58px auto 0;
  color: #a99f8d;
  font: 18px/1.75 var(--font-body);
}
.dungeon-short-text {
  width: min(900px, calc(100% - 64px));
  margin: 72px auto 0;
}
.dungeon-short-text .QC {
  color: #f5eddd;
  font-family: var(--font-quote);
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1.2;
}
.description-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  margin: 0 auto 42px;
  color: #fffaf0;
  font-size: clamp(32px, 4vw, 58px);
}
.description-divider::before,
.description-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}
.description-divider span { display: block; }
.dungeon-description p {
  margin: 0 auto 24px;
  color: #f5eddd;
}
.dungeon-description p:last-child {
  margin-bottom: 0;
}
.description-subtitle {
  margin: 0 auto 24px;
  color: #fffaf0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
}
.dungeon-description p + .description-subtitle {
  margin-top: 56px;
}
.dungeon-location {
  width: min(1100px, calc(100% - 64px));
  margin: 90px auto 130px;
}
.dungeon-location .QC { margin-bottom: 34px; }
.valenya-map-preview {
  position: relative;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #020202;
}
.valenya-map-preview img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: saturate(.78);
}
.related-dungeons {
  width: min(1360px, calc(100% - 64px));
  margin: 120px auto 0;
}
.related-dungeons > h2 {
  margin: 0 0 42px;
  color: #fffaf0;
  font-size: clamp(38px, 4vw, 62px);
}
.related-dungeon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.page-end-block {
  width: min(900px, calc(100% - 64px));
  margin: 120px auto 90px;
  padding-top: 80px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.page-end-block img {
  display: block;
  width: 72px;
  height: auto;
  margin: 0 auto 32px;
}
.page-end-block .QC {
  margin: 0 auto;
  color: #f5eddd;
}
.legal-page {
  width: min(900px, calc(100% - 64px));
  margin: 0 auto 120px;
  padding-top: 72px;
  border-top: 1px solid var(--line);
}
.legal-page h2 {
  margin: 56px 0 18px;
}
.legal-page p {
  max-width: 78ch;
  margin: 0 0 22px;
}

@media (max-width: 900px) {
  .site-header { width: calc(100% - 36px); }
  nav { gap: 10px; }
  nav a:not(.nav-action) { display: none; }
  .nav-action { padding: 10px 12px; font-size: 10px; }
  .hero { grid-template-columns: 1fr; padding-inline: 24px; padding-top: 70px; }
  .hero-copy { order: 2; }
  .hero-mark { width: min(390px, 82vw); justify-self: center; }
  .book-shelf { grid-template-columns: 1fr; max-width: 560px; }
  .portfolio-menu { grid-template-columns: 1fr; }
  .portfolio-menu > a { min-height: 220px; }
  .related-dungeon-grid { grid-template-columns: 1fr; }
  .dungeon-detail-layout { grid-template-columns: 1fr; }
  .dungeon-preview-panel { grid-template-columns: 1fr; }
  .book-description-grid { grid-template-columns: 1fr; }
  .book-preview-cycle {
    position: relative;
    top: auto;
    width: min(420px, 100%);
    margin: 0 auto;
  }
  .dungeon-wide .variant-rail,
  .variant-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .variant-rail .eyebrow { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .site-header { width: calc(100% - 24px); }
  .wordmark img { width: 38px; height: 38px; }
  nav { gap: 5px; letter-spacing: .08em; }
  .nav-action { padding: 8px 7px; font-size: 8px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button-quiet { justify-content: flex-start; }
  .portfolio-menu,
  .page-hero,
  .pillar-grid,
  .story-callout,
  .book-shelf,
  .dungeon-grid,
  .dungeon-detail-hero,
  .dungeon-detail-layout,
  .dungeon-description,
  .dungeon-location,
  .book-description-grid,
  .related-dungeons,
  .page-end-block,
  .free-banner-list,
  .member-banner-list,
  .member-small-banner-list,
  .legal-page,
  .site-epilogue { width: calc(100% - 36px); }
  .page-hero { padding-block: 90px 70px; }
  .pillar-grid,
  .dungeon-grid,
  .free-banner-list,
  .member-banner-list,
  .member-small-banner-list { grid-template-columns: 1fr; }
  .pillar-grid article { border-right: 0; border-bottom: 1px solid var(--line) !important; }
  .pillar-grid article:last-child { border-bottom: 0 !important; }
  .story-callout { margin-block: 90px; }
  .dungeon-info { align-items: start; flex-direction: column; }
}







