.page-home {
  --home-unit: .62em;
  --home-panel: linear-gradient(155deg, rgba(14, 59, 50, .92), rgba(7, 42, 36, .96));
  --home-glow-soft: radial-gradient(60% 70% at 18% 0%, rgba(242, 204, 123, .22), transparent 72%);
  --home-glow-flare: radial-gradient(55% 60% at 88% 100%, rgba(226, 87, 54, .18), transparent 70%);
  position: relative;
  background: var(--jsa-ink);
  color: var(--jsa-cream);
  overflow-x: hidden;
}

.page-home .hero {
  position: relative;
  isolation: isolate;
  padding: calc(var(--jsa-header-h) + clamp(2.4rem, 8vw, 5.5rem)) 0 clamp(2.8rem, 8vw, 5.5rem);
  border-bottom: 1px solid var(--jsa-line);
  background:
    var(--home-glow-flare),
    radial-gradient(120% 90% at 82% 6%, rgba(216, 168, 78, .20), transparent 62%),
    linear-gradient(158deg, var(--jsa-ink-deep), var(--jsa-ink-grad) 58%, var(--jsa-ink));
}

.page-home .hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.page-home .hero__bg img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: .26;
  filter: saturate(.78) contrast(1.08);
}

.page-home .hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(5, 31, 27, .97) 8%, rgba(5, 31, 27, .66) 52%, rgba(9, 46, 39, .38) 100%),
    repeating-linear-gradient(90deg, rgba(184, 200, 190, .05) 0 1px, transparent 1px 72px);
}

.page-home .hero__inner {
  position: relative;
  display: grid;
  gap: clamp(2rem, 6vw, 3.6rem);
}

.page-home .hero__copy {
  max-width: 40rem;
}

.page-home .hero__title {
  margin: .55rem 0 1.1rem;
  font-family: var(--jsa-font-sans);
  font-weight: 800;
  font-size: clamp(2.05rem, 7.2vw, 4.15rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--jsa-cream);
}

.page-home .hero__lead {
  margin: 0;
  font-size: clamp(1rem, 2.4vw, 1.09rem);
  line-height: 1.78;
  color: var(--jsa-sage);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.6rem;
}

.page-home .hero__foot {
  margin: 1.35rem 0 0;
  padding-left: .9rem;
  border-left: 2px solid var(--jsa-gold);
  font-size: .8125rem;
  line-height: 1.7;
  color: var(--jsa-sage);
  font-family: var(--jsa-font-mono);
  letter-spacing: .01em;
}

.page-home .hero__anno {
  display: none;
}

