.page-home {
  --home-line: rgba(14, 27, 42, 0.14);
  --home-line-ink: rgba(245, 239, 227, 0.16);
  background: var(--ink);
  color: var(--paper);
  overflow-x: hidden;
}

.page-home .hero {
  position: relative;
  isolation: isolate;
  padding: clamp(2rem, 7vw, 4.25rem) 0 clamp(2.25rem, 6vw, 3.5rem);
}

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

.page-home .hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-home .hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 70% at 14% 8%, rgba(200, 52, 43, 0.3), transparent 62%),
    linear-gradient(180deg, rgba(14, 27, 42, 0.55) 0%, rgba(14, 27, 42, 0.92) 68%, var(--ink) 100%);
}

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

.page-home .hero__context {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.15rem;
  padding: 0.4rem 0.9rem 0.4rem 0.7rem;
  border: 1px solid var(--home-line-ink);
  border-radius: var(--radius-pill);
  background: rgba(14, 27, 42, 0.42);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  color: var(--gold-soft);
}

.page-home .hero__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(111, 168, 155, 0.2);
}

.page-home .hero h1 {
  margin: 0 0 1.05rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.25rem, 6.6vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--paper);
}

.page-home .hero h1 .accent {
  color: var(--gold);
}

.page-home .hero__lead {
  max-width: 34em;
  margin: 0;
  font-size: clamp(0.98rem, 1.7vw, 1.1rem);
  line-height: 1.78;
  color: rgba(245, 239, 227, 0.82);
}

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

.page-home .hero__actions .button {
  flex: 1 1 190px;
  text-align: center;
}

.page-home .issue {
  position: relative;
  overflow: hidden;
  padding: clamp(1.2rem, 3.5vw, 1.9rem);
  border: 1px solid var(--home-line-ink);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(200, 52, 43, 0.26), rgba(14, 27, 42, 0.72) 54%, rgba(212, 162, 76, 0.18));
  box-shadow: var(--shadow);
}

.page-home .issue::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--teal));
}

.page-home .issue__label {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--gold-soft);
}

.page-home .issue__number {
  display: flex;
  align-items: baseline;
  gap: 0.06em;
  margin: 0.35rem 0 1.1rem;
  font-size: clamp(2.5rem, 11vw, 4.4rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--paper);
}

.page-home .issue__dash {
  font-size: 0.66em;
  color: var(--gold);
}

.page-home .issue__tail {
  color: var(--gold);
}

.page-home .issue__rows {
  display: grid;
  gap: 0.5rem;
  margin: 0 0 1.15rem;
}

.page-home .issue__rows > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px dashed var(--home-line-ink);
  font-size: 0.84rem;
}

.page-home .issue__rows dt {
  color: rgba(245, 239, 227, 0.62);
}

.page-home .issue__rows dd {
  margin: 0;
  color: var(--paper);
}

.page-home .issue__copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--home-line-ink);
  border-radius: var(--radius-pill);
  background: rgba(245, 239, 227, 0.06);
  color: var(--paper);
  font: inherit;
  font-size: 0.84rem;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.page-home .issue__copy:hover {
  border-color: var(--gold);
  background: rgba(212, 162, 76, 0.16);
}

.page-home .issue__copy:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.page-home .issue__copy[data-copied] {
  border-color: var(--teal);
  color: var(--teal);
}

.page-home .hero__stats {
  display: grid;
  gap: 0.9rem 1.4rem;
  margin: clamp(1.9rem, 4vw, 2.75rem) 0 0;
  padding: clamp(1.1rem, 3vw, 1.5rem) 0 0;
  border-top: 1px solid var(--home-line-ink);
  list-style: none;
}

.page-home .hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.page-home .hero__stats .num {
  font-family: var(--font-mono);
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  font-weight: 600;
  color: var(--gold-soft);
  line-height: 1.1;
}

.page-home .hero__stats .cap {
  font-size: 0.79rem;
  color: rgba(245, 239, 227, 0.66);
}

.page-home .section {
  padding: clamp(2.6rem, 7vw, 4.75rem) 0;
  background: var(--paper);
  color: var(--ink);
}

