.page-home {
  --home-red: #E63946;
  --home-darkblue: #1D3557;
  --home-gold: #FFB703;
  --home-green: #2A9D8F;
  --home-yellowcard: #F4D03F;
  --home-cream: #F5F0E6;
  --home-cream-deep: #E8DFCE;
  --home-ink: #1D1B1A;
  --home-muted: #4B4440;
  background: var(--home-cream);
  color: var(--home-ink);
  overflow-x: hidden;
}
.page-home img {
  max-width: 100%;
  height: auto;
  display: block;
}
.page-home figure {
  margin: 0;
}
.page-home summary {
  list-style: none;
}
.page-home summary::-webkit-details-marker {
  display: none;
}
.page-home a {
  color: inherit;
}
.page-home summary:focus-visible,
.page-home a:focus-visible {
  outline: 2px solid var(--home-red);
  outline-offset: 2px;
}

.page-home .breadcrumb {
  padding-top: calc(var(--header-h) + 1rem);
  padding-bottom: 0.75rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--ink-muted);
  letter-spacing: 0.08em;
}

.page-home .pulse-strip {
  border-bottom: 1px solid rgba(29, 27, 26, 0.12);
  background: #FAF6ED;
}
.page-home .pulse-strip-box {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.page-home .pulse-strip-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  line-height: 1.4;
}
.page-home .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--home-red);
  animation: pageHomePulse 2s ease-in-out infinite;
}
.page-home .pulse-label {
  font-weight: 700;
  color: var(--home-red);
  letter-spacing: 0.08em;
}
.page-home .pulse-update {
  color: var(--home-ink);
  font-family: var(--font-body);
  font-size: var(--text-sm);
}
.page-home .pulse-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.page-home .pulse-yellow {
  background: var(--home-yellowcard);
  color: var(--home-ink);
  padding: 0.1rem 0.4rem;
  font-weight: 700;
}
.page-home .pulse-red {
  background: var(--home-red);
  color: #FFFFFF;
  padding: 0.1rem 0.4rem;
  font-weight: 700;
}
.page-home .pulse-more {
  margin-left: auto;
  color: var(--ink-muted);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.page-home .pulse-list {
  margin-top: 0.75rem;
  border-top: 1px dashed var(--cream-deep);
  padding-top: 0.75rem;
  display: grid;
  gap: 0.5rem;
}
.page-home .pulse-item {
  display: flex;
  gap: 0.75rem;
  font-size: var(--text-sm);
  font-family: var(--font-mono);
  color: var(--ink-muted);
}
.page-home .pulse-time {
  flex: 0 0 auto;
  color: var(--home-ink);
  font-weight: 700;
}
.page-home .pulse-event {
  line-height: 1.5;
}

.page-home .home-opening {
  position: relative;
  min-height: 60vh;
  padding-bottom: 8rem;
  background: linear-gradient(165deg, var(--home-cream) 0%, #EAE1D0 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3.5rem), 0 100%);
}
.page-home .home-directory {
  position: relative;
  z-index: 2;
  padding-bottom: 0.5rem;
}
.page-home .home-directory-title {
  font-size: var(--text-base);
  font-family: var(--font-mono);
  font-weight: 700;
  margin: 1rem 0 0.75rem;
  color: var(--home-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.page-home .directory-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  border-top: 1px solid var(--home-ink);
  border-bottom: 1px solid var(--home-ink);
}
.page-home .directory-item + .directory-item {
  border-top: 1px solid var(--cream-deep);
}
.page-home .directory-link {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 1rem 0.25rem;
  text-decoration: none;
  color: var(--home-ink);
  border-left: 3px solid transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.page-home .directory-link:hover,
.page-home .directory-link:focus-visible {
  border-left-color: var(--home-red);
  background: rgba(230, 57, 70, 0.04);
}
.page-home .directory-num {
  font-family: var(--font-mono);
  color: var(--home-red);
  font-size: var(--text-sm);
  line-height: 1;
}
.page-home .directory-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.page-home .directory-text strong {
  font-size: var(--text-md);
}
.page-home .directory-sub {
  font-size: var(--text-sm);
  color: var(--ink-muted);
}
.page-home .directory-arrow {
  margin-left: auto;
  font-family: var(--font-mono);
  color: var(--home-gold);
}
.page-home .home-front-entries {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.page-home .directory-foot {
  font-size: var(--text-sm);
  color: var(--ink-muted);
  line-height: 1.7;
}
.page-home .directory-foot a {
  color: var(--home-red);
  text-underline-offset: 0.2em;
}

.page-home .home-manifesto {
  position: relative;
  z-index: 1;
}
.page-home .manifesto-inner {
  position: relative;
  padding: 1.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--cream-deep);
  border-left: 6px solid var(--home-red);
  box-shadow: 6px 6px 0 rgba(230, 57, 70, 0.07);
}
.page-home .manifesto-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4.6vw, 3.25rem);
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-style: italic;
  font-weight: 400;
  margin-top: 1.25rem;
  color: var(--home-ink);
}
.page-home .manifesto-title .text-mark {
  color: var(--home-red);
  background: linear-gradient(transparent 70%, rgba(255, 183, 3, 0.55) 70%);
  display: inline;
  margin-left: 0.1em;
}
.page-home .manifesto-lead {
  margin-top: 1rem;
  font-size: var(--text-md);
  color: var(--ink-muted);
  max-width: 36rem;
  line-height: 1.9;
}
.page-home .heart-line {
  display: block;
  width: 100%;
  max-width: 40rem;
  margin-top: 1.25rem;
}
.page-home .heart-line-bg,
.page-home .heart-line-fg {
  fill: none;
}
.page-home .heart-line-bg {
  stroke: var(--cream-deep);
  stroke-width: 2;
}
.page-home .heart-line-fg {
  stroke: var(--home-red);
  stroke-width: 3;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: pageHomeHeart 8s linear infinite;
}
.page-home .manifesto-inner:hover .heart-line-fg {
  animation-duration: 2.6s;
}
.page-home .manifesto-img {
  margin-top: 1.25rem;
  border: 1px solid var(--cream-deep);
}
.page-home .manifesto-img img {
  width: 100%;
  object-fit: cover;
}

.page-home .home-block-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.2;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 400;
  margin: 0.75rem 0 1rem;
  color: var(--home-ink);
}
.page-home .home-block-title--light {
  color: var(--home-cream);
}
.page-home .panel-label--light {
  color: rgba(245, 240, 230, 0.85) !important;
}

.page-home .home-review {
  background: var(--home-cream);
  padding-top: 2.5rem;
  padding-bottom: 5rem;
}
.page-home .review-head {
  margin-bottom: 2rem;
  align-items: end;
}
.page-home .review-head-note p {
  font-size: var(--text-md);
  color: var(--ink-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.page-home .review-stats {
  gap: 1rem 0;
}
.page-home .stat-channel {
  position: relative;
  background: #FBF8F1;
  border: 1px solid var(--cream-deep);
  border-bottom: 3px solid var(--home-red);
  padding: 1.25rem;
  min-height: 8.5rem;
}
.page-home .channel-label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--ink-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.page-home .channel-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  padding: 0.5rem 0;
}
.page-home .channel-value em {
  font-style: normal;
  color: var(--cream-deep);
}
.page-home .channel-value .stat-yellow {
  color: #B29204;
}
.page-home .channel-value .stat-red {
  color: var(--home-red);
}
.page-home .channel-side {
  font-size: var(--text-xs);
  color: var(--ink-muted);
  font-family: var(--font-mono);
}

.page-home .review-lower {
  margin-top: 2.5rem;
  gap: 1.5rem 0;
}
.page-home .timeline-col {
  background: var(--cream-deep);
  border-left: 4px solid var(--home-ink);
  padding: 1.5rem;
}
.page-home .timeline-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--ink-muted);
  margin-bottom: 1rem;
  border-bottom: 1px dashed rgba(29, 27, 26, 0.2);
  padding-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.page-home .timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.page-home .timeline-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--text-sm);
  color: var(--home-ink);
  flex-wrap: wrap;
}
.page-home .timeline-min {
  font-family: var(--font-mono);
  font-weight: 700;
  min-width: 2.5rem;
}
.page-home .rating-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.page-home .rating-name {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--ink-muted);
  width: 3rem;
  flex: 0 0 auto;
}
.page-home .rating-meter {
  flex: 1;
  height: 8px;
  background: #FFFFFF;
  border: 1px solid var(--cream-deep);
}
.page-home .rating-fill {
  display: block;
  height: 100%;
  background: var(--home-gold);
}
.page-home .rating-num {
  font-family: var(--font-mono);
  font-size: var(--text-md);
  font-weight: 700;
  flex: 0 0 auto;
}
.page-home .timeline-note {
  font-size: var(--text-sm);
  color: var(--ink-muted);
  margin-top: 1rem;
  line-height: 1.7;
}

