/* ─── Reset & Base ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  overflow: hidden;
  background: #ffffff;
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
}

/* ─── Top Header — back link ─── */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  padding: 20px 40px;
  background: transparent;
}

.back {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: #000;
  text-decoration: none;
  opacity: 0.35;
  transition: opacity 0.2s ease;
  text-transform: lowercase;
}

.back:hover {
  opacity: 1;
}

/* ─── Hero — top 1/3 white ─── */
.hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100vh - 300px);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 64px;
  padding: 56px 80px 32px;
  background: #ffffff;
}

.hero-cover {
  flex-shrink: 0;
}

.hero-cover img {
  height: clamp(300px, 38vh, 460px);
  width: auto;
  max-width: 320px;
  object-fit: contain;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 520px;
}

.hero-text h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: bold;
  font-style: italic;
  line-height: 1.1;
  color: #000;
}

.hero-text .author {
  font-size: 1.15rem;
  color: #000;
  opacity: 0.55;
}

.hero-text .details {
  font-size: 0.85rem;
  color: #e8a830;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.medium {
  border: 1px solid #e8a830;
  padding: 1px 6px;
  font-style: italic;
  font-size: 0.68rem;
  color: #e8a830;
}

.purchase-links {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.purchase-links a {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid #000;
  padding-bottom: 1px;
  opacity: 0.35;
  transition: opacity 0.2s ease;
}

.purchase-links a:hover {
  opacity: 1;
}

/* ─── Image placeholder strip ─── */
.image-strip {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.image-placeholder {
  flex: 1;
  height: 80px;
  background: #f0f0f0;
  border: 1px dashed #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-placeholder span {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  opacity: 0.3;
  font-style: italic;
  color: #000;
}

/* ─── Entry Band — black bottom ─── */
.entry-band {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 300px;
  background: #000;
  overflow-y: auto;
  scrollbar-width: none;
  padding: 36px 80px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.entry-band::-webkit-scrollbar {
  display: none;
}

.entry-band article {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #e8a830;
  flex: 1;
}

.entry-band article p {
  margin-bottom: 1.4em;
  color: #e8a830;
}

.entry-band article .empty {
  font-size: 0.88rem;
  color: #e8a830;
  opacity: 0.3;
  letter-spacing: 0.06em;
}

.entry-band footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #2a2a2a;
  flex-shrink: 0;
}

.entry-band .timestamp {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: #e8a830;
  opacity: 0.4;
  font-style: italic;
}

/* ─── Fade in ─── */
.fade-el {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-el.visible {
  opacity: 1;
  transform: translateY(0);
}
