:root {
  --obsidian: #030302;
  --black: #070605;
  --charcoal: #11100e;
  --ash: #c0b7aa;
  --smoke: #eee3d2;
  --gold: #d8b766;
  --gold-frame: #d8b766;
  --bright-gold: #f0d488;
  --bronze: #8b5c2f;
  --ember: #b64b25;
  --line: rgba(216, 183, 102, 0.32);
  --panel: rgba(12, 11, 10, 0.88);
  --serif: "Cormorant Garamond", Georgia, serif;
  --display: "Cinzel", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
  --header-height: 76px;
  --page-edge: 56px;
  --page-top-gap: 76px;
  --content-rail: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-x: hidden;
  margin: 0;
  color: var(--smoke);
  background:
    radial-gradient(circle at 50% -10%, rgba(182, 75, 37, 0.24), transparent 31rem),
    radial-gradient(circle at 5% 30%, rgba(216, 183, 102, 0.08), transparent 28rem),
    linear-gradient(180deg, var(--obsidian) 0%, #0b0a09 44%, var(--obsidian) 100%);
  font-family: var(--sans);
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    radial-gradient(circle at 20% 20%, rgba(216, 183, 102, 0.08), transparent 18rem),
    radial-gradient(circle at 80% 10%, rgba(120, 120, 120, 0.06), transparent 22rem);
  background-size: 86px 86px, 86px 86px, auto, auto;
  opacity: 0.55;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 50% 10%, transparent 0, rgba(0, 0, 0, 0.38) 46rem),
    linear-gradient(90deg, rgba(0, 0, 0, 0.7), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.7));
}

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

main {
  overflow: hidden;
}

.section-heading,
.world-copy,
.adaptation-layout,
.author-layout,
.book-grid,
.character-grid,
.expansion-copy,
.contact-form {
  width: min(100%, var(--content-rail));
  margin-inline: auto;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: var(--header-height);
  height: var(--header-height);
  padding: 0 var(--page-edge);
  border-bottom: 1px solid var(--gold-frame);
  background: rgba(3, 3, 2, 0.92);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.scrolled {
  border-color: var(--gold-frame);
  background: rgba(3, 3, 2, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-mark {
  width: 12px;
  height: 28px;
  border: 1px solid var(--gold-frame);
  background: linear-gradient(180deg, var(--bright-gold), var(--bronze) 58%, var(--ember));
  box-shadow: 0 0 24px rgba(216, 183, 102, 0.28);
}

.site-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  color: var(--ash);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold-frame);
  background: rgba(21, 20, 19, 0.72);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--gold);
}

.section {
  position: relative;
  padding: clamp(76px, 10vw, 128px) var(--page-edge);
  overflow-x: clip;
}

main > .section:first-child:not(.hero) {
  padding-top: calc(var(--header-height) + var(--page-top-gap));
}

.section::before {
  position: absolute;
  top: 0;
  left: var(--page-edge);
  right: var(--page-edge);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(216, 183, 102, 0.34), rgba(255, 244, 223, 0.12), transparent);
}

.section::after {
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(3, 3, 2, 0.54));
}

.section > * {
  position: relative;
  z-index: 1;
}

.hero::before,
.hero::after {
  z-index: -1;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 42px);
  place-items: center;
  min-height: 96vh;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 28px);
  padding-bottom: clamp(42px, 6vw, 78px);
  text-align: center;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 26%, rgba(240, 212, 136, 0.1) 42%, transparent 57%),
    linear-gradient(245deg, transparent 0 34%, rgba(182, 75, 37, 0.08) 50%, transparent 66%),
    radial-gradient(ellipse at 50% 42%, rgba(240, 212, 136, 0.18), transparent 21rem);
  mix-blend-mode: screen;
  opacity: 0.78;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 50% 43%, rgba(240, 212, 136, 0.26), transparent 18rem),
    radial-gradient(ellipse at 50% 34%, rgba(182, 75, 37, 0.22), transparent 30rem),
    radial-gradient(ellipse at 50% 62%, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.9) 42rem),
    linear-gradient(180deg, rgba(3, 3, 2, 0.42), rgba(3, 3, 2, 0.92) 64%, rgba(3, 3, 2, 1)),
    url("assets/world-map.svg") center / cover no-repeat;
  opacity: 0.78;
  filter: saturate(1.03) contrast(1.22);
}

