.page-home {
  --hm-pad: clamp(20px, 4vw, 44px);
  --hm-hair: 1px solid var(--line);
  background: var(--ink-900);
  color: var(--ivory);
  overflow-x: hidden;
}

.page-home .hm-section {
  padding: clamp(52px, 9vw, 104px) 0;
}

.page-home .hm-section-head {
  max-width: 720px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.page-home .hm-section-desc {
  margin: 14px 0 0;
  color: var(--fog);
  font-size: 17px;
  line-height: 1.75;
  max-width: 62ch;
}

/* ---------- hero ---------- */
.page-home .hm-hero {
  position: relative;
  padding: calc(var(--header-h) + 30px) 0 clamp(48px, 7vw, 84px);
  background:
    radial-gradient(120% 90% at 88% 6%, rgba(200, 255, 61, 0.12), transparent 58%),
    radial-gradient(90% 70% at 0% 100%, rgba(59, 47, 99, 0.42), transparent 62%),
    linear-gradient(180deg, var(--ink-900) 0%, var(--ink-850) 100%);
  border-bottom: var(--hm-hair);
}

.page-home .hm-hero-shell {
  display: grid;
  gap: clamp(34px, 6vw, 60px);
}

.page-home .hm-context {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aqua);
}

.page-home .hm-context::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(200, 255, 61, 0.16);
  flex: none;
}

.page-home .hm-hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 7.4vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: none;
}

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

.page-home .hm-hero-title-accent {
  color: var(--lime);
}

.page-home .hm-hero-lead {
  margin: 22px 0 0;
  max-width: 52ch;
  color: var(--fog);
  font-size: 17px;
  line-height: 1.78;
}

.page-home .hm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.page-home .hm-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 38px 0 0;
  border-top: var(--hm-hair);
}

.page-home .hm-fact {
  padding: 16px 12px 0 0;
  border-right: var(--hm-hair);
}

.page-home .hm-fact:last-child {
  border-right: 0;
  padding-right: 0;
}

.page-home .hm-fact + .hm-fact {
  padding-left: 14px;
}

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

.page-home .hm-fact dd {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: var(--ivory-bright);
}

.page-home .hm-fact dd .mono {
  color: var(--orange);
}

.page-home .hm-hero-visual {
  position: relative;
  min-height: 340px;
}

.page-home .hm-hero-frame {
  position: absolute;
  inset: 0;
  margin: 0;
  clip-path: polygon(0 0, 100% 0, 100% 82%, 86% 100%, 0 100%);
  overflow: hidden;
  background: var(--panel);
}

.page-home .hm-hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.85) contrast(1.06) brightness(0.72);
}

.page-home .hm-tactics {
  position: absolute;
  top: 6%;
  right: 4%;
  width: 46%;
  max-width: 260px;
  height: auto;
  pointer-events: none;
}

.page-home .hm-tactics path {
  fill: none;
  stroke: var(--lime);
  stroke-width: 1.6;
  stroke-linecap: round;
  opacity: 0.72;
}

.page-home .hm-tactics circle {
  fill: var(--orange);
  opacity: 0.9;
}

.page-home .hm-hero-board {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 18px 22px 20px;
  background: rgba(7, 26, 20, 0.94);
  border-left: 3px solid var(--lime);
  border-top: var(--hm-hair);
}

.page-home .hm-board-tag {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aqua);
}

.page-home .hm-board-num {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: clamp(46px, 11vw, 76px);
  font-weight: 700;
  line-height: 1;
  color: var(--ivory-bright);
}

.page-home .hm-board-cap {
  margin: 8px 0 0;
  max-width: 24ch;
  font-size: 14px;
  line-height: 1.6;
  color: var(--fog);
}

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

.page-home .hm-board-pills li {
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--lime);
  border: 1px solid rgba(200, 255, 61, 0.4);
  border-radius: 999px;
}

/* ---------- focus ---------- */
.page-home .hm-focus-grid {
  display: grid;
  gap: 18px;
}

