
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Libre+Baskerville:wght@400;700&display=swap');

:root {
  --bg: #080708;
  --panel: #120d10;
  --panel-2: #1a1116;
  --burgundy: #5b1625;
  --rose: #9a3c55;
  --gold: #b88958;
  --ivory: #eadfd4;
  --muted: #bba9a5;
  --line: rgba(184, 137, 88, .42);
  --shadow: 0 18px 50px rgba(0,0,0,.36);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(91,22,37,.16), transparent 28rem),
    linear-gradient(180deg, #080708 0%, #0b080a 100%);
  color: var(--ivory);
  font-family: "Libre Baskerville", Georgia, serif;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 78px 0; }
.section-tight { padding: 50px 0; }
.eyebrow {
  color: var(--gold);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 700;
}
.section-title {
  margin: 0 0 28px;
  text-align: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ivory);
}
.section-title::after {
  content: "✦";
  display: block;
  margin: 8px auto 0;
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0;
}
.muted { color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8,7,8,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand img {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid var(--gold);
}
.brand-text {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.05;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--ivory); }
.nav-cta {
  border: 1px solid var(--gold);
  padding: 10px 17px;
  color: var(--ivory) !important;
  background: linear-gradient(180deg, #4f1722, #2b1017);
}
.menu-toggle {
  display: none;
  background: transparent;
  color: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  font-size: 1.35rem;
}

.hero {
  min-height: 720px;
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(5,4,5,.98) 0%, rgba(5,4,5,.86) 38%, rgba(5,4,5,.2) 68%, rgba(5,4,5,.16) 100%),
    url("hero.jpg") center/cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 70%, var(--bg) 100%);
}
.hero-copy { width: min(650px, 100%); padding: 90px 0; }
.hero h1 {
  margin: 0 0 22px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.1rem, 8vw, 6.4rem);
  line-height: .86;
  font-weight: 600;
  letter-spacing: -.02em;
}
.hero h1 span { color: var(--rose); display: block; }
.hero p {
  max-width: 610px;
  font-size: 1.08rem;
  color: var(--muted);
}
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--gold);
  letter-spacing: .07em;
  text-transform: uppercase;
  font-size: .82rem;
  transition: .2s ease;
}
.btn-primary {
  background: linear-gradient(180deg, #6b1d30, #3a121d);
  color: white;
}
.btn-secondary { background: rgba(8,7,8,.68); color: var(--ivory); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.28); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.story-card,
.world-card,
.update-card,
.reader-panel {
  background: linear-gradient(180deg, rgba(26,17,22,.96), rgba(14,10,12,.98));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.story-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.story-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: center;
}
.story-card .content { padding: 24px; display: flex; flex-direction: column; }
.story-card h3,
.world-card h3,
.update-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.7rem;
  line-height: 1.05;
  margin: 0 0 12px;
}
.story-card p { color: var(--muted); font-size: .9rem; }
.text-link { color: var(--rose); margin-top: auto; font-weight: 700; }
.text-link:hover { color: var(--ivory); }

.world-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.world-card {
  padding: 14px;
  text-align: center;
  transition: .2s ease;
}
.world-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.world-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: 14px;
  filter: saturate(.82) contrast(1.06);
}
.world-card h3 { font-size: 1.18rem; margin: 0; }

.update-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.update-card { padding: 20px; }
.update-card .type {
  color: var(--rose);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .68rem;
}
.update-card p { color: var(--muted); font-size: .9rem; }

.signup {
  background:
    linear-gradient(90deg, rgba(66,18,29,.97), rgba(26,10,15,.98)),
    radial-gradient(circle at right top, rgba(184,137,88,.12), transparent 25rem);
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}
.signup-box {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  align-items: center;
}
.signup h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 3rem;
  margin: 0 0 8px;
}
.signup-form {
  display: flex;
  gap: 10px;
}
.signup-form input {
  flex: 1;
  min-height: 48px;
  background: #0b080a;
  border: 1px solid var(--line);
  color: var(--ivory);
  padding: 0 14px;
}
.notice { font-size: .78rem; color: var(--muted); margin-top: 10px; }

.page-hero {
  padding: 110px 0 70px;
  text-align: center;
  background:
    linear-gradient(rgba(8,7,8,.72), rgba(8,7,8,.94)),
    url("hero.jpg") center/cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 9vw, 5.6rem);
  margin: 0;
}
.content-grid { display: grid; grid-template-columns: 1fr 330px; gap: 34px; }
.reader-panel { padding: clamp(24px, 5vw, 50px); }
.reader-panel h1,
.reader-panel h2,
.reader-panel h3 { font-family: "Cormorant Garamond", Georgia, serif; }
.reader-panel h1 { font-size: clamp(2.4rem, 7vw, 4.5rem); margin-top: 0; }
.reader-panel p { color: #ded0c7; }
.sidebar-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 22px;
  margin-bottom: 18px;
}
.sidebar-card h3 { margin-top: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.6rem; }

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  background: #060506;
}
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, .7fr); gap: 28px; }
.footer-grid h4 { color: var(--gold); letter-spacing: .11em; text-transform: uppercase; font-size: .76rem; }
.footer-grid a { display: block; color: var(--muted); margin: 7px 0; font-size: .88rem; }
.footer-grid a:hover { color: var(--ivory); }
.copyright { margin-top: 28px; color: #7f6f6d; font-size: .78rem; }

.audio-card {
  display: grid;
  grid-template-columns: 190px 1fr auto;
  gap: 22px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 16px;
  margin-bottom: 16px;
}
.audio-card img {
  width: 190px;
  height: 108px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(184, 137, 88, .28);
}
.audio-card h3 { margin: 0 0 4px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.5rem; }

@media (max-width: 980px) {
  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: #0d090b;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .card-grid { grid-template-columns: 1fr; }
  .world-grid { grid-template-columns: repeat(2, 1fr); }
  .update-grid { grid-template-columns: 1fr; }
  .signup-box, .content-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 650px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 58px 0; }
  .brand-text { font-size: .85rem; }
  .brand img { width: 46px; height: 46px; }
  .hero {
    min-height: 720px;
    align-items: end;
    background:
      linear-gradient(180deg, rgba(5,4,5,.18) 0%, rgba(5,4,5,.52) 44%, rgba(5,4,5,.98) 78%),
      url("hero.jpg") 67% center/cover no-repeat;
  }
  .hero-copy { padding: 200px 0 70px; }
  .hero h1 { font-size: clamp(3.2rem, 16vw, 5.2rem); }
  .hero p { font-size: .97rem; }
  .btn { width: 100%; }
  .story-card .content { padding: 18px; }
  .story-card h3 { font-size: 1.35rem; }
  .story-card p { font-size: .82rem; }
  .world-grid { gap: 10px; }
  .world-card { padding: 10px; }
  .world-card h3 { font-size: 1rem; }
  .signup-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }

}