.hero::after {
  position: absolute;
  inset: 82px clamp(18px, 7vw, 104px) 36px;
  z-index: -1;
  pointer-events: none;
  content: "";
  border: 1px solid var(--gold-frame);
  box-shadow:
    inset 0 0 120px rgba(0, 0, 0, 0.82),
    inset 0 0 8px rgba(216, 183, 102, 0.12),
    0 0 90px rgba(0, 0, 0, 0.44);
}

.hero-content {
  display: grid;
  justify-items: center;
  width: min(100%, 1280px);
  min-width: 0;
}

.hero .eyebrow {
  margin-bottom: 18px;
  color: rgba(240, 212, 136, 0.74);
  font-size: 0.68rem;
}

.eyebrow,
.series-label {
  margin: 0 0 12px;
  color: var(--bright-gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 1280px;
  color: #fff4df;
  font-size: clamp(4.55rem, 13.6vw, 14.5rem);
  font-weight: 700;
  line-height: 0.82;
  text-shadow:
    0 9px 34px rgba(0, 0, 0, 0.92),
    0 0 56px rgba(216, 183, 102, 0.22),
    0 0 4px rgba(255, 244, 223, 0.18);
}

h2 {
  max-width: 980px;
  color: #fff0d6;
  font-size: clamp(2.25rem, 5vw, 4.7rem);
  font-weight: 700;
}

h3 {
  color: #f6e3bc;
  font-size: 1.22rem;
}

p {
  color: var(--ash);
}

.hero-subtitle {
  margin: 28px 0 8px;
  color: rgba(255, 240, 215, 0.88);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.9rem);
  font-weight: 600;
}

.hero-hook {
  max-width: 780px;
  margin: 24px auto 0;
  color: rgba(255, 240, 215, 0.82);
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.7vw, 1.55rem);
  font-weight: 600;
}

.tagline {
  margin: 0;
  color: rgba(240, 212, 136, 0.9);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.55vw, 1.35rem);
  font-weight: 700;
}

.hero-actions {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  opacity: 0.9;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid var(--gold-frame);
  border-radius: 999px;
  color: #f5ead5;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  transition: transform 170ms ease, border-color 170ms ease, background 170ms ease, box-shadow 170ms ease;
}

.hero .button {
  min-height: 44px;
  padding: 11px 20px;
  font-size: 0.7rem;
}

.button:hover,
.book-panel:hover,
.character-card:hover,
.faction-grid article:hover {
  transform: translateY(-3px);
}

.primary {
  border-color: var(--gold-frame);
  background: linear-gradient(135deg, #8b5c2f 0%, #d8b766 48%, #f0d488 100%);
  color: #090705;
}

.secondary {
  background: rgba(216, 183, 102, 0.1);
}

.ghost {
  background: rgba(3, 3, 2, 0.48);
}

.button:hover {
  border-color: var(--gold-frame);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38), 0 0 30px rgba(216, 183, 102, 0.12);
}

.hero-covers {
  display: grid;
  grid-template-columns: repeat(3, minmax(88px, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
  align-items: end;
  width: min(600px, 76vw);
  opacity: 0.78;
}

.hero-covers img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--gold-frame);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.62), 0 0 26px rgba(216, 183, 102, 0.08);
}

.hero-covers img:nth-child(2) {
  transform: translateY(-18px);
}

.section-heading {
  max-width: var(--content-rail);
  margin: 0 auto 48px;
  position: relative;
  text-align: left;
}

.author-layout > div > .eyebrow:first-child {
  position: absolute;
  bottom: 100%;
  left: 0;
  margin: 0 0 12px;
}

.author-layout > div {
  position: relative;
}

.page-title {
  max-width: var(--content-rail);
  margin: 0;
  color: #fff4df;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 700;
  line-height: 1;
  text-align: left;
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.72), 0 0 38px rgba(216, 183, 102, 0.16);
}

.section-heading h2,
.world-copy > h2,
.adaptation-layout > div > h2,
.author-layout h2,
.contact .section-heading h2 {
  max-width: 820px;
  margin: 20px 0 0;
  color: rgba(255, 240, 215, 0.86);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.22;
}

.world-copy > .page-title,
.adaptation-layout .page-title,
.author-layout .page-title {
  margin: 0;
  text-align: left;
}

