.page-home {
  --home-hair: 1px solid var(--line);
  display: block;
  background: var(--ink);
  color: var(--paper);
  padding-bottom: clamp(48px, 8vw, 88px);
  overflow-x: hidden;
}

.page-home .home-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 14px 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--silver);
  border-bottom: var(--home-hair);
}

.page-home .home-context__sep {
  color: var(--line);
}

.page-home .home-hero {
  position: relative;
  padding: clamp(26px, 5vw, 52px) 0 clamp(28px, 5vw, 56px);
  border-bottom: var(--home-hair);
  overflow: hidden;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -18%;
  width: min(620px, 78vw);
  height: 190%;
  background: linear-gradient(180deg, rgba(200, 16, 46, 0.24), rgba(200, 16, 46, 0) 72%);
  transform: skewX(-12deg);
  pointer-events: none;
}

.page-home .home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "copy"
    "board"
    "entries";
}

.page-home .home-hero__copy {
  grid-area: copy;
}

.page-home .home-hero__board {
  grid-area: board;
}

.page-home .home-hero__entries {
  grid-area: entries;
}

.page-home .home-hero__kicker {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--lime);
}

.page-home h1 {
  margin: 0;
  font-size: clamp(30px, 7.2vw, 56px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

.page-home .home-hero__lede {
  margin: 16px 0 0;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--silver);
}

.page-home .home-hero__board {
  position: relative;
  padding: clamp(16px, 3.4vw, 26px);
  background: var(--panel);
  border: var(--home-hair);
  border-left: 4px solid var(--red);
}

.page-home .home-hero__board-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.page-home .home-hero__score {
  margin: 10px 0 4px;
  font-family: var(--mono);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(64px, 17vw, 128px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--paper);
}

.page-home .home-hero__colon {
  color: var(--red);
}

.page-home .home-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 16px 0 0;
  background: var(--line);
  border: var(--home-hair);
}

.page-home .home-hero__facts > div {
  padding: 10px 12px;
  background: var(--ink);
  min-width: 0;
}

.page-home .home-hero__facts dt {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--silver);
}

.page-home .home-hero__facts dd {
  margin: 4px 0 0;
  font-family: var(--mono);
  font-size: 16px;
  color: var(--paper);
}

.page-home .home-hero__stamp {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--lime);
}

.page-home .home-hero__stripe {
  display: block;
  width: 100%;
  height: 12px;
  margin-top: 16px;
  color: var(--red);
}

.page-home .home-hero__entries {
  display: grid;
  gap: 1px;
  align-content: start;
  background: var(--line);
  border: var(--home-hair);
}

.page-home .home-entry {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 14px;
  padding: 14px 16px;
  background: var(--panel);
  border-left: 2px solid transparent;
  color: var(--paper);
  text-decoration: none;
  transition: background var(--t-fast) ease, border-color var(--t-fast) ease;
}

.page-home .home-entry:hover,
.page-home .home-entry:focus-visible {
  background: var(--ink);
  border-left-color: var(--red);
}

.page-home .home-entry__index {
  grid-row: span 2;
  font-family: var(--mono);
  font-style: italic;
  font-size: 20px;
  line-height: 1.2;
  color: var(--red);
}

.page-home .home-entry__label {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.page-home .home-entry__note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--silver);
}

.page-home .home-hero__media {
  position: relative;
  z-index: 1;
  margin-top: clamp(20px, 4vw, 36px);
}

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

.page-home .home-board,
.page-home .home-lists,
.page-home .home-steps,
.page-home .home-feed,
.page-home .home-search,
.page-home .home-download {
  padding: clamp(34px, 6vw, 72px) 0;
  border-bottom: var(--home-hair);
}

.page-home .section-head {
  display: grid;
  gap: 8px;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.page-home .section-head__index {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--red);
}

.page-home .section-head__title {
  margin: 0;
  max-width: 26ch;
  font-size: clamp(23px, 3.6vw, 38px);
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: -0.015em;
}

.page-home .section-head__note {
  margin: 0;
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.7;
  color: var(--silver);
}

.page-home .home-board__body {
  display: grid;
  gap: clamp(20px, 3vw, 30px);
  grid-template-columns: minmax(0, 1fr);
}

