/* wredlund.fi */

body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

main.wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding-top: clamp(48px, 10vh, 120px);
  padding-bottom: 48px;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.lede {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
}

.sites {
  display: grid;
  gap: 20px;
  margin: clamp(40px, 8vh, 80px) 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 820px) {
  .sites { grid-template-columns: repeat(3, 1fr); }
}

.site {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem 1.5rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.2s, transform 0.2s;
}
.site:hover { border-color: var(--copper); text-decoration: none; transform: translateY(-2px); }
.domain { color: var(--cyan); }
.name {
  margin-top: 1.6rem;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
}
.desc { margin-top: 0.4rem; color: var(--muted); }
.site:hover .name { color: var(--copper); }
