/* ─────────────────────────────────────────────
   Martin Müller – author website
   Design: dark elegance, #ffde59 accent (sparse)
   ───────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #0b0b0b;
  --bg-2:        #111111;
  --surface:     #161616;
  --surface-2:   #1d1d1d;
  --border:      #252525;
  --border-2:    #333;
  --text:        #e0e0e0;
  --text-dim:    #a0a0a0;
  --text-muted:  #666;
  --accent:      #ffde59;
  --accent-dim:  rgba(255, 222, 89, 0.15);
  --heading:     'Playfair Display', serif;
  --body:        'Inter', sans-serif;
  --serif-alt:   'Cormorant Garamond', serif;
  --radius:      4px;
  --transition:  0.35s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent-dim); color: var(--accent); }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--heading); font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.45rem); }

.eyebrow {
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.serif { font-family: var(--serif-alt); }

/* ── Layout Utilities ── */
.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}
.container--narrow { width: min(780px, 92vw); margin: 0 auto; }

section { padding: 80px 0; }
.section-title {
  margin-bottom: 48px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: -10px;
  width: 40px; height: 2px;
  background: var(--accent);
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 5%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(11, 11, 11, 0.97);
  box-shadow: 0 1px 0 var(--border);
  backdrop-filter: blur(10px);
}

.nav__logo {
  font-family: var(--heading);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  transition: color var(--transition);
}
.nav__logo span { color: var(--accent); }
.nav__logo:hover { color: var(--accent); }

.nav__links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav__links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color var(--transition);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav__links a:hover,
.nav__links a.active { color: var(--text); }
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  transition: var(--transition);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 64px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 50%, rgba(110, 60, 20, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(255, 222, 89, 0.04) 0%, transparent 60%),
    var(--bg);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: min(1160px, 92vw);
  margin: 0 auto;
  padding: 60px 0;
}

.hero__text { order: 0; }

.hero__subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__subtitle::before {
  content: '';
  display: block;
  width: 30px; height: 1px;
  background: var(--accent);
}

.hero__title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: #fff;
}
.hero__title em {
  font-style: italic;
  color: var(--text-dim);
  display: block;
  font-size: 0.6em;
  font-weight: 400;
}

.hero__tagline {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 32px;
  font-style: italic;
  font-family: var(--serif-alt);
  font-size: 1.3rem;
}

.hero__cycling {
  margin-bottom: 40px;
  min-height: 32px;
}
.hero__cycling-text {
  font-size: 0.95rem;
  color: var(--text-dim);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s, transform 0.6s;
}
.hero__cycling-text.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn--primary {
  background: var(--accent);
  color: #0b0b0b;
  border-color: var(--accent);
}
.btn--primary:hover {
  background: #ffe87a;
  box-shadow: 0 4px 20px rgba(255, 222, 89, 0.25);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-2);
}
.btn--outline:hover {
  border-color: var(--text-dim);
  background: rgba(255,255,255,0.04);
}

.btn--ghost {
  background: transparent;
  color: var(--text-dim);
  border-color: transparent;
  padding-left: 0;
}
.btn--ghost:hover { color: var(--text); }

/* Arrow icon */
.btn svg { width: 16px; height: 16px; }

/* ── Book Cover Visual ── */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.book-3d {
  position: relative;
  width: 280px;
  animation: float 4s ease-in-out infinite;
  cursor: pointer;
  transition: transform 0.1s;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.8));
}
.book-3d img {
  width: 100%;
  border-radius: 3px 6px 6px 3px;
  box-shadow:
    -8px 0 20px rgba(0,0,0,0.6),
    -3px 0 6px rgba(0,0,0,0.4),
    inset -3px 0 8px rgba(0,0,0,0.3);
}

.book-3d::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 2%;
  width: 20px;
  height: 96%;
  background: linear-gradient(to right, #1a1a1a, #3a3a3a);
  border-radius: 2px 0 0 2px;
  transform: skewY(-1deg);
}