.page-home .home-board__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  margin-bottom: 16px;
  background: var(--line);
  border: var(--home-hair);
}

.page-home .home-board__filter {
  flex: 1 1 auto;
  padding: 11px 14px;
  background: var(--panel);
  color: var(--silver);
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  transition: background var(--t-fast) ease, color var(--t-fast) ease;
}

.page-home .home-board__filter:hover,
.page-home .home-board__filter:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.page-home .home-board__filter[aria-current="true"] {
  background: var(--red);
  color: var(--paper);
  font-weight: 700;
}

.page-home .home-fixtures {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: var(--home-hair);
}

.page-home .home-fixture {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 16px;
  padding: 16px 18px;
  background: var(--panel);
}

.page-home .home-fixture__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  min-width: 0;
}

.page-home .home-fixture__round {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--silver);
}

.page-home .home-fixture__score {
  grid-row: 1;
  margin: 0;
  font-family: var(--mono);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(26px, 6.4vw, 38px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--paper);
}

.page-home .home-fixture__score span {
  color: var(--red);
}

.page-home .home-fixture__sub {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--silver);
}

.page-home .home-board__aside {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.page-home .home-board__aside .media-frame {
  width: 100%;
  max-width: 300px;
}

.page-home .home-board__caption {
  margin: 0;
  max-width: 34ch;
  font-size: 13px;
  line-height: 1.65;
  color: var(--silver);
  text-align: center;
}

.page-home .home-lists__grid {
  display: grid;
  gap: clamp(20px, 3vw, 28px);
  grid-template-columns: minmax(0, 1fr);
}

.page-home .home-lists__cards {
  display: grid;
  gap: 1px;
  grid-template-columns: minmax(0, 1fr);
  background: var(--line);
  border: var(--home-hair);
}

.page-home .home-lists__card {
  padding: 18px;
  background: var(--panel);
  border-left: 2px solid transparent;
  transition: border-color var(--t-fast) ease;
}

.page-home .home-lists__card:hover {
  border-left-color: var(--blue);
}

.page-home .home-lists__card h3 {
  margin: 8px 0 8px;
  font-size: 18px;
  line-height: 1.3;
}

.page-home .home-lists__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--silver);
}

.page-home .home-lists__side {
  display: grid;
  gap: 12px;
  align-content: start;
}

.page-home .home-lists__media {
  width: 100%;
}

.page-home .home-lists__label {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--silver);
}

.page-home .home-lists__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-lists__tags li {
  padding: 4px 10px;
  font-size: 12px;
  color: var(--paper);
  border: 1px solid var(--line);
  background: var(--ink);
}

.page-home .home-lists__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 0;
}

.page-home .home-steps__list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: minmax(0, 1fr);
  background: var(--line);
  border: var(--home-hair);
}

.page-home .home-steps__item {
  position: relative;
  padding: clamp(18px, 3vw, 26px);
  background: var(--ink);
}

.page-home .home-steps__item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), rgba(200, 16, 46, 0) 85%);
}

.page-home .home-steps__num {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-style: italic;
  font-size: 30px;
  line-height: 1;
  color: var(--red);
}

.page-home .home-steps__item h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

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

.page-home .home-steps__cta {
  margin: 20px 0 0;
}

.page-home .home-feed__grid {
  display: grid;
  gap: 1px;
  grid-template-columns: minmax(0, 1fr);
  background: var(--line);
  border: var(--home-hair);
}

.page-home .home-feed__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 3vw, 26px);
  background: var(--panel);
}

.page-home .home-feed__card--lead {
  background: linear-gradient(135deg, rgba(200, 16, 46, 0.22), rgba(23, 24, 29, 1) 64%);
}

.page-home .home-feed__card h3 {
  margin: 0;
  font-size: clamp(18px, 2.4vw, 26px);
  line-height: 1.25;
}

.page-home .home-feed__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--silver);
}

