:root {
  --bg: #0c1016;
  --bg-card: rgba(255,255,255,0.045);
  --text: #f5efe6;
  --muted: #c9baa5;
  --muted-soft: #a79682;
  --line: rgba(212, 175, 55, 0.2);
  --accent: #d4af37;
  --accent-soft: rgba(212, 175, 55, 0.14);
  --shadow: 0 24px 60px rgba(0,0,0,0.34);
  --radius: 24px;
  --radius-sm: 18px;
  --max: 1180px;
  --header-h: 86px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at top, rgba(212,175,55,0.1), transparent 26%),
    linear-gradient(180deg, #0a0e13 0%, #0d1117 45%, #121923 100%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background: rgba(7, 10, 15, 0.8);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-wrap {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.brand strong {
  font-size: 1.45rem;
  letter-spacing: 0.05em;
}
.brand span {
  color: var(--muted);
  font-size: 0.82rem;
}
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  width: 48px;
  height: 48px;
  border-radius: 14px;
  cursor: pointer;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.nav a:hover,
.nav a:focus-visible,
.nav a.active { color: var(--text); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.92rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.26);
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #f2d776);
  color: #000;
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: rgba(255,255,255,0.14);
}
.btn-ghost {
  background: rgba(255,255,255,0.035);
  color: var(--text);
  border-color: rgba(255,255,255,0.08);
}
.hero,
.page-hero,
.article-hero { padding: 4rem 0 2rem; }
.hero-grid,
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}
h1, h2, h3 {
  margin: 0 0 1rem;
  line-height: 1.08;
}
h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  max-width: 12ch;
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 16ch;
}
h3 { font-size: 1.4rem; }
p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}
.lead {
  font-size: 1.12rem;
  max-width: 62ch;
}
.hero-copy,
.stack { display: flex; flex-direction: column; gap: 1rem; }
.hero-actions,
.action-row,
.card-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.mini-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.4rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  font-size: 0.82rem;
  border: 1px solid rgba(212,175,55,0.18);
  background: var(--accent-soft);
  color: #f3dc94;
}
.pitch-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 16rem;
  max-width: 100%;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: #050608;
  color: var(--accent);
  border: 1px solid rgba(212,175,55,0.26);
  font-size: 0.96rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.hero-panel,
.card,
.feature-card,
.newsletter-card,
.contact-card,
.quote-card,
.bonus-card,
.blog-card,
.article-main,
.article-side,
.cover-panel {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-panel,
.cover-panel { padding: 1.2rem; }
.hero-art,
.cover-art {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  border-radius: 22px;
  background: #111;
}
.hero-art img,
.cover-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  padding: 1.1rem;
  border-radius: 18px;
  background: rgba(7, 10, 13, 0.84);
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-overlay strong { display: block; margin-bottom: 0.35rem; }
.hero-overlay span { display: block; color: var(--muted); font-size: 0.95rem; }
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.section {
  padding: 2.8rem 0 0.8rem;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.section-header p { max-width: 62ch; }
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}
.card,
.feature-card,
.quote-card,
.bonus-card,
.newsletter-card,
.contact-card,
.blog-card,
.article-main,
.article-side { padding: 1.4rem; }
.book-card {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 1.2rem;
  align-items: start;
}
.book-cover {
  position: relative;
  min-height: 390px;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(212,175,55,0.14), transparent 25%),
    linear-gradient(155deg, #241c14, #0f151d 65%);
  border: 1px solid rgba(255,255,255,0.08);
}
.book-cover::after {
  content: attr(data-label);
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.78);
  background: rgba(0,0,0,0.38);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  z-index: 2;
}

.book-cover[data-label=""]::after {
  display: none;
}
.book-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.award-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 0.9rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}
.award-row img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex: 0 0 auto;
}
.small { font-size: 0.88rem; color: var(--muted-soft); }
.note,
.placeholder-box {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--muted);
}
.about-grid,
.newsletter-grid,
.contact-grid,
.media-grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 1.4rem;
}
.portrait-card {
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.portrait {
  width: 100%;
  min-height: 420px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.portrait img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center top;
}
.list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}
.list li + li { margin-top: 0.6rem; }
.list strong { color: var(--text); }
.kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.blog-card a,
.card-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--text);
  font-weight: 700;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(280px, 0.9fr);
  gap: 1.5rem;
  align-items: start;
}
.article-main { padding: 2rem; }
.article-side {
  padding: 1.2rem;
  position: sticky;
  top: calc(var(--header-h) + 18px);
}
.article-main h1 {
  max-width: 100%;
  font-size: clamp(2.3rem, 4vw, 3.7rem);
}
.article-main h2 {
  max-width: 100%;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-top: 2rem;
}
.article-main p + p { margin-top: 1rem; }
.fact-box {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(212,175,55,0.16);
}
.fact-box strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accent);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.article-meta {
  margin-bottom: 1.5rem;
  color: var(--muted-soft);
  font-size: 0.92rem;
}
.related-links {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}
.related-links a {
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--muted);
}
.related-links a:hover {
  color: var(--text);
  border-color: rgba(212,175,55,0.2);
}
.site-footer {
  padding: 2.8rem 0 3rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
}
.todo {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.9rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
}
@media (max-width: 1040px) {
  .hero-grid,
  .page-hero-grid,
  .book-card,
  .about-grid,
  .newsletter-grid,
  .contact-grid,
  .media-grid,
  .grid-2,
  .grid-3,
  .article-layout {
    grid-template-columns: 1fr;
  }
  .section-header {
    align-items: start;
    flex-direction: column;
  }
  h1 { max-width: 100%; }
  .article-side { position: static; }
}
@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 0 0 1rem;
  }
  .nav.open { display: flex; }
  .nav a,
  .nav .btn { width: 100%; }
  .hero,
  .page-hero,
  .article-hero { padding-top: 3.7rem; }
  .hero-art,
  .cover-art { min-height: 460px; }
}


.site-header .btn-primary {
  color: #000000;
}


.book-page-grid,
.preview-book-grid,
.writer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}
.representation-box,
.sample-box {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(212,175,55,0.16);
}
.representation-box strong,
.sample-box strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accent);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section-block + .section-block {
  margin-top: 2.4rem;
}
@media (max-width: 1040px) {
  .book-page-grid,
  .preview-book-grid,
  .writer-grid {
    grid-template-columns: 1fr;
  }
}


.writer-grid .card-actions {
  margin-top: auto;
}

.writer-grid .card {
  min-height: 100%;
}
