.page-home {
  background: var(--snow);
  color: var(--ink);
  overflow-x: hidden;
}

.page-home .home-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  color: var(--snow);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4vw), 0 100%);
}

.page-home .hero-media {
  position: absolute;
  inset: 0;
}

.page-home .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.46;
}

.page-home .hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(13, 27, 42, 0.94) 0%, rgba(27, 78, 140, 0.82) 44%, rgba(27, 78, 140, 0.38) 72%, rgba(13, 27, 42, 0.62) 100%);
}

.page-home .hero-flow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 54%;
  z-index: 1;
  display: block;
  pointer-events: none;
}

.page-home .hero-layout {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  padding-top: 140px;
  padding-bottom: 150px;
}

.page-home .hero-copy {
  max-width: 680px;
}

.page-home .hero-kicker,
.page-home .home-kicker,
.page-home .panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 18px;
}

.page-home .hero-kicker::before,
.page-home .home-kicker::before,
.page-home .panel-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--orange);
  display: inline-block;
}

.page-home .hero-copy h1 {
  font-size: clamp(1.9rem, 6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 22px;
  color: var(--snow);
}

.page-home .hero-lead {
  font-size: clamp(0.98rem, 2.4vw, 1.12rem);
  line-height: 1.8;
  color: rgba(244, 247, 250, 0.88);
  margin: 0 0 26px;
}

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

.page-home .meta-pill {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 7px 14px;
  border: 1px solid rgba(168, 200, 232, 0.5);
  border-radius: 0;
  background: rgba(244, 247, 250, 0.08);
  backdrop-filter: blur(4px);
  color: var(--lake);
}

.page-home .hero-dir {
  margin-top: 42px;
  padding: 18px 20px 20px;
  background: rgba(244, 247, 250, 0.08);
  backdrop-filter: blur(8px);
  border-left: 3px solid var(--orange);
}

.page-home .dir-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--lake);
  margin-bottom: 12px;
}

.page-home .dir-brand {
  color: var(--sand);
  text-decoration: none;
  font-weight: 800;
  transition: color 0.3s var(--ease);
}

.page-home .dir-brand:hover {
  color: var(--orange);
}

.page-home .dir-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 16px;
  counter-reset: dircnt;
}

.page-home .dir-list li {
  counter-increment: dircnt;
}

.page-home .dir-list a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--snow);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(244, 247, 250, 0.12);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.page-home .dir-list a::before {
  content: counter(dircnt, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--orange);
}

.page-home .dir-list a:hover {
  color: var(--sand);
  padding-left: 6px;
}

.page-home .dir-note {
  margin: 14px 0 0;
  font-size: 0.82rem;
  color: rgba(244, 247, 250, 0.58);
  line-height: 1.6;
}

.page-home .hero-season-badge {
  position: absolute;
  top: 92px;
  right: 22px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: rgba(216, 78, 47, 0.16);
  border: 1px solid rgba(216, 78, 47, 0.6);
  transform: rotate(2deg);
}

.page-home .season-big {
  font-family: var(--mono);
  font-size: clamp(4rem, 18vw, 7rem);
  font-weight: 800;
  line-height: 0.9;
  color: var(--orange);
}

.page-home .season-caption {
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--snow);
  font-family: var(--mono);
  letter-spacing: 0.06em;
}

.page-home .league-tape {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.page-home .tape-label {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lake);
}

.page-home .tape-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
}

.page-home .league-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 18px;
  background: rgba(244, 247, 250, 0.1);
  border: 1px solid rgba(168, 200, 232, 0.4);
  color: var(--snow);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 10px 50%);
}

.page-home .home-switch {
  position: relative;
  background: linear-gradient(135deg, rgba(196, 163, 90, 0.06) 0%, rgba(46, 139, 87, 0.08) 100%);
  padding-top: 74px;
  padding-bottom: 86px;
}

.page-home .switch-title-block {
  max-width: 640px;
  margin-bottom: 42px;
}

.page-home .switch-title-block h2,
.page-home .history-head h2,
.page-home .favorites-head h2,
.page-home .expert-panel-head h2 {
  font-size: clamp(1.5rem, 4.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0 0 16px;
  color: var(--ink);
}

.page-home .switch-title-block p,
.page-home .history-head p,
.page-home .favorites-head p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray);
  margin: 0;
}

.page-home .track-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 40px;
}

.page-home .track-old,
.page-home .track-new {
  position: relative;
  padding: 22px 20px 20px;
  background: var(--snow);
  border: 1px solid rgba(13, 27, 42, 0.08);
  box-shadow: 0 14px 34px rgba(13, 27, 42, 0.05);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%);
}

