/* Home page only. The hero, disc and field notes live in site.css. */

/* ---------- first specimen, under the hero lede ---------- */
.first {
  margin-top: var(--s6);
  display: grid; width: fit-content; grid-template-columns: 44px auto; gap: var(--s3); align-items: center;
  text-decoration: none;
}
.first-icon, .first-icon img { width: 44px; height: 44px; }
.first-words { display: grid; gap: 2px; font-size: 16px; line-height: 1.4; }
.first-words .mono { font-size: 11px; color: var(--dim); }
.first-words b {
  font-family: var(--display); font-weight: 400; font-size: 18px;
  text-decoration: underline; text-decoration-color: var(--underline);
  text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.first:hover b { text-decoration-thickness: 2px; }

/* ---------- specimens ---------- */
.specimens { padding-top: var(--s9); }
.spec-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: var(--s2) var(--s5); padding-bottom: var(--s4); border-bottom: 1px solid var(--rule);
}
.spec-head h2 { font-size: 34px; line-height: 1.1; }
.spec-head span { color: var(--dim); }
.apps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s7) var(--s6); padding-top: var(--s6); }
.app { display: grid; gap: var(--s2); align-content: start; text-decoration: none; }
.tile, .appicon { width: 64px; height: 64px; margin-bottom: var(--s2); }
.tile {
  border-radius: 15px;
  background: var(--tile);
  color: var(--tile-ink);
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: 26px;
}
.tile.empty { background: transparent; box-shadow: inset 0 0 0 1.5px var(--rule); color: var(--dim); }
.tile.empty i { width: 28px; height: 7px; border-radius: 1px; background: var(--dim); opacity: .6; }
.appicon { display: block; }
.appicon img { width: 64px; height: 64px; }
.app h3 { font-size: 23px; line-height: 1.15; }
a.app:hover h3, a.app:focus-visible h3 {
  text-decoration: underline; text-decoration-color: var(--underline);
  text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.app p { font-size: 15.5px; line-height: 1.5; color: var(--dim); }
.app .hab { font-family: var(--mono); font-size: 12px; line-height: 1.5; color: var(--dim); }
.app .st { font-size: 11px; color: var(--dim); margin-top: var(--s1); }
.app .st.live { color: var(--accent); }

/* ---------- Outfoxed Records ---------- */
.records {
  margin-top: var(--s9);
  border-radius: 22px;
  background: var(--panel);
  padding: clamp(24px, 4vw, 44px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: var(--s6);
  align-items: center;
}
.records h2 { font-size: 30px; line-height: 1.15; color: var(--panel-head); }
.records p { margin-top: 6px; color: var(--panel-ink); max-width: 46ch; }
.records a {
  font-size: 15px;
  font-weight: 500;
  color: var(--panel-link);
  text-decoration: none;
  border-bottom: 1px solid var(--panel-line);
  padding-bottom: 3px;
  white-space: nowrap;
}
.records a:focus-visible { outline-color: var(--panel-link); }

/* ---------- narrower ---------- */
@media (max-width: 860px) {
  .apps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .records { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .records a { justify-self: start; }
}
@media (max-width: 520px) {
  .apps { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .specimens { padding-top: var(--s8); }
  .records { margin-top: var(--s8); }
}
