/* Homepage: violet poster hero, bento of live app cards, friends feed. */

/* hero */
.hero { position: relative; padding-bottom: 0; overflow-x: clip; overflow-y: visible; }
.hero__grid {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px;
  max-width: var(--page-width); margin: 0 auto; padding: 48px var(--gutter) 0;
  position: relative; z-index: 2;
}
.hero__copy { padding: 40px 0 120px; }
.hero h1 { font-size: clamp(60px, 9.4vw, 150px); }
.hero .lede { color: var(--text-2); margin: 28px 0 34px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero__note { font-size: 14px; color: var(--text-3); font-weight: 500; }

.hero__stage { position: relative; }
.hero__stage .album-card { --u: 1.85px; position: absolute; right: 0; top: 0; transform: rotate(6deg); z-index: 2; }
.hero__stage .album-card .score { --u: 1.7px; }
.hero__tracks {
  --u: 1.22px;
  position: absolute; left: -12%; top: 430px; width: 420px; z-index: 3;
  transform: rotate(-5deg);
}
.hero__tracks .v4-card__label { display: flex; justify-content: space-between; }
.hero__sticker {
  position: absolute; z-index: 4; right: 2%; top: 640px; transform: rotate(-8deg);
  --u: 2.6px; background: var(--card-raised); box-shadow: var(--shadow-float);
}
/* white section the stage spills into */
.spill { height: 0; }


/* sections */
.sec { padding: 120px 0; position: relative; }
.sec__head { text-align: center; margin: 0 auto 56px; max-width: 900px; }
.sec h2 { font-size: clamp(44px, 6.4vw, 100px); }
.sec .lede { margin: 22px auto 0; max-width: 46ch; }

/* bento */
.bento {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  grid-template-areas: "tracks tracks streak streak" "tracks tracks dist dist" "tracks tracks stats stats" "monthly monthly top top";
}
.t-tracks { grid-area: tracks; } .t-streak { grid-area: streak; } .t-dist { grid-area: dist; }
.t-stats { grid-area: stats; } .t-monthly { grid-area: monthly; } .t-top { grid-area: top; }
.tile { background: var(--card); border-radius: 34px; padding: 26px; position: relative; overflow: hidden; }
.tile__cap { font-weight: 600; font-size: 15px; margin-bottom: 18px; }
.tile__cap span { color: var(--text-2); font-weight: 500; }
.t-tracks { --u: 1.12px; }
.t-tracks .tbt__album { display: flex; gap: 16px; align-items: center; margin-bottom: 10px; }
.t-tracks .tbt__album img { width: 84px; height: 84px; border-radius: 16px; object-fit: cover; }
.t-tracks .tbt__album b { display: block; font-size: 20px; letter-spacing: -0.01em; }
.t-tracks .tbt__album small { color: var(--text-2); font-size: 15px; }
.t-tracks .tbt__album .score { margin-left: auto; }
.t-streak { --u: 1.5px; display: grid; align-content: center; }
.t-top { --u: 1px; display: grid; align-content: space-between; }
.t-top__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.t-top__row figure { margin: 0; }
.t-top__art { position: relative; }
.t-top__row .cover { border-radius: 18px; }
.t-top__row .score { position: absolute; left: 10px; bottom: 10px; --u: 1.15px; background: var(--card-raised); }
.t-top__row figcaption { font-weight: 600; font-size: 14px; margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-dist { --u: 1.2px; display: grid; align-content: space-between; }
.t-dist__big { display: flex; align-items: baseline; gap: 14px; margin-top: 18px; color: var(--text-2); font-size: 15px; }
.t-dist__big b { font-family: var(--font-display); font-stretch: var(--display-stretch); font-style: italic; font-weight: 900; font-size: 48px; line-height: 1; letter-spacing: -0.03em; color: var(--band); }
.t-dist .dist__bar { height: 30px; }
.t-monthly { padding: 0; background: transparent; overflow: visible; display: grid; }
.t-monthly .monthly { --u: 1.35px; height: 100%; }
.t-stats { padding: 0; background: transparent; }
.t-stats .stats { --u: 1.3px; height: 100%; }
.t-stats .stat { display: grid; align-content: end; background: var(--card); }


.hero + .sec { padding-top: 300px; }

/* feed column */
.social { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.social__list { display: grid; gap: 16px; --u: 1.15px; }
.social__list .feed:nth-child(even) { margin-left: 50px; }

.social .lede { margin: 22px 0 0; }
.friends { padding: 140px 0; overflow-x: clip; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; padding-top: 18px; }
  .hero__copy { padding: 10px 0 0; }
  .hero h1 { font-size: clamp(56px, 17vw, 90px); }
  .hero .lede { margin: 20px 0 26px; }
  .hero__stage { height: 330px; margin-top: 34px; }
  .hero__stage .album-card { --u: 1.18px; right: -4px; top: 0; }
  .hero__stage .album-card .score { --u: 1.3px; }
  .hero__tracks { --u: 0.98px; left: -6px; top: 300px; width: 290px; }
  .hero__sticker { --u: 1.7px; right: auto; left: 12px; top: 200px; transform: rotate(-10deg); }
  .hero + .sec { padding-top: 400px; }
  .sec { padding: 80px 0; }
  .sec__head { margin-bottom: 34px; }
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .bento { grid-template-areas: "tracks" "streak" "dist" "stats" "monthly" "top"; }
  .tile { padding: 20px; border-radius: 28px; }
  .t-tracks { --u: 0.98px; }
  .t-tracks .tbt__album b { font-size: 16px; }
  .t-tracks .tbt__album img { width: 64px; height: 64px; }
  .t-streak, .t-dist { --u: 1px; }
  .t-dist__big b { font-size: 36px; }
  .t-monthly .monthly { --u: 1.05px; }
  .t-stats .stats { --u: 1px; }
  .social { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .friends { padding: 90px 0; }
  .social__list { --u: 1px; }
  .social__list .feed:nth-child(even) { margin-left: 18px; }
}

@media (max-width: 370px) {
  .taste .stats, .t-stats .stats, .stats { --u: 0.85px; }
  .social__list .feed:nth-child(even) { margin-left: 0; }
}
