.page-home {
  --home-bg-deco: linear-gradient(125deg, var(--color-primary-dark) 0%, var(--color-primary) 60%, #2e7d3e 100%);
  --home-gold-text: linear-gradient(115deg, var(--color-gold) 0%, #f6e27a 100%);
  --home-card-skew: linear-gradient(115deg, transparent 0%, transparent 70%, rgba(212, 175, 55, .16) 70%, rgba(212, 175, 55, .16) 100%);
  overflow-x: hidden;
}

.page-home .hero {
  position: relative;
  background: var(--home-bg-deco);
  color: var(--color-white);
  overflow: hidden;
  padding: var(--space-2xl) 0 var(--space-xl);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -12%;
  width: 42%;
  height: 150%;
  background: rgba(212, 175, 55, .12);
  transform: skewX(-14deg);
  pointer-events: none;
}

.page-home .hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: 18%;
  width: 26%;
  height: 90%;
  background: rgba(255, 255, 255, .05);
  transform: skewX(18deg);
  pointer-events: none;
}

.page-home .hero__trail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: .55;
  pointer-events: none;
}

.page-home .hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
}

.page-home .hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-gold);
  font-weight: 600;
  letter-spacing: .12em;
}

.page-home .hero__eyebrow::before {
  content: "";
  display: inline-block;
  width: 2rem;
  height: 2px;
  background: var(--color-gold);
}

.page-home .hero__title {
  margin: var(--space-lg) 0;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: var(--type-hero);
  line-height: 1.08;
  letter-spacing: .03em;
  color: var(--color-white);
  text-shadow: 0 8px 30px rgba(0, 0, 0, .35);
}

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

.page-home .hero__title-accent {
  color: var(--color-gold);
  background: var(--home-gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-home .hero__lead {
  max-width: 34rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, .9);
  margin-bottom: var(--space-xl);
}

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

.page-home .hero__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.page-home .hero__index {
  position: relative;
  z-index: 2;
  margin: -1.75rem var(--space-md) 0;
  padding: var(--space-lg);
  background: rgba(14, 61, 26, .94);
  border: 1px solid rgba(212, 175, 55, .4);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: .35rem;
}

.page-home .hero__index-label {
  font-size: var(--type-small);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
}

.page-home .hero__index-link {
  display: flex;
  gap: var(--space-sm);
  align-items: baseline;
  color: var(--color-white);
  text-decoration: none;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: .95rem;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.page-home .hero__index-link:last-child {
  border-bottom: 0;
}

.page-home .hero__index-link:hover,
.page-home .hero__index-link:focus-visible {
  color: var(--color-gold);
  padding-left: .25rem;
}

.page-home .hero__index-num {
  font-family: var(--font-title);
  font-size: .8rem;
  color: var(--color-gold);
}

.page-home .hero__scroll {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  margin-top: var(--space-2xl);
  color: rgba(255, 255, 255, .65);
  font-size: var(--type-small);
  letter-spacing: .16em;
}

.page-home .hero__scroll-line {
  display: block;
  position: relative;
  width: 1px;
  height: 3.5rem;
  background: linear-gradient(to bottom, rgba(212, 175, 55, .9), rgba(212, 175, 55, 0));
  overflow: hidden;
}

.page-home .hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--color-gold);
  animation: pageHomeScrollIndicator 2.4s ease-in-out infinite;
}

@keyframes pageHomeScrollIndicator {
  0% {
    top: -40%;
  }
  60%,
  100% {
    top: 110%;
  }
}

.page-home .featured {
  padding: var(--space-3xl) 0 var(--space-2xl);
  background: var(--color-white);
}

.page-home .featured__header {
  margin-bottom: var(--space-2xl);
}

.page-home .featured__header .lead {
  max-width: 36rem;
}

.page-home .card-grid {
  display: grid;
  gap: var(--space-xl);
}

