:root {
  --bg: #070707;
  --panel: rgba(20, 18, 18, 0.92);
  --panel-2: rgba(28, 22, 22, 0.95);
  --text: #f6efe6;
  --muted: #d2c5b5;
  --accent: #d86d1b;
  --accent-2: #a73920;
  --border: rgba(216, 109, 27, 0.25);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(167,57,32,0.18), transparent 30%),
    linear-gradient(180deg, #090909 0%, #050505 100%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 88px 0; }
.center { text-align: center; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: #f3b581;
  margin: 0 0 14px;
}

h1, h2, h3, .brand span {
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 0.95;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(5, 5, 5, 0.78);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.16);
}

.brand span {
  font-size: 2rem;
  color: #f1d9c2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: #efe7df;
  font-size: 0.98rem;
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.hero {
  position: relative;
  padding: 70px 0 50px;
  overflow: clip;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,7,7,0.94) 0%, rgba(7,7,7,0.78) 42%, rgba(7,7,7,0.45) 100%),
    url('assets/hero-palace.png') center/cover no-repeat;
  opacity: 0.28;
  transform: scale(1.03);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: center;
}
.hero-copy { padding: 42px 0; }
.hero-copy h1 {
  font-size: clamp(4.3rem, 7vw, 6.8rem);
  margin: 0 0 18px;
}
.hero-lead {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--muted);
  margin: 0 0 18px;
}
.hero-sub {
  max-width: 670px;
  font-size: 1.07rem;
  line-height: 1.85;
  color: #efe5da;
  margin: 0;
}
.hero-sub span { color: #f2b37d; font-weight: 700; }
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.coming-soon {
  margin-top: 18px;
  color: #f0a25e;
  font-weight: 600;
}
.hero-visual img {
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.08);
  min-height: 600px;
  object-fit: cover;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #f08223 100%);
  color: #fff8f3;
}
.btn-secondary {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
}
.btn-full { width: 100%; }

.series-grid,
.about-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}
.series h2,
.books h2,
.about h2 {
  font-size: clamp(3rem, 5vw, 4.6rem);
  margin: 0 0 20px;
}
.series p,
.about p,
.book-body p,
.coming-inner p,
.site-footer p {
  line-height: 1.9;
  color: #eadfd2;
  font-size: 1.04rem;
}
.art-card,
.about-panel {
  background: linear-gradient(180deg, rgba(21,18,18,0.85) 0%, rgba(14,14,14,0.96) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.art-card {
  overflow: hidden;
}
.art-card img {
  width: 100%;
  height: 100%;
  min-height: 580px;
  object-fit: cover;
}
.books { background: linear-gradient(180deg, rgba(114,34,18,0.08), rgba(0,0,0,0)); }
.book-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 38px;
}
.book-card {
  background: linear-gradient(180deg, rgba(22,20,20,0.98), rgba(16,16,16,0.98));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.book-cover {
  aspect-ratio: 2 / 3;
  width: 100%;
  object-fit: cover;
}
.book-body,
.coming-inner {
  padding: 28px 24px 26px;
}
.book-body h3,
.coming-inner h3 {
  font-size: 2.2rem;
  margin: 0 0 16px;
}
.coming-card {
  justify-content: center;
  border: 1px dashed rgba(216,109,27,0.4);
}
.about-panel {
  padding: 42px;
}
.about-links {
  display: grid;
  gap: 18px;
}
.info-card {
  display: block;
  padding: 22px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.info-card strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.info-card span { color: #f2b37d; word-break: break-word; }
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 32px 0 48px;
  background: #080808;
}
.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-wrap h3 {
  font-size: 2.1rem;
  margin: 0 0 10px;
}
.footer-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.footer-actions a { color: #f3b581; }

@media (max-width: 1040px) {
  .hero-grid,
  .series-grid,
  .about-panel,
  .book-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual { order: -1; }
  .hero-visual img,
  .art-card img { min-height: unset; }
  .footer-wrap,
  .nav-wrap { flex-direction: column; align-items: flex-start; }
  .footer-actions { align-items: flex-start; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1180px); }
  .site-nav { gap: 14px 18px; }
  .brand span { font-size: 1.65rem; }
  .section { padding: 72px 0; }
  .hero { padding-top: 38px; }
  .about-panel { padding: 28px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
}
