.ha {
  --orange: #f27925;
  --ink: #211a20;
  --paper: #fcf7ee;
  max-width: none;
  padding: 0;
  color: var(--ink);
  background: var(--paper);
}
.ha * {
  box-sizing: border-box;
}
.ha a {
  color: inherit;
}
.ha h1,
.ha h2 {
  font-family: Fraunces, Georgia, serif;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.ha h1 {
  font-size: clamp(2.7rem, 5.1vw, 5.1rem);
  line-height: 1.04;
  margin: 18px 0 25px;
}
.ha h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  margin: 10px 0 25px;
}
.ha h3 {
  font-size: 1.15rem;
  line-height: 1.4;
  margin-top: 30px;
}
.ha p {
  line-height: 1.65;
}
.ha-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px max(6vw, 20px);
  font-size: 0.8rem;
  background: #fffaf2;
}
.ha-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 740px;
}
.ha-stage {
  margin: 0;
  background: #eac299;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 65px 35px 35px;
  overflow: hidden;
  position: relative;
  background-image: radial-gradient(ellipse at 50% 30%, #ffe7b7 0, transparent 65%);
}
.ha-midnight .ha-stage {
  background-color: #151c38;
  background-image: radial-gradient(ellipse at 50% 30%, #3d4e78, transparent 70%);
  color: #fff5d7;
}
.ha-boo .ha-stage {
  background-color: #eaba83;
  background-image: radial-gradient(ellipse at 50% 30%, #fff2b9, transparent 70%);
}
.ha-monster .ha-stage {
  background-color: #b3c974;
  background-image: radial-gradient(ellipse at 50% 30%, #e4f6b0, transparent 70%);
}
.ha-book {
  display: block;
  position: relative;
  transform: perspective(1400px) rotateY(-12deg) rotateZ(-5deg);
  width: min(82%, 350px);
  aspect-ratio: 210/297;
  border-radius: 2px 7px 7px 2px;
  box-shadow:
    3px 4px 0 #d8c5a5,
    6px 8px 0 #f6e7d0,
    10px 11px 0 #b6976d,
    22px 28px 45px #251a1940,
    2px 0 6px #0006;
  isolation: isolate;
}
.ha-book:after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #0006 0,
    transparent 1%,
    #fff3 2%,
    #0004 3%,
    transparent 5%,
    transparent 96%,
    #fff2 100%
  );
  border-radius: inherit;
}
.ha-book img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}
.ha-stage figcaption {
  font-size: 0.8rem;
  margin-top: 48px;
  letter-spacing: 0.04em;
}
.ha-pitch {
  padding: 70px clamp(25px, 5vw, 85px);
  align-self: center;
}
.ha-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  font-weight: 700;
}
.ha-lead {
  font-size: 1.18rem;
  max-width: 36ch;
}
.ha-button {
  display: inline-block;
  background: var(--ink);
  color: #fffaf2 !important;
  text-decoration: none;
  font-weight: 600;
  border-radius: 7px;
  padding: 17px 23px;
  margin-top: 20px;
}
.ha-button:hover {
  background: #4e303b;
}
.ha-small {
  font-size: 0.8rem;
  max-width: 46ch;
  color: #665b5c;
  margin: 13px 0;
}
.ha-download {
  display: inline-block;
  margin-top: 15px;
  font-size: 0.9rem;
  text-underline-offset: 5px;
}
.ha-spec {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
}
.ha-spec span {
  border: 1px solid #c6b5a3;
  border-radius: 3px;
  padding: 6px 9px;
  font-size: 0.72rem;
}
.ha-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9vw;
  max-width: 1180px;
  margin: auto;
  padding: 85px 35px;
}
.ha-plan {
  border-left: 1px solid #c6b5a3;
  padding-left: 40px;
}
.ha-plan ol {
  padding-left: 20px;
}
.ha-plan li {
  padding: 10px 0 10px 7px;
}
.ha-print {
  background: #271e28;
  color: #fff3dc;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  padding: 65px max(6vw, 25px);
}
.ha-print p {
  font-size: 0.95rem;
  max-width: 52ch;
}
.ha-collection {
  padding: 75px max(6vw, 20px) 30px;
}
.ha-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.ha-card {
  text-decoration: none;
  padding: 32px 18px 22px;
  background: #eed4b0;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 3px;
}
.ha-card.ha-midnight {
  background: #27364e;
  color: #fff3dc;
}
.ha-card.ha-boo {
  background: #f2dfa3;
}
.ha-card.ha-monster {
  background: #ccdda0;
}
.ha-card .ha-book {
  width: 72%;
  margin: 12px 0 35px;
}
.ha-card > span:not(.ha-book) {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.3rem;
}
.ha-card small {
  margin-top: 6px;
  font-size: 0.75rem;
}
.ha-card:hover .ha-book {
  transform: perspective(1400px) rotateY(-8deg) rotateZ(-2deg);
}
.ha-guide {
  padding: 15px max(6vw, 25px) 45px;
  margin: 0;
}
.ha a:focus-visible {
  outline: 3px solid #a84811;
  outline-offset: 6px;
}
@media (min-width: 1500px) {
  .ha-hero {
    min-height: 800px;
  }
  .ha-stage .ha-book {
    width: 390px;
  }
}
@media (max-width: 760px) {
  .ha-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .ha-stage {
    padding: 45px 35px 25px;
  }
  .ha-stage .ha-book {
    width: 230px;
  }
  .ha-stage figcaption {
    margin-top: 30px;
  }
  .ha-pitch {
    padding: 35px 25px 45px;
  }
  .ha h1 {
    font-size: 3rem;
  }
  .ha-details,
  .ha-print {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 45px 25px;
  }
  .ha-plan {
    border-left: 0;
    border-top: 1px solid #c6b5a3;
    padding: 20px 0 0;
  }
  .ha-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .ha-card {
    padding: 20px 8px;
  }
  .ha-card .ha-book {
    width: 75%;
    margin-bottom: 25px;
  }
  .ha-card > span:not(.ha-book) {
    font-size: 1.05rem;
  }
  .ha-collection {
    padding-top: 45px;
  }
  .ha-card small {
    font-size: 0.65rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ha-card:hover .ha-book {
    transform: perspective(1400px) rotateY(-12deg) rotateZ(-5deg);
  }
}
