:root {
  --author-bg: #09070b;
  --author-panel: #151019;
  --author-panel-soft: #1d151f;
  --author-text: #f1e8dc;
  --author-muted: #b9aa98;
  --author-gold: #d0a35a;
  --author-gold-light: #f0d4a6;
  --author-red: #8f2836;
  --author-line: rgba(208, 163, 90, 0.24);
  --author-max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.page-author {
  margin: 0;
  color: var(--author-text);
  background:
    radial-gradient(circle at 16% 4%, rgba(143, 40, 54, 0.15), transparent 31%),
    radial-gradient(circle at 86% 20%, rgba(208, 163, 90, 0.08), transparent 27%),
    linear-gradient(180deg, #080609, var(--author-bg));
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.72;
}

.author-wrap {
  width: min(var(--author-max), calc(100% - 32px));
  margin: 0 auto;
}

.author-hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 84px;
  border-bottom: 1px solid var(--author-line);
}

.author-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 6, 9, 0.98) 0%, rgba(8, 6, 9, 0.72) 48%, rgba(8, 6, 9, 0.2) 100%),
    url('/img/panorama_tour.png') center / cover;
  opacity: 0.38;
}

.author-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  align-items: center;
  gap: 64px;
}

.author-kicker {
  color: var(--author-gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.author-hero h1 {
  margin: 12px 0 20px;
  color: #fff7ed;
  font-size: clamp(4rem, 10vw, 7.2rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-shadow: 0 14px 38px rgba(0, 0, 0, 0.52);
}

.author-lead {
  max-width: 710px;
  margin: 0;
  color: #e2d4c3;
  font-size: clamp(1.16rem, 2.2vw, 1.42rem);
}

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

.author-button {
  display: inline-block;
  padding: 12px 18px;
  border: 1px solid var(--author-line);
  border-radius: 999px;
  color: var(--author-gold-light);
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.author-button:hover {
  transform: translateY(-2px);
  border-color: rgba(208, 163, 90, 0.58);
  background: rgba(255, 255, 255, 0.04);
}

.author-button--primary {
  border-color: transparent;
  color: #fff7ed;
  background: linear-gradient(135deg, #751b27, #aa3341);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.38);
}

.author-portrait {
  position: relative;
  width: min(100%, 340px);
  margin-left: auto;
  padding: 12px;
  border: 1px solid var(--author-line);
  background: rgba(17, 12, 19, 0.84);
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.55);
}

.author-portrait::after {
  content: "E. VAREL";
  position: absolute;
  right: 22px;
  bottom: 22px;
  padding: 6px 10px;
  color: var(--author-gold-light);
  background: rgba(8, 5, 9, 0.76);
  border: 1px solid rgba(208, 163, 90, 0.38);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.author-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 42%;
}

.author-main {
  padding: 86px 0 100px;
}

.author-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 64px;
  align-items: start;
}

.author-section-title {
  position: sticky;
  top: 105px;
}

.author-section-title h2,
.author-heading h2 {
  margin: 10px 0 0;
  color: #fff5e8;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.05;
}

.author-copy {
  color: #d3c5b4;
  font-size: 1.06rem;
}

.author-copy p {
  margin: 0 0 1.45em;
}

.author-copy p:first-child::first-letter {
  float: left;
  padding: 8px 10px 0 0;
  color: var(--author-gold);
  font-size: 4.5rem;
  line-height: 0.76;
}

.author-note {
  margin-top: 30px;
  padding: 22px 24px;
  border-left: 3px solid var(--author-gold);
  background: rgba(255, 255, 255, 0.025);
  color: var(--author-muted);
  font-style: italic;
}

.author-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 80px;
}

.author-pillar {
  padding: 26px;
  border: 1px solid var(--author-line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.012));
}

.author-pillar span {
  color: var(--author-gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.author-pillar h3 {
  margin: 10px 0 12px;
  color: #fff3e3;
  font-size: 1.42rem;
}

.author-pillar p {
  margin: 0;
  color: var(--author-muted);
}

.author-works {
  margin-top: 100px;
}

.author-heading {
  max-width: 780px;
  margin-bottom: 32px;
}

.author-heading p {
  color: var(--author-muted);
}

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

.author-book {
  display: grid;
  grid-template-columns: minmax(145px, 0.72fr) minmax(0, 1.28fr);
  gap: 24px;
  padding: 18px;
  border: 1px solid var(--author-line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(29, 21, 31, 0.92), rgba(15, 10, 18, 0.94));
}

.author-book-cover {
  overflow: hidden;
  align-self: start;
  aspect-ratio: 2 / 3;
  border: 1px solid rgba(208, 163, 90, 0.24);
  border-radius: 13px;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.42);
}

.author-book-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-book-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 7px 4px 4px 0;
}

.author-book-number {
  color: var(--author-gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.author-book h3 {
  margin: 9px 0 13px;
  color: #fff4e5;
  font-size: 1.55rem;
  line-height: 1.12;
}

.author-book p {
  margin: 0 0 18px;
  color: var(--author-muted);
}

.author-book .author-button {
  align-self: flex-start;
  margin-top: auto;
  padding: 9px 14px;
  font-size: 0.9rem;
}

.author-archives {
  margin-top: 90px;
  padding: 42px;
  border: 1px solid var(--author-line);
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(10, 7, 11, 0.93), rgba(10, 7, 11, 0.64)),
    url('/img/blog/vaelris-cite.jpg') center / cover;
}

.author-archives h2 {
  max-width: 750px;
  margin: 9px 0 16px;
  color: #fff5e8;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
}

.author-archives p {
  max-width: 720px;
  color: #d8c9b7;
}

.author-footer {
  padding: 28px 16px 38px;
  border-top: 1px solid var(--author-line);
  color: var(--author-muted);
  text-align: center;
}

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

  .author-portrait {
    width: min(72%, 340px);
    margin: 0;
  }

  .author-section-title {
    position: static;
  }
}

@media (max-width: 720px) {
  .author-hero {
    padding: 48px 0 62px;
  }

  .author-hero-grid {
    gap: 42px;
  }

  .author-portrait {
    width: min(88%, 320px);
  }

  .author-main {
    padding: 62px 0 72px;
  }

  .author-pillars,
  .author-book {
    grid-template-columns: 1fr;
  }

  .author-book-cover {
    width: min(72%, 280px);
  }

  .author-archives {
    padding: 30px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