.page-home .hm-focus-main {
  position: relative;
  padding: var(--hm-pad);
  background: linear-gradient(160deg, var(--panel), var(--ink-850) 82%);
  border: var(--hm-hair);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
}

.page-home .hm-focus-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-home .hm-focus-league {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fog);
}

.page-home .hm-focus-big {
  margin: 18px 0 0;
  font-family: var(--font-mono);
  font-size: clamp(72px, 18vw, 132px);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.04em;
  color: var(--lime);
}

.page-home .hm-focus-label {
  margin: 14px 0 0;
  max-width: 44ch;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ivory);
}

.page-home .hm-focus-meta {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: var(--hm-hair);
}

.page-home .hm-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}

.page-home .hm-meta-k {
  min-width: 96px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--aqua);
}

.page-home .hm-meta-v {
  font-size: 15px;
  color: var(--fog);
}

.page-home .hm-focus-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding-bottom: 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 255, 61, 0.5);
}

.page-home .hm-focus-link:hover,
.page-home .hm-focus-link:focus-visible {
  color: var(--ivory-bright);
  border-bottom-color: var(--ivory-bright);
}

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

.page-home .hm-focus-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 6px 12px;
  padding: 18px var(--hm-pad);
  background: var(--ink-850);
  transition: background 0.2s ease, transform 0.2s ease;
}

.page-home .hm-focus-item:hover {
  background: var(--panel);
}

.page-home .hm-focus-sport {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ivory);
}

.page-home .hm-focus-state {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  padding: 3px 10px;
  font-size: 11px;
  letter-spacing: 0.06em;
  border: 1px solid currentColor;
  border-radius: 999px;
  white-space: nowrap;
}

.page-home .hm-focus-state--ready {
  color: var(--aqua);
}

.page-home .hm-focus-state--live {
  color: var(--orange);
}

.page-home .hm-focus-state--done {
  color: var(--fog);
}

.page-home .hm-focus-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--fog);
}

.page-home .hm-band {
  position: relative;
  margin: clamp(30px, 5vw, 52px) 0 0;
  max-height: 340px;
  overflow: hidden;
}

.page-home .hm-band img {
  width: 100%;
  height: 100%;
  max-height: 340px;
  object-fit: cover;
  display: block;
  filter: saturate(0.8) brightness(0.62);
}

.page-home .hm-band figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 14px var(--hm-pad);
  max-width: 40ch;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ivory);
  background: rgba(7, 26, 20, 0.86);
  border-left: 3px solid var(--orange);
}

/* ---------- switch rail ---------- */
.page-home .hm-switch {
  background: var(--ink-850);
  border-top: var(--hm-hair);
  border-bottom: var(--hm-hair);
}

.page-home .hm-switch-head {
  margin-bottom: clamp(24px, 3.5vw, 40px);
}

.page-home .hm-rail {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 4px clamp(20px, 5vw, 64px) 22px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

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

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

.page-home .hm-rail-card {
  position: relative;
  flex: 0 0 80%;
  max-width: 330px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 22px 20px;
  background: var(--panel);
  border: var(--hm-hair);
  border-left: 3px solid transparent;
  transition: border-color 0.22s ease, transform 0.22s ease, background 0.22s ease;
}

.page-home .hm-rail-card:hover,
.page-home .hm-rail-card:focus-within {
  border-left-color: var(--lime);
  background: #174031;
  transform: translateY(-3px);
}

.page-home .hm-rail-index {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--line);
}

.page-home .hm-rail-league {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--aqua);
}

.page-home .hm-rail-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ivory-bright);
}

.page-home .hm-rail-text {
  margin: 0;
  flex: 1;
  font-size: 14px;
  line-height: 1.7;
  color: var(--fog);
}

