:root {
  --paper: #ead5a5;
  --paper-dark: #8c6744;
  --ink: #16120d;
  --red: #9e1128;
  --focus: rgba(158, 17, 40, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #7c5d41;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 244, 215, 0.54), transparent 34rem),
    linear-gradient(135deg, #cfad73 0%, #98714c 46%, #5b442f 100%);
  font-family: "Courier New", Courier, monospace;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  background-image:
    radial-gradient(rgba(32, 22, 12, 0.55) 0.7px, transparent 0.7px),
    radial-gradient(rgba(255, 245, 220, 0.55) 0.7px, transparent 0.7px);
  background-position: 0 0, 8px 9px;
  background-size: 18px 18px;
  mix-blend-mode: multiply;
}

a {
  color: inherit;
}

.page-shell {
  width: min(1040px, calc(100% - 24px));
  margin: 0 auto;
  padding: clamp(12px, 3vw, 28px) 0 36px;
}

.poster-wrap h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.poster-frame {
  position: relative;
  width: 100%;
  margin: 0 auto;
  line-height: 0;
  container-type: inline-size;
  filter: drop-shadow(0 20px 34px rgba(35, 21, 10, 0.42));
}

.qsl-poster {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.bio-card {
  position: absolute;
  left: 8.6%;
  top: 40.6%;
  z-index: 1;
  width: 82.8%;
  height: 20.2%;
  padding: 0.6% 1.5%;
  overflow: hidden;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-family: "Comic Sans MS", "Segoe Print", "Bradley Hand ITC", cursive;
  line-height: 1.09;
}

.bio-card h2,
.bio-copy,
.bio-card p {
  position: relative;
  z-index: 1;
}

.bio-card h2 {
  margin: 0 0 0.14em;
  color: var(--red);
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(1rem, 3cqw, 1.95rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.bio-copy {
  column-count: 2;
  column-gap: clamp(1rem, 3.4cqw, 2.25rem);
}

.bio-card p {
  margin: 0 0 0.18em;
  break-inside: avoid;
  font-size: clamp(0.64rem, 1.88cqw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0;
}

.bio-card p:last-child {
  margin-bottom: 0;
}

.hotspot {
  position: absolute;
  display: block;
  border-radius: 8px;
  text-decoration: none;
}

.hotspot:focus-visible {
  outline: 5px solid var(--focus);
  outline-offset: 4px;
  background: rgba(255, 248, 225, 0.1);
}

.hotspot:hover {
  background: rgba(255, 248, 225, 0.08);
  box-shadow: inset 0 0 0 3px rgba(158, 17, 40, 0.2);
}

.qrz-hotspot {
  left: 6.2%;
  top: 86.3%;
  width: 43.2%;
  height: 10%;
}

.eqsl-hotspot {
  left: 51.8%;
  top: 86.3%;
  width: 42.1%;
  height: 10%;
}

@media (max-width: 620px) {
  .page-shell {
    width: min(100% - 12px, 1040px);
    padding-top: 6px;
  }

  .qsl-poster {
    border-radius: 5px;
  }

  .bio-card {
    padding: 0.44% 1.25%;
  }

  .bio-card h2 {
    margin-bottom: 0.08em;
    font-size: clamp(0.5rem, 2.95cqw, 1rem);
  }

  .bio-copy {
    column-gap: 1rem;
  }

  .bio-card p {
    margin-bottom: 0.08em;
    font-size: clamp(0.36rem, 1.72cqw, 0.66rem);
    line-height: 1.02;
  }
}
