/* Lume studio case page — 2026 redesign, dark theme (matches home page) */

.lume-page {
  background: var(--bg);
}

.lume-container {
  padding: 0 var(--page-x);
  box-sizing: border-box;
}

/* ---- Hero ---- */

.lume-hero {
  display: flex;
  align-items: flex-end;
  gap: 80px;
  margin-top: 129px;
}

.lume-hero__visual {
  flex: none;
  width: 510px;
  height: 500px;
  overflow: hidden;
}

.lume-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lume-hero__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  flex: none;
  width: 450px;
  height: 500px;
}


.lume-hero__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 450px;
}

.lume-hero__title {
  margin: 0;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: 0.03em;
  color: var(--white);
}

.lume-hero__desc {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0.03em;
  color: var(--silver-300);
}

.lume-hero__desc p {
  margin: 0;
}

.lume-meta {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.lume-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lume-meta-label {
  margin: 0;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.03em;
  color: var(--silver-300);
}

.lume-meta-value {
  margin: 0;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.03em;
  color: var(--white);
  text-align: right;
  white-space: nowrap;
}

.lume-website {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 32px;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0.03em;
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
  width: max-content;
}

.lume-website:hover {
  border-bottom-color: var(--white);
}

.lume-website img {
  display: block;
  width: 20px;
  height: 20px;
}

/* ---- Texture image ---- */

.lume-texture {
  margin-top: 100px;
  width: 100%;
  overflow: hidden;
}

.lume-texture img {
  width: 100%;
  display: block;
}

/* ---- Text block (Challenge / Approach / Result) ---- */

.lume-text-block {
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.lume-text-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lume-text-row h2 {
  margin: 0;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: 0.03em;
  color: var(--white);
}

.lume-text-row p {
  margin: 0;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0.03em;
  color: var(--silver-300);
}

/* ---- Showcase image stack (flush, no gap) ---- */

.lume-showcase {
  margin-top: 100px;
  display: flex;
  flex-direction: column;
}

.lume-showcase img {
  width: 100%;
  display: block;
}

/* ---- Footer ---- */

.lume-footer {
  margin-top: 150px;
  padding: 60px 0;
  display: flex;
  justify-content: center;
}

.lume-footer p {
  margin: 0;
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 0.03em;
  color: var(--silver-300);
}

/* ---- Fluid hero between mobile and large desktop ---- */

@media (min-width: 901px) {
  .lume-hero {
    gap: clamp(40px, 5.56vw, 80px);
  }

  .lume-hero__visual {
    flex: 510 1 0;
    width: auto;
    height: auto;
    min-width: 0;
    aspect-ratio: 510 / 500;
  }

  .lume-hero__body {
    flex: 450 1 0;
    width: auto;
    height: auto;
    min-width: 0;
  }

  .lume-meta-label {
    white-space: nowrap;
  }

  .lume-meta-value {
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .lume-container {
    padding: 0 16px;
  }

  .lume-hero {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    margin-top: 56px;
  }

  .lume-hero__visual {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .lume-hero__body {
    width: 100%;
    height: auto;
  }

  .lume-hero__content {
    max-width: none;
    width: 100%;
    gap: 24px;
  }

  .lume-hero__title,
  .lume-text-row h2 {
    font-size: 24px;
  }

  .lume-hero__desc,
  .lume-meta-label,
  .lume-meta-value,
  .lume-text-row p {
    font-size: 16px;
  }

  .lume-meta-label,
  .lume-meta-value {
    line-height: 1.3;
  }

  .lume-website {
    margin-top: 8px;
    font-size: 16px;
  }

  .lume-texture,
  .lume-text-block,
  .lume-showcase {
    margin-top: 56px;
  }

  .lume-text-block {
    gap: 32px;
  }

  .lume-footer {
    margin-top: 56px;
    padding: 0 16px 16px;
  }

  .lume-footer p {
    font-size: 14px;
    line-height: 1.3;
    text-align: center;
  }
}