.page-home .hm-rail-link {
  align-self: flex-start;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.page-home .hm-rail-link:hover,
.page-home .hm-rail-link:focus-visible {
  border-bottom-color: var(--lime);
}

/* ---------- brief ---------- */
.page-home .hm-brief-grid {
  display: grid;
  gap: clamp(28px, 5vw, 48px);
}

.page-home .hm-brief-lead {
  margin: 16px 0 0;
  max-width: 56ch;
  color: var(--fog);
  font-size: 17px;
  line-height: 1.75;
}

.page-home .hm-brief-list {
  display: grid;
  gap: 0;
  margin: 28px 0 30px;
  padding: 0;
  list-style: none;
  border-top: var(--hm-hair);
}

.page-home .hm-brief-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: var(--hm-hair);
}

.page-home .hm-brief-num {
  font-size: 20px;
  font-weight: 700;
  color: var(--orange);
}

.page-home .hm-brief-item h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ivory-bright);
}

.page-home .hm-brief-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--fog);
}

.page-home .hm-brief-visual {
  margin: 0;
  align-self: start;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%, 0 86%);
  overflow: hidden;
  background: var(--panel);
}

.page-home .hm-brief-visual img {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: cover;
  display: block;
  filter: saturate(0.8) contrast(1.05);
}

/* ---------- kit ---------- */
.page-home .hm-kit {
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(111, 231, 200, 0.1), transparent 60%),
    var(--ink-850);
  border-top: var(--hm-hair);
  border-bottom: var(--hm-hair);
}

.page-home .hm-kit-grid {
  display: grid;
  gap: clamp(28px, 5vw, 52px);
  align-items: center;
}

.page-home .hm-kit-visual {
  margin: 0;
  order: -1;
  overflow: hidden;
  border: var(--hm-hair);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
  background: var(--panel);
}

.page-home .hm-kit-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-home .hm-kit-lead {
  margin: 16px 0 0;
  max-width: 58ch;
  color: var(--fog);
  font-size: 17px;
  line-height: 1.75;
}

.page-home .hm-kit-list {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .hm-kit-list li {
  padding-left: 16px;
  border-left: 2px solid var(--line);
}

.page-home .hm-kit-list h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ivory-bright);
}

.page-home .hm-kit-list p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--fog);
}

.page-home .hm-kit-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}

.page-home .hm-kit-link {
  font-size: 14px;
  color: var(--aqua);
  text-decoration: none;
  border-bottom: 1px solid rgba(111, 231, 200, 0.45);
}

.page-home .hm-kit-link:hover,
.page-home .hm-kit-link:focus-visible {
  color: var(--ivory-bright);
  border-bottom-color: var(--ivory-bright);
}

/* ---------- columns ---------- */
.page-home .hm-columns {
  background: linear-gradient(180deg, var(--ink-900) 0%, rgba(59, 47, 99, 0.28) 100%);
}

.page-home .hm-columns-head {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(26px, 4vw, 44px);
}

.page-home .hm-columns-lead {
  margin: 0;
  max-width: 56ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--fog);
}

.page-home .hm-column-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .hm-column-card {
  padding: 26px 24px;
  background: rgba(18, 53, 43, 0.75);
  border: var(--hm-hair);
  border-top: 3px solid var(--line);
  transition: border-top-color 0.22s ease, background 0.22s ease;
}

.page-home .hm-column-card--violet {
  border-top-color: var(--violet);
  box-shadow: inset 0 30px 60px -50px rgba(59, 47, 99, 0.9);
}

.page-home .hm-column-card--wine {
  border-top-color: var(--wine);
  box-shadow: inset 0 30px 60px -50px rgba(90, 31, 43, 0.95);
}

.page-home .hm-column-card:hover {
  background: rgba(23, 64, 49, 0.9);
}

.page-home .hm-column-tag {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aqua);
}

.page-home .hm-column-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ivory-bright);
}

.page-home .hm-column-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--fog);
}

.page-home .hm-column-meta {
  display: inline-block;
  margin-top: 16px;
  padding-top: 12px;
  width: 100%;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--line);
  border-top: var(--hm-hair);
}

