.hero-panel {
  position: relative;
  overflow: hidden;
  background: var(--hero-bg);
  color: var(--hero-text);
  --offset-shadow: var(--hero-shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -20vw;
  background-image: url("/static/imgs/indiana.svg");
  background-repeat: no-repeat;
  background-position: 80% 55%;
  background-size: clamp(700px, 80vh, 1500px);
  pointer-events: none;
  z-index: 0;
}

.hero-panel > * {
  position: relative;
  z-index: 1;
}

.layered-title {
  position: relative;
  display: inline-block;
}

.title-main {
  position: relative;
  font-size: clamp(3.5rem, 12vw, 6.8rem);
  text-transform: uppercase;
  font-weight: 800;
  margin: 0;
  line-height: 0.95;
  text-shadow: 6px 6px 0 var(--hero-shadow);
}

.hero-panel .title-main {
  color: var(--hero-text);
  text-shadow: 6px 6px 0 var(--hero-shadow);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-copy p {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
}

.hero-panel .hero-copy p {
  color: #fff;
}

.hero-intro {
  font-size: 22px;
  font-weight: 700;
}

.hero-card {
  color: var(--ink);
  border: 4px solid var(--line);
  border-radius: 0;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-card-title {
  font-weight: 800;
  text-transform: uppercase;
  font-size: 20px;
}

.hero-points {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--muted);
  font-size: 18px;
}

.hero-panel .hero-points {
  color: var(--hero-text);
}

.punchlist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  font-weight: 800;
  text-transform: uppercase;
}

.punchlist span {
  background: var(--surface);
  color: var(--ink);
  border: 4px solid var(--line);
  padding: 12px 16px;
  border-radius: 0;
  box-shadow: var(--shadow);
}

.party-grid {
  display: grid;
  grid-template-columns: minmax(380px, 0.9fr) minmax(520px, 1.1fr);
  gap: 48px;
  align-items: start;
}

.feature-stack {
  display: grid;
  gap: 24px;
  position: relative;
}

.debs-figure {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.debs-img {
  width: 100%;
  max-width: 850px;
  height: auto;
  filter: grayscale(12%);
  transform-origin: 50% 70%;
  animation: debs-wiggle 3s ease-in-out infinite;
}

.debs-caption {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--muted);
}

@keyframes debs-wiggle {
  0%, 100% { transform: rotate(0deg) translateZ(0); }
  20% { transform: rotate(-1.5deg) translateX(-2px); }
  40% { transform: rotate(1.3deg) translateX(3px); }
  60% { transform: rotate(-0.8deg) translateX(-2px); }
  80% { transform: rotate(1deg) translateX(2px); }
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.dunces-panel {
  padding-top: 30px;
}

.dunces-panel .panel-inner {
  align-items: center;
  text-align: center;
  gap: 20px;
}

.dunces-title {
  color: #fff;
  font-size: clamp(4rem, 20vw, 7rem);
  text-shadow: 8px 8px 0 var(--line);
}

.dunces-row {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 18px;
  justify-content: center;
  align-items: center;
}

.dunces-row img {
  height: auto;
  border: none;
  box-shadow: none;
  background: transparent;
  width: clamp(280px, 28vw, 520px);
}

.dunces-row .micah {
  animation: micah-wiggle 2.4s ease-in-out infinite;
  transform-origin: 50% 90%;
}

.dunces-row .braun {
  animation: braun-bob 2s ease-in-out infinite;
  transform-origin: 50% 100%;
  position: relative;
  left: 60px;
}

.dunces-row .diego {
  animation: diego-stretch 2.6s ease-in-out infinite;
  transform-origin: 50% 80%;
  width: min(600px, 92vw);
  position: relative;
  left: 30px;
}

.dunce-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}

.dunce-wrapper .frustration-bubble {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: auto;
}

.dunce-chip {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 4px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: auto;
  color: var(--primary-text);
}

.dunce-card {
  max-width: 900px;
  margin: 28px auto 0;
  gap: 12px;
  text-align: left;
}

.dunce-card p {
  margin: 0;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.01em;
}

@keyframes micah-wiggle {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  25% { transform: rotate(-1.6deg) translateY(-1px); }
  50% { transform: rotate(1.4deg) translateY(1px); }
  75% { transform: rotate(-1deg) translateY(-2px); }
}

@keyframes braun-bob {
  0%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
  60% { transform: translateY(2px); }
}

@keyframes diego-stretch {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.02, 1.05); }
  70% { transform: scale(0.99, 0.98); }
}

