.page-home {
  --home-hero-title: clamp(46px, 11vw, 108px);
  --home-panel-radius: 26px;
  position: relative;
}

.page-home img {
  max-width: 100%;
  height: auto;
}

.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: 148px 0 36px;
  margin-top: -96px;
  background: rgba(10, 15, 13, 0.92);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(112deg, transparent 0 72%, rgba(0, 230, 118, 0.08) 72% 78%, transparent 78% 100%),
    radial-gradient(circle at 84% 18%, rgba(0, 230, 118, 0.16), transparent 28%),
    radial-gradient(circle at 12% 82%, rgba(255, 215, 0, 0.08), transparent 26%);
  pointer-events: none;
  z-index: 0;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: 22%;
  width: 240px;
  height: 22px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  transform: skewX(-22deg) rotate(-8deg);
  opacity: 0.45;
  pointer-events: none;
  z-index: 2;
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 640px;
  overflow: hidden;
}

.page-home .home-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 15, 13, 0.72) 0%, rgba(10, 15, 13, 0.55) 45%, rgba(10, 15, 13, 0.94) 100%);
}

.page-home .home-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.page-home .home-hero__frame {
  position: absolute;
  inset: 18px;
  z-index: 3;
  border: 1px solid rgba(0, 230, 118, 0.28);
  border-radius: var(--radius-xl);
  pointer-events: none;
}

.page-home .home-hero__frame::before,
.page-home .home-hero__frame::after {
  content: "";
  position: absolute;
  width: 52px;
  height: 52px;
  border: 3px solid var(--color-accent);
  border-radius: 6px;
}

.page-home .home-hero__frame::before {
  top: -2px;
  left: -2px;
  border-right-width: 0;
  border-bottom-width: 0;
}

.page-home .home-hero__frame::after {
  bottom: -2px;
  right: -2px;
  border-left-width: 0;
  border-top-width: 0;
}

.page-home .home-hero__container {
  position: relative;
  z-index: 2;
  min-height: 68vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.page-home .home-hero__context {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--color-accent);
  margin-bottom: 18px;
}

.page-home .home-hero__context::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--color-accent);
  vertical-align: middle;
  margin-right: 10px;
}

.page-home .home-hero__title {
  font-family: var(--font-heading);
  font-size: var(--home-hero-title);
  line-height: 0.92;
  text-transform: uppercase;
  margin: 0 0 26px;
  letter-spacing: -0.01em;
}

.page-home .home-hero__title-line {
  display: block;
}

.page-home .home-hero__title-line--top {
  color: var(--color-heading);
  transform: skewX(-5deg);
  transform-origin: left bottom;
}

.page-home .home-hero__title-line--bottom {
  color: var(--color-accent);
  transform: skewX(-5deg);
  transform-origin: left bottom;
  margin-top: 4px;
  text-shadow: 0 0 42px rgba(0, 230, 118, 0.38);
}

.page-home .home-hero__lead {
  max-width: 560px;
  margin: 0 auto 28px;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.75;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.page-home .home-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(39, 61, 49, 0.9);
}

.page-home .home-hero__stat {
  background: rgba(26, 46, 34, 0.5);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  border: 1px solid var(--color-border);
  text-align: center;
}

.page-home .home-hero__value {
  display: block;
  font-family: var(--font-mono);
  font-size: 24px;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 6px;
}

.page-home .home-hero__value-label {
  display: block;
  font-size: 13px;
  color: var(--color-text);
}

.page-home .home-hero__scroll {
  margin-top: 28px;
  font-size: 13px;
  color: var(--color-text);
  opacity: 0.7;
  letter-spacing: 0.22em;
}

.page-home .home-features {
  position: relative;
  padding: 96px 0 0;
}

.page-home .home-features__stack {
  display: grid;
  gap: 34px;
  margin-top: 42px;
}

.page-home .home-feature {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--home-panel-radius);
  background: linear-gradient(145deg, rgba(26, 46, 34, 0.88), rgba(10, 15, 13, 0.96));
  box-shadow: var(--shadow-elevated);
}

.page-home .home-feature::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 34%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-accent));
}

.page-home .home-feature--reverse::before {
  background: linear-gradient(90deg, var(--color-accent), transparent);
}

.page-home .home-feature__media {
  border-radius: calc(var(--radius-lg) - 4px);
  overflow: hidden;
  background: var(--color-panel);
}

.page-home .home-feature__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
  max-height: 380px;
}

.page-home .home-feature__index {
  display: block;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--color-accent);
  margin-bottom: 4px;
}

.page-home .home-feature__content h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--color-heading);
  margin: 6px 0 12px;
}

.page-home .home-feature__content p {
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.65;
}

.page-home .home-feature__points {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: grid;
  gap: 8px;
}

.page-home .home-feature__points li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--color-text);
}

.page-home .home-feature__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  background: var(--color-accent);
}

.page-home .home-feature__content .btn {
  margin-top: 8px;
}

