:root {
  --paper: #f3e8cc;
  --ink: #161210;
  --muted: #6d5a49;
  --red: #d42a2a;
  --rule: rgba(22, 18, 16, 0.14);
  --sky: #ad613b;
  --type: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { background: var(--sky); color: var(--ink); font-family: var(--type); }

body { min-height: 100vh; }

canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* the island sits left of centre in the scene, so the poster hangs on the right */
.board {
  position: relative;
  width: min(460px, 100% - 32px);
  margin: 40px 48px 40px auto;
  padding: 28px 28px 20px;
  background: var(--paper);
  box-shadow: 0 24px 60px -20px rgba(40, 10, 0, 0.6);
}

.masthead { padding-bottom: 18px; border-bottom: 3px solid var(--ink); }

.logo { display: block; width: 72%; margin: 0 auto 14px; }

.tour {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

h1 {
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 52px;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 4px 0 10px;
}

.lede { font-size: 15px; line-height: 1.4; color: var(--muted); }

.all {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 12px;
  white-space: nowrap;
  margin-top: 18px;
  padding: 13px 16px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.all[hidden] { display: none; }
.all:hover { background: var(--red); }
.all-meta { font-size: 12px; font-weight: 400; letter-spacing: 0.02em; text-transform: none; opacity: 0.75; }

.dates { list-style: none; }

.show {
  display: grid;
  grid-template-columns: 64px 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--rule);
}

.show time { font-weight: 700; font-size: 15px; letter-spacing: 0.02em; }

.where { display: flex; flex-direction: column; min-width: 0; }
.city { font-weight: 700; font-size: 16px; text-transform: uppercase; }
.venue {
  font-size: 13px;
  color: var(--red);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.peek { display: block; line-height: 0; }
.peek img {
  width: 34px;
  height: 44px;
  object-fit: cover;
  border: 1px solid var(--rule);
  transition: transform 0.25s ease;
}
.peek:hover img { transform: rotate(-4deg) scale(1.08); }

.get, .soon {
  min-width: 52px;
  padding: 7px 0;
  text-align: center;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.get { border: 2px solid var(--ink); color: var(--ink); text-decoration: none; }
.get:hover { background: var(--ink); color: var(--paper); }

.pending { color: var(--muted); }
.pending .venue { color: inherit; }
.pending .soon { grid-column: 3 / 5; justify-self: end; color: var(--muted); }

.all:focus-visible, .get:focus-visible, .peek:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* on narrow screens the island (nudged right by app.js) fills the first screen, the poster scrolls up over it */
@media (max-width: 700px) {
  .board { margin: 58vh auto 16px; padding: 22px 18px 16px; }
  h1 { font-size: 42px; }
  .show { grid-template-columns: 54px 1fr auto auto; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .peek img { transition: none; }
}