.world-copy > h2,
.adaptation-layout > div > h2,
.author-layout h2 {
  margin-inline: 0;
  text-align: left;
}

.book-grid {
  display: grid;
  gap: clamp(38px, 6vw, 72px);
  max-width: var(--content-rail);
  margin: 0 auto;
}

.book-panel {
  display: block;
  min-width: 0;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--gold-frame);
  background:
    radial-gradient(ellipse at 18% 50%, rgba(216, 183, 102, 0.14), transparent 18rem),
    linear-gradient(135deg, rgba(216, 183, 102, 0.08), transparent 36%),
    linear-gradient(135deg, rgba(12, 11, 10, 0.96), rgba(22, 18, 15, 0.82));
  box-shadow: 0 34px 84px rgba(0, 0, 0, 0.38);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.book-panel-inner {
  width: 100%;
  box-sizing: border-box;
  margin-right: 0;
  margin-left: 0;
}

.book-copy {
  width: 100%;
  max-width: none;
  min-width: 0;
  box-sizing: border-box;
  margin-right: 0;
  margin-left: 0;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--gold-frame);
  background:
    linear-gradient(135deg, rgba(216, 183, 102, 0.08), transparent 38%),
    rgba(7, 6, 5, 0.42);
  box-shadow: inset 0 0 0 1px rgba(240, 212, 136, 0.08), 0 18px 44px rgba(0, 0, 0, 0.24);
  text-align: left;
}

.novels .book-copy p:not(.series-label):not(.word-count) {
  text-align: justify;
  text-justify: inter-word;
}

.novels .book-copy h3,
.novels .book-copy .series-label,
.novels .book-copy .word-count,
.novels .book-copy .text-button {
  text-align: left;
}

.book-visual-pair {
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
  margin-right: 0;
  margin-left: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 46px);
  align-items: stretch;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--gold-frame);
  background: rgba(7, 6, 5, 0.36);
  box-shadow: inset 0 0 0 1px rgba(240, 212, 136, 0.08), 0 22px 54px rgba(0, 0, 0, 0.28);
}

.book-copy + .book-visual-pair {
  margin-top: clamp(30px, 5vw, 54px);
}

.book-visual {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  justify-items: center;
  min-width: 0;
  min-height: 100%;
  margin: 0;
}

.book-visual img {
  width: 100%;
  max-width: 100%;
  height: clamp(420px, 48vw, 760px);
  object-fit: contain;
  border: 1px solid var(--gold-frame);
  background: rgba(3, 3, 2, 0.52);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.58);
  transition: transform 260ms ease, box-shadow 260ms ease, filter 260ms ease;
}

/* === HERO (TOP) NOVELS PAGE COVERS - REDUCE SIZE === */
.novels-hero-covers {
  display: flex;
  justify-content: center;
  gap: 40px;
  align-items: center;
}

.novels-hero-covers img {
  width: 60%;
  max-width: 320px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* === GLOBAL BOOK COVER IMAGES - INCREASE SIZE ELSEWHERE === */
.book-cover img,
.book-cover-visual img,
.cover-image img,
.novel-card img {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
}

.book-cover,
.book-cover-visual,
.novel-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.novel-frame {
  padding: 20px;
}

img {
  image-rendering: auto;
}

.container,
.frame,
.novel-frame {
  max-width: 1200px;
  margin: 0 auto;
}

.book-panel:hover {
  border-color: var(--gold-frame);
  box-shadow: 0 42px 98px rgba(0, 0, 0, 0.48);
}

.faction-section,
.book-panel-outer,
.gold-frame,
.world-image-frame,
.character-image {
  border: 1px solid var(--gold-frame);
}

.book-panel:hover img {
  transform: translateY(-8px) scale(1.025);
  filter: contrast(1.06) saturate(1.06);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.68), 0 0 34px rgba(216, 183, 102, 0.14);
}

