body { min-height: 100dvh; }

.hub {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 28px) calc(env(safe-area-inset-right) + 16px) calc(env(safe-area-inset-bottom) + 28px) calc(env(safe-area-inset-left) + 16px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ---------- Cover ---------- */

.cover {
  position: relative;
  padding: 26px 22px 22px;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 85% 110%, rgba(143, 122, 58, .35), transparent 55%),
    radial-gradient(circle at 92% 88%, transparent 26px, rgba(110, 80, 30, .2) 28px, transparent 31px),
    linear-gradient(var(--manila), var(--manila-2));
  border-radius: 3px 3px 3px 3px;
  box-shadow: 0 2px 0 #8f7a3a, 0 24px 50px rgba(0, 0, 0, .55);
  transform: rotate(-.6deg);
  animation: slide-in .7s var(--ease) both;
}
.cover::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  width: 38%;
  height: 16px;
  background: var(--manila);
  border-radius: 4px 12px 0 0;
}
.ref { margin: 0 0 14px; font: 400 12px var(--mono); letter-spacing: .12em; color: var(--ink-2); }
.cover h1 {
  margin: 0;
  font: 400 clamp(46px, 14vw, 104px)/.9 var(--type);
  letter-spacing: -.01em;
}
.cover .sub {
  margin: 6px 0 0;
  font: 700 clamp(14px, 3.6vw, 20px) var(--sans);
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.cover-stamp {
  position: absolute;
  right: 18px;
  bottom: 22px;
  font-size: clamp(14px, 3.6vw, 22px);
  transform: rotate(8deg);
  animation: thump .45s cubic-bezier(.2, 1.6, .4, 1) .55s both;
}
.lede { margin: 18px 0 36px; max-width: 46ch; font-size: 16px; line-height: 1.45; }

@keyframes slide-in { from { opacity: 0; transform: translateY(20px) rotate(-2deg); } }
@keyframes thump { from { opacity: 0; transform: rotate(20deg) scale(2.2); } }

.cover-mug { display: none; }
@media (min-width: 720px) {
  .cover-mug {
    display: block;
    position: absolute;
    right: 56px;
    top: 34px;
    width: 150px;
    height: 188px;
    transform: rotate(4deg);
    box-shadow: 3px 5px 12px rgba(0, 0, 0, .35);
  }
  .cover-mug svg { display: block; width: 100%; height: 100%; }
  .cover-mug::after {
    content: "";
    position: absolute;
    top: -12px;
    left: 24px;
    width: 14px;
    height: 44px;
    border: 3px solid #8b8b8b;
    border-radius: 8px;
  }
}

/* ---------- Tiles ---------- */

.tiles {
  display: grid;
  gap: 18px;
}
@media (min-width: 760px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  background: linear-gradient(#efe5c6, #e0cf9c);
  border-radius: 3px;
  box-shadow: 0 2px 0 #8f7a3a, 0 14px 30px rgba(0, 0, 0, .45);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s;
  animation: slide-in .6s var(--ease) both;
}
.tile:nth-child(1) { animation-delay: .15s; }
.tile:nth-child(2) { animation-delay: .25s; }
.tile:nth-child(3) { animation-delay: .35s; }
a.tile:hover { transform: translateY(-4px) rotate(-.5deg); box-shadow: 0 2px 0 #8f7a3a, 0 22px 40px rgba(0, 0, 0, .55); }
a.tile:focus-visible { outline: 3px solid var(--hub); outline-offset: 3px; }
.tile-art {
  height: 170px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(0, 0, 0, .04) 1px, transparent 1px) 0 0 / 100% 22px,
    var(--park);
  border-bottom: 3px solid var(--ink);
  overflow: hidden;
}
.tile-art svg { display: block; }
.tile-text { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.tab { font: 700 11px var(--sans); letter-spacing: .25em; text-transform: uppercase; color: var(--stamp); }
.tile h2 { margin: 0; font: 400 22px/1.1 var(--type); }
.tile p { margin: 0; font-size: 15px; line-height: 1.4; color: #3a352a; }

/* Art for each tile. */
.art-cards { position: relative; width: 200px; height: 150px; }
.art-cards > * { position: absolute; top: 12px; width: 84px; height: 130px; border-radius: 4px; overflow: hidden; box-shadow: 0 8px 18px rgba(0, 0, 0, .5); transition: transform .35s var(--ease); }
.art-cards > :nth-child(1) { left: 22px; transform: rotate(-12deg); }
.art-cards > :nth-child(2) { left: 58px; z-index: 1; transform: rotate(0deg) translateY(-6px); }
.art-cards > :nth-child(3) { left: 94px; transform: rotate(12deg); }
a.tile:hover .art-cards > :nth-child(1) { transform: rotate(-18deg) translateX(-8px); }
a.tile:hover .art-cards > :nth-child(3) { transform: rotate(18deg) translateX(8px); }
.art-cards svg { width: 100%; height: 100%; }
.art-mug { width: 112px; height: 140px; transform: rotate(3deg); box-shadow: 0 10px 20px rgba(0, 0, 0, .5); }
.art-mug svg { width: 100%; height: 100%; }

.site-foot { max-width: 60ch; margin: 0 auto; }
.site-foot p { margin: 0 0 8px; }
.site-foot [aria-current] { color: var(--paper); }
