.publications-page {
  color: var(--ink);
  background: var(--white);
}

.publications-page main {
  padding-bottom: 0;
}

.publications-heading-rule {
  width: 84px;
  height: 4px;
  display: block;
  margin-top: 18px;
  border-radius: 999px;
  background: var(--orange-500);
}

.publications-dot-field {
  position: absolute;
  pointer-events: none;
  background-image: radial-gradient(circle, currentColor 2px, transparent 2.25px);
  background-size: 21px 21px;
}

.publications-eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--orange-500);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  line-height: 1.3;
  text-transform: uppercase;
}

.publications-panel {
  border: 1px solid #e7e5df;
  border-radius: 17px;
  box-shadow: 0 15px 34px rgba(20, 55, 47, .07);
}

/* Hero */

.publications-hero {
  position: relative;
  overflow: hidden;
  background: #f8f4ec;
}

.publications-hero-grid {
  min-height: 505px;
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: stretch;
}

.publications-hero-copy {
  position: relative;
  z-index: 4;
  align-self: center;
  padding: 74px 56px 74px 0;
}

.publications-hero-copy h1 {
  margin: 0;
  color: #163d34;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 72px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.043em;
  text-wrap: balance;
}

.publications-hero-copy p {
  max-width: 510px;
  margin: 27px 0 0;
  color: #304740;
  font-size: 16px;
  line-height: 1.7;
}

.publications-hero-products {
  position: relative;
  min-width: 0;
  margin-right: min(-48px, calc(636px - 50vw));
  isolation: isolate;
}

.publications-hero-products::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    linear-gradient(90deg, #f8f4ec 0%, rgba(248, 244, 236, .72) 11%, transparent 25%),
    linear-gradient(135deg, #f1e6d6 0%, #eadac5 100%);
}

.hero-product-surface {
  position: absolute;
  z-index: -2;
  left: 4%;
  right: -8%;
  bottom: 0;
  height: 39%;
  background: linear-gradient(180deg, rgba(216, 192, 160, .2), rgba(189, 154, 112, .42));
  box-shadow: inset 0 1px rgba(255, 255, 255, .62);
}

.hero-product {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 15px 18px rgba(63, 43, 27, .18));
}

.hero-funzine-back {
  z-index: 1;
  left: 33%;
  top: 32px;
  width: 220px;
  height: 415px;
  transform: rotate(7deg);
}

.hero-funzine-front {
  z-index: 2;
  left: 8%;
  top: 50px;
  width: 235px;
  height: 405px;
  transform: rotate(-3deg);
}

.hero-wordplay {
  z-index: 4;
  left: 48%;
  bottom: 21px;
  width: 210px;
  height: 310px;
  transform: rotate(-1deg);
}

.hero-storytelling {
  z-index: 3;
  right: 3%;
  bottom: 30px;
  width: 178px;
  height: 260px;
  transform: rotate(7deg);
}

.hero-product-dots {
  z-index: 5;
  right: 3px;
  top: 20px;
  width: 114px;
  height: 148px;
  color: var(--orange-500);
}

/* Anthologies */

.anthologies-section {
  padding: 76px 0 22px;
  background: var(--white);
}

.anthology-panel {
  padding: 47px 49px;
  display: grid;
  grid-template-columns: minmax(0, 31%) minmax(235px, 26%) minmax(0, 43%);
  align-items: center;
  gap: 45px;
  background: #fbf8f2;
}

.anthology-intro h2,
.games-intro > h2,
.resource-material-copy h2,
.funzines-copy h2 {
  margin: 0;
  color: #173d34;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 45px;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.033em;
}

.anthology-intro p,
.games-intro p,
.resource-material-copy p,
.funzines-copy p {
  margin: 23px 0 0;
  color: #304740;
  font-size: 15px;
  line-height: 1.68;
}