.page-home .home-fans {
  position: relative;
  overflow: hidden;
  background: var(--dark-blue);
  color: var(--home-cream);
}
.page-home .home-fans::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0) 0px,
    rgba(255, 255, 255, 0) 9px,
    rgba(255, 255, 255, 0.025) 9px,
    rgba(255, 255, 255, 0.025) 10px
  );
  pointer-events: none;
}
.page-home .home-fans-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3rem 0;
}
.page-home .fans-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.3;
  color: #FFFFFF;
  margin-top: 1rem;
}
.page-home .fans-sub {
  margin-top: 1rem;
  color: rgba(245, 240, 230, 0.75);
  line-height: 1.8;
  max-width: 30rem;
}
.page-home .home-fans a.btn--light {
  margin-top: 1.5rem;
}
.page-home .home-fans-img {
  border: 1px solid rgba(245, 240, 230, 0.2);
}
.page-home .home-fans-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .home-cardzone {
  background: #FAF4E9;
  padding: 4.5rem 0 5.5rem;
  clip-path: polygon(0 0, 100% 1.25rem, 100% 100%, 0 calc(100% - 1.25rem));
}
.page-home .cards-head {
  gap: 1.5rem 0;
}
.page-home .cards-lead {
  font-size: var(--text-md);
  color: var(--ink-muted);
  line-height: 1.8;
  max-width: 34rem;
}
.page-home .cards-slot {
  display: flex;
}
.page-home .card-record {
  position: relative;
  flex: 1;
  border: 2px solid var(--home-red);
  border-left-width: 8px;
  background: var(--red-soft);
}
.page-home .card-record--yellow {
  border-color: var(--home-yellowcard);
  border-left-width: 8px;
  background: #FDF8E1;
}
.page-home .record-face {
  cursor: pointer;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.page-home .record-badge {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1;
}
.page-home .card-record--red .record-badge {
  color: var(--home-red);
}
.page-home .card-record--yellow .record-badge {
  color: #B29204;
}
.page-home .record-meta {
  font-size: var(--text-sm);
  color: var(--ink-muted);
  font-family: var(--font-mono);
}
.page-home .record-hint {
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  color: var(--home-ink);
  border-bottom: 1px dashed var(--ink-muted);
  align-self: flex-start;
  padding-bottom: 0.1rem;
}
.page-home .record-rule {
  display: none;
  border-top: 1px dashed rgba(29, 27, 26, 0.25);
  padding: 1rem 1.25rem;
  font-size: var(--text-sm);
  color: var(--ink-muted);
  line-height: 1.7;
}
.page-home .card-record[open] .record-rule {
  display: block;
  animation: pageHomeReveal 0.25s ease;
}
.page-home .card-record--red .record-rule {
  background: var(--red-soft);
}
.page-home .card-record--yellow .record-rule {
  background: #FDF8E1;
}

.page-home .lib-grid {
  margin-top: 2.5rem;
  gap: 1.5rem 0;
}
.page-home .team-lib {
  border: 1px solid var(--cream-deep);
  background: var(--home-cream);
  padding: 1.75rem;
}
.page-home .lib-index {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--home-gold);
  background: var(--dark-blue);
  padding: 0.5rem 0.75rem;
  display: inline-block;
}
.page-home .team-lib p {
  margin-top: 0.75rem;
  color: var(--ink-muted);
  line-height: 1.8;
}
.page-home .team-lib .btn {
  margin-top: 1.25rem;
}
.page-home .lib-img {
  border: 1px solid var(--cream-deep);
  height: 100%;
}
.page-home .lib-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-home .lib-metrics {
  display: grid;
  gap: 1rem;
  align-content: start;
}
.page-home .metric-item {
  border-top: 1px solid var(--cream-deep);
  padding-top: 0.75rem;
  font-size: var(--text-sm);
  color: var(--ink-muted);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}
