/* oomoo -- the graphics page. Same construction as css/media-log/medialog.css: this file
 * is the page, and the imports are the whole dependency list -- tokens first so everything
 * after can read --ink, --line and --text, then the reset and faces, then the ambient
 * chrome borrowed from home.
 *
 * Mobile-first, one column. Wider than the media log's 44rem: the wall is a spread of
 * images, not a reading column, so it gets the room.
 */

@import url('../tokens.css');
@import url('../reset.css');
@import url('../utilities.css');
@import url('../home/fonts.css');
@import url('../home/ruler.css');
@import url('../home/theme-toggle.css');

/* ------------------------------------------------------------------- Page */

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'National Park', system-ui, sans-serif;
  line-height: 1.55;
}

.page {
  max-width: 62rem;
  margin: 0 auto;
  padding: 24px 14px 64px;
}

@media (min-width: 480px) {
  .page {
    padding-inline: 24px;
  }
}

@media (min-width: 768px) {
  .page {
    padding-left: 72px; /* stand off the ruler, like home */
  }
}

.label {
  text-transform: uppercase;
  font-family: 'National Park', system-ui, sans-serif;
}

a {
  color: inherit;
}

/* --------------------------------------------------------------- Masthead */

.head {
  margin-bottom: 2rem;
}

.back {
  font-size: 11px;
  color: var(--dim);
  text-decoration: none;
}

.back:hover {
  color: var(--accent);
}

.logo {
  margin-top: 0.5rem;
  font-family: 'Terminal Grotesque', 'National Park', sans-serif;
  font-size: clamp(2.2rem, 8vw, 3.4rem);
  line-height: 1;
  color: var(--ink);
}

.tagline {
  margin-top: 0.4rem;
  color: var(--dim);
  font-size: 0.85rem;
}

/* ------------------------------------------------------------------- Wall */

/* Every gif at its natural size, flowed like text and centered against its row. The
   jumble is the design: these were made for pages built exactly like this one, and a
   uniform grid would iron out everything charming about them. */
.wall {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.wall__gif {
  image-rendering: pixelated;
  flex-shrink: 0;
}

/* ------------------------------------------------------------------- Foot */

.foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 3rem;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--dim);
}

.foot a {
  text-decoration: none;
}

.foot a:hover {
  color: var(--accent);
}
