.page-home {
  --home-gap: 20px;
  --home-pad: 22px;
}

/* ---------- Hero ---------- */
.page-home .hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 56px;
  border-bottom: 1px solid var(--line);
}

.page-home .hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--base);
}

.page-home .hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.26;
  filter: grayscale(0.35) saturate(0.6);
}

.page-home .hero__bg::before {
  content: "";
  position: absolute;
  inset: -24px;
  background-image:
    linear-gradient(to right, rgba(31, 74, 58, 0.55) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31, 74, 58, 0.55) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.32;
  animation: home-grid-drift 22s linear infinite;
}

.page-home .hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 70% at 12% 0%, rgba(198, 255, 61, 0.12), transparent 62%),
    linear-gradient(180deg, rgba(11, 31, 24, 0.6) 0%, rgba(11, 31, 24, 0.9) 62%, var(--base) 100%);
}

.page-home .hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 36px;
}

.page-home .hero__crumb {
  display: flex;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--dim);
  text-transform: uppercase;
  margin-bottom: 14px;
}

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

.page-home .hero__main h1 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 12px 0 18px;
  max-width: 15ch;
}

.page-home .hero__lead {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 44ch;
  margin: 0;
}

.page-home .hero__brief {
  margin-top: 28px;
  padding: 16px 0 16px 18px;
  border-left: 2px solid var(--lime);
  background: linear-gradient(90deg, rgba(198, 255, 61, 0.07), transparent 85%);
}

.page-home .hero__brief-label {
  color: var(--lime);
  margin: 0 0 8px;
}

.page-home .hero__brief-match {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink);
}

.page-home .hero__brief-time {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 12px;
}

.page-home .hero__brief-time .num,
.page-home .hero__brief-time span.num {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 15px;
}

.page-home .hero__index {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  align-self: end;
}

.page-home .hero__index li {
  border-bottom: 1px solid var(--line);
}

.page-home .hero__index a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 14px;
  padding: 16px 2px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.page-home .hero__index a:hover,
.page-home .hero__index a:focus-visible {
  background: rgba(22, 56, 44, 0.6);
  padding-left: 10px;
  outline: none;
}

.page-home .hero__index-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--lime);
}

.page-home .hero__index-text {
  display: grid;
  gap: 4px;
}

.page-home .hero__index-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
}

.page-home .hero__index-note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

@keyframes home-grid-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(48px, 48px, 0); }
}

/* ---------- Board ---------- */
.page-home .board-section {
  padding-top: 56px;
}

.page-home .board {
  display: grid;
  gap: 40px;
}

.page-home .board__head {
  margin-bottom: 22px;
}

.page-home .board__main {
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-home .preview-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: var(--home-pad);
  display: grid;
  gap: 14px;
  box-shadow: var(--shadow-panel);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.page-home .preview-card:hover {
  background: var(--raised);
  border-color: rgba(155, 224, 42, 0.45);
  transform: translateY(-1px);
}

.page-home .preview-card__media {
  margin: calc(var(--home-pad) * -1) calc(var(--home-pad) * -1) 4px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-home .preview-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.85);
}

.page-home .preview-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.page-home .preview-card__time {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--amber);
  letter-spacing: 0.04em;
}

.page-home .preview-card__teams {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}

.page-home .preview-card__form {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .preview-card__form li {
  background: var(--base);
  padding: 10px 12px;
  display: grid;
  gap: 4px;
}

.page-home .preview-card__form .num {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--lime);
  letter-spacing: 0.02em;
}

.page-home .preview-card__form .label {
  color: var(--dim);
}

.page-home .preview-card__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

/* ---------- Timeline ---------- */
.page-home .board__aside {
  align-self: start;
}

.page-home .timeline {
  background: linear-gradient(180deg, var(--panel), rgba(16, 42, 33, 0.6));
  border: 1px solid var(--line);
  padding: 22px 20px 8px;
}

.page-home .timeline__head {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.page-home .timeline__title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 8px 0 8px;
}

.page-home .timeline__sub {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

.page-home .timeline__acc {
  position: relative;
  padding-left: 24px;
}

.page-home .timeline__acc::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 18px;
  width: 1px;
  background: linear-gradient(180deg, var(--amber), rgba(242, 167, 59, 0.15) 70%, transparent);
}

.page-home .timeline__acc .accordion__item {
  position: relative;
  border-bottom: 1px solid var(--line-soft);
}

.page-home .timeline__acc .accordion__item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 20px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--amber);
  background: var(--base);
  box-shadow: 0 0 0 3px rgba(242, 167, 59, 0.12);
}

.page-home .timeline__acc .accordion__btn {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 12px;
  align-items: center;
  padding: 16px 0;
  background: none;
  border: 0;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--sans);
}

.page-home .timeline__acc .accordion__btn:hover,
.page-home .timeline__acc .accordion__btn:focus-visible {
  outline: none;
  color: var(--lime);
}

.page-home .timeline__time {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--amber);
  letter-spacing: 0.04em;
}

.page-home .timeline__label {
  font-size: 15px;
  line-height: 1.5;
}

.page-home .timeline__acc .accordion__btn .tag {
  grid-column: 1 / -1;
  justify-self: start;
}

.page-home .timeline__acc .accordion__panel p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.78;
  color: var(--muted);
}