.page-home .feature-card {
  position: relative;
  display: block;
  background: var(--home-card-skew), var(--color-paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.page-home .feature-card:hover,
.page-home .feature-card:focus-visible {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: var(--shadow-lg);
}

.page-home .feature-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.page-home .feature-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.page-home .feature-card:hover .feature-card__media img {
  transform: scale(1.04);
}

.page-home .feature-card__media--pattern {
  background:
    radial-gradient(circle at 80% 20%, rgba(212, 175, 55, .25), transparent 38%),
    linear-gradient(135deg, rgba(26, 92, 46, .08), rgba(212, 175, 55, .12));
}

.page-home .feature-card__media--pattern svg {
  display: block;
  width: 100%;
  height: 100%;
}

.page-home .feature-card__num {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  font-family: var(--font-title);
  font-size: 2.2rem;
  line-height: 1;
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .4);
  background: rgba(26, 92, 46, .82);
  padding: .3rem .65rem;
  border-radius: var(--radius-pill);
}

.page-home .feature-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.page-home .feature-card__body {
  padding: var(--space-lg) var(--space-lg) var(--space-xl);
}

.page-home .feature-card__title {
  font-size: var(--type-h3);
  font-weight: 800;
  margin-bottom: var(--space-sm);
  color: var(--color-ink);
}

.page-home .feature-card__desc {
  color: var(--color-gray);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.page-home .feature-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.page-home .feature-card__link:hover,
.page-home .feature-card__link:focus-visible {
  gap: var(--space-sm);
  color: var(--color-gold);
}

.page-home .updates {
  padding: var(--space-3xl) 0;
  background: var(--color-paper);
}

.page-home .updates__header {
  margin-bottom: var(--space-lg);
}

.page-home .updates .filter-bar {
  margin-bottom: var(--space-2xl);
}

.page-home .timeline {
  position: relative;
  display: grid;
  gap: var(--space-xl);
  padding-left: 1.5rem;
}

.page-home .timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(26, 92, 46, .18);
}

.page-home .timeline__item {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.page-home .timeline__dot {
  position: absolute;
  left: -1.5rem;
  top: 1.5rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-gold);
  border: 3px solid var(--color-paper);
  box-shadow: 0 0 0 2px var(--color-primary);
  transform: translateX(-50%);
}

.page-home .timeline__tag {
  display: inline-block;
  font-size: var(--type-small);
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(76, 175, 80, .12);
  border-radius: var(--radius-pill);
  padding: .25rem .75rem;
  margin-bottom: var(--space-sm);
}

.page-home .timeline__title {
  font-size: 1.125rem;
  font-weight: 800;
  margin-bottom: var(--space-xs);
  color: var(--color-ink);
}

.page-home .timeline__desc {
  color: var(--color-gray);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.page-home .timeline__link {
  font-weight: 700;
  color: var(--color-gold);
  text-decoration: none;
}

.page-home .timeline__link:hover,
.page-home .timeline__link:focus-visible {
  color: var(--color-primary);
}

.page-home .brand-intro {
  padding: var(--space-3xl) 0;
  background: var(--color-ink);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.page-home .brand-intro::after {
  content: "";
  position: absolute;
  right: -6%;
  top: -18%;
  width: 32%;
  height: 130%;
  background: rgba(212, 175, 55, .12);
  transform: skewX(-16deg);
  pointer-events: none;
}

.page-home .brand-intro__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
}

.page-home .brand-intro__content .eyebrow {
  color: var(--color-gold);
}

.page-home .brand-intro__content .section-title {
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.page-home .brand-intro__content p {
  color: rgba(255, 255, 255, .82);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.page-home .brand-intro__deco {
  display: none;
}

.page-home .brand-intro__deco-svg {
  width: min(100%, 22rem);
  height: auto;
}

.page-home .stats {
  padding: var(--space-3xl) 0;
  background: var(--home-bg-deco);
  color: var(--color-white);
}

.page-home .stats__grid {
  display: grid;
  gap: var(--space-2xl);
  text-align: center;
}

.page-home .stat__num {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.1;
  color: var(--color-gold);
  letter-spacing: .02em;
}

.page-home .stat__label {
  display: block;
  margin-top: var(--space-sm);
  font-size: var(--type-small);
  color: rgba(255, 255, 255, .82);
  line-height: 1.5;
}

.page-home .stats__note {
  margin-top: var(--space-2xl);
  text-align: center;
  color: rgba(255, 255, 255, .7);
  font-size: var(--type-small);
  line-height: 1.7;
}

.page-home .support {
  padding: var(--space-2xl) 0;
  background: var(--color-white);
}

.page-home .support__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: center;
  text-align: center;
  background: var(--color-paper);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
}

.page-home .support__title {
  font-size: var(--type-h3);
  font-weight: 800;
  color: var(--color-ink);
}

.page-home .support__text {
  color: var(--color-gray);
  line-height: 1.6;
}

.page-home .support__contact {
  display: grid;
  justify-items: center;
  gap: var(--space-xs);
}

.page-home .support__phone {
  font-weight: 800;
  color: var(--color-primary);
  font-size: 1.25rem;
}

.page-home .support__email {
  color: var(--color-gray);
}

@media (min-width: 640px) {
  .page-home .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl) var(--space-xl);
  }

  .page-home .support__contact {
    justify-items: start;
  }
}

@media (min-width: 1024px) {
  .page-home .hero {
    padding: var(--space-3xl) 0 var(--space-2xl);
  }

  .page-home .hero__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: var(--space-3xl);
  }

  .page-home .hero__lead {
    margin-bottom: 0;
  }

  .page-home .card-grid {
    grid-template-columns: repeat(4, 1fr);
    align-items: start;
  }

  .page-home .feature-card:nth-child(2) {
    margin-top: var(--space-xl);
  }

  .page-home .feature-card:nth-child(3) {
    margin-top: var(--space-md);
  }

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

  .page-home .brand-intro__inner {
    grid-template-columns: 1.1fr .9fr;
  }

  .page-home .brand-intro__deco {
    display: block;
  }

  .page-home .stats__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-2xl);
  }

  .page-home .support__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .page-home .support__contact {
    justify-items: end;
  }
}