.genre-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 38px;
}

.genre-filter {
  border: 1px solid var(--line);
  padding: 10px 15px;
  color: var(--muted);
  background: rgba(18, 13, 16, .72);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.genre-filter:hover,
.genre-filter.active {
  color: var(--ivory);
  border-color: var(--gold);
  background: linear-gradient(180deg, #5b1625, #2c0e16);
}

.audiobook-results-title {
  margin: 0 0 22px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
}

.no-results {
  max-width: 720px;
  margin: 40px auto 0;
  padding: 48px 30px;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
}

.no-results h2 {
  margin-top: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
}

[hidden] {
  display: none !important;
}

@media (max-width: 650px) {
  .story-card {
    display: flex;
    min-height: 0;
  }

  .story-card img {
    aspect-ratio: 16 / 9;
  }

  .audio-card {
    grid-template-columns: 1fr;
  }

  .audio-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .audio-card .btn {
    width: 100%;
    grid-column: auto;
  }

  .genre-filter {
    flex: 1 1 calc(50% - 10px);
    text-align: center;
  }
}
/* ABOUT PAGE */

.about-hero {
  position: relative;
  overflow: hidden;
  padding-top: 125px;
  padding-bottom: 90px;
}

.about-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: 110px;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold),
    transparent
  );
}

.about-hero-text {
  width: min(760px, 100%);
  margin: 18px auto 0;
  font-size: 1.02rem;
  line-height: 1.9;
}

.about-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 34px;
  align-items: start;
}

.about-main {
  min-width: 0;
}

.about-panel {
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      rgba(26, 17, 22, 0.97),
      rgba(13, 9, 11, 0.99)
    );
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about-section {
  padding: clamp(30px, 5vw, 54px);
  border-bottom: 1px solid var(--line);
}

.about-section:last-child {
  border-bottom: 0;
}

.about-section h2,
.warning-panel h2 {
  margin: 5px 0 22px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1;
  color: var(--ivory);
}

.about-section > p {
  color: #ded0c7;
  max-width: 820px;
}

.about-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.about-feature {
  position: relative;
  min-height: 210px;
  padding: 26px;
  background:
    linear-gradient(
      145deg,
      rgba(91, 22, 37, 0.25),
      rgba(8, 7, 8, 0.78)
    );
  border: 1px solid rgba(184, 137, 88, 0.3);
}

.about-feature-number {
  display: block;
  margin-bottom: 25px;
  color: var(--rose);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.about-feature h3 {
  margin: 0 0 10px;
  color: var(--ivory);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
}

.about-feature p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.warning-panel {
  margin: 0;
  padding: clamp(30px, 5vw, 54px);
  background:
    radial-gradient(
      circle at top right,
      rgba(154, 60, 85, 0.15),
      transparent 22rem
    ),
    linear-gradient(
      180deg,
      rgba(59, 15, 25, 0.5),
      rgba(16, 10, 13, 0.98)
    );
  border-top: 1px solid var(--gold);
}

.warning-panel > p {
  color: #ded0c7;
}

.warning-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.warning-list li {
  position: relative;
  padding: 13px 14px 13px 38px;
  background: rgba(8, 7, 8, 0.48);
  border: 1px solid rgba(184, 137, 88, 0.22);
  color: #d9c9c1;
  font-size: 0.86rem;
}

.warning-list li::before {
  content: "◆";
  position: absolute;
  left: 14px;
  top: 13px;
  color: var(--rose);
  font-size: 0.75rem;
}

.warning-final {
  padding-left: 18px;
  border-left: 2px solid var(--rose);
}

.about-sidebar {
  position: sticky;
  top: 110px;
}

.about-link-card h3 {
  margin-bottom: 12px;
}

.about-full-button {
  width: 100%;
  margin-top: 14px;
}

.about-tag-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-tag {
  display: block;
  padding: 11px 13px;
  color: var(--muted);
  background: rgba(8, 7, 8, 0.6);
  border: 1px solid rgba(184, 137, 88, 0.25);
  font-size: 0.84rem;
  transition: 0.2s ease;
}

.about-tag:hover {
  color: var(--ivory);
  border-color: var(--gold);
  transform: translateX(3px);
}

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

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

  .about-sidebar .sidebar-card {
    margin-bottom: 0;
  }

  .about-sidebar .sidebar-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 650px) {
  .about-feature-grid,
  .warning-list,
  .about-sidebar {
    grid-template-columns: 1fr;
  }

  .about-sidebar .sidebar-card:last-child {
    grid-column: auto;
  }

  .about-section,
  .warning-panel {
    padding: 28px 20px;
  }

  .about-feature {
    min-height: 0;
  }
}