.page-home .track-old {
  border-left: 4px solid var(--lake);
}

.page-home .track-new {
  border-left: 4px solid var(--orange);
  background: rgba(216, 78, 47, 0.04);
}

.page-home .path-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .path-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ink);
  color: var(--snow);
  font-size: 0.83rem;
  font-weight: 700;
  padding: 8px 12px;
}

.page-home .path-list li span {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--lake);
}

.page-home .track-new .path-list li {
  background: var(--orange);
}

.page-home .track-new .path-list li span {
  color: rgba(255, 255, 255, 0.75);
}

.page-home .path-count {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--gray);
}

.page-home .track-new .path-count {
  color: var(--orange);
}

.page-home .track-cut {
  width: 48px;
  height: 2px;
  background: var(--orange);
  position: relative;
  margin: 0 auto;
}

.page-home .track-cut::after {
  content: "";
  position: absolute;
  top: -4px;
  right: -2px;
  width: 9px;
  height: 9px;
  background: var(--orange);
  transform: rotate(45deg);
}

.page-home .switch-savings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.page-home .saving-item {
  text-align: center;
  padding: 22px 14px;
  background: var(--ink);
  color: var(--snow);
  border-top: 3px solid var(--sand);
}

.page-home .saving-num {
  display: block;
  font-family: var(--mono);
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  color: var(--snow);
}

.page-home .saving-item:nth-child(2) .saving-num {
  color: var(--sand);
}

.page-home .saving-label {
  display: block;
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--lake);
  line-height: 1.4;
}

.page-home .home-experts {
  background: linear-gradient(135deg, var(--blue) 0%, var(--ink) 78%);
  padding-top: 86px;
  padding-bottom: 96px;
}

.page-home .expert-panel {
  position: relative;
  background: rgba(244, 247, 250, 0.92);
  backdrop-filter: blur(8px);
  padding: 28px 24px 32px;
  box-shadow: 0 24px 60px rgba(13, 27, 42, 0.22);
  border-bottom: 4px solid var(--orange);
}

.page-home .expert-panel-head {
  border-left: 4px solid var(--orange);
  padding-left: 18px;
  margin-bottom: 26px;
}

.page-home .panel-kicker::before {
  width: 0;
}

.page-home .expert-panel-head h2 {
  color: var(--ink);
  margin-bottom: 10px;
}

.page-home .expert-panel-head .panel-tip {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--gray);
  margin: 0;
}

.page-home .expert-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin-bottom: 24px;
  padding-bottom: 8px;
}

.page-home .expert-article {
  flex: 0 0 84%;
  scroll-snap-align: start;
  display: block;
  background: var(--snow);
  border: 1px solid rgba(13, 27, 42, 0.08);
  border-top: 3px solid var(--blue);
  padding: 18px 16px;
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-home .expert-article:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(13, 27, 42, 0.1);
}

.page-home .article-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--orange);
  background: rgba(216, 78, 47, 0.1);
  padding: 4px 8px;
  margin-bottom: 12px;
}

.page-home .article-title {
  display: block;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 10px;
}

.page-home .article-meta {
  display: block;
  font-size: 0.78rem;
  color: var(--gray);
  font-family: var(--mono);
}

.page-home .expert-figure {
  margin: 0 0 22px;
  position: relative;
  overflow: hidden;
}

.page-home .expert-figure img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

.page-home .expert-figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(13, 27, 42, 0.86), transparent);
  color: var(--snow);
  font-size: 0.78rem;
  line-height: 1.5;
  padding: 22px 14px 12px;
}

.page-home .expert-more {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.92rem;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 12px 100%);
}

.page-home .home-history {
  position: relative;
  background: var(--ink);
  color: var(--snow);
  padding-top: 88px;
  padding-bottom: 96px;
  overflow: hidden;
}

.page-home .history-bg {
  position: absolute;
  inset: 0;
  opacity: 0.22;
}

.page-home .history-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .history-bg-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13, 27, 42, 0.92), rgba(27, 78, 140, 0.36), rgba(13, 27, 42, 0.92));
}

.page-home .history-head {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin-bottom: 40px;
}

.page-home .history-head h2 {
  color: var(--snow);
}

.page-home .history-head p {
  color: rgba(244, 247, 250, 0.72);
}

.page-home .history-track {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
}

.page-home .season-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 14px 16px;
  background: rgba(244, 247, 250, 0.06);
  border: 1px solid rgba(168, 200, 232, 0.32);
  border-bottom: 3px solid var(--lake);
  text-decoration: none;
  color: var(--snow);
  scroll-snap-align: start;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-home .season-node:hover,