.page-home .hero__pathlist {
  display: grid;
  gap: .85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .path-card {
  position: relative;
}

.page-home .path-card__link {
  position: relative;
  display: grid;
  gap: .3rem;
  padding: 1.1rem 1.15rem 1.2rem 1.35rem;
  text-decoration: none;
  color: var(--jsa-cream);
  border: 1px solid var(--jsa-line-soft);
  border-left: 2px solid var(--jsa-gold);
  background: linear-gradient(120deg, rgba(14, 59, 50, .88), rgba(7, 42, 36, .74));
  overflow: hidden;
  transition: border-color .3s ease, transform .3s ease, background-color .3s ease;
}

.page-home .path-card__link::after {
  content: "";
  position: absolute;
  inset: -40% -15%;
  background: radial-gradient(46% 58% at 16% 8%, rgba(242, 204, 123, .32), transparent 72%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.page-home .path-card__link:hover,
.page-home .path-card__link:focus-visible {
  border-color: var(--jsa-gold);
  transform: translateY(-2px);
}

.page-home .path-card__link:hover::after,
.page-home .path-card__link:focus-visible::after {
  opacity: 1;
}

.page-home .path-card__no {
  font-family: var(--jsa-font-mono);
  font-size: .75rem;
  letter-spacing: .18em;
  color: var(--jsa-gold);
}

.page-home .path-card__title {
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: .01em;
}

.page-home .path-card__desc {
  font-size: .875rem;
  line-height: 1.65;
  color: var(--jsa-sage);
}

.page-home .path-card--b {
  border-left-color: var(--jsa-gold-soft);
}

.page-home .path-card--c {
  border-left-color: var(--jsa-flare);
}

.page-home .path-card--d {
  border-left-color: var(--jsa-indigo);
}

.page-home .home-rail {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.5rem;
  padding-top: 1.05rem;
  padding-bottom: 1.05rem;
  border-bottom: 1px solid var(--jsa-line-soft);
}

.page-home .home-rail__link {
  position: relative;
  padding: .3rem 0;
  font-size: .875rem;
  letter-spacing: .04em;
  color: var(--jsa-sage);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .25s ease, border-color .25s ease;
}

.page-home .home-rail__link:hover,
.page-home .home-rail__link:focus-visible,
.page-home .home-rail__link.is-active {
  color: var(--jsa-gold);
  border-bottom-color: var(--jsa-gold);
}

.page-home .home-schedule {
  background:
    radial-gradient(70% 60% at 90% 0%, rgba(21, 82, 70, .55), transparent 68%),
    var(--jsa-ink);
}

.page-home .home-schedule__head {
  max-width: 46rem;
  margin-bottom: clamp(1.6rem, 4vw, 2.6rem);
}

.page-home .home-schedule__title {
  margin: .5rem 0 .9rem;
  font-size: clamp(1.6rem, 4.6vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -.01em;
}

.page-home .home-schedule__lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--jsa-sage);
}

.page-home .home-schedule__body {
  display: grid;
  gap: clamp(1.4rem, 4vw, 2.4rem);
}

.page-home .home-schedule__figure {
  margin: 0;
  align-self: start;
  border: 1px solid var(--jsa-line-soft);
  background: var(--jsa-ink-grad);
}

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

.page-home .home-schedule__caption {
  padding: .7rem .95rem;
  font-size: .8125rem;
  line-height: 1.6;
  color: var(--jsa-sage);
  border-top: 1px solid var(--jsa-line-soft);
}

.page-home .home-schedule__panel {
  min-width: 0;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--jsa-line-soft);
  background: var(--home-panel);
  box-shadow: var(--jsa-shadow);
}

.page-home .home-schedule__chips {
  margin-bottom: 1rem;
}

.page-home .home-schedule__table {
  min-width: 30rem;
}

.page-home .home-schedule__table-cap {
  padding-bottom: .55rem;
  font-size: .75rem;
  letter-spacing: .12em;
  text-align: left;
  color: var(--jsa-sage);
}

.page-home .home-schedule__hint {
  margin: 1rem 0 0;
  font-size: .8125rem;
  line-height: 1.7;
  color: var(--jsa-sage);
}

.page-home .home-follow {
  border-top: 1px solid var(--jsa-line-soft);
  border-bottom: 1px solid var(--jsa-line-soft);
}

.page-home .home-follow__grid {
  display: grid;
  gap: clamp(1.8rem, 5vw, 3rem);
}

.page-home .home-follow__intro h2 {
  margin: .5rem 0 .9rem;
  font-size: clamp(1.55rem, 4.4vw, 2.4rem);
  line-height: 1.22;
}

.page-home .home-follow__lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--jsa-sage);
}

.page-home .home-follow__more {
  display: inline-block;
  margin-top: 1.1rem;
  font-size: .9rem;
}

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

.page-home .home-follow__text {
  margin: .35rem 0 0;
  font-size: .9rem;
  line-height: 1.72;
  color: var(--jsa-sage);
}

.page-home .home-follow__map {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
  border: 1px solid var(--jsa-line-soft);
  background:
    radial-gradient(70% 60% at 50% 20%, rgba(216, 168, 78, .14), transparent 70%),
    linear-gradient(160deg, rgba(42, 24, 61, .55), rgba(7, 42, 36, .82));
}