.text-button {
  display: inline-flex;
  margin-top: 12px;
  color: var(--bright-gold);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.word-count {
  margin: 14px 0 0;
  color: rgba(240, 212, 136, 0.76);
  font-size: 0.82rem;
  font-weight: 700;
}

.novel-map {
  margin: 0;
}

.novel-map figcaption {
  color: rgba(240, 212, 136, 0.76);
  font-size: 0.76rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.world {
  background:
    linear-gradient(180deg, rgba(139, 92, 47, 0.16), rgba(3, 3, 2, 0)),
    radial-gradient(ellipse at 22% 44%, rgba(216, 183, 102, 0.08), transparent 26rem);
}

.world-layout,
.adaptation-layout,
.author-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
  max-width: var(--content-rail);
  margin: 0 auto;
}

.world-layout {
  grid-template-columns: 1fr;
}

.world-copy {
  max-width: var(--content-rail);
  margin: 0 auto;
}

.map-frame,
.author-layout img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--gold-frame);
  background: var(--panel);
  box-shadow: inset 0 0 0 1px rgba(240, 212, 136, 0.1), 0 30px 82px rgba(0, 0, 0, 0.44);
}

.map-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.faction-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(42px, 6vw, 72px);
  margin-top: clamp(34px, 5vw, 58px);
}

.faction-grid article,
.character-card,
.season-stack article {
  border: 1px solid var(--gold-frame);
  background:
    linear-gradient(145deg, rgba(216, 183, 102, 0.07), transparent 42%),
    rgba(12, 11, 10, 0.86);
}

.faction-grid article {
  display: grid;
  justify-items: center;
  padding: clamp(26px, 4vw, 48px);
  transition: transform 170ms ease, border-color 170ms ease;
}

.faction-grid article > h3 {
  width: 100%;
  margin: 0 0 clamp(20px, 3vw, 30px);
  text-align: center;
}

.faction-media {
  display: grid;
  grid-template-rows: auto auto auto auto;
  justify-items: center;
  gap: 0;
  width: 100%;
  margin: 0 auto clamp(20px, 3vw, 28px);
}

.faction-main-image,
.faction-supporting-images img {
  width: 100%;
  border: 1px solid var(--gold-frame);
  background: rgba(3, 3, 2, 0.48);
  object-fit: contain;
  box-shadow: inset 0 0 0 1px rgba(240, 212, 136, 0.08), 0 18px 42px rgba(0, 0, 0, 0.28);
  cursor: zoom-in;
}

.faction-main-image {
  display: block;
  max-width: min(100%, 1040px);
  height: clamp(360px, 42vw, 560px);
  margin: 0 auto;
}

.faction-supporting-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(14px, 2vw, 22px);
  align-items: stretch;
  width: min(100%, 1040px);
  margin: clamp(24px, 3.4vw, 38px) auto 0;
}

.faction-supporting-images img {
  max-width: 100%;
  height: clamp(240px, 25vw, 340px);
  object-fit: cover;
  object-position: center;
}

.faction-supporting-images figure {
  display: grid;
  grid-template-rows: auto auto;
  gap: 10px;
  align-items: start;
  margin: 0;
}

.faction-media figcaption {
  margin: 12px 0 0;
  color: rgba(240, 212, 136, 0.76);
  font-size: 0.76rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.kingdom-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 34px);
  width: 100%;
  margin: 0 auto clamp(22px, 3vw, 34px);
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--gold-frame);
  background:
    linear-gradient(145deg, rgba(216, 183, 102, 0.07), transparent 44%),
    rgba(7, 6, 5, 0.42);
  box-shadow: inset 0 0 0 1px rgba(240, 212, 136, 0.08), 0 24px 62px rgba(0, 0, 0, 0.28);
}

.kingdom-gallery figure {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
}

.kingdom-gallery img {
  width: 100%;
  border: 1px solid var(--gold-frame);
  background: rgba(3, 3, 2, 0.52);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.44);
  cursor: zoom-in;
}

.kingdom-main {
  display: grid;
  align-content: start;
  gap: 12px;
  width: 100%;
}

.kingdom-main img {
  aspect-ratio: 16 / 10;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center top;
}

.kingdom-supporting {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  align-content: start;
  width: 100%;
}

