:root {
  color-scheme: light;
  --bg:#ffffff;
  --ink:#000000;
  --u:var(--cu);
}
html,
body {
  background: var(--bg);
}
body {
  color: var(--ink);
}
.top {
  position: relative;
  padding: calc(var(--sec) + 76 * var(--u)) var(--gutter) var(--sec);
  display: grid;
  grid-template-columns: calc(370 * var(--u)) calc(960 * var(--u));
  column-gap: calc(350 * var(--u));
  row-gap: var(--sec-head);
  grid-template-areas: "tag title" "preview list";
  align-items: end;
}
.tagline {
  grid-area: tag;
  margin: 0;
  font-size: var(--fs-small);
  line-height: 1;
}
.title {
  grid-area: title;
  margin: 0;
  font-weight: 500;
  font-size: var(--fs-h1);
  line-height: 1;
  letter-spacing: -.01em;
}
.rec-preview {
  grid-area: preview;
  align-self: start;
  position: sticky;
  top: max(calc(140 * var(--u)), 96px);
  width: calc(300 * var(--u));
  aspect-ratio: 300 / 423;
  margin: 0;
  border-radius: calc(8 * var(--u));
  overflow: hidden;
  background: #fff;
  pointer-events: none;
  opacity: 0;
  translate: 0 calc(20 * var(--u));
  scale: .96;
  transform-origin: 50% 60%;
  transition:
    opacity .35s ease,
    translate .7s var(--out),
    scale .7s var(--out);
  box-shadow:
    0 18px 11px rgba(0, 0, 0, .02),
    0 8px 8px rgba(0, 0, 0, .03),
    0 2px 4px rgba(0, 0, 0, .03),
    0 0 0 1px rgba(0, 0, 0, .04);
}
.rec-preview > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  transition: opacity .45s ease;
}
.rec-preview img {
  display: block;
  object-fit: cover;
  object-position: top;
}
.rec-preview p {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12%;
  font-size: var(--fs-caption);
  line-height: 1.4;
  color: rgba(0, 0, 0, .4);
  background: #f4f4f4;
}
.rec-preview > .is-on {
  opacity: 1;
}
.rec-preview.is-show {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}
.rec-preview.is-snap > * {
  transition: none;
}
.recs {
  grid-area: list;
  align-self: start;
  list-style: none;
  margin: 0;
  padding: 0;
}
.recs li {
  border-bottom: 1px solid rgba(0, 0, 0, .2);
}
.rec {
  display: grid;
  grid-template-columns: max(calc(87 * var(--u)), 3.2em) minmax(0, 1fr) auto;
  column-gap: var(--sp-5);
  align-items: center;
  min-height: 56px;
  padding: var(--row) 0;
  font-size: var(--fs-text);
  line-height: 1.5;
  color: inherit;
  text-decoration: none;
}
.recs li:first-child .rec {
  padding-top: 0;
  min-height: 0;
}
.rec .year {
  opacity: .4;
}
.rec .name {
  transition: color .3s ease;
}
.rec .go {
  display: block;
  width: max(calc(24 * var(--u)), 20px);
  height: max(calc(24 * var(--u)), 20px);
  transition: translate .45s var(--out), color .3s ease;
}
.recs li {
  position: relative;
}
.recs li::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform .8s cubic-bezier(.3, .15, .45, 1);
  pointer-events: none;
}
@media (hover:hover) {
  .recs li:hover::after {
    transform: scaleX(1);
    transform-origin: 0 50%;
    transition-duration: 1.5s;
  }
}
.recs li:focus-within::after {
  transform: scaleX(1);
  transform-origin: 0 50%;
}
.rec:hover .name,
.rec:focus-visible .name,
.rec:hover .go,
.rec:focus-visible .go {
  color: var(--gold);
}
.rec:hover .go {
  translate: calc(6 * var(--u)) 0;
}
.rec:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 8px;
}
.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 5;
  width: calc(101 * var(--u));
  height: calc(100 * var(--u));
  min-width: 64px;
  min-height: 64px;
  pointer-events: none;
  translate: -200px -200px;
  scale: 0;
  transition: scale .45s var(--out);
}
.cursor img {
  display: block;
  width: 100%;
  height: 100%;
}
.cursor.on {
  scale: 1;
}
.is-doc .cursor {
  scale: 0;
}
@media (hover:none), (pointer:coarse) {
  .cursor {
    display: none;
  }
}
@media (min-width:1024px) and (max-width:1439px) {
  .top {
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    column-gap: clamp(48px, 6vw, 120px);
  }
  .rec-preview {
    width: 100%;
    border-radius: 8px;
  }
}
@media (hover:none) {
  .rec-preview {
    display: none;
  }
  .recs {
    grid-column: 1 / -1;
  }
}
@media (max-width:1023px) {
  .top {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--head-h) var(--gutter) var(--sec);
  }
  .top > .bar {
    margin-bottom: var(--sp-5);
  }
  .tagline {
    margin-bottom: var(--sp-3);
  }
  .title {
    margin-bottom: var(--sec-head);
  }
  .rec-preview {
    display: none;
  }
  .rec {
    grid-template-columns: 48px minmax(0, 1fr) 24px;
    column-gap: 12px;
    align-items: start;
  }
  .rec .year {
    font-size: var(--fs-small);
    padding-top: .15em;
  }
  .rec .go {
    margin-top: .15em;
    width: 20px;
    height: 20px;
    justify-self: end;
  }
}
@media (min-width:600px) and (max-width:1023px) {
  .rec {
    grid-template-columns: 72px minmax(0, 1fr) 24px;
    column-gap: var(--sp-3);
    align-items: center;
  }
  .rec .year {
    padding-top: 0;
  }
  .rec .go {
    margin-top: 0;
  }
}
@media (prefers-reduced-motion:reduce) {
  .cursor,
  .recs li::after,
  .rec .name,
  .rec .go,
  .rec-preview,
  .rec-preview > * {
    transition: none;
  }
}
@media (max-width:767px) {
  .rec,
  .recs li:first-child .rec {
    grid-template-columns: 1fr auto;
    grid-template-areas: "year go" "name go";
    row-gap: 14px;
    column-gap: 16px;
    padding: var(--sp-4) 0;
    min-height: 0;
  }
  .recs li:first-child .rec {
    padding-top: 0;
  }
  .rec .year {
    grid-area: year;
    font-size: var(--fs-small);
  }
  .rec .name {
    grid-area: name;
  }
  .rec .go {
    grid-area: go;
    width: 20px;
    height: 20px;
  }
}