.page-home .metric-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--home-ink);
}

.page-home .home-follow {
  padding: 4.5rem 0 5.5rem;
  background: var(--cream-deep);
}
.page-home .follow-intro p {
  color: var(--ink-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.page-home .follow-board {
  background: var(--home-cream);
  border: 1px solid var(--home-ink);
  padding: 1.5rem;
  display: grid;
  gap: 0.75rem;
  align-content: start;
}
.page-home .follow-board-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--cream-deep);
  padding-bottom: 0.75rem;
  margin-bottom: 0.25rem;
}
.page-home .follow-item {
  border: 1px solid var(--cream-deep);
  background: #FFFFFF;
}
.page-home .follow-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  cursor: pointer;
  flex-wrap: wrap;
}
.page-home .follow-time {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--ink-muted);
  flex: 0 0 auto;
}
.page-home .follow-match {
  font-size: var(--text-sm);
  font-weight: 700;
  flex: 1;
  min-width: 8rem;
}
.page-home .follow-btn {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--dark-blue);
  border: 1px solid var(--dark-blue);
  padding: 0.3rem 0.6rem;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.page-home .follow-item[open] .follow-btn {
  background: var(--home-green);
  color: #FFFFFF;
  border-color: var(--home-green);
}
.page-home .follow-toast {
  display: none;
  margin: 0;
  padding: 0.75rem 1rem 1rem;
  font-size: var(--text-sm);
  color: var(--ink-muted);
  background: var(--green-soft);
  line-height: 1.6;
}
.page-home .follow-item[open] .follow-toast {
  display: block;
  animation: pageHomeReveal 0.25s ease;
}
.page-home .follow-more {
  margin-top: 0.5rem;
}