.frustration-bubble {
  width: 80px;
  height: auto;
  overflow: visible;
  animation: rage-shake 1.8s infinite;
}

.cloud-shape {
  fill: #ffffff;
  stroke: #000000;
  stroke-width: 3px;
  stroke-linejoin: round;
}

.scribble-spiral {
  fill: none;
  stroke: #000000;
  stroke-width: 3.5px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: scribbling-action 1.5s ease-out infinite;
}

@keyframes scribbling-action {
  to { stroke-dashoffset: 0; }
}

@keyframes rage-shake {
  0% { transform: translate(0, 0) rotate(0deg); }
  3% { transform: translate(-2px, 1px) rotate(-1deg); }
  6% { transform: translate(1px, -2px) rotate(1deg); }
  9% { transform: translate(2px, 1px) rotate(0deg); }
  12% { transform: translate(-1px, -1px) rotate(-1deg); }
  15% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

.something-new-panel {
  padding-bottom: 150px;
}

.something-new-panel .panel-inner {
  max-width: 940px;
  position: relative;
  isolation: isolate;
}

.something-new-hero {
  position: relative;
  margin-top: 10px;
  padding: 30px 0;
  min-height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  z-index: 0;
}

.something-new-title-card {
  position: relative;
  z-index: 2;
  width: min(760px, 92%);
  text-align: center;
}

.something-new-title-card h2 {
  margin: 0;
  font-size: clamp(3.2rem, 8.5vw, 6.8rem);
  line-height: 0.95;
  display: inline-block;
  color: var(--primary);
  text-transform: uppercase;
}

.something-new-title-card p {
  margin: 8px 0 0;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 700;
}

.something-new-bg-icon {
  position: absolute;
  top: 50%;
  width: clamp(200px, 33vw, 460px);
  height: auto;
  transform: translateY(-50%);
  z-index: -1;
  pointer-events: none;
}

.something-new-bg-icon-left {
  left: -10vw;
}

.something-new-bg-icon-right {
  right: -10vw;
}

.something-new-panel .something-new-card {
  max-width: 940px;
  width: 100%;
}

.something-new-panel .something-new-card p {
  margin: 0;
  line-height: 1.55;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.join-panel .panel-inner,
.donate-panel .panel-inner {
  max-width: 900px;
}

.donate-panel .section-lede p {
  color: #fff;
}

.join-form {
  display: grid;
  gap: 18px;
  margin-top: 8px;
}

.join-form div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.join-form label {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 14px;
}

.join-form input {
  padding: 16px;
  border-radius: 0;
  border: 4px solid var(--line);
  font-size: 18px;
  font-family: inherit;
  outline: none;
  background: var(--surface);
  transition: transform 0.12s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.12s ease;
}

.join-form input:focus {
  background: #fdf7e6;
  transform: translate(-6px, -6px);
  box-shadow: 16px 16px 0 var(--offset-shadow);
}

.join-select-wrap {
  position: relative;
}

.join-select-wrap::after {
  content: "\25BE";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
  pointer-events: none;
}

.join-form .join-select {
  width: 100%;
  padding: 16px 52px 16px 16px;
  border-radius: 0;
  border: 4px solid var(--line);
  font-size: 18px;
  font-family: inherit;
  font-weight: 700;
  line-height: 1.2;
  outline: none;
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: transform 0.12s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.12s ease;
}

.join-form .join-select:focus {
  background: #fdf7e6;
  transform: translate(-6px, -6px);
  box-shadow: 16px 16px 0 var(--offset-shadow);
}

.join-message {
  min-height: 24px;
  margin-top: 10px;
}

.join-thanks {
  margin-top: 16px;
  padding: 18px;
  border: 4px solid var(--line);
  border-radius: 0;
}

.join-thanks-enter {
  animation: join-thanks-slide-in 520ms cubic-bezier(0.2, 0.9, 0.15, 1) both;
}

@keyframes join-thanks-slide-in {
  from {
    opacity: 0;
    transform: translateX(64px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .join-thanks-enter {
    animation: none;
  }
}

.donate-panel .btn {
  background: #fff;
  border-color: var(--signal);
  --offset-shadow: var(--ink);
}
