.page-home {
  --hm-gold-grad: linear-gradient(150deg, #FFD98A, #F2B84B 48%, #6B4A18);
  display: block;
}

/* ---------- Hero ---------- */
.page-home .hm-hero {
  position: relative;
  padding-block: clamp(76px, 11vw, 132px) clamp(44px, 7vw, 88px);
  overflow: hidden;
}

.page-home .hm-hero::before {
  content: "";
  position: absolute;
  inset: -25% -10% auto -30%;
  height: 78%;
  background: radial-gradient(52% 62% at 32% 34%, rgba(242, 184, 75, 0.16), transparent 72%);
  pointer-events: none;
}

.page-home .hm-hero__inner {
  position: relative;
  display: grid;
  gap: clamp(34px, 5vw, 56px);
  align-items: center;
}

.page-home .hm-hero h1 {
  margin: 16px 0 0;
  font-size: clamp(2.1rem, 6.2vw, 4.2rem);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--fog);
}

.page-home .hm-hero h1 em {
  font-style: normal;
  background: var(--hm-gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .hm-hero__lede {
  margin: 20px 0 0;
  max-width: 34em;
  font-size: clamp(0.95rem, 2.4vw, 1.06rem);
  line-height: 1.85;
  color: var(--graphite);
}

.page-home .hm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 4vw, 36px);
}

.page-home .hm-hero__stage {
  position: relative;
  min-height: clamp(320px, 56vw, 460px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden;
  box-shadow: var(--shadow-float);
}

.page-home .hm-hero__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(190deg, rgba(7, 8, 12, 0.15) 0%, rgba(7, 8, 12, 0.55) 55%, rgba(7, 8, 12, 0.92) 100%);
  pointer-events: none;
}

.page-home .hm-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  opacity: 0.66;
}

.page-home .hm-hero__badge {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(7, 8, 12, 0.78);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #FFD98A;
}

.page-home .hm-hero__badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5CE1C2;
  box-shadow: 0 0 10px rgba(92, 225, 194, 0.8);
}

.page-home .hm-cal {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  width: min(250px, 78%);
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(7, 8, 12, 0.74);
  backdrop-filter: blur(10px);
}

.page-home .hm-cal i {
  display: block;
  height: 24px;
  border-radius: 6px;
  background: rgba(244, 246, 250, 0.09);
}

.page-home .hm-cal i:nth-child(6) {
  background: var(--gold);
}

.page-home .hm-cal i:nth-child(11) {
  background: var(--neon);
  opacity: 0.85;
}

@media (min-width: 960px) {
  .page-home .hm-hero__inner {
    grid-template-columns: 58fr 42fr;
  }
}

/* ---------- Chapter shell ---------- */
.page-home .hm-chapter {
  position: relative;
  padding-block: clamp(56px, 8vw, 110px);
}

.page-home .hm-chapter--ink2 {
  background: var(--ink-2);
}

.page-home .hm-chapter--paper {
  background: var(--paper);
  color: var(--ink);
}

.page-home .hm-chapter__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 18px;
  align-items: start;
  margin-bottom: clamp(20px, 3vw, 30px);
}

.page-home .hm-chapter__num {
  grid-row: span 2;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  background: var(--hm-gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.page-home .hm-chapter__title {
  margin: 6px 0 0;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-home .hm-chapter__intro {
  max-width: 68ch;
  margin: 0 0 clamp(24px, 3.5vw, 36px);
  font-size: 0.97rem;
  line-height: 1.85;
  color: var(--graphite);
}

.page-home .hm-chapter--paper .hm-chapter__intro {
  color: #4A4F5E;
}

.page-home .hm-chapter--paper .hm-chapter__num {
  background: none;
  -webkit-text-stroke: 0;
  color: #6B4A18;
}

.page-home .hm-chapter--paper .eyebrow {
  color: #6B4A18;
}

.page-home .hm-chapter__foot {
  margin-top: clamp(22px, 3vw, 32px);
}

/* ---------- Filters ---------- */
.page-home .hm-filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(20px, 3vw, 28px);
}

/* ---------- League cards ---------- */
.page-home .hm-leagues {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-home .hm-league {
  position: relative;
  padding: 22px 20px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
  transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}

.page-home .hm-league::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(242, 184, 75, 0.9), transparent 78%);
  opacity: 0.55;
}

.page-home .hm-league:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 217, 138, 0.55);
  box-shadow: var(--shadow-float);
}

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

.page-home .hm-league__name {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--fog);
}

.page-home .hm-league__scope {
  margin: 12px 0 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--graphite);
}

.page-home .hm-league__note {
  margin: 14px 0 0;
  font-size: 0.86rem;
  color: rgba(244, 246, 250, 0.55);
}

.page-home [data-filter-item][hidden] {
  display: none !important;
}

.page-home .hm-empty {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--line);
  font-size: 0.92rem;
  color: var(--graphite);
}

.page-home .hm-empty[hidden] {
  display: none;
}