.page-home .home-feed__link {
  margin-top: auto;
  align-self: flex-start;
  padding-bottom: 2px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.page-home .home-feed__link:hover,
.page-home .home-feed__link:focus-visible {
  color: var(--lime);
}

.page-home .home-search__grid {
  display: grid;
  gap: clamp(20px, 4vw, 36px);
  grid-template-columns: minmax(0, 1fr);
}

.page-home .home-search__copy h2 {
  margin: 8px 0 14px;
  font-size: clamp(23px, 3.6vw, 36px);
  line-height: 1.18;
  font-weight: 900;
}

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

.page-home .home-search__cta {
  margin: 20px 0 0;
}

.page-home .home-search__stats {
  display: grid;
  gap: 1px;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--line);
  border: var(--home-hair);
}

.page-home .home-search__stats > div {
  padding: 16px;
  background: var(--panel);
  min-width: 0;
}

.page-home .home-search__stats dt {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--silver);
}

.page-home .home-search__stats dd {
  margin: 6px 0 0;
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(26px, 5vw, 36px);
  line-height: 1;
  color: var(--blue);
}

.page-home .home-search__stats dd span {
  font-size: 14px;
  margin-left: 2px;
}

.page-home .home-download__grid {
  display: grid;
  gap: clamp(20px, 4vw, 36px);
  grid-template-columns: minmax(0, 1fr);
}

.page-home .home-download__media {
  width: 100%;
}

.page-home .home-download__copy h2 {
  margin: 8px 0 14px;
  font-size: clamp(23px, 3.6vw, 36px);
  line-height: 1.18;
  font-weight: 900;
}

.page-home .home-download__version {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 4px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--lime);
}

.page-home .home-download__list {
  display: grid;
  gap: 10px;
  margin: 14px 0 22px;
  padding: 0;
  list-style: none;
}

.page-home .home-download__list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--paper);
}

.page-home .home-download__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 2px;
  background: var(--lime);
}

.page-home .home-shortcuts {
  padding: clamp(28px, 5vw, 52px) 0 0;
}

.page-home .home-shortcuts__title {
  margin: 0 0 16px;
  font-size: clamp(19px, 2.6vw, 24px);
  font-weight: 900;
  letter-spacing: -0.01em;
}

.page-home .home-shortcuts__list {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--line);
  border: var(--home-hair);
}

.page-home .home-shortcuts__link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background: var(--panel);
  color: var(--paper);
  text-decoration: none;
  transition: background var(--t-fast) ease;
}

.page-home .home-shortcuts__link:hover,
.page-home .home-shortcuts__link:focus-visible {
  background: var(--red);
}

.page-home .home-shortcuts__label {
  font-size: 15px;
  font-weight: 700;
}

.page-home .home-shortcuts__note {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--silver);
}

.page-home .home-shortcuts__link:hover .home-shortcuts__note,
.page-home .home-shortcuts__link:focus-visible .home-shortcuts__note {
  color: var(--paper);
}

.page-home .home-float {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--red);
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(246, 242, 234, 0.24);
  transition: background var(--t-fast) ease;
}

.page-home .home-float:hover,
.page-home .home-float:focus-visible {
  background: var(--red-deep);
}

@media (min-width: 600px) {
  .page-home .home-shortcuts__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .page-home .home-lists__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .page-home .home-feed__card--lead {
    grid-column: 1 / -1;
  }

  .page-home .home-steps__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-areas:
      "copy entries"
      "board entries";
    align-items: start;
  }

  .page-home .home-hero__entries {
    height: 100%;
  }

  .page-home .home-entry {
    align-content: center;
    padding: 18px 20px;
  }

  .page-home .home-board__body {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.75fr);
    align-items: start;
  }

  .page-home .home-board__aside {
    justify-items: stretch;
  }

  .page-home .home-board__aside .media-frame {
    max-width: none;
  }

  .page-home .home-board__caption {
    text-align: left;
  }

  .page-home .home-lists__grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    align-items: start;
  }

  .page-home .home-search__grid,
  .page-home .home-download__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
  }
}

@media (min-width: 1180px) {
  .page-home h1 {
    font-size: clamp(52px, 4.4vw, 64px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-entry,
  .page-home .home-board__filter,
  .page-home .home-lists__card,
  .page-home .home-shortcuts__link,
  .page-home .home-float {
    transition: none;
  }
}
