.page-home {
  --home-panel: rgba(22, 42, 74, 0.78);
  --home-line: rgba(160, 174, 192, 0.14);
  --home-gold-soft: rgba(212, 175, 55, 0.13);
  --home-purple-soft: rgba(155, 92, 255, 0.13);
  --home-cyan-soft: rgba(0, 229, 255, 0.12);
  background: linear-gradient(180deg, var(--c-deep-navy) 0%, var(--c-dark-end) 100%);
  color: var(--c-off-white);
  overflow-x: hidden;
}

.page-home .home-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 64px 0 80px;
  overflow: hidden;
}

.page-home .hero-bg-wrap,
.page-home .hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-home .hero-bg-img,
.page-home .trust-bg img,
.page-home .event-media img,
.page-home .cats-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 26, 47, 0.92) 0%, rgba(10, 26, 47, 0.76) 42%, rgba(11, 27, 58, 0.35) 100%),
    linear-gradient(180deg, rgba(10, 26, 47, 0.45) 0%, transparent 40%, rgba(10, 26, 47, 0.72) 100%);
}

.page-home .hero-mag-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 24px;
}

.page-home .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 16px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--r-pill);
  background: rgba(212, 175, 55, 0.08);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-light-gold);
}

.page-home .hero-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-cyan);
  box-shadow: 0 0 8px var(--c-cyan);
}

.page-home .home-hero-title {
  font-family: var(--font-headline);
  font-size: clamp(34px, 7vw, 68px);
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 14px 0 20px;
  max-width: 820px;
  text-wrap: balance;
}

.page-home .hero-deck {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--c-slate-gray);
  margin-bottom: 28px;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.page-home .hero-btn {
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.24);
  transition: transform var(--tr-fast), box-shadow var(--tr-fast);
}

.page-home .hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(212, 175, 55, 0.34);
}

.page-home .hero-btn-ghost:hover {
  color: var(--c-light-gold);
  border-color: var(--c-light-gold);
}

.page-home .hero-magazine-index {
  padding: 22px 24px;
  border: 1px solid var(--home-line);
  border-radius: var(--r-lg);
  background: linear-gradient(145deg, rgba(22, 42, 74, 0.82), rgba(10, 26, 47, 0.64));
  backdrop-filter: blur(14px);
}

.page-home .magazine-index-title {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--home-line);
  font-family: var(--font-headline);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold);
}

.page-home .magazine-index-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(160, 174, 192, 0.1);
  color: var(--c-off-white);
  font-size: 14px;
  transition: color var(--tr-fast), padding-left var(--tr-fast);
}

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

.page-home .magazine-index-link:hover,
.page-home .magazine-index-link:focus-visible {
  color: var(--c-gold);
  padding-left: 6px;
  outline: none;
}

.page-home .index-num {
  font-family: var(--font-headline);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--c-cyan);
}

.page-home .home-audit {
  padding: 56px 0 72px;
  background:
    radial-gradient(circle at 85% 15%, rgba(0, 229, 255, 0.08), transparent 38%),
    linear-gradient(180deg, var(--c-dark-end), var(--c-deep-navy));
}

.page-home .home-audit-grid {
  display: grid;
  gap: 32px;
}

.page-home .audit-intro {
  order: 1;
}

.page-home .audit-cards {
  display: grid;
  gap: 20px;
  order: 2;
}

.page-home .audit-card {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(160, 174, 192, 0.12);
  border-radius: var(--r-lg);
  background: linear-gradient(145deg, var(--c-royal-blue), rgba(11, 27, 58, 0.7));
  transition: transform var(--tr-fast), border-color var(--tr-fast), box-shadow var(--tr-fast);
}

.page-home .audit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: var(--shadow-card);
}

.page-home .audit-card h3 {
  margin: 12px 0 8px;
  font-family: var(--font-headline);
  font-size: 20px;
  color: var(--c-off-white);
}