@media (min-width: 700px) {
  .page-home .hm-leagues {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* ---------- Quota ---------- */
.page-home .hm-quota {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: clamp(22px, 4vw, 44px);
  background: rgba(7, 8, 12, 0.55);
}

.page-home .hm-quota__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  opacity: 0.24;
}

.page-home .hm-quota__body {
  position: relative;
}

.page-home .hm-quota__lead {
  max-width: 62ch;
  margin: 0 0 clamp(20px, 3vw, 30px);
  font-size: 0.97rem;
  line-height: 1.85;
  color: rgba(244, 246, 250, 0.78);
}

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

.page-home .hm-tier {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 16px;
  align-items: center;
  padding-block: 14px;
  border-bottom: 1px dashed rgba(242, 184, 75, 0.2);
}

.page-home .hm-tier__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fog);
}

.page-home .hm-tier__val {
  font-size: 1rem;
  color: var(--gold-light);
}

.page-home .hm-tier__track {
  grid-column: 1 / -1;
  display: block;
  height: 7px;
  border-radius: 99px;
  background: rgba(244, 246, 250, 0.1);
  overflow: hidden;
}

.page-home .hm-tier__fill {
  display: block;
  width: var(--w, 0%);
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #6B4A18, #F2B84B 70%, #FFD98A);
}

.page-home .hm-quota__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(20px, 3vw, 28px);
}

.page-home .hm-quota__foot p {
  flex: 1 1 300px;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--graphite);
}

/* ---------- Media frames ---------- */
.page-home .hm-shot {
  margin: 0 0 clamp(22px, 3.5vw, 34px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--ink-3);
}

.page-home .hm-shot img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.page-home .hm-shot--wide img {
  aspect-ratio: 7 / 4;
}

.page-home .hm-shot--square img {
  aspect-ratio: 4 / 3;
}

/* ---------- Timeline ---------- */
.page-home .hm-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(230px, 1fr));
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

.page-home .hm-step {
  position: relative;
  scroll-snap-align: start;
  padding: 22px 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
  border-top: 2px solid rgba(107, 74, 24, 0.9);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out),
    background 0.35s var(--ease-out);
}

.page-home .hm-step:hover {
  transform: translateY(-4px);
  border-top-color: var(--gold);
  background: rgba(242, 184, 75, 0.07);
}

.page-home .hm-step__time {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--neon);
}

.page-home .hm-step__title {
  margin: 10px 0 0;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--fog);
}

.page-home .hm-step__text {
  margin: 10px 0 0;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--graphite);
}

/* ---------- Split / devices ---------- */
.page-home .hm-split {
  display: grid;
  gap: clamp(20px, 3.5vw, 34px);
  align-items: start;
}

.page-home .hm-split .hm-shot {
  margin-bottom: 0;
  border-color: rgba(7, 8, 12, 0.14);
  background: rgba(7, 8, 12, 0.08);
}

.page-home .hm-devices {
  display: grid;
  gap: 12px;
}

.page-home .hm-device {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(7, 8, 12, 0.14);
  background: rgba(255, 255, 255, 0.55);
}

.page-home .hm-device h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
}

.page-home .hm-device p {
  margin: 8px 0 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: #4A4F5E;
}

.page-home .hm-langs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: clamp(24px, 3.5vw, 36px);
  padding-top: clamp(18px, 3vw, 26px);
  border-top: 1px solid rgba(7, 8, 12, 0.14);
}

.page-home .hm-langs__label {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: #6B4A18;
}

.page-home .hm-langs__item {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(107, 74, 24, 0.35);
  font-size: 0.85rem;
  color: var(--ink);
}

.page-home .hm-langs__note {
  flex: 1 1 260px;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.7;
  color: #4A4F5E;
}

@media (min-width: 900px) {
  .page-home .hm-split {
    grid-template-columns: 5fr 7fr;
  }
}

/* ---------- Trust ---------- */
.page-home .hm-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: clamp(24px, 3.5vw, 34px);
}

.page-home .hm-stat {
  padding: 20px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(7, 8, 12, 0.42);
}

.page-home .hm-stat__num {
  display: block;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  line-height: 1.1;
}

.page-home .hm-stat__label {
  display: block;
  margin-top: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--graphite);
}

.page-home .hm-trust {
  display: grid;
  gap: clamp(18px, 3vw, 30px);
  padding: clamp(22px, 4vw, 38px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(155deg, rgba(242, 184, 75, 0.11), rgba(242, 184, 75, 0.02));
}

.page-home .hm-trust__text h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  font-weight: 800;
  color: var(--fog);
}

.page-home .hm-trust__text p {
  margin: 12px 0 0;
  max-width: 60ch;
  font-size: 0.93rem;
  line-height: 1.8;
  color: rgba(244, 246, 250, 0.76);
}

.page-home .hm-trust__addr {
  font-family: var(--font-mono);
  font-size: 0.85rem !important;
  color: var(--graphite) !important;
}

.page-home .hm-trust__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
}

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

  .page-home .hm-trust {
    grid-template-columns: 7fr 5fr;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-league,
  .page-home .hm-step {
    transition: none;
  }

  .page-home .hm-league:hover,
  .page-home .hm-step:hover {
    transform: none;
  }
}
<<<END>>>

.page-home {
  --w: 1rem;
}
