/* Shared inner-page hero + CTA */
.page-hero {
  position: relative;
  height: 600px;
  background: #f3f3f3;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-hero__bg img {
  position: absolute;
  right: -5%;
  top: 0;
  width: 70%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 32px;
}

.page-hero__title {
  font-size: 48px;
  font-weight: 700;
  line-height: 60px;
  letter-spacing: -1.2px;
  color: #1a1c1c;
  text-transform: uppercase;
}

.page-hero__title span {
  display: block;
  color: #fcc800;
}

.page-cta {
  background: #ffc411;
  padding: 48px 0;
}

.page-cta__inner {
  max-width: 1522px;
  margin: 0 auto;
  padding: 0 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.page-cta__label {
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  color: #1a1a1a;
  opacity: 0.9;
}

.page-cta__num {
  font-size: 60px;
  font-weight: 900;
  line-height: 60px;
  letter-spacing: -1.5px;
  color: #1a1a1a;
  margin-top: 4px;
}

.page-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 48px;
  background: #1a1a1a;
  color: #fcc800;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  transition: opacity 0.25s;
}

.page-cta__btn:hover {
  opacity: 0.85;
}

/* Members page */
.mem-tabs {
  background: #f9f9f9;
  border-bottom: 1px solid rgba(210, 197, 171, 0.3);
  padding: 48px 0 49px;
}

.mem-tabs__inner {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 6px;
}

.mem-tabs__btn {
  padding: 12px 32px;
  font-size: 16px;
  line-height: 24px;
  color: #1a1a1a;
  background: #f3f3f3;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  transition: background 0.25s;
}

.mem-tabs__btn.is-active {
  background: #fcc800;
  font-weight: 500;
  box-shadow: none;
}

.mem-tabs__btn:not(.is-active):hover {
  background: #eaeaea;
}

.mem-wrap {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 32px;
}

.mem-wrap--narrow {
  max-width: 1088px;
}

.mem-section {
  padding: 100px 32px;
}

.mem-section--white {
  background: #fff;
}

.mem-section--gray {
  background: #f3f3f3;
}

.mem-section--dark {
  background: #606060;
}

.mem-head {
  text-align: center;
  margin-bottom: 64px;
}

.mem-head h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  color: #1a1c1c;
}

.mem-head__sm {
  font-size: 30px;
  line-height: 36px;
}

.mem-head__en {
  margin-top: 16px;
  font-family: "JetBrains Mono", var(--font-num), monospace;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #80765f;
}

.mem-head--cities {
  margin-bottom: 48px;
}

.mem-head--cities .mem-head__en {
  margin-top: 8px;
}

.mem-section--cities {
  padding-top: 96px;
  padding-bottom: 96px;
}

.mem-showcase-head .mem-head__en {
  margin-top: 8px;
  text-align: left;
}

.mem-head__en--yellow {
  color: #fcc800;
}

.mem-head__en--gold {
  color: #fcc800;
  letter-spacing: 4.2px;
}

.mem-head--light h2 {
  color: #fff;
}

/* Process */
.mem-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(210, 197, 171, 0.3);
}

.mem-process__item {
  padding: 40px;
  border-right: 1px solid rgba(210, 197, 171, 0.3);
}

.mem-process__item:last-child {
  border-right: none;
}

.mem-process__num {
  display: block;
  font-family: "JetBrains Mono", var(--font-num), monospace;
  font-size: 36px;
  font-weight: 500;
  line-height: 40px;
  color: #fcc800;
}

.mem-process__item h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: #1a1c1c;
  margin-top: 24px;
  margin-bottom: 16px;
}

.mem-process__item p {
  font-size: 16px;
  line-height: 26px;
  color: #4e4632;
}

/* Models */
.mem-models {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.mem-model {
  background: #fff;
  border-top: 4px solid #fcc800;
  padding: 44px 40px 40px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mem-model:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.mem-model--wide {
  grid-column: span 2;
}

.mem-model__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 23px;
}

.mem-model__head img {
  flex-shrink: 0;
  object-fit: contain;
}

.mem-model__head h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: #1a1c1c;
}

.mem-model p {
  font-size: 14px;
  line-height: 22.75px;
  color: #4e4632;
}

/* Progress — 8 + 4 columns */
.mem-progress {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}

.mem-progress__media {
  grid-column: span 8;
  height: 584px;
  overflow: hidden;
}

