.page-home {
  background: var(--ink-900);
  color: var(--paper);
  overflow-x: clip;
}

.page-home .hero {
  position: relative;
  border-bottom: 1px solid var(--line-600);
  overflow: hidden;
}

.page-home .hero__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
  pointer-events: none;
}

.page-home .hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding-top: 28px;
  padding-bottom: 40px;
}

.page-home .hero__nav-title {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--mint);
}

.page-home .hero__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-600);
}

.page-home .hero__nav-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 4px 11px 10px;
  border-bottom: 1px solid var(--line-600);
  border-left: 2px solid transparent;
  color: var(--paper);
  text-decoration: none;
  transition: background-color var(--dur) var(--ease), border-left-color var(--dur) var(--ease);
}

.page-home .hero__nav-link:hover,
.page-home .hero__nav-link:focus-visible {
  background: var(--ink-700);
  border-left-color: var(--mint);
}

.page-home .hero__nav-name {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.page-home .hero__nav-idx {
  font-size: 12px;
  color: var(--sage);
}

.page-home .hero__nav-foot {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--sage);
}

.page-home .hero__board {
  min-width: 0;
}

.page-home .hero__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(30px, 7vw, 46px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-home .hero__lede {
  margin: 0 0 26px;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.75;
  color: var(--sage);
}

.page-home .roundlist {
  border: 1px solid var(--line-600);
  background: var(--ink-800);
}

.page-home .roundlist__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-600);
  background: var(--ink-700);
}

.page-home .roundlist__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.page-home .roundlist__meta {
  font-size: 12px;
  color: var(--mint-soft);
}

.page-home .roundlist__rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .roundlist__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3px 16px;
  padding: 11px 14px 11px 14px;
  border-bottom: 1px solid var(--line-600);
  transition: background-color var(--dur) var(--ease);
}

.page-home .roundlist__row:hover {
  background: var(--ink-700);
}

.page-home .roundlist__row.is-current {
  border-left: 3px solid var(--mint);
  padding-left: 11px;
  background: linear-gradient(90deg, rgba(79, 240, 192, 0.08), transparent 58%);
}

.page-home .roundlist__cell--round {
  font-size: 12px;
  color: var(--mint);
  letter-spacing: 0.06em;
}

.page-home .roundlist__cell--vs {
  font-size: 14px;
  font-weight: 700;
  color: var(--paper);
}

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

.page-home .roundlist__tail {
  margin: 0;
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--sage);
}

.page-home .hero__preview {
  position: relative;
  background: var(--ink-800);
  border: 1px solid var(--line-600);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
  overflow: hidden;
}

.page-home .hero__preview::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 64px;
  height: 2px;
  background: var(--mint);
  transform: rotate(-45deg);
  transform-origin: right bottom;
}

.page-home .hero__preview-media {
  position: relative;
  background: var(--ink-700);
}

.page-home .hero__preview-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
  filter: saturate(0.72) contrast(1.03);
}

.page-home .hero__preview-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(79, 240, 192, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 240, 192, 0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.page-home .hero__preview-tag {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
}

.page-home .hero__preview-body {
  padding: 18px 18px 22px;
}

.page-home .hero__preview-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.32;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-home .hero__preview-text {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--sage);
}

.page-home .hero__preview-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  border-top: 1px solid var(--line-600);
}

.page-home .hero__preview-list li {
  position: relative;
  padding: 8px 0 8px 16px;
  border-bottom: 1px solid var(--line-600);
  font-size: 13px;
  line-height: 1.6;
  color: var(--paper);
}

.page-home .hero__preview-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 7px;
  height: 1px;
  background: var(--mint-soft);
}

.page-home .hero__preview-btn {
  width: 100%;
  text-align: center;
}

.page-home .chapterbar {
  position: sticky;
  top: 44px;
  z-index: 6;
  background: rgba(6, 26, 20, 0.94);
  border-bottom: 1px solid var(--line-600);
  backdrop-filter: blur(6px);
}

.page-home .chapterbar__inner {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-top: 8px;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.page-home .chapterbar__inner::-webkit-scrollbar {
  display: none;
}

.page-home .chapterbar__link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid transparent;
  font-size: 13px;
  color: var(--sage);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .chapterbar__link .num {
  font-size: 11px;
  color: var(--line-600);
}

.page-home .chapterbar__link:hover {
  color: var(--paper);
}

.page-home .chapterbar__link[aria-current] {
  color: var(--mint);
  border-color: var(--line-600);
  background: var(--ink-800);
}

.page-home .chapterbar__link[aria-current] .num {
  color: var(--mint);
}

.page-home .chapters {
  padding-bottom: 40px;
}

.page-home .chapter {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  padding-top: 44px;
  padding-bottom: 44px;
  border-top: 1px solid var(--line-600);
}

.page-home .chapter--last {
  border-bottom: 1px solid var(--line-600);
}

.page-home .chapter__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 68px;
  line-height: 0.82;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-600);
}

.page-home .chapter__title {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--paper);
}

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

.page-home .chapter__body {
  min-width: 0;
}

.page-home .chapter__lead {
  margin: 0 0 20px;
  max-width: 36em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--paper);
}

.page-home .chapter__more {
  margin: 22px 0 0;
}

.page-home .ch-figure {
  margin: 22px 0 0;
}

.page-home .ch-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.04);
  border: 1px solid var(--line-600);
}

