:root {
  --ggegg-ink: #132126;
  --ggegg-cream: #fff8e7;
  --ggegg-yellow: #ffd740;
  --ggegg-coral: #ff7056;
  --ggegg-teal: #2bd9bf;
  --ggegg-muted: #5f6b6f;
}

.ggegg-characters {
  color: var(--ggegg-ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 215, 64, .28), transparent 28rem),
    radial-gradient(circle at 92% 34%, rgba(43, 217, 191, .17), transparent 32rem),
    #fffdf8;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 5rem) max(1.25rem, calc((100vw - 1180px) / 2));
}

.ggegg-character-hero,
.ggegg-character-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, .65fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
}

.ggegg-character-hero {
  min-height: 66vh;
  padding: clamp(2.25rem, 6vw, 6rem);
  border: 2px solid var(--ggegg-ink);
  border-radius: 2rem;
  background: var(--ggegg-yellow);
  box-shadow: 12px 12px 0 var(--ggegg-ink);
}

.ggegg-character-hero__copy,
.ggegg-character-card__body {
  min-width: 0;
}

.ggegg-character-kicker,
.ggegg-character-card__number {
  margin: 0 0 .75rem;
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.ggegg-character-hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.75rem, 7vw, 6.4rem);
  line-height: .98;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
  word-break: break-all !important;
}

.ggegg-character-lead {
  max-width: 670px;
  margin: 1.5rem 0 2rem;
  font-size: clamp(1.08rem, 2vw, 1.4rem);
  line-height: 1.8;
  overflow-wrap: anywhere;
  word-break: break-all !important;
}

.ggegg-character-hero__art {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 420px;
}

.ggegg-character-hero__art img {
  width: min(100%, 350px);
  max-height: 500px;
  object-fit: contain;
  filter: drop-shadow(10px 16px 0 rgba(19, 33, 38, .18));
  transform: rotate(3deg);
}

.ggegg-character-primary,
.ggegg-character-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .85rem 1.35rem;
  border: 2px solid var(--ggegg-ink);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.ggegg-character-primary {
  color: #fff;
  background: var(--ggegg-ink);
  box-shadow: 5px 5px 0 var(--ggegg-coral);
}

.ggegg-character-secondary {
  color: var(--ggegg-ink);
  background: #fff;
}

.ggegg-character-primary:hover,
.ggegg-character-secondary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ggegg-coral);
}

.ggegg-character-rule {
  max-width: 900px;
  margin: clamp(4.5rem, 10vw, 9rem) auto;
  text-align: center;
}

.ggegg-character-rule h2,
.ggegg-character-footer h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.ggegg-character-rule p:last-child,
.ggegg-character-footer > p:last-of-type {
  color: var(--ggegg-muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.ggegg-character-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.ggegg-character-card {
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border: 2px solid var(--ggegg-ink);
  border-radius: 1.75rem;
  background: #fff;
  box-shadow: 8px 8px 0 var(--ggegg-ink);
}

.ggegg-character-card:nth-child(even) {
  grid-template-columns: minmax(240px, .65fr) minmax(0, 1.35fr);
  background: var(--ggegg-cream);
}

.ggegg-character-card:nth-child(even) .ggegg-character-card__visual {
  order: 2;
}

.ggegg-character-card--lead {
  background: #e9fff9;
}

.ggegg-character-card__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 330px;
}

.ggegg-character-card__visual img {
  width: min(100%, 280px);
  max-height: 360px;
  object-fit: contain;
}

.ggegg-character-card h2 {
  margin: 0;
  font-size: clamp(2.15rem, 5vw, 4rem);
  line-height: 1;
}

.ggegg-character-card__role {
  margin: .55rem 0 1.15rem;
  color: #d94d35;
  font-size: 1.18rem;
  font-weight: 800;
}

.ggegg-character-card__body > p:not([class]) {
  font-size: 1.02rem;
  line-height: 1.8;
}

.ggegg-character-card dl {
  display: grid;
  gap: .8rem;
  margin: 1.35rem 0;
}

.ggegg-character-card dl div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: .7rem;
}

.ggegg-character-card dt {
  font-weight: 800;
}

.ggegg-character-card dd {
  margin: 0;
  color: var(--ggegg-muted);
}

.ggegg-character-card blockquote {
  margin: 1.3rem 0 0;
  padding: 1rem 1.15rem;
  border: 0;
  border-left: 6px solid var(--ggegg-yellow);
  border-radius: 0 1rem 1rem 0;
  background: #f7f7f2;
  font-size: 1.02rem;
  font-weight: 700;
}

.ggegg-character-footer {
  margin-top: clamp(4.5rem, 10vw, 9rem);
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: 2rem;
  background: var(--ggegg-coral);
}

.ggegg-character-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2rem;
}

@media (max-width: 780px) {
  .ggegg-characters {
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    padding-inline: 1rem;
  }

  .ggegg-character-hero,
  .ggegg-character-card,
  .ggegg-character-card:nth-child(even) {
    width: calc(100vw - 2.75rem);
    max-width: calc(100vw - 2.75rem);
    min-width: 0;
    box-sizing: border-box;
    grid-template-columns: 1fr;
  }

  .ggegg-character-hero {
    min-height: auto;
    padding: 2rem 1.3rem;
    box-shadow: 7px 7px 0 var(--ggegg-ink);
  }

  .ggegg-character-hero h1 {
    font-size: clamp(2.2rem, 10vw, 2.8rem);
  }

  .ggegg-character-hero__art {
    min-height: 260px;
  }

  .ggegg-character-hero__art img {
    width: min(75vw, 280px);
    max-height: 310px;
  }

  .ggegg-character-card {
    box-shadow: 5px 5px 0 var(--ggegg-ink);
  }

  .ggegg-character-card:nth-child(even) .ggegg-character-card__visual {
    order: 0;
  }

  .ggegg-character-card__visual {
    min-height: 240px;
  }

  .ggegg-character-card__visual img {
    max-height: 270px;
  }

  .ggegg-character-card dl div {
    grid-template-columns: 1fr;
    gap: .2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ggegg-character-primary,
  .ggegg-character-secondary {
    transition: none;
  }
}