.kingdom-supporting figure {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.kingdom-supporting img {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.kingdom-gallery figcaption {
  margin: 0;
  color: rgba(240, 212, 136, 0.78);
  font-size: 0.74rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.image-enlarge-note,
.faction-supporting-images figure figcaption {
  margin: 0;
  color: rgba(192, 183, 170, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.image-enlarge-note {
  margin-top: 8px;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 48px);
  background: rgba(3, 3, 2, 0.92);
  backdrop-filter: blur(10px);
}

.image-lightbox.open {
  display: flex;
}

.image-lightbox img {
  max-width: calc(100vw - clamp(24px, 6vw, 80px));
  max-height: calc(100vh - clamp(70px, 12vw, 120px));
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--gold-frame);
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.72);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold-frame);
  border-radius: 999px;
  background: rgba(8, 7, 6, 0.78);
  color: var(--bright-gold);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 52px;
  height: 72px;
  border: 1px solid var(--gold-frame);
  background: rgba(8, 7, 6, 0.72);
  color: var(--bright-gold);
  cursor: pointer;
  font-size: 2.2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: clamp(12px, 3vw, 34px);
}

.lightbox-next {
  right: clamp(12px, 3vw, 34px);
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 26px;
  max-width: var(--content-rail);
  margin: 0 auto;
}

.character-grid + .character-grid {
  margin-top: clamp(34px, 5vw, 58px);
}

.character-grid-supporting {
  padding-top: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--gold-frame);
}

.character-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.character-card:hover {
  border-color: var(--gold-frame);
  box-shadow: 0 32px 76px rgba(0, 0, 0, 0.44), 0 0 34px rgba(216, 183, 102, 0.12);
}

.character-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  flex: 0 0 auto;
  object-fit: cover;
  object-position: center top;
  border-bottom: 1px solid var(--gold-frame);
  transition: transform 280ms ease, filter 280ms ease;
}

.character-card:hover img {
  transform: scale(1.045);
  filter: contrast(1.08) saturate(1.08);
}

.character-card h3,
.character-card p {
  padding-inline: 18px;
}

.character-card h3 {
  padding-top: 18px;
}

.character-card p {
  margin-top: 8px;
  font-size: 0.94rem;
  flex: 1;
}

.adaptation {
  background:
    radial-gradient(circle at 78% 38%, rgba(216, 183, 102, 0.14), transparent 24rem),
    linear-gradient(135deg, rgba(216, 183, 102, 0.1), rgba(182, 75, 37, 0.1)),
    #050504;
}

.novels,
.characters,
.author,
.contact {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(216, 183, 102, 0.07), transparent 28rem),
    linear-gradient(180deg, rgba(255, 244, 223, 0.018), transparent 22%, rgba(0, 0, 0, 0.12));
}

.adaptation h3 {
  margin-top: 28px;
}

.feature-list {
  display: grid;
  gap: 9px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding-left: 18px;
  border-left: 2px solid var(--bright-gold);
  color: var(--ash);
}

.season-stack {
  display: grid;
  gap: 14px;
}

.season-stack article {
  padding: 24px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.3);
  transition: transform 220ms ease, border-color 220ms ease;
}

.season-stack article:hover {
  transform: translateX(6px);
  border-color: var(--gold-frame);
}

.season-stack span {
  display: block;
  margin-bottom: 7px;
  color: var(--bright-gold);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.season-stack strong {
  color: #fff0d6;
  font-family: var(--serif);
  font-size: 1.52rem;
}

.adaptation-closing {
  max-width: 880px;
  margin: 54px 0 0;
  color: rgba(255, 240, 215, 0.86);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.65rem);
  font-weight: 700;
  text-align: left;
}

.adaptation-pitch {
  width: min(84vw, 1500px);
  margin: 0 auto;
}

.adaptation-hero {
  display: grid;
  gap: clamp(20px, 2.6vw, 34px);
  max-width: 1120px;
  margin-bottom: clamp(42px, 5vw, 76px);
}

.adaptation-hero .page-title {
  margin: 0;
  text-align: left;
}

.adaptation-hero h2 {
  max-width: 980px;
  margin: 0;
  color: #fff0d6;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.35vw, 2.55rem);
  font-weight: 600;
  line-height: 1.22;
}

.adaptation-hero p,
.rights-positioning p,
.saga-overview p,
.season-format {
  max-width: 1060px;
  margin: 0;
  color: var(--ash);
  font-size: clamp(1rem, 1.1vw, 1.16rem);
  line-height: 1.85;
  text-align: justify;
  text-justify: inter-word;
}

.pitch-section {
  margin-top: clamp(54px, 6vw, 92px);
}

