:root {
  --bg: #07111b;
  --bg-deep: #03070c;
  --panel: rgba(8, 18, 29, 0.82);
  --panel-solid: #0b1724;
  --panel-soft: rgba(16, 32, 48, 0.72);
  --text: #f4f0e7;
  --muted: #b9c1c8;
  --soft: #d8d0bf;
  --gold: #d7ae45;
  --gold-bright: #f1d27a;
  --gold-dark: #8e6720;
  --red: #8b1f25;
  --line: rgba(215, 174, 69, 0.28);
  --shadow: rgba(0, 0, 0, 0.48);
  --max: 1180px;
  --header-h: 84px;
  --serif: Georgia, 'Times New Roman', Times, serif;
  --sans: Inter, Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg-deep);
  font-family: var(--sans);
  line-height: 1.65;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 75% 10%, rgba(215, 174, 69, 0.12), transparent 28%),
    radial-gradient(circle at 10% 35%, rgba(139, 31, 37, 0.22), transparent 32%),
    linear-gradient(135deg, #06101a 0%, #0b1825 42%, #020509 100%);
}

.site-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.34;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-h);
  border-bottom: 1px solid rgba(215, 174, 69, 0.18);
  background: rgba(3, 7, 12, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.navbar {
  width: min(var(--max), calc(100% - 40px));
  min-height: var(--header-h);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 999px;
  border: 1px solid rgba(241, 210, 122, 0.34);
  box-shadow: 0 0 0 3px rgba(215, 174, 69, 0.07), 0 12px 24px rgba(0, 0, 0, 0.35);
}

.brand-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.12rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
  white-space: nowrap;
}

.brand-tagline {
  font-size: 0.76rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  flex: 0 0 auto;
}

.nav-links a,
.footer-links a {
  position: relative;
  color: var(--soft);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.nav-links a::after,
.footer-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: auto;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  transition: width 180ms ease;
}

.nav-links a:hover,
.nav-links a.active,
.footer-links a:hover {
  color: var(--gold-bright) !important;
}

.nav-links a:hover::after,
.nav-links a.active::after,
.footer-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(215, 174, 69, 0.28);
  background: rgba(8, 18, 29, 0.8);
  border-radius: 999px;
  cursor: pointer;
  padding: 11px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  margin: 5px 0;
  background: var(--gold-bright);
  transition: transform 200ms ease, opacity 200ms ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 104px 0;
  scroll-margin-top: 108px;
}

.hero {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  align-items: center;
  gap: 64px;
  padding-top: 72px;
}

.eyebrow,
.section-kicker,
.panel-label {
  margin: 0 0 18px;
  color: var(--gold-bright);
  letter-spacing: 0.17em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
}

h1 {
  font-size: clamp(3.4rem, 8vw, 7.8rem);
  letter-spacing: 0.03em;
  text-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
}

h2 {
  font-size: clamp(2rem, 4.4vw, 4.7rem);
  color: var(--text);
}

h3 {
  font-size: 1.55rem;
  color: var(--gold-bright);
}

.hero-line {
  margin: 18px 0 20px;
  font-family: var(--serif);
  color: var(--gold-bright);
  font-size: clamp(1.35rem, 2.1vw, 2.3rem);
}

.hero-copy,
.large-text,
.statement p {
  margin: 0;
  max-width: 720px;
  color: var(--soft);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(215, 174, 69, 0.34);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #140d05;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold), var(--gold-dark));
  border-color: transparent;
  box-shadow: 0 18px 38px rgba(215, 174, 69, 0.16);
}

.button-ghost {
  color: var(--gold-bright);
  background: rgba(8, 18, 29, 0.52);
}

.hero-logo-card {
  position: relative;
  padding: 14px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(215, 174, 69, 0.16), rgba(3, 7, 12, 0.1) 66%);
  filter: drop-shadow(0 32px 60px rgba(0, 0, 0, 0.48));
}

.hero-logo-card::before {
  content: '';
  position: absolute;
  inset: -12%;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(215, 174, 69, 0.16), transparent 68%);
}

.hero-logo-card img {
  width: min(500px, 100%);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 999px;
  border: 1px solid rgba(241, 210, 122, 0.25);
  box-shadow: 0 0 0 6px rgba(215, 174, 69, 0.05);
}