.page-home .home-follow__svg {
  width: 100%;
  max-width: 26rem;
  height: auto;
}

.page-home .home-follow__nodes circle {
  fill: var(--jsa-gold);
  stroke: var(--jsa-ink-deep);
  stroke-width: 2;
}

.page-home .home-follow__labels text {
  fill: var(--jsa-cream);
  font-family: var(--jsa-font-sans);
  font-size: 13px;
  letter-spacing: .04em;
}

.page-home .home-mobile__grid {
  display: grid;
  gap: clamp(1.6rem, 5vw, 3rem);
}

.page-home .home-mobile__figure {
  margin: 0;
  border: 1px solid var(--jsa-line-soft);
  background: var(--jsa-ink-grad);
}

.page-home .home-mobile__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.page-home .home-mobile__cap {
  padding: .7rem .95rem;
  font-size: .8125rem;
  line-height: 1.6;
  color: var(--jsa-sage);
  border-top: 1px solid var(--jsa-line-soft);
}

.page-home .home-mobile__copy h2 {
  margin: .5rem 0 .9rem;
  font-size: clamp(1.55rem, 4.6vw, 2.45rem);
  line-height: 1.22;
}

.page-home .home-mobile__lead {
  margin: 0 0 1.3rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--jsa-sage);
}

.page-home .home-mobile__list {
  display: grid;
  gap: .1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-mobile__list li {
  display: grid;
  gap: .25rem;
  padding: .95rem 0;
  border-top: 1px solid var(--jsa-line-soft);
}

.page-home .home-mobile__list li:last-child {
  border-bottom: 1px solid var(--jsa-line-soft);
}

.page-home .home-mobile__list strong {
  font-size: .98rem;
  font-weight: 700;
  color: var(--jsa-gold-soft);
}

.page-home .home-mobile__list span {
  font-size: .9rem;
  line-height: 1.72;
  color: var(--jsa-sage);
}

.page-home .home-mobile__export {
  margin-top: 1.5rem;
  padding: 1.15rem 1.25rem 1.35rem;
  border-left: 2px solid var(--jsa-flare);
  background: linear-gradient(120deg, rgba(58, 15, 27, .55), rgba(7, 42, 36, .7));
}

.page-home .home-mobile__export-title {
  margin: 0 0 .5rem;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: .01em;
}

.page-home .home-mobile__export p {
  margin: 0 0 1rem;
  font-size: .9rem;
  line-height: 1.75;
  color: var(--jsa-sage);
}

.page-home .home-data {
  border-top: 1px solid var(--jsa-line);
}

.page-home .home-data__grid {
  display: grid;
  gap: clamp(1.6rem, 5vw, 3rem);
}

.page-home .home-data__title {
  margin: .5rem 0 .9rem;
  font-size: clamp(1.55rem, 4.4vw, 2.4rem);
  line-height: 1.22;
  color: var(--jsa-cream);
}

.page-home .home-data__lead {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--jsa-sage);
}

.page-home .home-data__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 1.5rem;
  padding: 0;
  background: var(--jsa-line-soft);
  border: 1px solid var(--jsa-line-soft);
}

.page-home .home-data__stats .jsa-stat {
  display: flex;
  flex-direction: column-reverse;
  gap: .3rem;
  padding: .95rem .9rem 1rem;
  background: rgba(7, 42, 36, .92);
}

.page-home .home-data__stats .jsa-stat__num {
  font-family: var(--jsa-font-mono);
  font-size: clamp(1.4rem, 4.4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--jsa-gold);
}

.page-home .home-data__unit {
  margin-left: .12em;
  font-size: var(--home-unit);
  font-weight: 500;
  color: var(--jsa-gold-soft);
}

.page-home .home-data__stats .jsa-stat__label {
  font-size: .78rem;
  line-height: 1.5;
  color: var(--jsa-sage);
}

