/* The opening: the pitch on the left, the living dungeon on the right. */

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 74% 44%, #ffa43a14, transparent 60%), radial-gradient(ellipse 40% 50% at 12% 20%, #57b9ff0d, transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 48px; min-height: 680px; padding-block: 56px 48px; }

.token-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  padding: 8px 14px 8px 10px;
  color: #e9dcc0;
  background: #211c16;
  box-shadow: inset 0 0 0 2px #4d3f2a;
  clip-path: var(--corners-small);
  font-size: 14px;
  transition: background .15s;
}
.token-pill img { width: 22px; height: 22px; image-rendering: auto; }
.token-pill-link { padding-left: 10px; border-left: 1px solid #4d3f2a; color: var(--torch); }
.token-pill:hover { background: #2a231a; }

h1 { margin-bottom: 30px; font: 104px/.84 var(--display); letter-spacing: -.8px; white-space: nowrap; }
h1 span { color: var(--torch); }
.hero-lead { max-width: 470px; margin-bottom: 34px; color: #d4d9e3; font-size: 19px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 24px; color: var(--dim); font-size: 14px; }
.hero-note svg { width: 17px; height: 17px; flex: none; }

.hero-visual { position: relative; min-width: 0; padding-bottom: 46px; }
.dungeon-window { position: relative; padding: 8px; background: #191d24; box-shadow: inset 0 0 0 2px #3f4452, 0 24px 70px #00000060, 0 0 70px #ffa43a18; }
.dungeon-window canvas { width: 100%; height: auto; background: #182322; }
.corner { position: absolute; z-index: 2; width: 14px; height: 14px; border: 0 solid #c9a466; }
.corner-tl { top: -3px; left: -3px; border-width: 3px 0 0 3px; }
.corner-tr { top: -3px; right: -3px; border-width: 3px 3px 0 0; }
.corner-bl { bottom: -3px; left: -3px; border-width: 0 0 3px 3px; }
.corner-br { bottom: -3px; right: -3px; border-width: 0 3px 3px 0; }
/* The caption names the room's biome, in the color of its walls (js/dungeon/scene.js keeps it current). */
.dungeon-caption {
  --biome: #c9d1c4;
  position: absolute;
  top: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 12px 7px;
  color: var(--biome);
  background: #0b0e14d0;
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--biome) 45%, transparent);
  clip-path: var(--corners-small);
  font: 22px/1 var(--display);
  transition: color .6s, box-shadow .6s;
}
.biome-swatch { width: 8px; height: 8px; background: var(--biome); transition: background .6s; }

.party-tag {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: -18px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  color: #b6bdcb;
  background: #1a1f2af7;
  box-shadow: inset 0 0 0 2px var(--line-strong), 0 14px 26px #00000040;
  clip-path: var(--corners);
  font-size: 14px;
  line-height: 1.4;
}
.party-tag strong { color: var(--text); font-weight: 400; }
.party-icons { display: flex; align-items: center; }
.party-icons .hero-sprite { --scale: 3; margin-left: -6px; }

.hero-facts { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 34px; }
.hero-facts ul { display: flex; flex-wrap: wrap; gap: 14px 30px; }
.hero-facts li { display: flex; align-items: baseline; gap: 9px; color: var(--muted); font-size: 15px; }
.hero-facts li + li { padding-left: 30px; border-left: 1px solid var(--line); }
.hero-facts b { color: var(--text); font: 34px/1 var(--display); font-weight: 400; }
.explore-link { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 15px; white-space: nowrap; }
.explore-link span { color: var(--torch); font-size: 20px; }
.explore-link:hover { color: var(--torch); }

@media (min-width: 1600px) { .hero-grid { min-height: 740px; } }
@media (max-width: 1199px) {
  h1 { font-size: clamp(72px, 8vw, 96px); }
  .hero-grid { gap: 32px; min-height: 620px; }
  .hero-facts li + li { padding-left: 22px; }
  .hero-facts ul { column-gap: 22px; }
}
@media (max-width: 959px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; padding-top: 48px; }
  h1 { font-size: clamp(64px, 12vw, 104px); }
  .hero-visual { width: min(680px, 100%); justify-self: center; }
  .party-tag { left: 12px; }
  .explore-link { display: none; }
}
@media (max-width: 719px) {
  .hero-grid { padding-top: 36px; }
  h1 { font-size: clamp(46px, 15.5vw, 92px); white-space: normal; }
  .hero-lead { font-size: 17px; }
  .hero-actions .button { flex: 1 1 200px; }
  .dungeon-caption { top: 14px; right: 14px; font-size: 18px; }
  .party-tag { left: 8px; padding: 9px 12px; font-size: 13px; }
  .party-icons .hero-sprite { --scale: 2; margin-left: -3px; }
  .hero-facts ul { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; }
  .hero-facts li + li { padding-left: 0; border-left: 0; }
  .hero-facts li { flex-direction: column; gap: 4px; font-size: 14px; }
}
