.right a {
  color: white;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 2px;
  transition: background-size 0.2s ease, color 0.2s ease;
  padding-bottom: 2px;
}

.right a:hover {
  color: var(--accent);
  background-size: 100% 2px;
}

.container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.left {
  background-color: var(--paper);
  text-align: center;
  position: relative;
}

.right {
  background-color: var(--panel);
  background-image: radial-gradient(circle at 20% 0%, var(--panel-soft), var(--panel) 60%);
  padding: 20px;
  color: white;
  line-height: 2rem;
  position: relative;
}

ul {
  list-style: none;
  text-align: left;
  font-size: 1.8rem;
  line-height: 2.5rem;
  margin: 0;
  padding: 0;
}

li {
  display: list-item;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

li:last-child {
  border-bottom: none;
}

h1 {
  font-size: 36px;
  line-height: 1.15;
  margin: 0 0 0.3rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 34px;
  line-height: 1.15;
  margin: 0 0 0.6rem;
  color: var(--accent);
  font-weight: 500;
}

h3 {
  font-size: 18px;
  line-height: 1.2;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.role,
.also {
  display: block;
}

.also {
  font-size: 0.75em;
  opacity: 0.75;
  margin-top: 0.2rem;
}

.right h3 {
  margin-top: 2.5rem;
}

.right h3:first-child {
  margin-top: 0;
}

p {
  font-size: 1.8rem;
  line-height: 2.5rem;
  margin: 0;
}

.wrapper {
  width: 100%;
  text-align: center;
}

.content {
  display: inline-block;
  margin-top: 2rem;
  max-width: 34rem;
}

.poem {
  font-style: italic;
  color: #777;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
  white-space: pre-line;
}

.poem-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--accent);
}

.poem-link:hover {
  text-decoration: underline;
}

.poem-link-sep {
  display: inline-block;
  margin: 0 0.5rem;
  color: #ccc;
}

.polaroid {
  background: #fff;
  padding: 1rem;
  box-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.18);
  border-radius: 2px;
}

.polaroid > img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.caption {
  font-size: 1.8rem;
  text-align: center;
  line-height: 1.6em;
  padding-top: 1rem;
}

.item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-block;
  max-width: 27rem;
  filter: grayscale(100%);
  transition: filter 0.25s ease;
}

.item:hover {
  filter: none;
}

.corner-image {
  display: none;
}

@media (min-width: 1024px) {
  .corner-image {
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    z-index: 1000;
  }
}

@media (max-width: 468px) {
  .caption {
    text-align: left;
  }
  h1 {
    font-size: 24px;
  }
  h2 {
    font-size: 18px;
  }
}

@media screen and (max-width: 900px) {
  .container {
    grid-template-columns: 1fr;
  }

  .left {
    padding: 3rem 1rem;
    margin-bottom: 0;
  }

  .right {
    padding: 2.5rem 1.5rem 3rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  .item {
    max-width: none;
  }

  p,
  ul {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .item {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
  }
}
