.home { padding: 0 28px; max-width: 1240px; margin: 0 auto; }
.home-head { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; }
.home-mark { display: inline-flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; text-decoration: none; }
.home-mark svg { width: 28px; height: 28px; }
.home-day { font-size: 15px; font-weight: 600; color: var(--page-muted); }

.home-title {
  font-size: clamp(44px, 7.4vw, 104px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: .92;
  max-width: 12ch;
  margin: 40px 0 22px -3px;
}
.home-sub { font-size: 20px; line-height: 1.35; font-weight: 500; color: var(--page-muted); max-width: 40ch; letter-spacing: -0.01em; }

.tiles { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile {
  --bg: #000; --ink: #fff;
  display: flex; flex-direction: column;
  height: 100%;
  min-height: 480px;
  padding: 22px 24px 24px;
  border-radius: var(--r-card);
  background: var(--bg); color: var(--ink);
  text-decoration: none;
  transition: transform .18s cubic-bezier(.2,.8,.2,1);
}
.tile:hover { transform: translateY(-4px); }
.tile:active { transform: scale(.99); }
.tile-art { flex: 1; display: grid; place-items: center; padding: 10px 0 28px; }
.glyph { width: min(68%, 220px); fill: var(--ink); overflow: visible; }
.tile-name { font-size: 76px; font-weight: 800; letter-spacing: -0.065em; line-height: .85; margin-left: -3px; }
.tile-blurb { font-size: 17px; line-height: 1.32; font-weight: 500; margin-top: 12px; max-width: 28ch; min-height: 2.64em; }
.tile-status { display: flex; align-items: center; gap: 12px; margin-top: 20px; font-size: 15px; font-weight: 600; }
.pill { background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-weight: 700; }

.home-foot { padding: 40px 0 48px; font-size: 15px; font-weight: 500; color: var(--page-muted); }

.tiles { grid-template-columns: repeat(6, 1fr); }
.tiles > li { grid-column: span 2; }
.tiles > .wide { grid-column: span 3; }
.tile-party { min-height: 0; flex-direction: row-reverse; align-items: flex-end; gap: 24px; padding: 28px 30px 30px; }
.tile-party .tile-art { flex: none; width: 40%; padding: 0; align-self: center; }
.tile-party .glyph { width: 100%; max-width: 300px; }
.tile-party .tile-text { flex: 1; }
.tile-party .tile-name { font-size: clamp(76px, 11vw, 150px); margin-bottom: .16em; }
.tile-party .tile-blurb { font-size: 19px; max-width: 34ch; }

@media (max-width: 900px) {
  .tile.tile-party { display: flex; flex-direction: column; align-items: stretch; padding: 22px 24px 24px; }
  .tile.tile-party .tile-art { width: 100%; height: 110px; grid-area: auto; margin-bottom: 14px; }
  .tile-party .glyph { width: auto; height: 110px; }
  .tiles { grid-template-columns: 1fr; }
  .tiles > li, .tiles > .wide { grid-column: auto; }
  .tile { min-height: 0; display: grid; grid-template-columns: 1fr auto; grid-template-areas: 'name art' 'blurb art' 'status status'; column-gap: 12px; }
  .tile-art { grid-area: art; padding: 0; width: 96px; }
  .glyph { width: 96px; }
  .tile-name { grid-area: name; font-size: 60px; align-self: end; }
  .tile-blurb { grid-area: blurb; min-height: 0; }
  .tile-status { grid-area: status; }
}
@media (max-width: 520px) {
  .home { padding: 0 16px; }
  .home-title { margin-top: 18px; }
  .home-sub { font-size: 18px; }
  .tiles { margin-top: 32px; gap: 10px; }
  .tile { --r-card: 26px; }
  .tile-name { font-size: 52px; }
  .tile-art, .glyph { width: 76px; }
}

.tile-party .tile-name { font-size: clamp(72px, 7.5vw, 120px); }
.install-pill { margin-top: 22px; border: 0; border-radius: 999px; padding: 12px 18px; font: inherit; font-size: 16px; font-weight: 700; background: var(--page-ink); color: var(--page); cursor: pointer; }
.install-pill[hidden] { display: none; }
