.page-home{
  --ph-line: rgba(243,246,236,.10);
  --ph-dy: 0px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-cn);
}

.page-home .section{
  padding-top: clamp(44px, 6vw, 84px);
  padding-bottom: clamp(44px, 6vw, 84px);
}

.page-home .section-title{
  font-size: clamp(26px, 4.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 800;
  margin: 10px 0 12px;
}

.page-home .section-head{
  max-width: 720px;
  margin-bottom: clamp(20px, 3vw, 34px);
}

.page-home .section-lead{
  font-size: 16px;
  line-height: 1.75;
  color: rgba(243,246,236,.76);
  max-width: 58ch;
}

/* ---------- hero ---------- */
.page-home .hero{
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(26px, 4vw, 46px);
  background:
    radial-gradient(90% 70% at 88% 4%, rgba(53,224,198,.13), transparent 62%),
    radial-gradient(60% 50% at 4% 98%, rgba(255,106,43,.11), transparent 70%),
    var(--ink);
}

.page-home .hero::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 64px);
  opacity: .55;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 74%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 74%);
}

.page-home .hero-grid{
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: center;
  padding-top: clamp(22px, 4vw, 46px);
  padding-bottom: clamp(26px, 4vw, 50px);
}

.page-home .hero-title{
  font-size: clamp(34px, 9vw, 64px);
  line-height: 1.05;
  letter-spacing: -.02em;
  font-weight: 800;
  margin: 14px 0 16px;
}

.page-home .hero-title em{
  font-style: normal;
  display: block;
  color: var(--lime);
}

.page-home .hero-lead{
  font-size: 16px;
  line-height: 1.78;
  color: rgba(243,246,236,.78);
  max-width: 34em;
  margin: 0;
}

.page-home .hero-actions{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 26px;
}

.page-home .hero-meta{
  margin: 0;
  font-size: 13px;
  letter-spacing: .04em;
  line-height: 1.6;
  color: var(--muted);
}

.page-home .hero-meta b{
  font-family: var(--font-num);
  letter-spacing: .1em;
  color: var(--lime);
  font-weight: 600;
}

.page-home .hero-visual{
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--r-xl);
  border: 1px solid var(--line-strong);
  background: var(--panel);
  aspect-ratio: 4 / 3;
  min-height: 240px;
}

.page-home .hero-visual img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.72) contrast(1.12) brightness(.68);
}

.page-home .court-lines{
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: .85;
  background-image:
    repeating-linear-gradient(90deg, rgba(53,224,198,.20) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(53,224,198,.14) 0 1px, transparent 1px 64px);
  -webkit-mask-image: radial-gradient(120% 95% at 72% 18%, #000 26%, transparent 78%);
  mask-image: radial-gradient(120% 95% at 72% 18%, #000 26%, transparent 78%);
}

.page-home .court-lines::after{
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  top: 62%;
  border-top: 2px solid rgba(198,255,61,.42);
  transform: rotate(-8deg);
}

.page-home .hero-band{
  position: absolute;
  left: 0;
  bottom: 22px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 24px 10px 18px;
  background: var(--lime);
  color: var(--ink);
  border-radius: 0 var(--pill) var(--pill) 0;
  transform: skewX(-8deg);
}

.page-home .hero-band > *{
  transform: skewX(8deg);
}

.page-home .hero-band__v{
  font-family: var(--font-num);
  font-size: clamp(20px, 3.4vw, 28px);
  font-weight: 700;
  letter-spacing: .1em;
}

.page-home .hero-band__t{
  font-size: 12px;
  letter-spacing: .12em;
  font-weight: 600;
}

.page-home .hero-strip{
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.page-home .hstat{
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  background: var(--panel);
}

.page-home .hstat__num{
  font-family: var(--font-num);
  font-size: 24px;
  letter-spacing: .04em;
  color: var(--lime);
}

.page-home .hstat__label{
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--muted);
}

/* ---------- directory ---------- */
.page-home .dir-banner{
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  margin-bottom: clamp(24px, 4vw, 44px);
}

.page-home .dir-banner img{
  display: block;
  width: 100%;
  height: clamp(140px, 18vw, 260px);
  object-fit: cover;
  filter: saturate(.7) brightness(.72) contrast(1.12);
}

.page-home .dir-banner::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(6,17,15,.88), rgba(6,17,15,.15) 58%, rgba(255,106,43,.26));
}

.page-home .dir-banner__tag{
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  margin: 0;
  padding: 7px 16px;
  border-radius: var(--pill);
  background: rgba(6,17,15,.78);
  border: 1px solid rgba(198,255,61,.45);
  color: var(--lime-soft);
  font-size: 12px;
  letter-spacing: .1em;
}

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