.page-home .audit-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-slate-gray);
}

.page-home .audit-card-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--c-cyan);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--tr-fast);
}

.page-home .audit-card-link:hover {
  color: var(--c-gold);
}

.page-home .home-events {
  padding: 72px 0 88px;
  background: var(--c-deep-navy);
}

.page-home .home-events-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.page-home .events-head-copy {
  max-width: 620px;
}

.page-home .events-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding: 28px max(20px, calc((100vw - 1200px) / 2)) 18px;
  scrollbar-width: thin;
  scrollbar-color: var(--c-gold) transparent;
}

.page-home .event-card {
  flex: 0 0 280px;
  min-width: 260px;
  max-width: 320px;
  border: 1px solid rgba(160, 174, 192, 0.12);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-royal-blue);
  scroll-snap-align: start;
  transition: transform var(--tr-fast), box-shadow var(--tr-fast);
}

.page-home .event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.page-home .event-media {
  position: relative;
  margin: 0;
}

.page-home .event-status {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(245, 247, 250, 0.1);
  border-radius: var(--r-pill);
  background: rgba(10, 26, 47, 0.72);
  backdrop-filter: blur(6px);
  font-size: 12px;
  line-height: 1;
  color: var(--c-off-white);
}

.page-home .event-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.page-home .event-status-active {
  color: var(--c-cyan);
}

.page-home .event-status-upcoming {
  color: var(--c-light-gold);
}

.page-home .event-status-end {
  color: var(--c-slate-gray);
}

.page-home .event-body {
  padding: 16px 18px 20px;
}

.page-home .event-body h3 {
  margin: 12px 0 6px;
  font-family: var(--font-headline);
  font-size: 18px;
  color: var(--c-off-white);
}

.page-home .event-meta {
  margin: 0;
  font-size: 13px;
  color: var(--c-slate-gray);
}

.page-home .home-categories {
  padding: 72px 0 88px;
  background:
    radial-gradient(circle at 10% 30%, rgba(155, 92, 255, 0.1), transparent 42%),
    linear-gradient(180deg, var(--c-deep-navy), var(--c-dark-end));
}

.page-home .home-cats-head {
  display: grid;
  gap: 24px;
  align-items: center;
  margin-bottom: 40px;
}

.page-home .cats-head-copy {
  max-width: 660px;
}

.page-home .cats-art {
  max-width: 340px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.page-home .cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .cat-item {
  margin: 0;
  padding: 0;
}

.page-home .cat-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  height: 100%;
  padding: 18px 16px;
  border: 1px solid rgba(160, 174, 192, 0.12);
  border-radius: var(--r-md);
  background: linear-gradient(145deg, rgba(22, 42, 74, 0.9), rgba(11, 27, 58, 0.66));
  color: var(--c-off-white);
  text-decoration: none;
  transition: transform var(--tr-fast), border-color var(--tr-fast), background var(--tr-fast);
}

.page-home .cat-card:hover,
.page-home .cat-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--c-gold);
  background: rgba(22, 42, 74, 0.98);
  outline: none;
}

.page-home .cat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 13px;
  background: var(--home-gold-soft);
  color: var(--c-gold);
}

.page-home .cat-item:nth-child(3n+2) .cat-icon {
  background: var(--home-purple-soft);
  color: var(--c-neon-purple);
}

.page-home .cat-item:nth-child(3n+3) .cat-icon {
  background: var(--home-cyan-soft);
  color: var(--c-cyan);
}

.page-home .cat-svg {
  width: 100%;
  height: 100%;
}

.page-home .cat-name {
  font-size: 14px;
  font-weight: 600;
}

.page-home .cat-count {
  font-size: 12px;
  color: var(--c-slate-gray);
}

.page-home .home-contact {
  position: relative;
  padding: 72px 0 88px;
  background: var(--c-dark-end);
}

.page-home .home-contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4) 30%, rgba(0, 229, 255, 0.4) 70%, transparent);
}