.page-home .hm-columns-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 30px;
}

.page-home .hm-columns-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--lime);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}

.page-home .hm-columns-link:hover,
.page-home .hm-columns-link:focus-visible {
  border-bottom-color: var(--lime);
}

/* ---------- memory timeline ---------- */
.page-home .hm-memory {
  border-top: var(--hm-hair);
  background: var(--ink-850);
}

.page-home .hm-timeline {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 4px clamp(20px, 5vw, 64px) 24px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  position: relative;
}

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

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

.page-home .hm-tl-item {
  position: relative;
  flex: 0 0 72%;
  max-width: 300px;
  scroll-snap-align: start;
  padding: 22px 20px 24px;
  background: var(--ink-900);
  border: var(--hm-hair);
  border-top: 3px solid var(--orange);
}

.page-home .hm-tl-year {
  display: block;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--orange);
}

.page-home .hm-tl-item h3 {
  margin: 12px 0 8px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--ivory-bright);
}

.page-home .hm-tl-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--fog);
}

.page-home .hm-memory-note {
  max-width: 68ch;
  margin: 24px auto 0;
  padding: 0 clamp(20px, 5vw, 64px);
  font-size: 14px;
  line-height: 1.75;
  color: var(--fog);
}

/* ---------- closing ---------- */
.page-home .hm-close {
  padding-bottom: clamp(56px, 8vw, 96px);
}

.page-home .hm-close-shell {
  display: grid;
  gap: 26px;
  align-items: center;
  padding: clamp(28px, 5vw, 52px);
  background: linear-gradient(120deg, rgba(200, 255, 61, 0.1), transparent 55%), var(--panel);
  border: var(--hm-hair);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), calc(100% - 32px) 100%, 0 100%);
}

.page-home .hm-close-lead {
  margin: 14px 0 0;
  max-width: 56ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--fog);
}

.page-home .hm-close-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- responsive ---------- */
@media (min-width: 720px) {
  .page-home .hm-focus-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .page-home .hm-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .page-home .hm-meta-k {
    min-width: 0;
  }

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

  .page-home .hm-column-card:first-child {
    grid-column: span 2;
  }

  .page-home .hm-columns-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: 32px;
  }

  .page-home .hm-rail-card {
    flex: 0 0 46%;
  }

  .page-home .hm-tl-item {
    flex: 0 0 44%;
  }
}

@media (min-width: 960px) {
  .page-home .hm-hero-shell {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: center;
    gap: clamp(40px, 5vw, 72px);
  }

  .page-home .hm-hero-visual {
    min-height: 520px;
  }

  .page-home .hm-hero-frame {
    clip-path: polygon(0 0, 100% 0, 100% 76%, 80% 100%, 0 100%);
  }

  .page-home .hm-focus-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 22px;
  }

  .page-home .hm-focus-main {
    padding: clamp(32px, 4vw, 52px);
  }

  .page-home .hm-focus-list {
    align-content: start;
  }

  .page-home .hm-brief-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    align-items: start;
  }

  .page-home .hm-kit-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .page-home .hm-kit-visual {
    order: 0;
  }

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

  .page-home .hm-column-card:first-child {
    grid-column: span 1;
  }

  .page-home .hm-rail-card {
    flex: 0 0 320px;
  }

  .page-home .hm-tl-item {
    flex: 0 0 300px;
  }

  .page-home .hm-close-shell {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 40px;
  }

  .page-home .hm-close-actions {
    justify-content: flex-end;
  }

  .page-home .hm-band {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--shell-max);
    max-height: 360px;
  }

  .page-home .hm-band img {
    max-height: 360px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-rail-card,
  .page-home .hm-focus-item,
  .page-home .hm-column-card {
    transition: none;
  }

  .page-home .hm-rail-card:hover,
  .page-home .hm-rail-card:focus-within {
    transform: none;
  }
}
