/*
 * TRiNOV moAI layer 02 (2026-10-07)
 * Sean: "꺾쇠 안에 모션을 꽉 채우도록" - the lime voxel field now fills the whole
 * frame inside the corners (about 30px tiles, so 10 rows on desktop, 7 on
 * phones). On lime the labels, status dot, data rules and corners turn black,
 * moAI's own black-on-lime pairing. Layer 01 notes follow.
 *
 * TRiNOV moAI layer 01 (2026-10-06)
 * Sean: announce the moAI website preview (mo-ai.net) on trinov.dev in the
 * site's own style, and add moAI to the footer's related sites.
 * - R&D section card: the hero-card language (matte, 18px corners, 8px labels,
 *   gold status dot) frames moAI's own lime header band. Lime stays inside the
 *   band; the card chrome stays TRiNOV neutral. A short gold connector ties it
 *   to "AI & MEMORY ARCHITECTURE".
 * - Footer: third related-site link, moAI outline lockup as a CSS mask
 *   (currentColor) at 42x12 (mobile 40x11.4) so its letters optically match
 *   the LaB:96 31x10 and moBle 40x10 logotypes; the lockup carries the mark.
 */

.moai-spotlight {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--module-gap);
  margin-top: 46px;
}

.moai-spotlight::before,
.moai-spotlight::after {
  position: absolute;
  left: calc((100% - 2 * var(--module-gap)) / 6);
  content: "";
  pointer-events: none;
}

.moai-spotlight::before {
  top: -46px;
  width: 1px;
  height: 46px;
  background: var(--accent-line);
}

.moai-spotlight::after {
  top: -26px;
  width: 5px;
  height: 5px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft), 0 0 12px var(--accent-glow);
}

.moai-spotlight-visual {
  position: relative;
  grid-column: 1 / span 2;
  display: block;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #95cc2c;
  color: rgb(0 0 0 / 0.72);
  text-decoration: none;
}

.moai-spotlight-visual .visual-head {
  position: absolute;
  z-index: 3;
  top: 22px;
  right: 22px;
  left: 22px;
}

.moai-spotlight-visual .visual-data {
  z-index: 3;
}

.moai-spotlight-visual .visual-head,
.moai-spotlight-visual .visual-data div {
  color: rgb(0 0 0 / 0.66);
}

.moai-spotlight-visual .visual-data div {
  border-top-color: rgb(0 0 0 / 0.24);
}

.moai-spotlight-visual .visual-data b {
  color: #000;
}

.moai-spotlight-visual .status i {
  background: #000;
  box-shadow: 0 0 0 3px rgb(0 0 0 / 0.12);
}

.moai-spotlight-band {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #95cc2c;
}

.moai-spotlight-band canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.moai-spotlight-band img {
  position: relative;
  z-index: 1;
  display: block;
  width: clamp(150px, 32%, 250px);
  height: auto;
}

.moai-spotlight-visual .corner {
  z-index: 4;
  width: 18px;
  height: 18px;
  border-width: 2px;
  border-color: rgb(0 0 0 / 0.72);
  pointer-events: none;
  transition: border-color 0.2s ease;
}

.moai-spotlight-visual .corner-tl { top: 0; left: 0; }
.moai-spotlight-visual .corner-tr { top: 0; right: 0; }
.moai-spotlight-visual .corner-bl { bottom: 0; left: 0; }
.moai-spotlight-visual .corner-br { right: 0; bottom: 0; }

.moai-spotlight-visual:hover .corner {
  border-color: #000;
}

.moai-spotlight-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  padding: 30px;
  border: 1px solid var(--foundation-border);
  background: var(--foundation-gradient);
}

.moai-spotlight-kicker {
  display: block;
  color: var(--text-secondary);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.moai-spotlight-title {
  margin: 0;
  font-size: clamp(30px, 2.7vw, 38px);
}

.moai-spotlight-copy p {
  margin: 16px 0 0;
  color: var(--text-body);
  font-size: 13px;
  line-height: 1.8;
}

.moai-spotlight-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.footer-moai-logotype {
  display: inline-flex;
  width: 42px;
  height: 12px;
  align-items: center;
  overflow: hidden;
  background-color: currentColor;
  font: 760 16px/1 "Pretendard", sans-serif;
  letter-spacing: -0.04em;
  text-indent: -999em;
  -webkit-mask: url("logo/moai-lockup-v1.svg") center / contain no-repeat;
  mask: url("logo/moai-lockup-v1.svg") center / contain no-repeat;
}

@media (max-width: 900px) {
  .moai-spotlight {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .moai-spotlight::before,
  .moai-spotlight::after {
    display: none;
  }

  .moai-spotlight-visual {
    grid-column: auto;
    min-height: 0;
    aspect-ratio: 2.4 / 1;
  }
}

@media (max-width: 600px) {
  .moai-spotlight-visual {
    min-height: 210px;
    aspect-ratio: auto;
  }

  .moai-spotlight-copy {
    padding: 24px 22px;
  }

  .footer-moai-logotype {
    width: 40px;
    height: 11.4px;
  }
}

/* Three related-site links need more room in the narrow footer than two:
   the copyright drops "ALL RIGHTS RESERVED." from 430px (was 340px) and the
   ↗ marks give way at 360px; the full text stays in the aria-label. */
@media (max-width: 430px) {
  .site-footer .footer-rights {
    display: none;
  }
}

@media (max-width: 360px) {
  .footer-network i {
    display: none;
  }
}