.page-home .season-node.is-current {
  background: rgba(216, 78, 47, 0.16);
  border-color: var(--orange);
  border-bottom-color: var(--orange);
}

.page-home .node-index {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--lake);
}

.page-home .node-name {
  font-size: 1.02rem;
  font-weight: 800;
}

.page-home .node-note {
  font-size: 0.78rem;
  color: rgba(244, 247, 250, 0.6);
  font-family: var(--mono);
}

.page-home .season-node.is-current .node-name {
  color: var(--orange);
}

.page-home .history-more {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: 28px;
  color: var(--sand);
  font-weight: 800;
  text-decoration: none;
  font-size: 0.9rem;
  font-family: var(--mono);
  border-bottom: 2px solid var(--sand);
  padding-bottom: 4px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-home .history-more:hover {
  color: var(--orange);
  border-color: var(--orange);
}

.page-home .home-favorites {
  background: var(--snow);
  padding-top: 84px;
  padding-bottom: 88px;
}

.page-home .favorites-head {
  max-width: 660px;
  margin-bottom: 36px;
}

.page-home .favorites-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: start;
}

.page-home .favorites-note {
  position: relative;
  background: var(--ink);
  color: var(--snow);
  padding: 16px 16px 2px;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 12%, 100% 100%, 0 100%);
}

.page-home .favorites-note img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.82;
}

.page-home .favorites-note p {
  margin: 14px 0 16px;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--lake);
}

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

.page-home .fav-entry {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(13, 27, 42, 0.1);
  border-left: 4px solid var(--green);
  padding: 18px 16px;
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-home .fav-entry:hover {
  transform: translateX(6px);
  box-shadow: 0 14px 30px rgba(13, 27, 42, 0.08);
}

.page-home .fav-key {
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}

.page-home .fav-info strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}

.page-home .fav-info small {
  display: block;
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.5;
}

.page-home .fav-state {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--green);
  background: rgba(46, 139, 87, 0.1);
  padding: 5px 10px;
  white-space: nowrap;
}

.page-home .favorites-bridge {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, var(--green) 0%, rgba(46, 139, 87, 0.82) 100%);
  color: #fff;
  padding: 22px 24px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 28px) 100%, 0 100%);
}

.page-home .favorites-bridge p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  font-weight: 700;
}

.page-home .favorites-bridge a {
  display: inline-block;
  background: var(--ink);
  color: var(--snow);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 12px 20px;
  text-decoration: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.page-home .favorites-bridge a:hover {
  background: var(--orange);
  color: #fff;
}

@media (min-width: 860px) {
  .page-home .home-hero {
    min-height: 780px;
  }

  .page-home .hero-layout {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    grid-template-areas:
      "copy dir"
      "tape dir";
    column-gap: 64px;
    align-items: end;
    padding-top: 108px;
    padding-bottom: 128px;
  }

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

  .page-home .hero-dir {
    grid-area: dir;
    margin-top: 0;
    align-self: center;
  }

  .page-home .league-tape {
    grid-area: tape;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 18px;
    margin-top: 0;
  }

  .page-home .hero-season-badge {
    top: 80px;
    right: min(6vw, 80px);
    padding: 18px 28px;
  }

  .page-home .season-big {
    font-size: clamp(5rem, 12vw, 9rem);
  }

  .page-home .track-compare {
    grid-template-columns: 1fr 48px 1fr;
    gap: 0;
  }

  .page-home .track-old,
  .page-home .track-new {
    padding: 28px 30px 26px;
  }

  .page-home .track-old {
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%);
    margin-right: 20px;
  }

  .page-home .track-new {
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%);
    margin-left: 20px;
  }

  .page-home .track-cut {
    margin: 0;
  }

  .page-home .switch-savings {
    grid-template-columns: repeat(3, 190px);
    justify-content: start;
    gap: 16px;
  }

  .page-home .expert-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 34px;
    padding: 36px 40px 40px;
  }

  .page-home .expert-panel-head {
    grid-column: 1 / -1;
  }

  .page-home .expert-scroll {
    grid-column: 1;
    grid-row: 2;
    flex-direction: column;
    overflow-x: visible;
    margin-bottom: 20px;
  }

  .page-home .expert-article {
    flex: 0 0 auto;
  }

  .page-home .expert-figure {
    grid-column: 2;
    grid-row: 2 / 4;
    margin-bottom: 20px;
  }

  .page-home .expert-more {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
  }

  .page-home .history-track {
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
  }

  .page-home .season-node {
    padding: 24px 20px;
  }

  .page-home .favorites-row {
    grid-template-columns: 0.8fr 1.5fr;
    gap: 40px;
  }

  .page-home .fav-entry {
    padding: 20px 22px;
  }
}
