/* Publisher page: one studio from the call for submissions to the next delivery. */

.publisher-suite {
  padding: calc(var(--nav-height) + clamp(54px, 7vw, 92px)) 0 clamp(76px, 10vw, 128px);
  background:
    radial-gradient(circle at 16% 18%, rgba(var(--coral-rgb), 0.2), transparent 32%),
    var(--paper-grid),
    linear-gradient(180deg, var(--paper-2), var(--paper));
}

.publisher-suite__head {
  margin-bottom: clamp(36px, 6vw, 68px);
}

.publisher-suite h1 {
  max-width: 15ch;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(3.4rem, 7vw, 4rem);
  font-weight: var(--weight-title);
  line-height: var(--title-line-height);
  text-wrap: balance;
}

.publisher-suite .page-hero__copy {
  max-width: 58ch;
}

.publisher-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(220px, 1fr));
  gap: 12px;
}

.publisher-bento__tile {
  --publisher-bloom: radial-gradient(circle 720px at var(--publisher-bloom-position), rgba(var(--coral-rgb), 0.3) 0%, rgba(var(--coral-rgb), 0.1) 38%, transparent 78%);
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.publisher-bento__tile h3 {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 54px 24px 22px;
  color: var(--paper-2);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: var(--weight-title);
  line-height: 1;
  text-wrap: balance;
  background: linear-gradient(180deg, transparent, rgba(var(--surface-dark-deep), 0.86));
}

.publisher-bento__tile--team {
  --publisher-bloom-position: calc(100% + 6px)10%;
  grid-column: span 7;
  grid-row: span 2;
  min-height: 520px;
  padding: clamp(28px, 4vw, 44px);
  color: var(--paper-2);
  background:
    var(--publisher-bloom),
    var(--ink-2);
}

.publisher-bento__tile--label {
  --publisher-bloom-position: -6px calc(10%);
  grid-column: span 5;
  padding: clamp(24px, 3vw, 32px);
  background: var(--publisher-bloom), var(--paper);
}

.publisher-bento__label-preview {
  display: grid;
  grid-template-rows: auto auto 1fr;
  row-gap: 12px;
  height: 100%;
  padding: 0;
  color: var(--ink);
}

.publisher-bento__label-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.publisher-bento__label-heading h3 {
  position: static;
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  line-height: 1;
  background: none;
}

.publisher-bento__label-heading img {
  width: 40px;
  height: 40px;
}

.publisher-bento__label-preview p {
  align-self: start;
  margin: 0;
  color: var(--body);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: var(--weight-regular);
  line-height: 1.45;
}

.publisher-bento__label-preview .text-link {
  align-self: end;
  justify-self: start;
}

.publisher-bento__people {
  display: flex;
}

.publisher-bento__people span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-left: -10px;
  border: 2px solid var(--ink-2);
  border-radius: 50%;
  place-items: center;
  color: var(--paper-2);
  background: #49617d;
  font-size: 0.78rem;
  font-weight: var(--weight-action);
}

.publisher-bento__people span:first-child {
  margin-left: 0;
}

.publisher-bento__people .is-coral {
  color: var(--ink);
  background: var(--coral);
}

.publisher-bento__team-copy {
  max-width: 21rem;
  margin-top: clamp(44px, 8vw, 86px);
}

.publisher-bento__team-copy h3,
.publisher-bento__team-copy p {
  margin: 0;
}

.publisher-bento__team-copy h3 {
  position: static;
  padding: 0;
  color: inherit;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: var(--weight-title);
  line-height: 0.96;
  text-wrap: balance;
  background: none;
}

.publisher-bento__team-copy p {
  margin-top: 14px;
  color: var(--dark-copy);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: var(--weight-regular);
  line-height: 1.55;
}

.publisher-bento__team-roles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: clamp(42px, 7vw, 78px) 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(var(--paper-2-rgb), 0.2);
  list-style: none;
}

.publisher-bento__team-roles li {
  min-width: 0;
}

.publisher-bento__team-roles b,
.publisher-bento__team-roles span {
  display: block;
}

.publisher-bento__team-roles b {
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: var(--weight-action);
  line-height: 1.25;
}

.publisher-bento__team-roles span {
  margin-top: 8px;
  color: var(--paper-2);
  font-size: 0.88rem;
  line-height: 1.45;
}

.publisher-bento__tile--delivery {
  --publisher-bloom-position: -6px calc(-100%);
  display: grid;
  grid-column: span 5;
  align-content: space-between;
  padding: 24px;
  background: var(--publisher-bloom), var(--paper-2);
}

.publisher-bento__delivery-top h3,
.publisher-bento__delivery-top p {
  margin: 0;
}

.publisher-bento__delivery-top h3 {
  position: static;
  padding: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  line-height: 0.96;
  background: none;
}

.publisher-bento__delivery-top p {
  max-width: 30ch;
  margin-top: 10px;
  color: rgba(var(--ink-rgb), 0.82);
  font-size: 0.9rem;
  line-height: 1.45;
}

.publisher-bento__delivery-outcomes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.publisher-bento__delivery-outcomes span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 6px 10px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(var(--coral-rgb), 0.24);
  font-size: 0.78rem;
  font-weight: var(--weight-action);
  line-height: 1;
}

@media (max-width: 980px) {
  .publisher-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .publisher-bento__tile--team,
  .publisher-bento__tile--label,
  .publisher-bento__tile--delivery {
    grid-column: 1 / -1;
  }

  .publisher-bento__tile--team {
    grid-row: auto;
    min-height: 440px;
  }

  .publisher-bento__tile--delivery {
    height: 240px;
  }

}

@media (max-width: 640px) {
  .publisher-suite {
    padding-top: calc(var(--nav-height) + 38px);
  }

  .publisher-suite__head {
    margin-bottom: 36px;
  }

  .publisher-suite h1 {
    font-size: clamp(3rem, 12vw, 4rem);
  }

  .publisher-bento {
    grid-template-columns: 1fr;
  }

  .publisher-bento__tile--team,
  .publisher-bento__tile--label,
  .publisher-bento__tile--delivery {
    grid-column: auto;
  }

  .publisher-bento__tile--label,
  .publisher-bento__tile--team {
    min-height: 0;
  }

  .publisher-bento__tile--label {
    min-height: 228px;
  }

  .publisher-bento__tile--delivery {
    min-height: 220px;
    height: 220px;
  }

  .publisher-bento__team-roles {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 38px;
  }

  .publisher-bento__team-roles li {
    display: grid;
    grid-template-columns: minmax(120px, 0.85fr) minmax(0, 1.15fr);
    gap: 12px;
  }

  .publisher-bento__team-roles span {
    margin-top: 0;
  }

}