.page-home .home-feature--panel {
  background:
    radial-gradient(circle at 100% 20%, rgba(0, 230, 118, 0.14), transparent 38%),
    linear-gradient(135deg, rgba(26, 46, 34, 0.9), rgba(10, 15, 13, 0.96));
}

.page-home .home-feature--panel::after {
  content: "03";
  position: absolute;
  right: -8px;
  bottom: -34px;
  font-family: var(--font-heading);
  font-size: 130px;
  line-height: 1;
  color: rgba(0, 230, 118, 0.06);
  pointer-events: none;
  user-select: none;
}

.page-home .home-updates {
  padding: 96px 0 0;
}

.page-home .home-updates__list {
  list-style: none;
  padding: 0;
  margin: 42px 0 0;
  display: grid;
  gap: 14px;
}

.page-home .home-update {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-md);
  background: rgba(26, 46, 34, 0.32);
  transition: background 0.25s ease, transform 0.25s ease;
}

.page-home .home-update:hover {
  background: rgba(26, 46, 34, 0.66);
  transform: translateY(-2px);
}

.page-home .home-update__body h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--color-heading);
  margin: 0 0 6px;
}

.page-home .home-update__body p {
  margin: 0;
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.6;
}

.page-home .home-update__link {
  font-size: 14px;
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 700;
  justify-self: start;
}

.page-home .home-updates__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.page-home .home-membership {
  padding: 96px 0 0;
}

.page-home .home-membership__board {
  display: grid;
  gap: 18px;
  margin-top: 42px;
}

.page-home .home-membership__card {
  position: relative;
  overflow: hidden;
  padding: 30px 26px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(26, 46, 34, 0.78), rgba(10, 15, 13, 0.88));
}

.page-home .home-membership__card--gold {
  border-color: rgba(255, 215, 0, 0.5);
  background:
    radial-gradient(circle at 84% 10%, rgba(255, 215, 0, 0.2), transparent 38%),
    linear-gradient(145deg, rgba(26, 35, 20, 0.94), rgba(10, 15, 13, 0.92));
}

.page-home .home-membership__card--main {
  border-color: rgba(0, 230, 118, 0.5);
}

.page-home .home-membership__corner {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--color-gold);
  display: block;
  margin-bottom: 18px;
}

.page-home .home-membership__card:not(.home-membership__card--gold) .home-membership__corner {
  color: var(--color-accent);
}

.page-home .home-membership__card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--color-heading);
  margin: 0 0 10px;
}

.page-home .home-membership__card p {
  margin: 0;
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.6;
}

.page-home .home-scale {
  padding: 108px 0 0;
}

.page-home .home-scale__layout {
  display: grid;
  gap: 32px;
  margin-top: 42px;
}

.page-home .home-scale__stats {
  padding: 26px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(26, 46, 34, 0.58), rgba(10, 15, 13, 0.88));
  border: 1px solid var(--color-border);
}

.page-home .home-scale__stats .stat-grid {
  margin-bottom: 20px;
}

.page-home .home-scale__meta {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(39, 61, 49, 0.8);
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.7;
}

.page-home .home-scale__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-panel);
}

.page-home .home-scale__img {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 260px;
}

.page-home .home-experience {
  position: relative;
  overflow: hidden;
  margin-top: 96px;
  padding: 88px 0;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background:
    linear-gradient(120deg, rgba(0, 230, 118, 0.18), transparent 40%),
    var(--color-panel);
  text-align: center;
}

.page-home .home-experience::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: linear-gradient(90deg, var(--color-accent) 0 70%, var(--color-gold) 70% 100%);
}

.page-home .home-experience::after {
  content: "";
  position: absolute;
  left: -60px;
  bottom: -10px;
  width: 260px;
  height: 20px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.5), transparent);
  transform: skewX(-24deg) rotate(-6deg);
  opacity: 0.35;
  pointer-events: none;
}

.page-home .home-experience__title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 6vw, 72px);
  text-transform: uppercase;
  color: var(--color-heading);
  margin: 0 0 14px;
}

.page-home .home-experience__lead {
  max-width: 660px;
  margin: 0 auto 30px;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.7;
}

.page-home .home-experience__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

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

  .page-home .home-update {
    grid-template-columns: 120px 1fr auto;
    align-items: center;
    gap: 18px;
  }

  .page-home .home-update__link {
    justify-self: end;
  }

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

@media (min-width: 1024px) {
  .page-home .home-features__stack {
    gap: 56px;
  }

  .page-home .home-feature {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-template-areas: "media content";
    align-items: center;
    gap: 48px;
    padding: 44px;
  }

  .page-home .home-feature__media {
    grid-area: media;
    height: 100%;
    min-height: 360px;
  }

  .page-home .home-feature__img {
    min-height: 360px;
    max-height: 520px;
  }

  .page-home .home-feature__content {
    grid-area: content;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .page-home .home-feature--reverse {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    grid-template-areas: "content media";
  }

  .page-home .home-feature--panel {
    padding: 64px 72px;
  }

  .page-home .home-scale__layout {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
  }

  .page-home .home-scale__stats {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .page-home .home-scale__media {
    min-height: 100%;
  }
}