.page-home .home-sync {
  background: var(--dark-blue);
  color: var(--home-cream);
  padding: 5rem 0;
}
.page-home .home-sync p {
  color: rgba(245, 240, 230, 0.8);
  line-height: 1.8;
}
.page-home .sync-figure {
  border: 1px solid rgba(245, 240, 230, 0.22);
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.page-home .sync-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-home .sync-list {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}
.page-home .sync-list li {
  padding: 0.6rem 0 0.6rem 1rem;
  border-left: 3px solid var(--home-green);
  margin-bottom: 0.4rem;
  font-size: var(--text-sm);
  color: rgba(245, 240, 230, 0.8);
  line-height: 1.6;
}
.page-home .sync-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

@keyframes pageHomeHeart {
  0% {
    stroke-dashoffset: 1200;
  }
  15% {
    stroke-dashoffset: 720;
  }
  30% {
    stroke-dashoffset: 600;
  }
  60% {
    stroke-dashoffset: 300;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
@keyframes pageHomePulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.6;
  }
}
@keyframes pageHomeReveal {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 700px) {
  .page-home .home-fans-grid {
    grid-template-columns: 5fr 7fr;
    align-items: center;
  }
  .page-home .review-stats {
    gap: 1.5rem;
  }
  .page-home .lib-grid,
  .page-home .review-lower {
    gap: 1.5rem;
  }
  .page-home .cards-head {
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .page-home .manifesto-inner {
    padding: 2.25rem 2.5rem;
  }
  .page-home .manifesto-lead {
    font-size: var(--text-lg);
  }
  .page-home .review-lower {
    margin-top: 3.5rem;
  }
  .page-home .home-fans-grid {
    padding: 4.5rem 0;
  }
  .page-home .home-cardzone {
    padding: 6.5rem 0 7.5rem;
  }
  .page-home .home-follow {
    padding: 6rem 0 7rem;
  }
  .page-home .home-sync {
    padding: 6.5rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .heart-line-fg {
    animation: none;
    stroke-dashoffset: 0;
  }
  .page-home .pulse-dot {
    animation: none;
  }
  .page-home .record-rule,
  .page-home .follow-toast {
    animation: none !important;
  }
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition-duration: 0.01ms !important;
  }
}
