/* Case-study page for "Maxim Moyen" — the artist identity project.
   Reuses the main site's design tokens, fonts and section/card
   conventions (style.css) — this file layers in a slightly more
   artistic presentation: a glowing hero backdrop, a hand-written
   signature accent, and a tilted gallery frame for the artwork. */

/* ---------- HERO ---------- */
.mm-hero {
  position: relative;
  background: var(--bg-dark);
  padding: 140px 0 100px;
  text-align: center;
  overflow: hidden;
}
.mm-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(560px 420px at 18% 12%, rgba(153,103,255,.28), transparent 65%),
    radial-gradient(620px 460px at 84% 8%, rgba(63,224,165,.16), transparent 65%),
    radial-gradient(700px 500px at 50% 100%, rgba(153,103,255,.14), transparent 70%);
  pointer-events: none;
}
.mm-hero .container { position: relative; }
.mm-signature {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 34px);
  color: var(--mint);
  transform: rotate(-3deg);
  display: inline-block;
  margin: 0 0 8px;
}
.mm-subtitle {
  max-width: 680px;
  margin: 0 auto 20px;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.4;
  color: var(--text-dark-1);
  font-weight: 500;
}
.mm-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 85%;
  font-size: clamp(48px, 9vw, 116px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--text-dark-1);
  margin: 0 0 20px;
}
.mm-desc {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.6;
  color: var(--text-dark-2);
}
.mm-hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.mm-btn-primary,
.mm-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.mm-btn-primary { background: var(--mint); color: #06281d; }
.mm-btn-primary:hover { transform: translateY(-2px); background: var(--mint-2); }
.mm-btn-secondary { background: transparent; color: var(--text-dark-1); border: 1px solid rgba(255,255,255,.25); }
.mm-btn-secondary:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.5); }
.mm-hero-shots {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.mm-hero-shot {
  max-width: 260px;
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 90px rgba(0,0,0,.55);
}

/* ---------- COPY ---------- */
.mm-copy {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-light-2);
}
.mm-copy p { margin: 0 0 20px; }
.mm-copy p:last-child { margin-bottom: 0; }
.section--dark .mm-copy { color: var(--text-dark-2); }
.mm-copy--center { margin: 0 auto; text-align: center; }

/* ---------- CREATIVE INTERESTS (5-card asymmetric grid) ---------- */
.mm-interest-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.mm-card {
  grid-column: span 2;
  background: #fafafa;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 24px;
}
.mm-interest-grid .mm-card:nth-child(4) { grid-column: 2 / span 2; }
.mm-interest-grid .mm-card:nth-child(5) { grid-column: 4 / span 2; }
.mm-card h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.mm-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-light-2);
  margin: 0;
}

/* ---------- ARTWORK SHOWCASE ---------- */
.mm-showcase-frame {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,.18);
  transform: rotate(-0.8deg);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.mm-showcase-frame:hover { transform: rotate(0deg) scale(1.01); }
.mm-showcase-frame img { width: 100%; display: block; }
.mm-showcase-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-light-2);
  margin: 24px 0 0;
}

/* ---------- PLATFORM CARDS ---------- */
.mm-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.mm-platform-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fafafa;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .3s ease, transform .3s ease;
}
.mm-platform-card:hover { box-shadow: 0 16px 32px rgba(0,0,0,.1); transform: translateY(-3px); }
.mm-platform-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.mm-platform-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}
.mm-platform-name {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  flex: 1;
}
.mm-platform-arrow { color: var(--text-light-2); flex-shrink: 0; }

/* ---------- ROLE TAGS ---------- */
.mm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.mm-tag {
  padding: 8px 16px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light-1);
}
.section--dark .mm-tag { color: var(--text-dark-1); border-color: rgba(255,255,255,.18); }

/* ---------- CLOSING ---------- */
.mm-closing {
  background: var(--bg-dark);
  text-align: center;
}
.mm-closing .mm-copy { color: var(--text-dark-2); }

/* ---------- NEXT PROJECT ---------- */
.mm-next-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px);
  gap: 20px;
}
.mm-next-card {
  display: block;
  background: #fafafa;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .3s ease, transform .3s ease;
}
.mm-next-card:hover { box-shadow: 0 16px 32px rgba(0,0,0,.1); transform: translateY(-4px); }
.mm-next-thumb { display: block; aspect-ratio: 16 / 9; background-size: cover; background-position: center; }
.mm-next-name { display: block; padding: 16px 20px 4px; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.mm-next-link { display: block; padding: 0 20px 18px; font-size: 14px; color: var(--text-light-2); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .mm-interest-grid { grid-template-columns: 1fr 1fr; }
  .mm-interest-grid .mm-card,
  .mm-interest-grid .mm-card:nth-child(4),
  .mm-interest-grid .mm-card:nth-child(5) { grid-column: auto; }
  .mm-platform-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .mm-hero { padding: 110px 0 70px; }
  .mm-interest-grid { grid-template-columns: 1fr; }
  .mm-hero-shot { max-width: 220px; }
  .mm-platform-grid { grid-template-columns: 1fr; }
}
