﻿:root {
  --bg: #080a0d;
  --bg2: #0e1218;
  --paper: #f2eadb;
  --gold: #d5a739;
  --gold2: #f0d58e;
  --red: #d60c1b;
  --white: #fff;
  --text: #eee9df;
  --muted: #a9a59d;
  --line: rgba(234, 208, 138, 0.18);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.65;
  cursor: default;
  -webkit-user-select: none;
  user-select: none;
}

input,
textarea,
[contenteditable="true"] {
  -webkit-user-select: text;
  user-select: text;
}

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

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

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: auto;
}

.serif,
h1,
h2,
h3,
.brand {
  font-family: Cinzel, serif;
}

/* HEADER */

site-header,
site-footer {
  display: block;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(8, 10, 13, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 15px;
  color: var(--white);
}

.brand-mark {
  color: var(--gold);
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  color: #d7d2c9;
}

nav a {
  color: inherit;
  transition: 0.25s;
}

nav a:hover {
  color: var(--red);
}

.nav a,
.nav summary,
.nav button {
  -webkit-tap-highlight-color: transparent;
}

.nav-contact {
  position: relative;
}

.nav-dropdowns {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
}

.nav-contact summary {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  cursor: pointer;
  caret-color: transparent;
  user-select: none;
  list-style: none;
  transition: 0.25s;
}

.nav-contact summary::-webkit-details-marker {
  display: none;
}

.nav-contact summary::after {
  content: "";
  width: 6px;
  height: 6px;
  margin: 0 0 3px 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease, margin 0.2s ease;
}

.nav-contact[open] summary::after {
  margin-bottom: -3px;
  transform: rotate(225deg);
}

.nav-contact summary:hover,
.nav-contact[open] summary {
  color: var(--red);
}

.nav-contact-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  right: -12px;
  min-width: 150px;
  display: grid;
  gap: 2px;
  padding: 8px;
  border: 1px solid var(--line);
  background: rgba(8, 10, 13, 0.98);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.nav-contact-dropdown a {
  display: block;
  padding: 9px 10px;
  white-space: nowrap;
}

.nav-contact-dropdown a:hover {
  background: rgba(213, 167, 57, 0.08);
}

.nav-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid #d5a739;
  border-radius: 999px;
  color: #f0d58e;
  background: rgba(213, 167, 57, 0.08);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.nav-buy:hover {
  background: #d5a739;
  color: #111;
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(213, 167, 57, 0.35);
}

.lang {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  border-radius: 99px;
  padding: 8px 12px;
  cursor: pointer;
  transition: 0.25s;
}

.lang:hover {
  border-color: var(--red);
  color: var(--red);
}

/* BUTTONS */

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--red);
  color: var(--paper);
  padding: 13px 19px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
}

.cta:hover {
  background: var(--red);
  color: #111;
  transform: translateY(-2px);
}

.cta.fill {
  background: #d60c1b;
  color: #fff;
}

.cta.fill:hover {
  background: #ff4d5d;
}

.disabled,
.disabled-buy {
  cursor: default;
  opacity: 0.55;
  border-color: rgba(255, 255, 255, 0.18);
  color: #aaa;
}

.disabled:hover,
.disabled-buy:hover {
  background: transparent;
  color: #aaa;
  transform: none;
}

/* HERO */

.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 125px 0 90px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(
      circle at 72% 45%,
      rgba(164, 117, 35, 0.18),
      transparent 28%
    ),
    radial-gradient(
      circle at 20% 80%,
      rgba(75, 91, 112, 0.12),
      transparent 25%
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 70px;
}

.eyebrow,
.kicker {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold2);
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(46px, 6vw, 78px);
  line-height: 1.03;
  margin: 18px 0;
  letter-spacing: -0.035em;
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.hero h1 em {
  font-style: normal;
  color: #d60c1b;
}