.page-home .dir-card{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--line);
  transform: translateY(var(--dy, 0px));
  transition: transform var(--mid) var(--ease), box-shadow var(--mid) var(--ease), border-color var(--mid) var(--ease);
}

.page-home .dir-card:hover{
  transform: translateY(calc(var(--dy, 0px) - 4px));
  border-color: var(--line-strong);
  box-shadow: 0 20px 44px -24px rgba(0,0,0,.95);
}

.page-home .dir-card--feature{
  background:
    linear-gradient(160deg, rgba(198,255,61,.15), rgba(18,48,40,.92) 44%),
    var(--card);
  border-color: rgba(198,255,61,.38);
}

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

.page-home .dir-num{
  font-family: var(--font-num);
  font-size: 28px;
  line-height: 1;
  letter-spacing: .1em;
  color: var(--court);
}

.page-home .dir-card--feature .dir-num{
  font-size: 42px;
  color: var(--lime);
}

.page-home .dir-card__title{
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.01em;
  margin: 0;
}

.page-home .dir-card--feature .dir-card__title{
  font-size: clamp(24px, 3.4vw, 30px);
}

.page-home .dir-card__desc{
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(243,246,236,.74);
}

.page-home .dir-card__subs{
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page-home .dir-card__subs li{
  font-size: 12px;
  letter-spacing: .04em;
  padding: 4px 10px;
  border-radius: var(--pill);
  background: rgba(53,224,198,.08);
  border: 1px solid var(--line);
  color: rgba(243,246,236,.82);
  transition: background var(--fast) ease-out, color var(--fast) ease-out;
}

.page-home .dir-card:hover .dir-card__subs li{
  background: rgba(198,255,61,.16);
  color: var(--lime-soft);
}

.page-home .dir-card__count{
  margin-top: auto;
  padding-top: 6px;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--muted);
}

/* ---------- audience ---------- */
.page-home .aud-switch{
  position: relative;
}

.page-home .aud-radio{
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.page-home .aud-pills{
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

.page-home .aud-radio:focus-visible ~ .aud-pills{
  outline: 2px solid var(--lime);
  outline-offset: 6px;
  border-radius: var(--r-lg);
}

.page-home .aud-pill{
  flex: 0 0 auto;
  padding: 10px 18px;
  border-radius: var(--pill);
  background: var(--panel);
  border: 1px solid var(--line-strong);
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--fast) ease-out, color var(--fast) ease-out, border-color var(--fast) ease-out;
}

.page-home .aud-pill:hover{
  border-color: var(--lime);
  color: var(--lime);
}

.page-home #aud-1:checked ~ .aud-pills [for="aud-1"],
.page-home #aud-2:checked ~ .aud-pills [for="aud-2"],
.page-home #aud-3:checked ~ .aud-pills [for="aud-3"],
.page-home #aud-4:checked ~ .aud-pills [for="aud-4"],
.page-home #aud-5:checked ~ .aud-pills [for="aud-5"]{
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

.page-home .aud-panels{
  margin-top: 18px;
}

.page-home .aud-panel{
  display: none;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}

.page-home #aud-1:checked ~ .aud-panels .aud-panel--1,
.page-home #aud-2:checked ~ .aud-panels .aud-panel--2,
.page-home #aud-3:checked ~ .aud-panels .aud-panel--3,
.page-home #aud-4:checked ~ .aud-panels .aud-panel--4,
.page-home #aud-5:checked ~ .aud-panels .aud-panel--5{
  display: grid;
}

.page-home .aud-panel__title{
  font-size: clamp(22px, 3.2vw, 30px);
  line-height: 1.2;
  letter-spacing: -.01em;
  font-weight: 800;
  margin: 12px 0 10px;
}

.page-home .aud-panel__text{
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(243,246,236,.76);
  max-width: 46ch;
}

.page-home .aud-list{
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-home .aud-list li{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: var(--r-md);
  background: rgba(11,29,25,.85);
  border-left: 2px solid var(--violet);
  font-size: 13px;
  letter-spacing: .02em;
  color: rgba(243,246,236,.84);
}

.page-home .aud-list li:nth-child(2n){
  border-left-color: var(--court);
}

.page-home .aud-panel__media{
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  aspect-ratio: 3 / 2;
}

.page-home .aud-panel__media img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.8) contrast(1.06) brightness(.86);
}

/* ---------- workbench ---------- */
.page-home .wb{
  background: linear-gradient(180deg, rgba(255,106,43,.07), transparent 46%);
}

.page-home .wb-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: start;
}

.page-home .wb-steps{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
  padding: 0;
}

