/* Wildhearth's pages on the companions site. On top of the site's own
   app.css (its colours, type and .btn/.notice/.badge); every class here is
   wh- so nothing leaks into the rest of the site. */

.wh-hero { position: relative; min-height: clamp(440px, 74vh, 720px);
  display: flex; align-items: flex-end; overflow: hidden;
  border-bottom: 1px solid var(--line); }
.wh-hero > img { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 45%; }
.wh-hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,9,11,0) 30%,
    rgba(8,9,11,.55) 64%, rgba(8,9,11,.96)); }
.wh-hero__inner { position: relative; z-index: 1; width: 100%;
  max-width: var(--wrap); margin: 0 auto;
  padding: 0 20px clamp(28px, 6vw, 56px); }
.wh-hero__text { max-width: 520px; }
@media (min-width: 900px) { .wh-hero__text { margin-left: auto; } }
.wh-hero h1 { font-family: var(--font-d); font-size: clamp(2.6rem, 8vw, 4.6rem);
  letter-spacing: .02em; line-height: 1; }
.wh-hero p { max-width: 44ch; font-size: clamp(1.02rem, 2.4vw, 1.22rem);
  margin-top: 12px; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.wh-hero .wh-small { font-size: .9rem; color: var(--muted); margin-top: 14px; }

.wh-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.wh-lede { max-width: 64ch; color: var(--muted); font-size: 1.02rem; }
.wh-lede + .wh-lede { margin-top: 10px; }

.wh-band { display: grid; gap: clamp(16px, 3vw, 30px); align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.wh-band img, .wh-shot { width: 100%; height: auto; display: block;
  border-radius: var(--r); border: 1px solid var(--line); }

/* Feature cards, in groups of three: three across from 760px, else one. */
.wh-group + .wh-group { margin-top: clamp(26px, 4vw, 40px); }
.wh-group > h3 { font-family: var(--font-d); color: var(--gold-soft);
  font-size: 1.12rem; letter-spacing: .02em; margin-bottom: 12px; }
.wh-group__note { color: var(--muted); font-size: .95rem; max-width: 70ch;
  margin: -4px 0 6px; }
.wh-group__list { color: var(--text); font-size: .88rem; max-width: 90ch;
  margin-bottom: 14px; opacity: .85; }
.wh-feats { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 760px) {
  .wh-feats { grid-template-columns: repeat(3, 1fr); } }
.wh-feat { background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; }
.wh-feat picture { display: block; }
.wh-feat img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
  object-fit: cover; background: var(--panel-2); }
.wh-feat > div { padding: 14px 16px 16px; }
.wh-feat h3, .wh-feat h4 { font-size: 1.05rem; margin-bottom: 6px; }
.wh-feat p { color: var(--muted); font-size: .93rem; }

.wh-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: s; }
.wh-steps li { counter-increment: s; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.wh-steps li::before { content: counter(s, decimal-leading-zero);
  font-family: var(--font-d); color: var(--gold); display: block;
  margin-bottom: 6px; }
.wh-steps b { display: block; margin-bottom: 4px; }
.wh-steps span { color: var(--muted); font-size: .93rem; }

.wh-sup { background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--gold-line); border-radius: var(--r);
  padding: clamp(18px, 4vw, 34px); }
.wh-price { font-family: var(--font-d); font-size: clamp(2rem, 6vw, 3rem);
  color: var(--gold-soft); line-height: 1.1; }
.wh-price span { font-size: 1rem; color: var(--muted); margin-left: 6px; }
.wh-perks { list-style: none; padding: 0; margin: 18px 0; display: grid;
  gap: 10px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.wh-perks li { padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--r-sm); background: var(--ink-2); }
.wh-perks b { display: block; margin-bottom: 3px; }
.wh-perks span { color: var(--muted); font-size: .9rem; }
.wh-perks--tight li { padding: 9px 12px; }
.wh-free { color: var(--muted); font-size: .95rem; max-width: 70ch; }

.wh-faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.wh-faq details:last-child { border-bottom: 1px solid var(--line); }
.wh-faq summary { cursor: pointer; font-weight: 600; }
.wh-faq p { color: var(--muted); margin-top: 8px; max-width: 70ch; }

.wh-terms { color: var(--muted); font-size: .88rem; max-width: 72ch; }
.wh-terms p + p { margin-top: 6px; }

.wh-narrow { max-width: 760px; }
.wh-status { display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  justify-content: space-between; }
.wh-status h2 { font-size: 1.2rem; }
.wh-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.wh-actions form { margin: 0; }
.wh-head-img { width: 100%; height: clamp(140px, 26vw, 240px); object-fit: cover;
  display: block; border-bottom: 1px solid var(--line); }

@media (max-width: 700px) {
  .wh-hero { display: block; min-height: 0; border-bottom: 0; }
  .wh-hero > img { position: relative; height: auto; aspect-ratio: 16 / 9; }
  .wh-hero::after { display: none; }
  .wh-hero__inner { padding-top: 18px; }
  .wh-hero p { text-shadow: none; }
}
@media (max-width: 600px) {
  .wh-cta .btn, .wh-actions .btn { flex: 1 1 100%; text-align: center; }
  .wh-actions form { flex: 1 1 100%; }
  .wh-actions form .btn { width: 100%; }
}