.hero-copy p {
  max-width: 590px;
  color: var(--muted);
  font-size: 17px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* HERO BOOKS */

.hero-books {
  min-height: 570px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  position: relative;
}

.hero-book {
  position: relative;
  width: min(250px, 45%);
  transition: transform 0.35s ease;
}

.hero-book:hover {
  transform: translateY(-10px);
}

.hero-book img {
  position: relative;
  z-index: 2;
  width: 100%;
  box-shadow: 20px 30px 55px rgba(0, 0, 0, 0.65);
}

.hero-book-zarrion {
  transform: translateY(25px) rotate(-3deg);
}

.hero-book-zarrion:hover {
  transform: translateY(15px) rotate(-3deg);
}

.hero-book-avalon {
  transform: translateY(-25px) rotate(3deg);
}

.hero-book-avalon:hover {
  transform: translateY(-35px) rotate(3deg);
}

.hero-book-glow {
  position: absolute;
  inset: -60px;
  background: radial-gradient(
    circle,
    rgba(164, 117, 35, 0.28),
    transparent 65%
  );
  z-index: 0;
  pointer-events: none;
}

.hero-book-label {
  display: block;
  position: relative;
  z-index: 3;
  margin-top: 17px;
  text-align: center;
  font-family: Cinzel, serif;
  font-size: 14px;
  font-weight: 700;
}

.hero-coming {
  display: block;
  position: relative;
  z-index: 3;
  text-align: center;
  margin-top: 6px;
  color: var(--gold2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* SECTIONS */

.section {
  position: relative;
  padding: 110px 0;
  border-top: 1px solid var(--line);
}

.section::before {
  content: "⚜";
  position: absolute;
  top: 0;
  left: 50%;
  padding: 0 18px;
  transform: translate(-50%, -50%);
  background: var(--bg);
  color: var(--gold);
  font-size: 18px;
  line-height: 1;
}

.section.dark::before {
  background: var(--bg2);
}

.dark {
  background: var(--bg2);
}

.section-head {
  max-width: 760px;
  margin-bottom: 55px;
}

.section h2 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  margin: 13px 0;
}

.lead {
  color: var(--muted);
  font-size: 17px;
}

/* BOOKS */

.books {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.book-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  min-height: 570px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  padding: 30px;
  transition: 0.3s ease;
}

.book-card:hover {
  transform: translateY(-6px);
  border-color: rgba(234, 208, 138, 0.42);
}

.book-card-cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-card-cover img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 245px;
  box-shadow: 18px 22px 40px rgba(0, 0, 0, 0.65);
}

.cover-glow {
  position: absolute;
  width: 260px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(164, 117, 35, 0.25),
    transparent 68%
  );
}

.avalon-glow {
  background: radial-gradient(
    circle,
    rgba(214, 12, 27, 0.22),
    transparent 68%
  );
}

.book-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.book-card-actions {
  display: grid;
  gap: 22px;
}

.book-action-group {
  display: grid;
  gap: 12px;
}

