:root {
  color-scheme: dark;
  --ink: #e6e8eb;
  --muted: #a8aeb6;
  --paper: #141618;
  --card: #2c2f33;
  --line: #3c4046;
  --link: #9ebcff;
  --link-hover: #d5e2ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", "Avenir Next", "Helvetica Neue", sans-serif;
  line-height: 1.45;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--link);
}

.site-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1.25rem;
  background: #101214;
}

.site-header a {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: #fff;
  text-decoration: none;
}

.site-header img {
  height: 4.5rem;
  width: auto;
  border-radius: 0.4rem;
}

.site-title {
  font-size: 1.7rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  padding: 0.75rem 1.25rem;
  background: #1b1e22;
  border-bottom: 1px solid var(--line);
}

.jump a {
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}

.jump a:hover {
  color: var(--link-hover);
}

main {
  width: min(1440px, calc(100% - 2rem));
  margin: 1.25rem auto 2rem;
}

.columns,
.albums {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.block,
.album,
.chart {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.block {
  padding: 0.85rem;
}

#photos {
  margin-top: 1.15rem;
}

.block h2,
#photos h2,
.page-head h1 {
  margin: 0.65rem 0 0.4rem;
  font-size: 1.25rem;
  color: var(--ink);
}

.block h3 {
  margin: 0.9rem 0 0.3rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero {
  display: block;
  width: 100%;
  height: 8.5rem;
  object-fit: cover;
  border-radius: 8px;
  background: #23262a;
}

.links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem 0.7rem;
  margin: 0;
  padding: 0;
}

.links a {
  color: var(--link);
  text-decoration: none;
}

.links a:hover,
.links a:focus {
  color: var(--link-hover);
  text-decoration: underline;
}

.album {
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.album img {
  display: block;
  width: 100%;
  height: 9rem;
  object-fit: cover;
  background: #23262a;
}

.album h2 {
  margin: 0.7rem 0.75rem 0.85rem;
  font-size: 1rem;
  text-align: center;
  color: var(--ink);
}

.album:hover h2 {
  color: var(--link-hover);
}

.page-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.page-head p {
  margin: 0;
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.6rem;
}

.gallery a {
  display: block;
  line-height: 0;
}

.gallery img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  border-radius: 8px;
  background: var(--card);
}

.chart {
  padding: 1rem;
}

.chart img {
  display: block;
  width: 100%;
  height: auto;
}

.back {
  color: var(--link);
  font-weight: 650;
  text-decoration: none;
}

footer {
  padding: 0 1rem 2rem;
  color: var(--muted);
  text-align: center;
  font-size: 0.85rem;
}

@media (max-width: 1100px) {
  .columns,
  .albums {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .columns,
  .albums {
    grid-template-columns: 1fr;
  }

  .hero,
  .album img {
    height: 12rem;
  }
}