.publication-cover-placeholder {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #173d34;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .5), transparent 45%),
    #ece5d6;
  border: 1px solid #cfc4af;
  border-radius: 8px;
  box-shadow: 9px 13px 0 #d8cfbd, 0 20px 30px rgba(45, 66, 59, .13);
}

.publication-cover-placeholder::before,
.publication-cover-placeholder::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 91, 19, .16);
}

.publication-cover-placeholder::before {
  width: 150px;
  height: 150px;
  right: -57px;
  top: 38px;
}

.publication-cover-placeholder::after {
  width: 95px;
  height: 95px;
  left: -35px;
  bottom: 42px;
  background: rgba(0, 102, 84, .12);
}

.caged-cover {
  display: block;
  width: 100%;
  height: 342px;
  object-fit: contain;
  object-position: center;
  background: var(--white);
  border: 1px solid #cfc4af;
  border-radius: 8px;
  box-shadow: 9px 13px 0 #d8cfbd, 0 20px 30px rgba(45, 66, 59, .13);
}

.publication-cover-placeholder .placeholder-kicker {
  position: absolute;
  z-index: 2;
  left: 23px;
  top: 22px;
  color: #6f6a60;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.publication-cover-placeholder strong {
  position: relative;
  z-index: 2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 37px;
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.03em;
}

.publication-cover-placeholder > span:last-child {
  position: relative;
  z-index: 2;
  margin-top: 13px;
  color: #53635e;
  font-size: 12px;
  line-height: 1.4;
}

.anthology-feature-copy h3 {
  margin: 0;
  color: #173d34;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 35px;
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.anthology-feature-copy p {
  max-width: 470px;
  margin: 20px 0 0;
  color: #304740;
  font-size: 15px;
  line-height: 1.72;
}

/* Games */

.games-section {
  padding: 0 0 22px;
  background: var(--white);
}

.games-panel {
  padding: 39px 42px 23px;
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  column-gap: 28px;
  background: #fbf8f2;
}

.games-intro h3 {
  margin: 22px 0 0;
  color: var(--orange-500);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.05;
}

.game-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.game-product-card {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #e0e4e1;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(22, 60, 51, .07);
}

.game-product-image {
  aspect-ratio: .83;
  padding: 13px 12px 6px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, #f9faf9, #f1f3f1);
}

.game-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 9px 10px rgba(26, 44, 39, .14));
}

.poetry-product-card .game-product-image img {
  width: 100%;
  height: 100%;
}

.game-product-card h4 {
  min-height: 63px;
  margin: 0;
  padding: 15px 11px;
  display: grid;
  place-items: center;
  color: #283f38;
  border-top: 1px solid #e2e5e3;
  font-size: 14px;
  line-height: 1.3;
  text-align: center;
}

.games-purchase {
  grid-column: 2;
  margin: 19px 0 0;
  color: #3b504a;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.games-purchase a {
  color: var(--orange-500);
  font-weight: 800;
}

/* Resource material */

.resource-material-section {
  padding: 0 0 22px;
  background: var(--white);
}

.resource-material-panel {
  min-height: 335px;
  display: grid;
  grid-template-columns: 40% 60%;
  align-items: stretch;
  overflow: hidden;
  background: #fbf8f2;
}

.resource-material-copy {
  align-self: center;
  padding: 50px 54px;
}

.resource-material-products {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #efe3d3, #e7d6c0);
}

.resource-overview-image,
.resource-card-image {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 16px 20px rgba(70, 49, 30, .18));
}

.resource-overview-image {
  z-index: 1;
  left: 4%;
  top: 4%;
  width: 72%;
  height: 92%;
}

.resource-card-image {
  z-index: 2;
  right: 2%;
  bottom: -4%;
  width: 53%;
  height: 78%;
}

.resource-product-dots {
  z-index: 3;
  right: -5px;
  top: 15px;
  width: 116px;
  height: 148px;
  color: var(--orange-500);
}

/* Funzines */

.funzines-section {
  padding: 0 0 22px;
  background: var(--white);
}