.book-action-group-printed {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.book-action-label {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.book-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.status {
  display: inline-flex;
  width: max-content;
  border: 1px solid rgba(214, 12, 27, 0.9);
  color: #ff6a76;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.avalon-status {
  border-color: rgba(213, 167, 57, 0.8);
  color: #e3bd63;
}

.book-card h3 {
  font-size: clamp(25px, 3vw, 35px);
  line-height: 1.12;
  margin: 15px 0;
}

.book-card p {
  color: var(--muted);
  font-size: 14px;
}

.availability {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 18px 0 25px;
  color: #c8c3ba;
  font-size: 12px;
}

.availability strong {
  font-weight: 600;
}

.book-button {
  width: max-content;
  margin-top: 0;
}

/* REVIEWS */

.reviews .section-head {
  margin-bottom: 32px;
}

.review-stars {
  color: var(--gold2);
  letter-spacing: 0.08em;
}

.reviews-book-label {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.review-book-group {
  margin-top: 64px;
}

.review-book-heading {
  margin-bottom: 32px;
  text-align: left;
}

.review-book-heading .reviews-book-label {
  margin: 0;
  color: var(--muted);
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.4;
  text-transform: none;
}

.review-goodreads-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  padding: 8px 14px;
  border: 1px solid rgba(234, 208, 138, 0.2);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.review-book-heading .review-goodreads-link {
  margin-top: 12px;
}

.review-goodreads-link:hover,
.review-goodreads-link:focus-visible {
  border-color: rgba(234, 208, 138, 0.5);
  color: var(--text);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.review-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 190px;
  padding: 22px;
  border: 1px solid rgba(234, 208, 138, 0.16);
  border-radius: 18px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.035),
    rgba(255, 255, 255, 0.012)
  );
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.review-card:hover {
  transform: translateY(-3px);
  border-color: rgba(234, 208, 138, 0.36);
}

.review-stars {
  font-size: 16px;
  line-height: 1.2;
}

.review-stars--fractional {
  display: flex;
  align-items: center;
  gap: 0.08em;
  letter-spacing: normal;
}

.review-stars--fractional > span {
  flex: 0 0 1em;
  width: 1em;
  text-align: center;
}

.review-star-half {
  position: relative;
  display: inline-block;
  width: 1em;
  height: 1.2em;
  color: transparent;
}

.review-star-half::before,
.review-star-half::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 1em;
  height: 1.2em;
  white-space: nowrap;
  line-height: 1.2;
}

.review-star-half::before {
  content: "☆";
  color: rgba(238, 233, 223, 0.4);
}

.review-star-half::after {
  content: "★";
  width: 50%;
  overflow: hidden;
  color: var(--gold2);
}

.review-star-empty {
  color: rgba(238, 233, 223, 0.4);
}

.review-card blockquote {
  margin: 14px 0 20px;
  color: #e4dfd6;
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-transform: none;
}

.review-card blockquote::before {
  content: none;
}

.review-card cite {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  letter-spacing: normal;
  text-transform: none;
}

.review-card cite strong {
  color: var(--text);
  font-weight: 600;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.avalon-gold-cta {
  display: inline-flex;
  border-color: #d5a739;
  /* color: #f0d58e; */
  /* background: rgba(213, 167, 57, 0.08); */
  /* border-radius: 999px; */
  /* box-shadow: 0 0 0 1px rgba(213, 167, 57, 0.35); */
  /* transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease; */
}

.avalon-gold-cta:hover {
  background: #d5a739;
  color: #111;
  transform: translateY(-2px);
  /* box-shadow: 0 0 18px rgba(213, 167, 57, 0.35); */
}

/* STORY */

.story {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: start;
}

.story-media {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 420px;
}

.story-video-frame {
  width: min(100%, 360px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #070a0f;
  box-shadow: 0 26px 45px rgba(0, 0, 0, 0.3);
}

.story-copy {
  padding-top: 36px;
}

.story-video {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.story-label {
  margin-top: 15px;
  font-family: Cinzel, serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #c9c1b4;
}

.story-copy p {
  color: #b7b3aa;
  font-size: 16px;
}

@media (max-width: 860px) {
  .story {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .story-media {
    max-width: 100%;
  }

  .story-video-frame {
    width: min(100%, 360px);
  }

  .story-copy {
    padding-top: 0;
  }

}

.dropcap:first-letter {
  font-family: Cinzel, serif;
  font-size: 64px;
  float: left;
  line-height: 0.8;
  color: var(--red);
  padding: 8px 10px 0 0;
}

/* QUOTE */

.quote {
  padding: 120px 20px;
  text-align: center;
  background: linear-gradient(135deg, #11151c, #090b0e);
}

blockquote {
  max-width: 850px;
  margin: 0 auto;
  font-family: Cinzel, serif;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.2;
  color: #eadfc9;
}

blockquote::before {
  content: "⚜";
  display: block;
  color: var(--gold);
  font-size: 24px;
  margin-bottom: 20px;
}

cite {
  display: block;
  margin-top: 24px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-style: normal;
}

/* AUTHOR */

.author {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
  align-items: center;
}

.portrait {
  aspect-ratio: 4 / 5;
  background: linear-gradient(145deg, #232933, #0b0e12);
  overflow: hidden;
  border: 1px solid var(--line);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BUY */

.buy {
  background: var(--paper);
  color: #17130e;
}

.section.buy::before {
  background: var(--paper);
  color: #8b672a;
}

.buy .kicker {
  color: #8b672a;
}

.buy h2 {
  color: #17130e;
}

.buy p {
  color: #625d54;
}

.ebook-books {
  margin-top: 30px;
  scroll-margin-top: 100px;
  padding: 28px 32px;
  border: 1px solid #d9d0c1;
  border-top: 4px solid #d60c1b;
  background: rgba(255, 255, 255, 0.28);
}

.ebook-books > h3 {
  margin: 0;
  color: #17130e;
  font-family: Cinzel, serif;
  font-size: clamp(24px, 3vw, 34px);
}

.ebook-book-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 26px;
}

.ebook-book {
  display: grid;
  grid-template-columns: minmax(110px, 180px) 1fr;
  align-items: center;
  gap: 24px;
  padding: 20px;
  border: 1px solid #d9d0c1;
  background: rgba(255, 255, 255, 0.28);
}

.ebook-book > img {
  width: 100%;
  max-height: 250px;
  object-fit: contain;
  box-shadow: 10px 14px 24px rgba(23, 19, 14, 0.2);
}

.ebook-book h4 {
  margin: 0 0 8px;
  color: #17130e;
  font-family: Cinzel, serif;
  font-size: 20px;
  line-height: 1.25;
}

.ebook-book p {
  margin: 8px 0 16px;
  color: #625d54;
  font-size: 13px;
}

.ebook-book-status {
  color: #625d54;
  font-size: 13px;
}

.ebook-book .buy-actions {
  margin-top: 16px;
}

.buy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.buy .cta {
  border-color: #17130e;
  color: #17130e;
}

.buy .cta:hover {
  background: #17130e;
  color: white;
}

.buy .cta.fill {
  background: #17130e;
  color: white;
}

.buy .disabled-buy {
  opacity: 0.5;
  background: transparent;
  color: #625d54;
}

.physical-books {
  margin-top: 32px;
  scroll-margin-top: 100px;
  padding: 32px;
  border: 1px solid #d9d0c1;
  border-top: 4px solid #d5a739;
  background: rgba(23, 19, 14, 0.045);
}

.physical-books-heading {
  margin-bottom: 26px;
}

.physical-books-heading h3 {
  margin: 0 0 6px;
  color: #17130e;
  font-family: Cinzel, serif;
  font-size: clamp(24px, 3vw, 34px);
}

.physical-books-heading p {
  margin: 0;
}

.physical-book-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.physical-book {
  display: grid;
  grid-template-columns: minmax(110px, 180px) 1fr;
  align-items: center;
  gap: 24px;
  padding: 20px;
  border: 1px solid #d9d0c1;
  background: rgba(255, 255, 255, 0.28);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.physical-book:hover,
.physical-book:focus-visible {
  border-color: #d5a739;
  background: rgba(255, 255, 255, 0.55);
  transform: translateY(-3px);
}

.physical-book:focus-visible {
  outline: 2px solid #d5a739;
  outline-offset: 3px;
}

.physical-book img {
  width: 100%;
  max-height: 250px;
  object-fit: contain;
  box-shadow: 10px 14px 24px rgba(23, 19, 14, 0.2);
}

.physical-book-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.physical-book h4 {
  margin: 0 0 8px;
  color: #17130e;
  font-family: Cinzel, serif;
  font-size: 20px;
  line-height: 1.25;
}

.physical-book span {
  color: #625d54;
  font-size: 13px;
}

.physical-book-cta {
  margin-top: 16px;
  border-radius: 2px;
  color: #fff;
  background: #d60c1b;
  border-color: #d60c1b;
}

.physical-book:hover .physical-book-cta,
.physical-book:focus-visible .physical-book-cta {
  transform: translateY(-2px);
}

.platform-dialog {
  width: min(680px, calc(100% - 32px));
  max-height: min(80vh, 620px);
  padding: 28px;
  border: 1px solid rgba(213, 167, 57, 0.65);
  background: #0e1218;
  color: var(--text);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
}

.platform-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
}

.platform-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.platform-dialog-head h2 {
  margin: 0;
  font-family: Cinzel, serif;
  font-size: 24px;
}

.platform-dialog-head h2:focus {
  outline: none;
}

.platform-dialog-close {
  border: 0;
  background: transparent;
  color: var(--paper);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  caret-color: transparent;
}

.platform-dialog-close:focus-visible {
  outline: 2px solid #d5a739;
  outline-offset: 4px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
}

.platform-link {
  min-height: 88px;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.platform-link[hidden] {
  display: none;
}

.platform-link:hover {
  border-color: #d5a739;
  background: rgba(213, 167, 57, 0.08);
  transform: translateY(-2px);
}

.platform-link img {
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
}

@media (hover: none), (pointer: coarse) {
  nav a:hover {
    color: #d7d2c9;
  }

  .nav-contact summary:hover {
    color: inherit;
  }

  .nav-contact-dropdown a:hover {
    background: transparent;
  }

  .nav-buy:hover {
    background: rgba(213, 167, 57, 0.08);
    color: #f0d58e;
    transform: none;
    box-shadow: none;
  }

  .lang:hover {
    border-color: var(--line);
    color: var(--paper);
  }

  .cta:hover {
    background: transparent;
    color: var(--paper);
    transform: none;
  }

  .cta.fill:hover {
    background: #d60c1b;
    color: #fff;
  }

  .buy .cta:hover {
    background: transparent;
    color: #17130e;
  }

  .buy .cta.fill:hover {
    background: #17130e;
    color: #fff;
  }

  .avalon-gold-cta:hover {
    background: transparent;
    color: var(--paper);
    transform: none;
  }

  .hero-book:hover {
    transform: none;
  }

  .hero-book-zarrion:hover {
    transform: translateY(25px) rotate(-3deg);
  }

  .hero-book-avalon:hover {
    transform: translateY(-25px) rotate(3deg);
  }

  .book-card:hover {
    transform: none;
    border-color: var(--line);
  }

  .physical-book:hover {
    border-color: #d9d0c1;
    background: rgba(255, 255, 255, 0.28);
    transform: none;
  }

  .platform-link:hover {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.04);
    transform: none;
  }
}

/* FOOTER */

footer {
  padding: 55px 0;
  border-top: 1px solid var(--line);
  color: #85827c;
  font-size: 12px;
}

.foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  text-align: center;
}

.social {
  color: var(--gold2);
}

/* MOBILE */

@media (max-width: 1050px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .actions {
    justify-content: center;
  }

  .hero-books {
    min-height: 480px;
  }

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

  .book-card {
    max-width: 850px;
    margin: auto;
  }
}

@media (max-width: 820px) {
  .nav {
    position: relative;
    height: auto;
    min-height: 76px;
    flex-wrap: wrap;
    gap: 6px 12px;
    padding: 8px 0;
  }

  .nav > nav .lang {
    position: absolute;
    top: 2px;
    right: 0;
  }

  nav a {
    display: inline;
  }

  nav {
    flex: 1 0 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    margin-top: 8px;
  }

  .nav-dropdowns {
    gap: 16px;
  }

  .nav-contact-dropdown a {
    display: block;
  }

  .nav-contact-dropdown {
    right: 0;
  }

  .hero {
    padding-top: 130px;
  }

  .hero-content {
    gap: 36px;
  }

  .hero-books {
    min-height: 400px;
    gap: 12px;
  }

  .hero-book {
    width: 43%;
  }

  .hero-book-zarrion {
    transform: translateY(15px) rotate(-2deg);
  }

  .hero-book-avalon {
    transform: translateY(-15px) rotate(2deg);
  }

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

    .section-head .lead {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .book-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .book-card-cover img {
    max-width: 260px;
  }

  .book-card-content {
    display: block;
  }

  .book-button {
    margin-top: 0;
  }

  .story,
  .author {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .section {
    padding: 80px 0;
  }

  .physical-book-grid,
  .ebook-book-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .buy-actions {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  .hero {
    padding-top: 108px;
  }

  .nav {
    min-height: 68px;
    padding-top: 16px;
  }

  .nav > nav .lang {
    top: 10px;
  }

  .brand {
    font-size: 13px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-books {
    min-height: 330px;
  }

  .hero-book-label {
    font-size: 11px;
  }

  .book-card {
    padding: 20px;
  }

  .review-card {
    min-height: auto;
    padding: 20px;
  }

  .buy-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .physical-book {
    grid-template-columns: minmax(90px, 125px) 1fr;
    gap: 16px;
    padding: 14px;
  }

  .ebook-book {
    grid-template-columns: minmax(90px, 125px) 1fr;
    gap: 16px;
    padding: 14px;
  }

  .physical-books {
    padding: 20px 16px;
  }

  .ebook-books {
    padding: 20px 16px;
  }

  .physical-book h4,
  .ebook-book h4 {
    font-size: 17px;
  }

  .buy-actions .cta {
    width: 100%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes home-fade-up {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes home-fade-in {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  #home .hero-copy > * {
    animation: home-fade-up 500ms ease-out both;
  }

  #home .hero-copy > :nth-child(1) { animation-delay: 80ms; }
  #home .hero-copy > :nth-child(2) { animation-delay: 180ms; }
  #home .hero-copy > :nth-child(3) { animation-delay: 280ms; }
  #home .hero-copy > :nth-child(4) { animation-delay: 380ms; }

  #home .hero-book {
    animation: home-fade-in 600ms ease-out both;
  }

  #home .hero-book-zarrion { animation-delay: 250ms; }
  #home .hero-book-avalon { animation-delay: 400ms; }

  #home .section-head,
  #home .author > *,
  #home > .buy > .container > :nth-child(-n + 3) {
    animation: home-fade-up 500ms ease-out both;
  }

  #home #books .section-head { animation-delay: 150ms; }
  #home .book-card {
    animation: home-fade-in 550ms ease-out both;
  }
  #home .book-card:nth-child(1) { animation-delay: 300ms; }
  #home .book-card:nth-child(2) { animation-delay: 430ms; }

  #home #author .portrait { animation-delay: 180ms; }
  #home #author .author > :nth-child(2) { animation-delay: 320ms; }

  #home .ebook-books,
  #home .physical-books {
    animation: home-fade-up 500ms ease-out both;
  }
  #home .ebook-books { animation-delay: 300ms; }
  #home .physical-books { animation-delay: 440ms; }

  #home .ebook-book,
  #home .physical-book {
    animation: home-fade-in 500ms ease-out both;
  }
  #home .ebook-book:nth-child(1),
  #home .physical-book:nth-child(1) { animation-delay: 500ms; }
  #home .ebook-book:nth-child(2),
  #home .physical-book:nth-child(2) { animation-delay: 620ms; }
}