.page-home {
  background: var(--bg-warm);
  color: var(--ink);
  font-family: var(--font-body);
}

.page-home .container {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}

.page-home .breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 0 12px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-home .breadcrumb__link {
  color: var(--accent-blue-dark);
  text-decoration: none;
}

.page-home .breadcrumb__link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.page-home .breadcrumb__sep {
  color: var(--gray);
}

.page-home .breadcrumb__current {
  color: var(--ink);
  font-weight: 700;
}

.page-home .year-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: stretch;
  background: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(26, 26, 26, 0.85);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.page-home .year-bar__label {
  position: sticky;
  left: 0;
  z-index: 2;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.page-home .year-bar__list {
  display: flex;
  flex: 1;
}

.page-home .year-bar__link {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  padding: 10px 6px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 14px;
  text-decoration: none;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  transition: background 0.16s ease, color 0.16s ease;
}

.page-home .year-bar__link:hover {
  background: var(--accent);
  color: var(--ink);
}

.page-home .year-bar__link.is-current {
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
}

.page-home .hero-mast {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 36px 0 28px;
}

.page-home .hero-mast__left {
  min-width: 0;
}

.page-home .hero-issueno {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.page-home .hero-issueno .index-num {
  font-size: 26px;
  background: var(--ink);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 0;
}

.page-home .hero-issueno__text {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--gray);
  text-transform: uppercase;
}

.page-home .hero-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}

.page-home .hero-title span {
  display: block;
}

.page-home .hero-title span:last-child {
  margin-left: 0.28em;
  position: relative;
}

.page-home .hero-title span:last-child::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 72px;
  height: 6px;
  background: var(--accent);
}

.page-home .hero-lead {
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray);
  margin: 0;
}

.page-home .hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 2px solid var(--ink);
  background: var(--card-white);
  box-shadow: 6px 6px 0 var(--ink);
  margin: 0;
}

.page-home .hero-stat {
  padding: 16px 14px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.page-home .hero-stat:nth-child(2n) {
  border-right: 0;
}

.page-home .hero-stat:nth-child(n + 3) {
  border-bottom: 0;
}

.page-home .hero-stat dt {
  font-size: 12px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray);
}

.page-home .hero-stat dd {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}

.page-home .hero-collage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: stretch;
  padding-bottom: 52px;
}

.page-home .hero-figure {
  margin: 0;
  border: 2px solid var(--ink);
  background: var(--card-white);
  box-shadow: 10px 10px 0 rgba(255, 127, 17, 0.4);
  align-self: start;
  overflow: hidden;
}

.page-home .hero-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .hero-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: auto;
  grid-auto-flow: row dense;
  gap: 12px;
}

.page-home .hero-tile {
  position: relative;
  min-height: 96px;
}

.page-home .hero-tile--xl,
.page-home .hero-tile--lg {
  grid-column: span 2;
  grid-row: auto;
}

.page-home .hero-tile--md,
.page-home .hero-tile--sm {
  grid-column: span 1;
  grid-row: auto;
}

.page-home .hero-tile .tile__label {
  display: block;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.page-home .hero-tile--xl .tile__label {
  font-size: 28px;
}

.page-home .hero-tile--lg .tile__label {
  font-size: 24px;
}

.page-home .hero-tile .tile__count {
  display: block;
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  margin-top: auto;
}

.page-home .hero-tile--xl .tile__count {
  font-size: 44px;
}

.page-home .hero-tile--lg .tile__count {
  font-size: 36px;
}

.page-home .hero-tile .tile__unit {
  display: block;
  font-size: 12px;
  font-family: var(--font-mono);
  opacity: 0.75;
  margin-top: 4px;
}

.page-home .hero-tile .tile__flag {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 2px 6px;
}

.page-home .recent-section {
  padding: 52px 0 44px;
}

.page-home .section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
  margin-bottom: 28px;
}

.page-home .section-no {
  font-family: var(--font-mono);
  font-size: 44px;
  font-weight: 700;
  line-height: 0.9;
  color: var(--accent);
}

.page-home .section-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
}

.page-home .section-heading__link {
  margin-left: auto;
}

.page-home .section-heading__note {
  flex-basis: 100%;
  margin: 0;
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--gray);
  letter-spacing: 0.02em;
}

.page-home .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.page-home .filter-btn {
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--card-white);
  border: 1.5px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.page-home .filter-btn:hover {
  transform: translate(-1px, -1px);
}

.page-home .filter-btn.is-active {
  background: var(--ink);
  color: #fff;
}

.page-home .recent-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 260px;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 4px 14px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.page-home .recent-card {
  scroll-snap-align: start;
  background: var(--card-white);
  border: 2px solid var(--ink);
  border-radius: 0;
  box-shadow: 4px 4px 0 rgba(26, 26, 26, 1);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.page-home .recent-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 rgba(26, 26, 26, 1);
}

.page-home .recent-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-warm);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
}

