/* Module 007 — The Mysteries */
.hf-mysteries-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 20%, rgba(200,154,61,.24), transparent 34%),
    linear-gradient(135deg, #102b25 0%, #173b32 48%, #244c5a 100%);
  color: #fff;
}
.hf-mysteries-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 119px, rgba(255,255,255,.025) 120px 121px);
}
.hf-mysteries-hero__inner {
  position: relative;
  z-index: 1;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 90px;
  padding-bottom: 90px;
}
.hf-mysteries-hero .hf-kicker { color: #f2d18a; }
.hf-mysteries-hero h1 {
  max-width: 920px;
  margin: .35rem 0 1.2rem;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: .93;
  letter-spacing: -.035em;
}
.hf-mysteries-hero__lede {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}
.hf-mysteries-hero .hf-actions { justify-content: flex-start; }

.hf-start-grid {
  display: grid;
  grid-template-columns: minmax(240px, .65fr) minmax(0, 1.35fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
}
.hf-start-here .hf-title { max-width: 780px; }

.hf-book-grid {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 26px;
}
.hf-book-card {
  min-width: 0;
}
.hf-book-card article {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--hf-border);
  border-radius: 20px;
  background: rgba(255,250,240,.78);
  box-shadow: 0 14px 34px rgba(23,59,50,.09);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hf-book-card article:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(23,59,50,.15);
}
.hf-book-card__topline {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.hf-book-number,
.hf-book-status {
  font: 800 .68rem/1.2 Arial,sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hf-book-number { color: var(--hf-copper); }
.hf-book-status {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--hf-pine);
  background: rgba(200,154,61,.18);
}
.hf-book-card--launching .hf-book-status {
  background: rgba(200,154,61,.28);
  color: var(--hf-pine);
}
.hf-book-card--forthcoming .hf-book-status { background: rgba(95,98,95,.12); color: var(--hf-granite); }

.hf-book-continuation {
  grid-column: 1 / -1;
  margin: 28px 0 6px;
  padding: 38px 20px 34px;
  text-align: center;
  border-top: 1px solid var(--hf-border);
  border-bottom: 1px solid var(--hf-border);
}
.hf-book-continuation .hf-kicker { margin-bottom: 8px; }
.hf-book-continuation p:last-child {
  max-width: 620px;
  margin: 0 auto;
  color: var(--hf-muted);
  font-size: 1.08rem;
}

.hf-book-cover {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #102b25;
  box-shadow: 0 18px 32px rgba(15,35,30,.24);
}
.hf-book-cover img {
  display: block;
  width: 100%;
  height: auto;
}
.hf-book-cover--featured {
  width: min(100%, 330px);
  margin-inline: auto;
}
.hf-book-card__copy { padding: 20px 4px 4px; }
.hf-book-card__copy h3 {
  margin: 0 0 4px;
  color: var(--hf-pine);
  font-size: 1.45rem;
  line-height: 1.08;
}
.hf-book-subtitle {
  margin: 0 0 12px;
  color: var(--hf-copper);
  font-style: italic;
}
.hf-book-card__copy p:last-child { margin-bottom: 0; color: var(--hf-muted); }
.hf-book-card__action { margin-top: 18px; }
.hf-book-card__action .hf-text-link {
  color: var(--hf-copper);
  font: 800 .76rem/1.2 Arial,sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
}

.hf-mysteries-close { text-align: center; }
.hf-mysteries-close .hf-subtitle { margin-inline: auto; }
.hf-mysteries-close .hf-actions { align-items: center; }
.hf-mysteries-close .hf-text-link {
  color: var(--hf-copper);
  font: 800 .82rem/1 Arial,sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
}

@media (max-width: 980px) {
  .hf-book-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .hf-mysteries-hero__inner { min-height: 560px; padding-top: 70px; padding-bottom: 70px; }
  .hf-start-grid { grid-template-columns: 1fr; }
  .hf-book-cover--featured { width: min(78vw, 300px); }
}
@media (max-width: 580px) {
  .hf-mysteries-hero h1 { font-size: clamp(2.7rem, 15vw, 4.4rem); }
  .hf-mysteries-hero .hf-actions { display: grid; width: 100%; }
  .hf-mysteries-hero .hf-button { width: 100%; }
  .hf-book-grid { grid-template-columns: 1fr; gap: 22px; }
  .hf-book-card article { padding: 15px; }
  .hf-book-cover { width: min(100%, 330px); margin-inline: auto; }
  .hf-book-continuation { padding: 30px 10px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .hf-book-card article { transition: none; }
  .hf-book-card article:hover { transform: none; }
}