.funzines-panel {
  padding: 39px 43px;
  display: grid;
  grid-template-columns: 36% minmax(0, 64%);
  align-items: center;
  gap: 47px;
  background: #fbf8f2;
}

.funzines-copy .funzines-contact {
  margin-top: 25px;
}

.funzines-contact a {
  display: block;
  width: fit-content;
  margin-top: 7px;
  color: var(--orange-500);
  font-weight: 800;
}

.funzine-covers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 26px;
}

.funzine-cover-card {
  min-width: 0;
  margin: 0;
}

.funzine-cover-card img {
  width: 100%;
  aspect-ratio: .71;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 14px 16px rgba(28, 51, 44, .18));
}

.funzine-cover-card h3 {
  margin: 14px 0 0;
  color: #29443c;
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
}

/* Intermediate publications */

.intermediate-publications {
  padding: 0 0 22px;
  background: var(--white);
}

.intermediate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.intermediate-card {
  min-width: 0;
  padding: 31px 34px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
  gap: 34px;
  background: #fbf8f2;
  border: 1px solid #e7e5df;
  border-radius: 17px;
  box-shadow: 0 15px 34px rgba(20, 55, 47, .07);
}

.intermediate-cover-placeholder {
  min-height: 280px;
  padding: 24px 19px;
}

.guide-cover-placeholder {
  min-height: 280px;
  padding: 24px 19px 24px 27px;
  border-left: 9px double #9d8668;
  box-shadow: 9px 13px 0 #d8cfbd, 0 20px 30px rgba(45, 66, 59, .13);
}

.publication-cover-placeholder > img {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: var(--white);
}

.intermediate-cover-placeholder strong,
.guide-cover-placeholder strong {
  font-size: 28px;
}

.intermediate-copy h2 {
  margin: 0;
  color: #173d34;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.intermediate-copy p {
  margin: 19px 0 0;
  color: #304740;
  font-size: 14px;
  line-height: 1.66;
}

.intermediate-copy p + p {
  margin-top: 13px;
}

/* Publications contact */

.publications-contact-section {
  padding: 48px 0 70px;
  background: var(--white);
}

.publications-contact-card {
  position: relative;
  min-height: 194px;
  padding: 40px 67px 40px 185px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 66px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(118deg, #002f28 0%, #00483b 62%, #003d33 100%);
  border-radius: 18px;
  box-shadow: 0 18px 34px rgba(0, 49, 41, .16);
}

.publications-contact-dots {
  position: absolute;
  left: 15px;
  top: 25px;
  width: 82px;
  height: 122px;
  color: var(--orange-500);
  background-image: radial-gradient(circle, currentColor 2px, transparent 2.2px);
  background-size: 19px 19px;
}

.publications-contact-icon {
  position: absolute;
  left: 105px;
  top: 50%;
  width: 63px;
  height: 63px;
  display: grid;
  place-items: center;
  color: var(--orange-500);
  border: 2px solid currentColor;
  border-radius: 50%;
  transform: translateY(-50%);
}

.publications-contact-icon::before {
  content: "";
  width: 29px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.publications-contact-icon::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-4px) rotate(-45deg);
}

.publications-contact-copy {
  min-width: 0;
  padding-left: 35px;
  border-left: 1px solid rgba(255, 255, 255, .42);
}

.publications-contact-copy h2 {
  max-width: 690px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 2.65vw, 41px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.026em;
  text-wrap: balance;
}

.publications-contact-button {
  min-width: 184px;
  min-height: 58px;
  padding: 16px 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: var(--white);
  background: var(--orange-500);
  border-radius: 999px;
  box-shadow: 0 10px 23px rgba(0, 24, 20, .22);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.publications-contact-button:hover,
.publications-contact-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 29px rgba(0, 24, 20, .3);
}

.publications-page .footer-column a[aria-current="page"] {
  color: var(--orange-500);
}

@media (prefers-reduced-motion: reduce) {
  .publications-contact-button {
    transition: none;
  }
}