.hero__glow {
  position: absolute;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(110,60,20,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-14px) rotate(-1deg); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* ── Synopsis Section ── */
.synopsis {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.synopsis__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.synopsis__text { font-size: 1.05rem; color: var(--text-dim); line-height: 1.8; }
.synopsis__text p + p { margin-top: 16px; }
.synopsis__meta { padding-top: 8px; }
.synopsis__meta-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.synopsis__meta-label { color: var(--text-muted); }
.synopsis__meta-value { color: var(--text); font-weight: 500; }

/* ── Topics Tags ── */
.topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.topic-tag {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--border-2);
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  transition: all var(--transition);
}
.topic-tag:hover, .topic-tag.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

/* ── Animated Taglines ── */
.taglines {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
  overflow: hidden;
}
.taglines__display {
  text-align: center;
  position: relative;
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tagline-item {
  position: absolute;
  font-family: var(--serif-alt);
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 400;
  color: var(--text);
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s, transform 0.8s;
  pointer-events: none;
  max-width: 860px;
  line-height: 1.4;
  font-style: italic;
}
.tagline-item.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.taglines__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.taglines__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--border-2);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.taglines__dot.active {
  background: var(--accent);
  transform: scale(1.4);
}

/* ── Excerpt Block ── */
.excerpt-block {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  padding: 32px 40px;
  margin: 40px 0;
  position: relative;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.excerpt-block::before {
  content: '\201C';
  position: absolute;
  top: -10px; left: 20px;
  font-size: 6rem;
  font-family: var(--heading);
  color: var(--accent);
  opacity: 0.2;
  line-height: 1;
}
.excerpt-block p {
  font-family: var(--serif-alt);
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dim);
  font-style: italic;
}
.excerpt-block cite {
  display: block;
  margin-top: 16px;
  font-size: 0.8rem;
  font-style: normal;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Excerpt Carousel ── */
.excerpt-carousel {
  background: var(--bg-2);
  padding: 80px 0;
}
.carousel__inner {
  position: relative;
  overflow: hidden;
}
.carousel__track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel__slide {
  min-width: 100%;
  padding: 0 20px;
}
.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
.carousel__btn {
  width: 44px; height: 44px;
  border: 1px solid var(--border-2);
  background: transparent;
  color: var(--text-dim);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.carousel__btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.carousel__progress {
  font-size: 0.8rem;
  color: var(--text-muted);
  width: 60px;
  text-align: center;
}

/* ── Author Mini Section ── */
.author-mini {
  padding: 80px 0;
  background: var(--bg);
}
.author-mini__inner {
  display: flex;
  gap: 60px;
  align-items: center;
}
.author-mini__photo {
  width: 180px;
  height: 220px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}
.author-mini__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(20%);
  transition: filter var(--transition);
}
.author-mini__photo:hover img { filter: grayscale(0); }
.author-mini__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
}

.author-mini__text h3 { margin-bottom: 16px; }
.author-mini__text p {
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ── Other Books Grid ── */
.books-grid {
  background: var(--bg-2);
  padding: 80px 0;
}
.books-grid__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.book-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.book-card:hover {
  border-color: var(--border-2);
  transform: translateY(-4px);
}
.book-card__cover {
  aspect-ratio: 2/3;
  overflow: hidden;
  position: relative;
}
.book-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  transition: transform 0.6s ease;
}
.book-card:hover .book-card__cover img { transform: scale(1.02); }

.book-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.book-card__publisher {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.book-card__title {
  font-family: var(--heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}
.book-card__desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}
.book-card__actions {
  display: flex;
  gap: 12px;
}
.btn--sm {
  padding: 9px 18px;
  font-size: 0.76rem;
}

/* ── Book Page Hero ── */
.book-hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}
.book-hero__bg {
  position: absolute;
  inset: 0;
  background: var(--bg);
}
.book-hero__content {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
  width: min(1160px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.book-hero__cover {
  position: sticky;
  top: 100px;
}
.book-hero__cover img {
  width: 100%;
  border-radius: 3px 8px 8px 3px;
  box-shadow: -10px 0 30px rgba(0,0,0,0.7), 0 20px 60px rgba(0,0,0,0.5);
  animation: float 5s ease-in-out infinite;
}
.book-hero__info h1 { margin-bottom: 8px; }
.book-hero__author {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}
.book-hero__quote {
  font-family: var(--serif-alt);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--text-dim);
  margin-bottom: 32px;
  padding-left: 24px;
  border-left: 2px solid var(--accent);
  line-height: 1.5;
}
.book-hero__desc {
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 32px;
  font-size: 1.05rem;
}
.book-hero__desc p + p { margin-top: 14px; }

.buy-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.buy-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.buy-link:hover {
  border-color: var(--accent);
  background: var(--surface-2);
}
.buy-link__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.buy-link__name {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
}
.buy-link__arrow {
  margin-left: auto;
  color: var(--accent);
}
.buy-link__primary {
  background: var(--surface-2);
  border-color: var(--border-2);
}
.buy-link__primary .buy-link__label { color: var(--accent); }

/* ── Photo Gallery Strip ── */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px;
  overflow: hidden;
  width: min(1160px, 92vw);
  margin: 0 auto;
  padding: 0;
}
.photo-strip__item {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.photo-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  transition: transform 0.6s ease;
  filter: grayscale(10%);
}
.photo-strip__item:hover img {
  transform: scale(1.06);
  filter: grayscale(0);
}

/* ── Divider ── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ── Author Page ── */
.author-hero {
  padding: 120px 0 80px;
  background: var(--bg-2);
}
.author-hero__inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
}
.author-hero__portrait {
  position: relative;
}
.author-hero__portrait img {
  width: 100%;
  border-radius: var(--radius);
  filter: contrast(1.05);
}
.author-hero__portrait::after {
  content: '';
  position: absolute;
  bottom: -12px; right: -12px;
  width: 60%; height: 60%;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  opacity: 0.4;
  pointer-events: none;
}
.author-hero__bio h1 { margin-bottom: 24px; }
.author-hero__bio p {
  color: var(--text-dim);
  line-height: 1.85;
  font-size: 1.05rem;
  margin-bottom: 20px;
}
.author-hero__bio p + p { margin-top: 16px; }
.author-fact {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.author-fact__icon {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ── Blog ── */
.blog-hero {
  padding: 140px 0 60px;
  background: var(--bg);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
  padding: 60px 0;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}
.blog-card__read::after {
  content: '';
  position: absolute;
  inset: 0;
}
.blog-card:hover {
  border-color: var(--border-2);
  transform: translateY(-4px);
}
.blog-card__cat {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.blog-card__title {
  font-family: var(--heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}
.blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
  flex: 1;
}
.blog-card__body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.blog-card__footer {
  padding: 20px 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.blog-card__date {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.blog-card__read {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
}

/* ── Article Page ── */
.article-hero {
  padding: 120px 0 60px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.article-hero__cat {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.article-hero__title {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  color: #fff;
}
.article-hero__meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.article-body {
  padding: 60px 0 100px;
}
.article-body p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.article-body h2 {
  font-size: 1.6rem;
  color: var(--text);
  margin: 48px 0 20px;
  padding-top: 20px;
}
.article-body h3 {
  font-size: 1.25rem;
  color: var(--text);
  margin: 36px 0 16px;
}
.article-body ul, .article-body ol {
  margin: 0 0 24px 24px;
  color: var(--text-dim);
}
.article-body li { margin-bottom: 8px; line-height: 1.7; font-size: 1.05rem; }
.article-body blockquote {
  margin: 36px 0;
  padding: 24px 32px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  font-family: var(--serif-alt);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-dim);
  border-radius: 0 4px 4px 0;
}
.article-body strong { color: var(--text); font-weight: 600; }
.article-body em { color: var(--text); }

/* ── Footer ── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer__brand {
  font-family: var(--heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}
.footer__brand span { color: var(--accent); }
.footer__tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer__heading {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--accent); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── Fade-in animations on scroll ── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ── Reveal quote animation ── */
.reveal-quote {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.reveal-quote::after {
  content: 'Číst ukázku ›';
  position: absolute;
  inset: 0;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  transition: opacity var(--transition);
}
.reveal-quote.revealed::after { opacity: 0; pointer-events: none; }

/* ── Mobile nav ── */
@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: fixed;
    top: 60px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(11, 11, 11, 0.98);
    padding: 24px 5%;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    z-index: 9999;
  }
  .nav__links.open { display: flex; }
  .nav__burger { display: flex; }

  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__visual { order: -1; }
  .hero__subtitle { justify-content: center; }
  .hero__actions { justify-content: center; }
  .book-3d { width: 200px; }

  .synopsis__inner { grid-template-columns: 1fr; gap: 40px; }
  .book-hero__content { grid-template-columns: 1fr; gap: 40px; }
  .book-hero__cover { position: static; max-width: 240px; margin: 0 auto; }
  .author-hero__inner { grid-template-columns: 1fr; }
  .author-mini__inner { flex-direction: column; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .books-grid__grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 2.4rem; }
}

/* ── Accessibility ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── Page load animation ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__text {
  animation: fadeInUp 0.9s ease 0.1s both;
}
.hero__visual {
  animation: fadeInUp 0.9s ease 0.3s both;
}

/* ── Accent line on section titles ── */
.section-title {
  color: #fff;
}

/* ── Smooth image loading ── */
img {
  transition: opacity 0.4s ease;
}
img[loading] {
  opacity: 0;
}
img.loaded {
  opacity: 1;
}

/* ── Book hero background tints ── */
.book-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 20% 50%, rgba(255,222,89,0.03) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Article link styling ── */
.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255,222,89,0.4);
  transition: text-decoration-color var(--transition);
}
.article-body a:hover {
  text-decoration-color: var(--accent);
}

/* ── Better blockquote ── */
.article-body blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: 0.82rem;
  font-style: normal;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* ── Nav logo hover ── */
.nav__logo:hover span { color: var(--text); }

/* ── Sticky book cover on wide screens ── */
@media (min-width: 900px) {
  .book-hero__cover {
    position: sticky;
    top: 100px;
    align-self: start;
  }
}

/* ── Photo strip min-height ── */
.photo-strip {
  min-height: 200px;
}

/* ══════════════════════════════════════════════════
   SPLIT SECTION  –  text alongside image/photo
   ══════════════════════════════════════════════════ */

.split {
  padding: 80px 0;
}
.split__inner {
  width: min(1160px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split--reverse .split__visual { order: -1; }

.split__text { max-width: 560px; }
.split__text h2 { margin-bottom: 20px; }
.split__text p {
  color: var(--text-dim);
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 16px;
}
.split__text .topics { margin: 24px 0; }
.split__text .btn { margin-top: 8px; }

.split__visual {
  display: block;
  position: relative;
  width: 100%;
}
.split__visual--hero {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}
/* Transparent-bg hero images */
.split__visual--hero img {
  max-width: 100%;
  max-height: 560px;
  width: auto;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5));
  animation: float 4.5s ease-in-out infinite;
}
/* Regular photos with subtle frame */
.split__visual--photo {
  border-radius: 4px;
  overflow: hidden;
}
.split__visual--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Subtle accent corner decoration */
.split__visual--hero::after {
  content: '';
  position: absolute;
  bottom: -16px; right: -16px;
  width: 120px; height: 120px;
  border-bottom: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
  opacity: 0.25;
  pointer-events: none;
}

/* ── Author photo in hero/split ── */
.author-photo-wrap {
  position: relative;
  display: inline-block;
}
.author-photo-wrap img {
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
  display: block;
  border-radius: 2px;
}
.author-photo-wrap--frame::before {
  content: '';
  position: absolute;
  top: -10px; left: -10px;
  right: 10px; bottom: 10px;
  border: 1px solid var(--border-2);
  border-radius: 2px;
  pointer-events: none;
}

/* ── Full-page-width accent divider with text ── */
.accent-band {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}
.accent-band__inner {
  width: min(1160px, 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  justify-content: space-between;
}
.accent-band__quote {
  font-family: var(--serif-alt);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--text-dim);
  flex: 1;
  line-height: 1.4;
}
.accent-band__source {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-width: 160px;
  text-align: right;
}

/* ── Floating accent stat boxes ── */
.stat-box {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 4px 4px 0;
  margin-bottom: 16px;
}
.stat-box__number {
  font-family: var(--heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-box__label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── book-hero: use transparent-bg photos ── */
.book-hero__visual {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 20px;
}
.book-hero__visual img {
  max-width: 100%;
  max-height: 580px;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.6));
  animation: float 5s ease-in-out infinite;
}

/* ── Author page hero ── */
.author-hero2 {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  background: var(--bg);
  overflow: hidden;
  position: relative;
}
.author-hero2__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 80% 50%, rgba(255,222,89,0.03) 0%, transparent 60%),
    var(--bg);
}
.author-hero2__inner {
  width: min(1160px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.author-hero2__photo {
  position: relative;
}
.author-hero2__photo img {
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  object-position: center top;
  display: block;
  border-radius: 2px;
}

/* ── Hanke box ── */
.hanke-box {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-left: 3px solid var(--accent);
  border-radius: 0 4px 4px 0;
  padding: 28px 32px;
  margin: 32px 0;
}
.hanke-box__eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.hanke-box p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}
.hanke-box a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .split__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .split--reverse .split__visual { order: 0; }
  .author-hero2__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .accent-band__inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .accent-band__source { text-align: center; }
  .split__text { max-width: 100%; }
}

/* ── Blog article layout ── */
.blog-article .container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 80px;
  align-items: start;
  padding-top: 64px;
  padding-bottom: 100px;
}
.blog-article__body {
  max-width: 680px;
}
.blog-article__lead {
  font-size: 1.2rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 40px;
}
.blog-article__body h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--text);
  margin: 48px 0 20px;
}
.blog-article__body p {
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1rem;
}
.blog-article__quote {
  border-left: 3px solid var(--accent);
  padding: 20px 28px;
  margin: 40px 0;
  font-family: var(--serif-alt);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
}
.blog-article__sidebar-inner {
  position: sticky;
  top: 100px;
}
.blog-article__sidebar-heading {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.blog-article__sidebar-list {
  list-style: none;
  margin-bottom: 8px;
}
.blog-article__sidebar-list li {
  margin-bottom: 10px;
}
.blog-article__sidebar-list a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color .2s;
}
.blog-article__sidebar-list a:hover {
  color: var(--accent);
}
@media (max-width: 860px) {
  .blog-article .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .blog-article__sidebar-inner {
    position: static;
  }
}