.page-home .home-contact-wrap {
  display: grid;
  gap: 40px;
}

.page-home .contact-copy {
  max-width: 560px;
}

.page-home .step-track {
  display: grid;
  gap: 20px;
}

.page-home .step-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid rgba(160, 174, 192, 0.12);
  border-radius: var(--r-lg);
  background: linear-gradient(145deg, rgba(22, 42, 74, 0.85), rgba(11, 27, 58, 0.6));
  transition: border-color var(--tr-fast), box-shadow var(--tr-fast), transform var(--tr-fast);
}

.page-home .step-item:hover,
.page-home .step-item:focus-within {
  border-color: rgba(212, 175, 55, 0.32);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.page-home .step-num {
  font-family: var(--font-headline);
  font-size: 44px;
  line-height: 1;
  color: var(--c-gold);
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.4);
}

.page-home .step-copy h3 {
  margin: 0 0 6px;
  font-family: var(--font-headline);
  font-size: 18px;
  color: var(--c-light-gold);
}

.page-home .step-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-slate-gray);
}

.page-home .step-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 0;
}

.page-home .step-divider i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-gold);
  opacity: 0.65;
}

.page-home .step-divider i:nth-child(2) {
  background: var(--c-cyan);
}

.page-home .step-divider i:nth-child(3) {
  background: var(--c-neon-purple);
}

.page-home .home-trust {
  position: relative;
  padding: 88px 0;
  overflow: hidden;
}

.page-home .trust-bg,
.page-home .trust-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-home .trust-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 27, 58, 0.74), rgba(10, 26, 47, 0.9));
}

.page-home .home-trust-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-home .trust-lead {
  max-width: 680px;
  margin-bottom: 0;
  line-height: 1.9;
  color: var(--c-off-white);
  opacity: 0.92;
}

.page-home .trust-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin: 32px 0 24px;
}

.page-home .stat-trust {
  padding: 22px 16px;
  border: 1px solid rgba(212, 175, 55, 0.14);
  border-radius: var(--r-lg);
  background: rgba(11, 27, 58, 0.62);
  text-align: center;
}

.page-home .stat-trust .stat-value {
  display: block;
  font-family: var(--font-headline);
  font-size: 32px;
  line-height: 1.2;
  color: var(--c-light-gold);
}

.page-home .stat-trust .stat-label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--c-slate-gray);
}

.page-home .trust-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.page-home .trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid rgba(0, 229, 255, 0.16);
  border-radius: var(--r-pill);
  background: rgba(22, 42, 74, 0.74);
  font-size: 13px;
  color: var(--c-off-white);
}

.page-home .trust-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-cyan);
  box-shadow: 0 0 8px var(--c-cyan);
}

.page-home .trust-btn {
  color: var(--c-off-white);
  border-color: var(--c-off-white);
}

.page-home .trust-btn:hover {
  color: var(--c-light-gold);
  border-color: var(--c-gold);
}

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

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

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

  .page-home .home-cats-head {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  }

  .page-home .cats-art {
    justify-self: end;
  }

  .page-home .step-track {
    grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
  }

  .page-home .step-divider {
    flex-direction: row;
    gap: 4px;
    padding: 0 4px;
  }
}

@media (min-width: 960px) {
  .page-home .home-hero {
    min-height: 92vh;
    padding: 72px 0 96px;
  }

  .page-home .hero-mag-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
    gap: 48px;
    align-items: center;
  }

  .page-home .hero-magazine-index {
    padding: 28px 30px;
  }

  .page-home .home-deck {
    font-size: 18px;
  }

  .page-home .home-audit {
    padding: 72px 0 88px;
  }

  .page-home .home-audit-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: start;
  }

  .page-home .audit-intro,
  .page-home .audit-cards {
    order: 2;
  }

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

  .page-home .home-contact-wrap {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 56px;
    align-items: center;
  }

  .page-home .trust-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