.page-home .section--alt {
  background: var(--paper-2);
}

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

.page-home .eyebrow {
  margin: 0;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--red);
}

.page-home .section__title {
  margin: 0.55rem 0 0.8rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.page-home .section__lead {
  margin: 0;
  font-size: clamp(0.94rem, 1.6vw, 1.04rem);
  line-height: 1.78;
  color: var(--graphite);
}

.page-home .latest {
  display: grid;
  gap: 1.1rem;
}

.page-home .latest__card {
  padding: clamp(1.05rem, 3vw, 1.6rem);
  border: 1px solid var(--home-line);
  border-radius: var(--radius-lg);
  background: var(--paper-2);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}

.page-home .latest__card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.page-home .latest__card--chart {
  background: var(--ink);
  border-color: rgba(212, 162, 76, 0.32);
  color: var(--paper);
}

.page-home .latest__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.page-home .latest__head h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.page-home .latest__card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.page-home .latest__card--table img {
  margin-bottom: 1rem;
}

.page-home .latest__note {
  margin: 0.9rem 0 0;
  font-size: 0.87rem;
  line-height: 1.72;
  color: rgba(245, 239, 227, 0.72);
}

.page-home .latest__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(212, 162, 76, 0.45);
  color: var(--gold);
  font-size: 0.87rem;
  text-decoration: none;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .latest__link:hover {
  color: var(--gold-soft);
  border-color: var(--gold-soft);
}

.page-home .latest__link:focus-visible {
  outline: none;
  border-radius: 4px;
  box-shadow: var(--focus);
}

.page-home .latest__card--table .latest__link {
  color: var(--red-dark);
  border-color: rgba(200, 52, 43, 0.4);
}

.page-home .latest__card--table .latest__link:hover {
  color: var(--red);
  border-color: var(--red);
}

.page-home .compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.87rem;
}

.page-home .compare th {
  padding: 0.55rem 0.5rem;
  border-bottom: 2px solid var(--home-line);
  text-align: left;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--graphite);
}

.page-home .compare td {
  padding: 0.72rem 0.5rem;
  border-bottom: 1px solid var(--home-line);
  color: var(--graphite);
}

.page-home .compare tbody tr {
  transition: background 0.18s var(--ease);
}

.page-home .compare tbody tr:hover {
  background: rgba(212, 162, 76, 0.16);
}

.page-home .compare td:first-child {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--red-dark);
}

.page-home .compare td:nth-child(3) {
  font-family: var(--font-mono);
}

.page-home .paths {
  display: grid;
  gap: 1rem;
}

.page-home .path {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.55rem 1.3rem 1.35rem;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}

.page-home .path::before {
  content: "";
  position: absolute;
  left: 1.3rem;
  top: 0;
  width: 46px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--red);
}

.page-home .path:nth-child(2)::before {
  background: var(--gold);
}

.page-home .path:nth-child(3)::before {
  background: var(--teal);
}

.page-home .path:hover,
.page-home .path:focus-visible {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.page-home .path:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.page-home .path__index {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--graphite);
  opacity: 0.6;
}

.page-home .path h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 800;
}

.page-home .path p {
  margin: 0;
  font-size: 0.89rem;
  line-height: 1.72;
  color: var(--graphite);
}

.page-home .path__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.85rem;
}

.page-home .paths__note {
  margin: 1.5rem 0 0;
  font-size: 0.89rem;
  line-height: 1.8;
  color: var(--graphite);
}