/* ── Ghost button variant ── */
.btn--ghost {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border-2);
  padding: 8px 16px;
  font-size: 0.8rem;
}
.btn--ghost:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ── Blog preview grid (homepage) ── */
.blog-preview__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.blog-preview__card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  transition: transform .25s, border-color .25s;
}
.blog-preview__card:hover {
  transform: translateY(-4px);
  border-color: var(--border-2);
}
.blog-preview__img {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.blog-preview__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.blog-preview__card:hover .blog-preview__img img {
  transform: scale(1.05);
}
.blog-preview__body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-preview__cat {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: 10px;
}
.blog-preview__title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
  flex: 1;
  margin-bottom: 14px;
}
.blog-preview__meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}
/* fade-in delay 3 */
.fade-in-delay-3 { transition-delay: .45s; }

@media (max-width: 1000px) {
  .blog-preview__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .blog-preview__grid { grid-template-columns: 1fr; }
}

/* ── Hero section image animation (distinct from .float) ── */
@keyframes hero-glow-pulse {
  0%,100% { transform: scale(1) translateY(0); filter: drop-shadow(0 40px 80px rgba(0,0,0,.7)); }
  50%      { transform: scale(1.03) translateY(-8px); filter: drop-shadow(0 50px 100px rgba(255,222,89,.12)); }
}
.hero-img-animate {
  animation: hero-glow-pulse 5s ease-in-out infinite;
}