.page-home .ch-figure .media__caption {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--sage);
}

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

.page-home .lanes__item {
  background: var(--ink-800);
  padding: 18px 16px 20px;
}

.page-home .lanes__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  color: var(--mint);
  letter-spacing: 0.02em;
}

.page-home .lanes__text {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--paper);
}

.page-home .lanes__use {
  margin: 0;
  padding-top: 10px;
  border-top: 1px dashed var(--line-600);
  font-size: 12px;
  line-height: 1.7;
  color: var(--sage);
}

.page-home .recap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  margin-top: 22px;
  background: var(--line-600);
  border: 1px solid var(--line-600);
}

.page-home .recap__block {
  background: var(--ink-800);
  padding: 18px 16px;
}

.page-home .recap__title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--amber);
}

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

.page-home .saved__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.page-home .saved__figure {
  margin: 0;
}

.page-home .saved__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line-600);
  filter: saturate(0.6) contrast(1.05) brightness(0.92);
}

.page-home .saved__figure .media__caption {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--sage);
}

.page-home .saved {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.page-home .saved__card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "idx name"
    "idx desc";
  gap: 2px 12px;
  padding: 13px 14px;
  border: 1px solid var(--line-600);
  background: var(--ink-800);
  color: var(--paper);
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .saved__card:hover,
.page-home .saved__card:focus-visible {
  background: var(--ink-700);
  border-color: var(--mint);
}

.page-home .saved__idx {
  grid-area: idx;
  align-self: center;
  font-size: 11px;
  color: var(--mint);
  letter-spacing: 0.08em;
}

.page-home .saved__name {
  grid-area: name;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page-home .saved__desc {
  grid-area: desc;
  font-size: 12px;
  line-height: 1.65;
  color: var(--sage);
}

.page-home .saved__tip {
  margin: 18px 0 0;
  padding-left: 12px;
  border-left: 2px solid var(--mint-soft);
  font-size: 13px;
  line-height: 1.75;
  color: var(--sage);
}

.page-home .rhythm {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  border-left: 1px solid var(--line-600);
}

.page-home .rhythm__item {
  position: relative;
  padding: 0 0 22px 20px;
}

.page-home .rhythm__item:last-child {
  padding-bottom: 0;
}

.page-home .rhythm__item::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 6px;
  width: 7px;
  height: 7px;
  background: var(--mint);
  transform: rotate(45deg);
}

.page-home .rhythm__point {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 8px;
  background: var(--ink-700);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mint-soft);
}

.page-home .rhythm__title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--paper);
}

.page-home .rhythm__item p {
  margin: 0;
  max-width: 34em;
  font-size: 14px;
  line-height: 1.75;
  color: var(--sage);
}

.page-home .crew {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.page-home .crew__item {
  padding: 16px;
  border: 1px solid var(--line-600);
  border-top: 2px solid var(--mint);
  background: var(--ink-800);
}

.page-home .crew__title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--paper);
}

.page-home .crew__item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--sage);
}

.page-home .facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
  gap: 1px;
  margin-bottom: 24px;
  background: var(--line-600);
  border: 1px solid var(--line-600);
}

.page-home .facts__cell {
  background: var(--ink-700);
  padding: 16px 14px;
}

.page-home .facts__num {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--mint);
}

.page-home .facts__label {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--sage);
}

.page-home .reach {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.page-home .reach__card {
  padding: 18px 16px;
  background: var(--ink-800);
  border: 1px solid var(--line-600);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}

.page-home .reach__title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--paper);
}

.page-home .reach__card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--sage);
}

.page-home .reach__alt {
  margin-top: 10px !important;
  padding-top: 10px;
  border-top: 1px dashed var(--line-600);
}

.page-home .reach__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (min-width: 620px) {
  .page-home .roundlist__row {
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: baseline;
    min-height: 44px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .page-home .roundlist__cell--note {
    grid-column: 2 / -1;
  }

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

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

@media (min-width: 900px) {
  .page-home .hero__inner {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 32px 36px;
    padding-top: 40px;
    padding-bottom: 56px;
  }

  .page-home .hero__preview {
    grid-column: 1 / -1;
    max-width: 460px;
  }

  .page-home .chapter {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 48px;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .page-home .chapter__side {
    position: sticky;
    top: 104px;
    align-self: start;
  }

  .page-home .chapter__num {
    font-size: 96px;
  }

  .page-home .chapter__title {
    font-size: 26px;
  }

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

  .page-home .saved__layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }

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

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

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

@media (min-width: 1180px) {
  .page-home .hero__inner {
    grid-template-columns: 240px minmax(0, 1fr) 340px;
    gap: 40px;
    align-items: start;
    padding-top: 48px;
    padding-bottom: 72px;
  }

  .page-home .hero__preview {
    grid-column: auto;
    max-width: none;
    margin-top: 34px;
  }

  .page-home .roundlist__row {
    grid-template-columns: 92px minmax(0, 0.85fr) minmax(0, 1.35fr);
    align-items: center;
  }

  .page-home .roundlist__cell--note {
    grid-column: auto;
  }

  .page-home .chapter {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 64px;
  }

  .page-home .saved__layout {
    grid-template-columns: 300px minmax(0, 1fr);
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-home .hero__nav-link,
  .page-home .roundlist__row,
  .page-home .chapterbar__link,
  .page-home .saved__card {
    transition: none;
  }
}