.pitch-section h2 {
  margin: 0 0 clamp(22px, 3vw, 38px);
  color: var(--bright-gold);
  font-family: var(--display);
  font-size: clamp(1.32rem, 2vw, 2rem);
  letter-spacing: 0.1em;
  line-height: 1.18;
  text-transform: uppercase;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 34px);
  align-items: stretch;
}

.pitch-card,
.season-timeline article,
.rights-positioning,
.saga-overview,
.season-structure-box,
.series-status {
  border: 1px solid var(--gold-frame);
  background:
    linear-gradient(145deg, rgba(216, 183, 102, 0.08), transparent 46%),
    rgba(12, 11, 10, 0.86);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.32);
}

.pitch-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 100%;
  padding: clamp(26px, 3vw, 40px);
}

.pitch-card h3 {
  margin: 0;
  color: var(--bright-gold);
  font-family: var(--serif);
  font-size: clamp(1.22rem, 1.5vw, 1.55rem);
  line-height: 1.18;
}

.pitch-card p {
  margin: 0;
  color: var(--ash);
  font-size: clamp(0.96rem, 1vw, 1.05rem);
  line-height: 1.75;
  text-align: justify;
  text-justify: inter-word;
}

.saga-overview,
.season-structure-box,
.rights-positioning {
  padding: clamp(32px, 4vw, 54px);
}

.saga-overview h2,
.season-structure-box h2,
.rights-positioning h2 {
  margin-bottom: clamp(18px, 2vw, 28px);
  text-align: left;
}

.season-format + .season-format {
  margin-top: 12px;
}

.season-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(24px, 3vw, 38px);
}

.season-timeline article {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 150px;
  padding: clamp(22px, 2.5vw, 32px);
}

.season-timeline span {
  color: var(--bright-gold);
  font-family: var(--display);
  font-size: clamp(0.86rem, 0.95vw, 1rem);
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.season-timeline strong {
  color: #fff0d6;
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.25vw, 1.34rem);
  line-height: 1.24;
}

.series-status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  overflow: hidden;
}

.series-status span {
  display: flex;
  align-items: center;
  min-height: 96px;
  padding: clamp(22px, 3vw, 34px);
  color: #fff0d6;
  font-family: var(--display);
  font-size: clamp(0.95rem, 1.1vw, 1.12rem);
  letter-spacing: 0.09em;
  line-height: 1.45;
  text-transform: uppercase;
  background: rgba(3, 3, 2, 0.28);
}

.expansion {
  background:
    radial-gradient(ellipse at 50% 32%, rgba(216, 183, 102, 0.11), transparent 30rem),
    linear-gradient(180deg, rgba(255, 244, 223, 0.018), transparent 35%, rgba(0, 0, 0, 0.16));
}

.expansion-copy {
  max-width: var(--content-rail);
  margin: 0 auto;
  text-align: left;
}

.expansion-copy h2 {
  margin: 20px 0 0;
}

.expansion-copy p:not(.eyebrow) {
  max-width: 840px;
  margin: 22px 0 0;
}

.arc-lines {
  display: grid;
  gap: 8px;
  max-width: 560px;
  margin: 26px auto 0;
  padding: 18px 22px;
  border-block: 1px solid var(--gold-frame);
  color: rgba(240, 212, 136, 0.86);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.author-layout {
  grid-template-columns: minmax(220px, 0.4fr) minmax(0, 1fr);
}

.author-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.author-text {
  flex: 1;
  text-align: left;
}

.author-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.author-image img {
  max-width: 420px;
  width: 100%;
  height: auto;
  border: 1px solid var(--gold-frame);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: var(--content-rail);
  margin: 0 auto;
}

label {
  display: grid;
  gap: 8px;
  color: var(--bright-gold);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--gold-frame);
  border-radius: 6px;
  background: rgba(8, 7, 6, 0.9);
  color: var(--smoke);
  font: inherit;
  padding: 14px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 1px solid var(--gold-frame);
}

.full {
  grid-column: 1 / -1;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 34px clamp(18px, 6vw, 88px);
  border-top: 1px solid var(--gold-frame);
  color: rgba(192, 183, 170, 0.72);
  background:
    linear-gradient(90deg, rgba(216, 183, 102, 0.06), transparent 22%, transparent 78%, rgba(216, 183, 102, 0.04)),
    #030302;
  font-size: 0.82rem;
}

.site-footer p {
  margin: 0;
}