.statement {
  margin-top: -42px;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(215, 174, 69, 0.1), transparent 40%),
    rgba(8, 18, 29, 0.78);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28);
}

.statement p {
  max-width: 900px;
}

.statement-signature {
  margin-top: 16px !important;
  color: var(--gold-bright) !important;
}

.split {
  display: grid;
  grid-template-columns: 0.36fr 1fr;
  gap: 56px;
  border-top: 1px solid rgba(215, 174, 69, 0.2);
}

.split-content {
  display: grid;
  gap: 30px;
}

.text-block {
  max-width: 820px;
  color: var(--soft);
  font-size: 1.04rem;
}

.text-block p {
  margin: 0 0 18px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 44px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.info-card,
.book-panel,
.rights-box,
.contact-inner {
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(215, 174, 69, 0.08), transparent 34%),
    rgba(8, 18, 29, 0.76);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.23);
}

.info-card {
  min-height: 260px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-number {
  color: rgba(241, 210, 122, 0.42);
  font-family: var(--serif);
  font-size: 2rem;
}

.info-card p {
  margin: 20px 0 0;
  color: var(--muted);
}

.featured {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 40px;
  align-items: start;
}

.featured-copy {
  min-width: 0;
}

.meta-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 26px;
}

.meta-list div {
  padding: 15px 16px;
  border: 1px solid rgba(215, 174, 69, 0.18);
  border-radius: 16px;
  background: rgba(3, 7, 12, 0.28);
}

.meta-list span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.meta-list strong {
  font-weight: 500;
  color: var(--text);
}

.text-link,
.mail-link,
.contact-email {
  color: var(--gold-bright);
  border-bottom: 1px solid rgba(241, 210, 122, 0.55);
}

.text-link:hover,
.mail-link:hover,
.contact-email:hover {
  color: #fff3bf;
}

.book-panel {
  padding: 30px;
  position: sticky;
  top: 112px;
}

.series-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 24px;
  color: rgba(241, 210, 122, 0.7);
}

.series-list span {
  color: var(--soft);
}

.author-section,
.rights,
.contact {
  border-top: 1px solid rgba(215, 174, 69, 0.2);
}

.rights-box,
.contact-inner {
  padding: clamp(34px, 5vw, 64px);
  max-width: 900px;
}

.rights-box h2,
.contact-inner h2 {
  margin-bottom: 22px;
}

.rights-box p,
.contact-inner p {
  max-width: 720px;
  color: var(--soft);
  margin: 0 0 22px;
}

.mail-link,
.contact-email {
  display: inline-block;
  font-size: clamp(1.25rem, 2.3vw, 2rem);
  font-family: var(--serif);
}

.contact-note {
  margin-top: 24px !important;
  color: var(--muted) !important;
  font-size: 0.95rem;
}

.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 44px;
  border-top: 1px solid rgba(215, 174, 69, 0.24);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  color: var(--muted);
}

.footer-brand {
  display: grid;
  gap: 4px;
}

.footer-name {
  color: var(--gold-bright);
  font-family: var(--serif);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.85rem;
}

@media (max-width: 980px) {
  .hero,
  .featured,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 44px;
    min-height: auto;
  }

  .hero-logo-card {
    justify-self: center;
    max-width: 440px;
  }

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

  .book-panel {
    position: static;
  }
}

@media (max-width: 1080px) {
  :root {
    --header-h: 76px;
  }

  .navbar,
  .section,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .brand-tagline {
    font-size: 0.72rem;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .nav-links {
    position: fixed;
    top: calc(var(--header-h) + 8px);
    left: 14px;
    right: 14px;
    z-index: 60;
    display: grid;
    gap: 0;
    padding: 14px;
    border: 1px solid rgba(215, 174, 69, 0.26);
    border-radius: 22px;
    background: rgba(3, 7, 12, 0.96);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
    margin-left: 0;
  }

  body.nav-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 15px 10px;
    border-bottom: 1px solid rgba(215, 174, 69, 0.12);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .nav-links a::after {
    bottom: 9px;
  }
}

@media (max-width: 760px) {
  .brand-tagline {
    display: none;
  }

  .section {
    padding: 78px 0;
  }

  .statement {
    margin-top: 0;
    padding: 28px;
  }

  .meta-list {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand-name {
    font-size: 0.88rem;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: clamp(2.8rem, 15vw, 4rem);
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }
}
