.moxa-process-section {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 92px) 0;
  color: #f8f1e4;
  background:
    radial-gradient(ellipse at 82% 5%, rgba(167, 131, 199, .2), transparent 34%),
    radial-gradient(ellipse at 4% 94%, rgba(213, 184, 121, .09), transparent 33%),
    linear-gradient(145deg, #29133f, #3a2050 56%, #281637);
}

.moxa-process-section::before,
.moxa-process-section::after {
  position: absolute;
  z-index: 0;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(213, 184, 121, .11);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.moxa-process-section::before {
  top: -225px;
  right: -80px;
  box-shadow: 0 0 0 24px rgba(213, 184, 121, .025), 0 0 0 53px rgba(213, 184, 121, .02);
}

.moxa-process-section::after {
  bottom: -250px;
  left: -190px;
  width: 400px;
  height: 400px;
}

.moxa-process-section > .container {
  position: relative;
  z-index: 1;
}

.moxa-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.moxa-section-heading > div {
  max-width: 760px;
}

.moxa-kicker,
.moxa-film-tag {
  color: #dfc58e;
  font-size: 10px;
  letter-spacing: .2em;
}

.moxa-section-heading h2 {
  margin: 10px 0 12px;
  color: #fff8ec;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: clamp(28px, 4vw, 43px);
  font-weight: 500;
  letter-spacing: .1em;
}

.moxa-section-heading p:not(.moxa-kicker) {
  max-width: 680px;
  margin: 0;
  color: rgba(248, 241, 228, .72);
  font-size: 13px;
  line-height: 2;
}

.moxa-heading-seal {
  width: 76px;
  height: 76px;
  display: grid;
  flex: 0 0 auto;
  place-content: center;
  border: 1px solid rgba(223, 197, 142, .58);
  outline: 1px solid rgba(223, 197, 142, .18);
  outline-offset: 5px;
  color: #dfc58e;
  font-family: "Songti SC", "STSong", serif;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: .12em;
  text-align: center;
  transform: rotate(4deg);
}

.moxa-film-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.moxa-film-card {
  overflow: hidden;
  border: 1px solid rgba(223, 197, 142, .23);
  background: linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
  box-shadow: 0 18px 42px rgba(12, 6, 20, .19);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.moxa-film-card:hover {
  transform: translateY(-4px);
  border-color: rgba(223, 197, 142, .55);
  box-shadow: 0 24px 48px rgba(12, 6, 20, .28);
}

.moxa-film-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #170f20;
}

.moxa-film-media::after {
  position: absolute;
  inset: 0;
  border-bottom: 1px solid rgba(223, 197, 142, .26);
  content: "";
  pointer-events: none;
}

.moxa-film-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #170f20;
}

.moxa-film-index {
  position: absolute;
  top: 12px;
  left: 13px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 248, 236, .36);
  background: rgba(29, 17, 42, .62);
  color: #fff8ec;
  font: 10px ui-monospace, monospace;
  letter-spacing: .13em;
  pointer-events: none;
}

.moxa-film-copy {
  min-height: 154px;
  padding: 17px 19px 19px;
}

.moxa-film-copy h3,
.moxa-gallery-heading h3 {
  margin: 8px 0 7px;
  color: #fff8ec;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .06em;
}

.moxa-film-copy p {
  margin: 0;
  color: rgba(248, 241, 228, .7);
  font-size: 12px;
  line-height: 1.9;
}

.moxa-gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 54px 0 19px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(223, 197, 142, .25);
}

.moxa-gallery-heading h3 {
  margin-bottom: 0;
}

.moxa-gallery-heading p {
  max-width: 330px;
  margin: 0;
  color: rgba(248, 241, 228, .62);
  font-size: 11px;
  line-height: 1.8;
  text-align: right;
}

.moxa-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 170px;
  gap: 12px;
}

.moxa-photo-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(223, 197, 142, .3);
  background: #21142c;
  color: #fff8ec;
  text-decoration: none;
}

.moxa-photo-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.moxa-photo-card::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(20, 12, 29, .78));
  content: "";
  pointer-events: none;
}

.moxa-photo-card span {
  position: absolute;
  z-index: 1;
  right: 12px;
  bottom: 11px;
  left: 12px;
  font-size: 11px;
  letter-spacing: .08em;
}

.moxa-photo-card:hover img {
  filter: saturate(1.08);
  transform: scale(1.045);
}

.moxa-photo-wide {
  grid-column: span 2;
  grid-row: span 2;
}

.moxa-process-note {
  margin: 20px 0 0;
  padding: 13px 15px;
  border-left: 2px solid #c6a669;
  background: rgba(255, 255, 255, .045);
  color: rgba(248, 241, 228, .68);
  font-size: 11px;
  line-height: 1.9;
}

@media (max-width: 760px) {
  .moxa-process-section {
    padding: 50px 0;
  }

  .moxa-film-grid {
    gap: 13px;
  }

  .moxa-film-copy {
    min-height: 0;
    padding: 14px;
  }

  .moxa-film-copy h3 {
    font-size: 17px;
  }

  .moxa-film-copy p {
    font-size: 11px;
  }

  .moxa-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 145px;
    gap: 9px;
  }
}

@media (max-width: 520px) {
  .moxa-section-heading {
    align-items: flex-start;
  }

  .moxa-heading-seal {
    width: 54px;
    height: 54px;
    font-size: 13px;
  }

  .moxa-section-heading p:not(.moxa-kicker) {
    font-size: 12px;
  }

  .moxa-film-grid {
    grid-template-columns: 1fr;
  }

  .moxa-film-copy {
    padding: 15px 16px 17px;
  }

  .moxa-gallery-heading {
    display: block;
    margin-top: 38px;
  }

  .moxa-gallery-heading p {
    margin-top: 10px;
    text-align: left;
  }

  .moxa-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 128px;
    gap: 8px;
  }

  .moxa-photo-wide {
    grid-column: span 2;
    grid-row: span 2;
  }

  .moxa-photo-card span {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .moxa-film-card,
  .moxa-photo-card img {
    transition: none;
  }
}