.page-home .home-data__note {
  margin: 0 0 1.1rem;
  font-size: .875rem;
  line-height: 1.78;
  color: var(--jsa-sage);
}

.page-home .home-data__link {
  font-size: .9rem;
}

.page-home .home-data__figure {
  position: relative;
  margin: 0;
  border: 1px solid var(--jsa-line);
  background:
    radial-gradient(60% 60% at 60% 30%, rgba(42, 24, 61, .55), transparent 70%),
    var(--jsa-ink-deep);
}

.page-home .home-data__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.page-home .home-data__cap {
  padding: .75rem .95rem;
  font-size: .8125rem;
  line-height: 1.6;
  color: var(--jsa-sage);
  border-top: 1px solid var(--jsa-line-soft);
}

.page-home .home-next {
  background:
    radial-gradient(70% 80% at 12% 0%, rgba(58, 15, 27, .85), transparent 72%),
    linear-gradient(160deg, var(--jsa-indigo), var(--jsa-ink-deep));
}

.page-home .home-next__head {
  max-width: 40rem;
  margin-bottom: 1.5rem;
}

.page-home .home-next__title {
  margin: .5rem 0 0;
  font-size: clamp(1.5rem, 4.2vw, 2.2rem);
  line-height: 1.24;
  color: var(--jsa-cream);
}

.page-home .home-next__list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--jsa-line-soft);
  border: 1px solid var(--jsa-line-soft);
}

.page-home .home-next__link {
  display: grid;
  gap: .3rem;
  padding: 1.05rem 1.15rem 1.15rem;
  text-decoration: none;
  color: var(--jsa-cream);
  background: rgba(7, 42, 36, .78);
  transition: background-color .28s ease, color .28s ease;
}

.page-home .home-next__link:hover,
.page-home .home-next__link:focus-visible {
  background: rgba(21, 82, 70, .82);
}

.page-home .home-next__label {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--jsa-gold);
}

.page-home .home-next__desc {
  font-size: .875rem;
  line-height: 1.65;
  color: var(--jsa-sage);
}

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

  .page-home .path-card:nth-child(2) {
    margin-top: 2.2rem;
  }

  .page-home .path-card:nth-child(3) {
    margin-top: -1.1rem;
  }

  .page-home .path-card:nth-child(4) {
    margin-top: 1.1rem;
  }

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

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

@media (min-width: 960px) {
  .page-home .hero {
    padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
  }

  .page-home .hero__inner {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    align-items: center;
  }

  .page-home .hero__anno {
    display: block;
    position: absolute;
    right: clamp(.6rem, 2vw, 1.6rem);
    top: 46%;
    transform: translateY(-50%);
    font-size: .72rem;
    letter-spacing: .32em;
    color: rgba(184, 200, 190, .5);
    pointer-events: none;
  }

  .page-home .home-schedule__body {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.18fr);
    align-items: start;
  }

  .page-home .home-schedule__figure {
    margin-top: 2.4rem;
  }

  .page-home .home-follow__grid {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    grid-template-rows: auto 1fr;
    column-gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
  }

  .page-home .home-follow__intro {
    grid-column: 1;
    grid-row: 1;
  }

  .page-home .home-follow__timeline {
    grid-column: 1;
    grid-row: 2;
  }

  .page-home .home-follow__map {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .page-home .home-mobile__grid {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: center;
  }

  .page-home .home-mobile__figure {
    margin-top: 1.6rem;
  }

  .page-home .home-data__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: center;
  }

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

@media (min-width: 1200px) {
  .page-home .hero__pathlist {
    gap: 1rem;
  }

  .page-home .path-card__link {
    padding: 1.3rem 1.35rem 1.4rem 1.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .path-card__link,
  .page-home .path-card__link::after,
  .page-home .home-rail__link,
  .page-home .home-next__link {
    transition: none;
  }

  .page-home .path-card__link:hover,
  .page-home .path-card__link:focus-visible {
    transform: none;
  }
}