.page-home .paths__note a {
  color: var(--red-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-home .paths__note a:hover {
  color: var(--red);
}

.page-home .subscribe {
  padding: clamp(2.6rem, 7vw, 4.75rem) 0;
  background: var(--ink);
  color: var(--paper);
}

.page-home .subscribe__panel {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  padding: clamp(1.35rem, 4vw, 2.7rem);
  border: 1px solid var(--home-line-ink);
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, rgba(200, 52, 43, 0.24), rgba(14, 27, 42, 0.9) 56%, rgba(111, 168, 155, 0.16));
}

.page-home .subscribe .eyebrow {
  color: var(--gold-soft);
}

.page-home .subscribe__lead {
  margin: 0;
  font-size: clamp(0.94rem, 1.6vw, 1.04rem);
  line-height: 1.78;
  color: rgba(245, 239, 227, 0.8);
}

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

.page-home .subscribe__actions .button {
  flex: 1 1 180px;
  text-align: center;
}

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

.page-home .slot {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--home-line-ink);
  border-radius: var(--radius-md);
  background: rgba(245, 239, 227, 0.05);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.page-home .slot:hover {
  border-color: var(--gold);
  background: rgba(212, 162, 76, 0.12);
}

.page-home .slot__time {
  flex: 0 0 auto;
  min-width: 3.1rem;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  color: var(--gold-soft);
  text-align: center;
}

.page-home .slot__label {
  font-size: 0.83rem;
  line-height: 1.6;
  color: rgba(245, 239, 227, 0.76);
}

.page-home .subscribe__meta {
  margin: 1.1rem 0 0;
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(245, 239, 227, 0.62);
}

.page-home .subscribe__meta .mono {
  color: var(--teal);
  font-size: 1rem;
}

.page-home .archive {
  position: relative;
  overflow: hidden;
  padding: clamp(2.6rem, 7vw, 4.75rem) 0;
  background: var(--paper-2);
  color: var(--ink);
}

.page-home .archive__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .archive__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}

.page-home .archive > .container {
  position: relative;
  z-index: 1;
}

.page-home .archive__ruler {
  height: 14px;
  margin: 0 0 1.6rem;
  border-bottom: 1px solid rgba(14, 27, 42, 0.2);
  background-image: repeating-linear-gradient(90deg, rgba(212, 162, 76, 0.9) 0 1px, transparent 1px 34px);
  background-size: 100% 10px;
  background-position: left bottom;
  background-repeat: no-repeat;
}

.page-home .timeline {
  position: relative;
  display: grid;
  gap: 1.35rem;
  margin: 0;
  padding: 0 0 0 1.6rem;
  list-style: none;
}

.page-home .timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.55rem;
  bottom: 0.55rem;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--red), var(--gold) 48%, var(--teal));
}

.page-home .tl {
  position: relative;
}

.page-home .tl::before {
  content: "";
  position: absolute;
  left: -1.6rem;
  top: 0.4rem;
  width: 12px;
  height: 12px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: var(--paper-2);
  box-shadow: 0 0 0 3px rgba(212, 162, 76, 0.18);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.page-home .tl:hover::before {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(200, 52, 43, 0.16);
}

.page-home .tl__meta {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  color: var(--red-dark);
}

.page-home .tl h3 {
  margin: 0.32rem 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.page-home .tl p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.72;
  color: var(--graphite);
}

.page-home .archive__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
  margin-top: 1.85rem;
}

.page-home .archive__links .button {
  flex: 0 1 auto;
}

.page-home .text-link {
  color: var(--red-dark);
  font-size: 0.89rem;
  font-weight: 600;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(200, 52, 43, 0.42);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .text-link:hover {
  color: var(--red);
  border-color: var(--red);
}

.page-home .text-link:focus-visible {
  outline: none;
  border-radius: 4px;
  box-shadow: var(--focus);
}

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

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

@media (min-width: 900px) {
  .page-home .hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: end;
    gap: clamp(2rem, 4vw, 3.2rem);
  }

  .page-home .latest {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: start;
    gap: 1.5rem;
  }

  .page-home .latest__card--table {
    margin-top: 2.75rem;
  }

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

  .page-home .subscribe__panel {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
  }

  .page-home .timeline {
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 1.1rem;
    padding: 2.1rem 0 0;
  }

  .page-home .timeline::before {
    left: 0;
    right: 0;
    top: 6px;
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, rgba(200, 52, 43, 0), var(--red) 6%, var(--gold) 50%, var(--teal) 94%, rgba(111, 168, 155, 0));
  }

  .page-home .tl::before {
    left: 0;
    top: -2.1rem;
  }
}

@media (min-width: 1180px) {
  .page-home .hero {
    padding-top: 4.75rem;
  }
}