.mem-progress__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mem-progress__stats {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mem-stat {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  padding: 33px;
}

.mem-stat__label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  color: #fcc800;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.mem-stat__num {
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  color: #fff;
}

/* Cities */
.mem-cities {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}

.mem-cities__name {
  font-size: 60px;
  font-weight: 700;
  line-height: 60px;
  letter-spacing: 6px;
  color: #27272a;
}

.mem-cities__sep {
  font-size: 36px;
  line-height: 40px;
  color: #e4e4e7;
}

/* Showcase */
.mem-showcase-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 64px;
}

.mem-showcase-head h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  color: #1a1c1c;
  margin-bottom: 8px;
}

.mem-showcase-nav {
  display: flex;
  gap: 16px;
}

.mem-showcase-nav__btn {
  width: 48px;
  height: 48px;
  border: 1px solid #d4d4d8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  transition: border-color 0.2s, background 0.2s;
}

.mem-showcase-nav__btn:hover {
  border-color: #fcc800;
  background: #fffbf0;
}

.mem-showcase-nav__btn.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.mem-showcase-swiper {
  width: 100%;
  overflow: hidden;
}

.mem-showcase-swiper .swiper-slide {
  height: auto;
}

.mem-store {
  height: 100%;
  background: #fff;
  transition: transform 0.3s ease;
}

.mem-store:hover {
  transform: translateY(-4px);
}

.mem-store__media {
  height: 256px;
  overflow: hidden;
}

.mem-store__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.mem-store:hover .mem-store__media img {
  transform: scale(1.05);
}

.mem-store__body {
  padding: 24px;
}

.mem-store__tag {
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  color: #fcc800;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.mem-store__body h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  color: #1a1c1c;
}

/* Activities */
.mem-activities {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mem-activity {
  display: flex;
  gap: 32px;
  align-items: center;
  padding: 25px;
  border: 1px solid #f4f4f5;
  color: inherit;
  transition: box-shadow 0.25s;
}

.mem-activity:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.mem-activity__thumb {
  width: 320px;
  height: 192px;
  flex-shrink: 0;
  overflow: hidden;
}

.mem-activity__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mem-activity__date {
  display: block;
  font-family: "JetBrains Mono", var(--font-num), monospace;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: #fcc800;
  margin-bottom: 8px;
}

.mem-activity__body h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: #1a1c1c;
  margin-bottom: 16px;
}

.mem-activity__body p {
  font-size: 16px;
  line-height: 26px;
  color: #4e4632;
  margin-bottom: 16px;
}

.mem-activity__link {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  color: #1a1c1c;
  border-bottom: 1px solid #fcc800;
  padding-bottom: 5px;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1200px) {
  .mem-process {
    grid-template-columns: repeat(2, 1fr);
  }

  .mem-process__item:nth-child(2) {
    border-right: none;
  }

  .mem-process__item {
    border-bottom: 1px solid rgba(210, 197, 171, 0.3);
  }

  .mem-models {
    grid-template-columns: repeat(2, 1fr);
  }

  .mem-model--wide {
    grid-column: span 2;
  }

  .mem-progress {
    grid-template-columns: 1fr;
  }

  .mem-progress__media,
  .mem-progress__stats {
    grid-column: span 1;
  }

  .mem-progress__media {
    height: 360px;
  }
}

@media (max-width: 900px) {
  .page-hero {
    height: auto;
    min-height: 320px;
    padding: 80px 0;
  }

  .page-hero__title {
    font-size: 36px;
    line-height: 44px;
  }

  .page-hero__bg img {
    width: 100%;
    opacity: 0.25;
  }

  .mem-section {
    padding: 72px 16px;
  }

  .mem-head {
    margin-bottom: 40px;
  }

  .mem-head h2 {
    font-size: 28px;
  }

  .mem-process {
    grid-template-columns: 1fr;
  }

  .mem-process__item {
    border-right: none;
  }

  .mem-models {
    grid-template-columns: 1fr;
  }

  .mem-model--wide {
    grid-column: span 1;
  }

  .mem-cities__name {
    font-size: 40px;
    line-height: 44px;
  }

  .mem-showcase-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .mem-activity {
    flex-direction: column;
    align-items: flex-start;
  }

  .mem-activity__thumb {
    width: 100%;
    height: 200px;
  }
}

@media (max-width: 480px) {
  .mem-tabs {
    padding: 24px 16px;
  }

  .mem-tabs__btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .mem-cities {
    gap: 24px;
  }

  .mem-cities__sep {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