.page-home .wb-steps li{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--pill);
  background: rgba(255,106,43,.12);
  border: 1px solid rgba(255,174,122,.34);
  color: var(--orange-soft);
  font-size: 13px;
  letter-spacing: .04em;
}

.page-home .wb-steps span{
  font-family: var(--font-num);
  letter-spacing: .1em;
  color: var(--orange);
}

.page-home .wb-board{
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: var(--r-xl);
  background: var(--panel);
  border: 1px solid rgba(255,174,122,.28);
}

.page-home .wb-scroller{
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 2px 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 28px), transparent 100%);
}

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

.page-home .wb-chip{
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 12px;
  border-radius: var(--pill);
  background: var(--card);
  border: 1px solid var(--line-strong);
  color: var(--paper);
  font-size: 13px;
  white-space: nowrap;
  transition: border-color var(--fast) ease-out, color var(--fast) ease-out, background var(--fast) ease-out;
}

.page-home .wb-chip:hover{
  border-color: var(--orange);
  color: var(--orange-soft);
  background: rgba(255,106,43,.1);
}

.page-home .wb-chip i{
  font-style: normal;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--violet);
}

.page-home .wb-bubbles{
  display: grid;
  gap: 10px;
}

.page-home .wb-bubble{
  max-width: 92%;
  margin: 0;
  padding: 12px 16px;
  border-radius: 18px 18px 18px 6px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.65;
  color: rgba(243,246,236,.9);
}

.page-home .wb-bubble--reply{
  margin-left: auto;
  border-radius: 18px 18px 6px 18px;
  background: rgba(255,106,43,.16);
  border-color: rgba(255,174,122,.42);
  color: var(--orange-soft);
}

/* ---------- download ---------- */
.page-home .dl-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.page-home .dl-media{
  max-width: 320px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid var(--line-strong);
  background: var(--panel);
}

.page-home .dl-media img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.page-home .dl-specs{
  list-style: none;
  margin: 20px 0 22px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.page-home .dl-specs li{
  padding: 12px 14px;
  background: var(--panel);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
}

.page-home .dl-specs b{
  display: block;
  margin-bottom: 3px;
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--lime);
}

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

/* ---------- season ---------- */
.page-home .season{
  border-top: 1px solid var(--line);
  padding-bottom: clamp(48px, 7vw, 96px);
}

.page-home .season-head{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
}

.page-home .season-list{
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.page-home .season-item{
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  background: var(--panel);
  text-decoration: none;
  color: inherit;
  transition: background var(--fast) ease-out;
}

.page-home .season-item:hover{
  background: var(--card);
}

.page-home .season-num{
  font-family: var(--font-num);
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--violet);
  padding-top: 3px;
}

.page-home .season-body strong{
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--paper);
}

.page-home .season-body em{
  display: block;
  font-style: normal;
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--muted);
}

.page-home .season-note{
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 70ch;
}

/* ---------- rail ---------- */
.page-home .rail{
  display: none;
}

/* ---------- responsive ---------- */
@media (min-width: 680px){
  .page-home .hero-strip{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .page-home .dir-card--feature{
    grid-row: span 2;
  }
}

@media (min-width: 900px){
  .page-home .hero-grid{
    grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
    gap: clamp(24px, 3vw, 48px);
  }

  .page-home .hero-visual{
    aspect-ratio: 4 / 3.2;
  }

  .page-home .aud-panel{
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 34px;
  }

  .page-home .wb-grid{
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    gap: 42px;
  }

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

  .page-home .dl-media{
    margin-inline: 0;
  }
}

@media (min-width: 1020px){
  .page-home .dir-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .page-home .dir-card:nth-child(3){
    --dy: 18px;
  }

  .page-home .dir-card:nth-child(5){
    --dy: 18px;
  }
}

@media (min-width: 1320px){
  .page-home .rail{
    position: fixed;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .page-home .rail__item{
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: var(--pill);
    border: 1px solid transparent;
    background: rgba(6,17,15,.7);
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .1em;
    text-decoration: none;
    transition: color var(--fast) ease-out, border-color var(--fast) ease-out;
  }

  .page-home .rail__item:hover{
    color: var(--lime);
    border-color: var(--lime);
  }

  .page-home .rail__num{
    font-family: var(--font-num);
    letter-spacing: .1em;
    color: var(--court);
  }
}

@media (prefers-reduced-motion: reduce){
  .page-home .dir-card,
  .page-home .season-item,
  .page-home .aud-pill,
  .page-home .wb-chip,
  .page-home .rail__item{
    transition: none;
  }

  .page-home .dir-card,
  .page-home .dir-card:hover{
    transform: none;
  }
}