/* ── Excerpt Reader (Sad kostí) ── */
.excerpt-reader { margin-top:48px; border:1px solid var(--border); background:var(--surface); border-radius:var(--radius); overflow:hidden; }
.excerpt-reader__tabs { display:flex; border-bottom:1px solid var(--border); }
.excerpt-reader__tab { flex:1; padding:16px 0; background:none; border:none; border-right:1px solid var(--border); color:var(--text-muted); cursor:pointer; font-family:var(--heading); font-size:1rem; letter-spacing:.06em; transition:background .25s,color .25s; }
.excerpt-reader__tab:last-child { border-right:none; }
.excerpt-reader__tab.active { color:var(--accent); background:var(--surface-2); }
.excerpt-reader__tab:hover:not(.active) { color:var(--text); background:var(--surface-2); }
.excerpt-reader__body { padding:44px 52px; min-height:220px; }
.excerpt-reader__panel { display:none; font-size:1.05rem; line-height:1.9; color:var(--text-dim); }
.excerpt-reader__panel p { margin-bottom:1em; }
.excerpt-reader__panel p:last-child { margin-bottom:0; }
.excerpt-reader__panel.active { display:block; animation:excerpt-in .35s ease; }
@keyframes excerpt-in { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:translateY(0)} }
.hl { color:var(--accent); font-style:normal; }
.hl-pulse { color:var(--accent); font-style:normal; animation:hl-glow 3s ease-in-out infinite; }
@keyframes hl-glow { 0%,100%{text-shadow:none;opacity:.8} 50%{text-shadow:0 0 16px rgba(255,222,89,.5);opacity:1} }
@media (max-width:700px) { .excerpt-reader__body { padding:28px 24px; } }

