.home-hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  color: #fff;
}

.home-hero__image,
.home-hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero__image {
  object-fit: cover;
}

.home-hero__overlay {
  background:
    linear-gradient(90deg, rgba(7, 27, 51, 0.94) 0%, rgba(7, 27, 51, 0.72) 42%, rgba(7, 27, 51, 0.18) 84%),
    linear-gradient(0deg, rgba(7, 27, 51, 0.56), transparent 48%);
}

.home-hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  min-height: 690px;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 72px 0 118px;
}

.home-hero h1 {
  max-width: 800px;
  margin-bottom: 20px;
  color: #fff;
}

.home-hero p:not(.brand-kicker) {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.22rem;
}

.directory-search--hero {
  margin-top: 18px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-stats span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.hero-stats strong {
  color: #fff;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.home-categories .section__inner {
  padding-bottom: clamp(28px, 4vw, 46px);
}

.home-featured .section__inner {
  padding-top: clamp(26px, 4vw, 44px);
}

.category-card {
  position: relative;
  display: grid;
  min-height: 218px;
  align-content: start;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(7, 27, 51, 0.14);
  border-top: 4px solid var(--category-accent, var(--np-red));
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, var(--category-wash, rgba(216, 52, 52, 0.05)), rgba(255, 255, 255, 0) 44%),
    var(--np-panel);
  color: var(--np-ink);
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(7, 27, 51, 0.09);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.category-card:nth-child(4n + 1) {
  --category-accent: var(--np-red);
  --category-wash: rgba(216, 52, 52, 0.06);
}

.category-card:nth-child(4n + 2) {
  --category-accent: var(--np-green);
  --category-wash: rgba(47, 143, 91, 0.07);
}

.category-card:nth-child(4n + 3) {
  --category-accent: var(--np-blue);
  --category-wash: rgba(18, 102, 168, 0.07);
}

.category-card:nth-child(4n) {
  --category-accent: var(--np-gold);
  --category-wash: rgba(215, 169, 60, 0.08);
}

.category-card::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--category-accent, var(--np-red));
  content: "";
  opacity: 0.9;
}

.category-card:nth-child(5n) {
  --category-accent: var(--np-navy);
  --category-wash: rgba(7, 27, 51, 0.06);
}

.category-card:hover {
  border-color: var(--category-accent, var(--np-red));
  box-shadow: 0 24px 48px rgba(7, 27, 51, 0.13);
  transform: translateY(-2px);
}

.category-card__icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--category-accent, var(--np-navy));
  color: #fff;
  box-shadow: 0 10px 22px rgba(7, 27, 51, 0.14);
}

.category-card__count {
  width: max-content;
  padding: 5px 8px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  color: var(--category-accent, var(--np-green));
  font-size: 0.75rem;
  font-weight: 900;
}

.category-card strong {
  color: var(--np-navy);
  font-size: 1.12rem;
}

.category-card span:last-child {
  color: var(--np-muted);
  font-size: 0.94rem;
}

.results-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 42px 0 20px;
}

.search-results {
  scroll-margin-top: 104px;
}

.directory-prompt {
  margin: clamp(28px, 4vw, 46px) 0 0;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(7, 27, 51, 0.12);
  border-top: 4px solid var(--np-red);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(216, 52, 52, 0.08), rgba(47, 143, 91, 0.07)),
    #fff;
  box-shadow: 0 18px 42px rgba(7, 27, 51, 0.08);
}

.directory-prompt h2 {
  max-width: 720px;
  margin-bottom: 10px;
  color: var(--np-navy);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.directory-prompt p {
  max-width: 780px;
  margin: 0;
  color: var(--np-muted);
  font-size: 1rem;
}

.directory-prompt--empty {
  border-top-color: var(--np-gold);
}

.results-heading span {
  color: var(--np-muted);
  font-weight: 900;
}

.community-band {
  position: relative;
  overflow: hidden;
}

.community-band::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(135deg, rgba(216, 52, 52, 0.18), transparent 32%),
    radial-gradient(circle at 88% 22%, rgba(47, 143, 91, 0.24), transparent 30%);
  pointer-events: none;
}

.community-band__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.58fr);
  gap: clamp(32px, 7vw, 84px);
  align-items: center;
}

.community-band__copy {
  max-width: 780px;
}

.community-band__copy h2 {
  max-width: 760px;
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.community-band__copy p:not(.brand-kicker) {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.14rem;
}

.community-band__proof {
  display: grid;
  gap: 12px;
}

.community-band__proof span {
  display: grid;
  gap: 4px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
}

.community-band__proof strong {
  color: #fff;
  font-size: 1.16rem;
}

.membership-offer {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.membership-offer__header {
  display: grid;
  gap: 8px;
}

.membership-offer__header .brand-kicker {
  margin: 0;
  color: var(--np-green);
}

.membership-offer h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.1;
}

.pricing-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pricing-options--single {
  grid-template-columns: 1fr;
}

.pricing-option {
  display: grid;
  gap: 4px;
  min-height: 128px;
  align-content: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.pricing-option--primary {
  border-color: rgba(216, 52, 52, 0.5);
  background: linear-gradient(180deg, rgba(216, 52, 52, 0.96), rgba(177, 28, 36, 0.92));
}

.pricing-option span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-option strong {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.pricing-option small {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.membership-benefits {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.membership-benefits li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 750;
}

.membership-benefits li::before {
  position: absolute;
  top: 0.28em;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--np-green);
  content: "";
}

.membership-offer .button {
  justify-self: start;
}