.page-home .recent-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .recent-card__media .badge {
  position: absolute;
  top: 8px;
  left: 8px;
}

.page-home .recent-card__body {
  padding: 14px;
}

.page-home .recent-card__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 10px;
}

.page-home .recent-card__time {
  display: inline-block;
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray);
}

.page-home .update-mini-list {
  margin-top: 18px;
  border-top: 2px solid var(--ink);
  background: var(--card-white);
  box-shadow: 4px 4px 0 rgba(26, 26, 26, 0.85);
}

.page-home .update-mini-list .entry-row {
  text-decoration: none;
  color: var(--ink);
}

.page-home .update-mini-list .entry-row:hover {
  background: var(--bg-warm);
}

.page-home .album-section {
  padding: 52px 0 56px;
}

.page-home .album-track-list {
  display: grid;
  gap: 38px;
}

.page-home .album-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding: 16px;
  background: var(--card-white);
  border: 2px solid var(--ink);
  border-radius: 0;
  box-shadow: 6px 6px 0 rgba(26, 26, 26, 1);
  transition: transform 0.18s ease;
}

.page-home .album-track:hover {
  transform: translateY(-3px);
}

.page-home .album-track__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-home .album-track__cover {
  margin: 0;
  border: 2px solid var(--ink);
  background: var(--bg-warm);
  overflow: hidden;
}

.page-home .album-track__cover img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .album-track__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-home .album-track__name {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.2;
  margin: 0;
}

.page-home .album-track__series {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gray);
  margin: 0;
}

.page-home .btn--sm {
  align-self: flex-start;
  padding: 6px 14px;
  font-size: 13px;
}

.page-home .album-track__cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 200px;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.page-home .album-card {
  position: relative;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 150px;
  padding: 16px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--bg-cream);
}

.page-home .album-track--coral .album-card {
  background: #fff0e8;
}

.page-home .album-track--teal .album-card {
  background: #e6f6f6;
}

.page-home .album-track--yellow .album-card {
  background: #fff6d9;
}

.page-home .album-card__no {
  font-size: 26px;
  color: var(--accent);
}

.page-home .album-card__title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
}

.page-home .album-card .badge {
  position: absolute;
  top: 10px;
  right: 10px;
}

.page-home .tag-section {
  position: relative;
  overflow: hidden;
  padding: 52px 0 64px;
}

.page-home .tag-cloud {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  max-width: 920px;
}

.page-home .tag--xl {
  font-size: 28px;
  padding: 8px 18px;
}

.page-home .tag--lg {
  font-size: 21px;
  padding: 7px 15px;
}

.page-home .tag--md {
  font-size: 16px;
  padding: 6px 12px;
}

.page-home .tag--sm {
  font-size: 13px;
  padding: 5px 10px;
}

.page-home .tag-bg {
  position: absolute;
  right: -30px;
  bottom: -20px;
  z-index: 0;
  width: 200px;
  margin: 0;
  opacity: 0.35;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.page-home .tag-bg img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .channel-section {
  padding: 52px 0 60px;
}

.page-home .section-heading--light .section-title {
  color: #fff;
}

.page-home .section-heading--light .section-heading__note {
  color: rgba(255, 255, 255, 0.72);
}

.page-home .section-no--light {
  color: var(--accent);
}

.page-home .channel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-home .channel-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: var(--card-white);
  border: 2px solid var(--ink);
  border-radius: 0;
  box-shadow: 6px 6px 0 var(--accent);
}

.page-home .channel-card--primary {
  background: var(--accent);
}

.page-home .channel-card--primary .btn--primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.page-home .channel-card__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.25;
  margin: 0;
}

.page-home .channel-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray);
  margin: 0;
}

.page-home .channel-card--primary p {
  color: rgba(26, 26, 26, 0.82);
}

.page-home .channel-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

@media (min-width: 768px) {
  .page-home .hero-mast {
    grid-template-columns: 1fr 320px;
    align-items: end;
    gap: 40px;
    padding: 44px 0 36px;
  }

  .page-home .hero-collage {
    grid-template-columns: minmax(280px, 5fr) 7fr;
    gap: 28px;
    padding-bottom: 60px;
  }

  .page-home .hero-figure {
    align-self: start;
  }

  .page-home .hero-tiles {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 88px;
  }

  .page-home .hero-tile--xl {
    grid-column: span 3;
    grid-row: span 2;
  }

  .page-home .hero-tile--lg {
    grid-column: span 3;
    grid-row: span 1;
  }

  .page-home .hero-tile--md {
    grid-column: span 2;
    grid-row: span 1;
  }

  .page-home .hero-tile--sm {
    grid-column: span 1;
    grid-row: span 1;
  }

  .page-home .album-track {
    grid-template-columns: 240px 1fr;
    gap: 24px;
  }

  .page-home .channel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .page-home .channel-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .tag-bg {
    width: 300px;
    right: -40px;
    bottom: -40px;
    opacity: 0.4;
  }
}