.page-home .timeline__item-head {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

/* ---------- Report strip ---------- */
.page-home .report {
  position: relative;
  padding-top: 64px;
  padding-bottom: 56px;
  background:
    linear-gradient(180deg, transparent, rgba(22, 56, 44, 0.5) 40%, transparent);
}

.page-home .report__head {
  margin-bottom: 26px;
}

.page-home .report__ruler {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 0 var(--gutter) 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--dim);
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}

.page-home .report__ruler-hint {
  margin-left: auto;
  color: var(--dim);
  letter-spacing: 0.06em;
}

.page-home .report__scroller {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 var(--gutter) 22px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  -webkit-overflow-scrolling: touch;
}

.page-home .report__scroller::-webkit-scrollbar {
  height: 6px;
}

.page-home .report__scroller::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 3px;
}

.page-home .report__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 16px;
  scroll-snap-type: x mandatory;
}

.page-home .report-card {
  flex: 0 0 272px;
  scroll-snap-align: start;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 18px 18px 20px;
  display: grid;
  gap: 12px;
  align-content: start;
  box-shadow: var(--shadow-panel);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.page-home .report-card:hover {
  background: var(--raised);
  border-color: rgba(155, 224, 42, 0.4);
}

.page-home .report-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
}

.page-home .report-card__stamp {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--dim);
}

.page-home .report-card__score {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 0;
  font-family: var(--mono);
  font-size: 40px;
  line-height: 1;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.page-home .report-card__score .diamond {
  margin-right: 2px;
}

.page-home .report-card__dash {
  color: var(--dim);
  font-size: 26px;
}

.page-home .report-card__teams {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.page-home .report-card__stats {
  margin: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .report-card__stats > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  background: var(--base);
  padding: 8px 10px;
}

.page-home .report-card__stats dt {
  font-size: 12px;
  color: var(--dim);
  letter-spacing: 0.04em;
}

.page-home .report-card__stats dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--teal);
  color: #7fd4a8;
  letter-spacing: 0.02em;
}

.page-home .report-card__foot {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--dim);
}

.page-home .report-card .link-underline {
  font-size: 13px;
  justify-self: start;
}

.page-home .report-card--media {
  flex: 0 0 200px;
  padding: 0;
  border-style: dashed;
  background: transparent;
  box-shadow: none;
}

.page-home .report-card--media:hover {
  background: transparent;
  border-color: var(--line);
}

.page-home .report-card__media {
  height: 100%;
  min-height: 200px;
}

.page-home .report-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.55) brightness(0.8);
}

/* ---------- Entry ---------- */
.page-home .entry {
  padding-top: 56px;
}

.page-home .entry__head {
  margin-bottom: 24px;
}

.page-home .entry__grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .entry-card {
  background: var(--panel);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-home .entry-card__label {
  color: var(--amber);
  margin: 0;
}

.page-home .entry-card__title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.4;
  margin: 0;
  color: var(--ink);
}

.page-home .entry-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .entry-card__list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .entry-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background: var(--lime);
  transform: rotate(45deg);
}

.page-home .entry-card__cta {
  margin-top: auto;
  align-self: flex-start;
}

.page-home .entry__foot {
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--dim);
}

/* ---------- Rules ---------- */
.page-home .rules {
  padding-top: 60px;
  padding-bottom: 64px;
}

.page-home .rules__inner {
  display: grid;
  gap: 34px;
}

.page-home .rules__title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -0.015em;
  margin: 12px 0 16px;
}

.page-home .rules__lead {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 52ch;
}

.page-home .rules__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.page-home .rules__figure {
  border: 1px solid var(--line);
  background: var(--panel);
  margin-bottom: 18px;
}

.page-home .rules__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.8);
}

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

.page-home .rules__list li {
  background: var(--base);
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.page-home .rules__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--lime);
}

.page-home .rules__trust {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 24px;
}

.page-home .rules__trust-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 62ch;
}

.page-home .rules__trust-text .num {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--lime);
}

/* ---------- Responsive ---------- */
@media (min-width: 720px) {
  .page-home .entry__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .report-card {
    flex: 0 0 300px;
  }
}

@media (min-width: 960px) {
  .page-home .hero {
    padding: calc(var(--header-h) + 56px) 0 72px;
  }
  .page-home .hero__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 56px;
    align-items: end;
  }
  .page-home .hero__lead {
    font-size: 17px;
  }
  .page-home .entry__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-home .rules__inner {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 48px;
    align-items: start;
  }
  .page-home .board {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 48px;
    align-items: start;
  }
  .page-home .board__aside {
    position: sticky;
    top: calc(var(--header-h-sm) + 76px);
  }
  .page-home .report__ruler {
    max-width: var(--maxw);
    margin: 0 auto 20px;
  }
  .page-home .report__scroller {
    padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  }
  .page-home .report__track {
    gap: 20px;
  }
  .page-home .report-card {
    flex: 0 0 320px;
  }
}

@media (min-width: 1200px) {
  .page-home .hero__main h1 {
    max-width: 13ch;
  }
  .page-home .preview-card {
    padding: 26px;
    --home-pad: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero__bg::before {
    animation: none;
  }
  .page-home .preview-card,
  .page-home .report-card,
  .page-home .hero__index a {
    transition: none;
  }
  .page-home .report__track {
    scroll-behavior: auto;
  }
}
</main>