.footer-stats {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  color: rgba(240, 212, 136, 0.68);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-stats span {
  color: rgba(255, 240, 215, 0.78);
}

.site-footer a {
  color: rgba(240, 212, 136, 0.82);
  font-weight: 800;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.site-footer a:hover {
  color: var(--bright-gold);
}

@media (max-width: 980px) {
  :root {
    --header-height: 72px;
    --page-edge: 32px;
    --page-top-gap: 64px;
  }

  .brand {
    font-size: 1.35rem;
  }

  .site-nav {
    gap: 16px;
    font-size: 0.76rem;
  }

  .hero,
  .world-layout,
  .adaptation-layout,
  .author-layout {
    grid-template-columns: 1fr;
  }

  .author-container {
    flex-direction: column;
    text-align: center;
  }

  .author-image {
    justify-content: center;
  }

  .adaptation-layout,
  .world-layout,
  .author-layout,
  .book-grid,
  .character-grid,
  .section-heading,
  .world-copy,
  .expansion-copy,
  .contact-form {
    width: min(100%, var(--content-rail));
    max-width: calc(100vw - (var(--page-edge) * 2));
  }

  .hero {
    min-height: 92vh;
  }

  .character-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .adaptation-pitch {
    width: min(100%, var(--content-rail));
    max-width: calc(100vw - (var(--page-edge) * 2));
  }

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

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

  .book-visual img {
    height: clamp(360px, 64vw, 620px);
  }

  .kingdom-gallery {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 740px) {
  :root {
    --header-height: 66px;
    --page-edge: 18px;
    --page-top-gap: 56px;
  }

  .brand {
    max-width: calc(100vw - 92px);
    font-size: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .section-heading,
  .book-copy,
  .expansion-copy,
  .adaptation-closing {
    text-align: left;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: var(--page-edge);
    right: var(--page-edge);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border: 1px solid var(--gold-frame);
    background: rgba(8, 8, 7, 0.96);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 14px 16px;
    border-bottom: 1px solid var(--gold-frame);
  }

  .book-panel {
    padding: clamp(16px, 4.8vw, 28px);
  }

  .book-visual-pair {
    grid-template-columns: 1fr;
    padding: clamp(14px, 4vw, 22px);
  }

  .book-visual img {
    height: auto;
    max-height: none;
    width: 100%;
  }

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

  .faction-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .screen-grid,
  .season-timeline,
  .series-status {
    grid-template-columns: 1fr;
  }

  .adaptation-hero {
    margin-bottom: clamp(44px, 12vw, 72px);
  }

  .pitch-section {
    margin-top: clamp(48px, 12vw, 78px);
  }

  .faction-main-image,
  .faction-supporting-images img {
    height: auto;
    max-height: none;
  }

  .kingdom-supporting {
    grid-template-columns: 1fr;
  }

  .kingdom-main img,
  .kingdom-supporting img {
    height: auto;
  }

  .season-stack article:hover,
  .button:hover,
  .book-panel:hover,
  .character-card:hover,
  .faction-grid article:hover {
    transform: none;
  }
}

@media (max-width: 500px) {
  :root {
    --header-height: 60px;
    --page-edge: 16px;
    --page-top-gap: 48px;
  }

  .brand {
    gap: 10px;
    font-size: clamp(0.68rem, 3.1vw, 0.86rem);
  }

  .brand-mark {
    width: 10px;
    height: 24px;
  }

  .section {
    padding-inline: var(--page-edge);
  }

  .section::before {
    left: var(--page-edge);
    right: var(--page-edge);
  }

  .hero {
    padding-top: calc(var(--header-height) + 28px);
  }

  .hero-covers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-covers img {
    max-width: none;
  }

  .hero-covers img:nth-child(2) {
    transform: none;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .button {
    width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
  }

  .character-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  :root {
    --page-edge: 14px;
  }

  .page-title {
    font-size: clamp(1.65rem, 12vw, 2.35rem);
    overflow-wrap: anywhere;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  h2 {
    font-size: clamp(1.55rem, 9vw, 2.2rem);
  }

  .book-copy,
  .book-visual-pair,
  .faction-grid article,
  .season-stack article {
    padding: 14px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
  }

  .lightbox-nav {
    width: 40px;
    height: 56px;
    font-size: 1.65rem;
  }
}