/* ── Short centered section dividers ── */

/* Strip all full-width borders */
section,
.accent-band,
.taglines,
.footer {
  border-top: none !important;
  border-bottom: none !important;
}

/* Accent band — keep on one line */
.accent-band__inner { flex-wrap: nowrap; }

/* Short 40px centered dash at every section boundary */
section + section,
section + .accent-band,
.accent-band + section {
  position: relative;
}
section + section::before,
section + .accent-band::before,
.accent-band + section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: var(--border-2);
  pointer-events: none;
}

/* Footer short dash */
.footer {
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: var(--border-2);
}

/* ══════════════════════════════════════════════════
   MOBILNÍ OPRAVY – komplexní responsive
   ══════════════════════════════════════════════════ */

/* Žádné horizontální scrollování */
html, body { overflow-x: hidden; max-width: 100%; }

/* Book-page hero grid – desktop */
.book-hero-split > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Excerpt nav bar & reviews grid – přidávané přes class */
.excerpt-nav { display: flex; align-items: center; justify-content: space-between; }
.reviews-grid { display: grid; }

@media (max-width: 768px) {

  /* ── Druhá fotka autora – jen desktop ── */
  .author-photo-secondary { display: none; }

  /* ── Book page hero: zhroutit na jeden sloupec ── */
  .book-hero-split > div {
    grid-template-columns: 1fr !important;
    padding-top: 80px !important;
    padding-bottom: 40px !important;
    gap: 24px !important;
  }
  .book-hero-split img.hero-img-animate {
    max-height: 260px;
    margin: 0 auto;
    display: block;
  }

  /* ── Reviews / citáty: jeden sloupec ── */
  .reviews-grid {
    grid-template-columns: 1fr !important;
  }

  /* ── Excerpt nav: zmenšit padding a tlačítka ── */
  .excerpt-nav {
    padding: 14px 16px !important;
  }
  .excerpt-nav button {
    padding: 8px 14px !important;
    font-size: .78rem !important;
  }
  .excerpt-nav span {
    font-size: .75rem !important;
  }

  /* ── Tlačítka v hero sekci vedle sebe ── */
  .btn { padding: 12px 20px; font-size: .85rem; }
}
