/* ============================================
   Thinking Studios — Homepage Stylesheet
   Loaded AFTER global.css.
   ============================================ */

/* --- Hero Viewport --- */
.hero-viewport {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 40px 80px;
  background: var(--cloud);
}

.hero-inner {
  max-width: 720px;
}

.ts-wordmark {
  text-align: center;
  margin-bottom: 40px;
}

.ts-wordmark .line1 {
  font-size: 48px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--deep);
  display: block;
  margin-bottom: 8px;
}

.ts-wordmark .line2 {
  font-size: 48px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--deep);
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.ts-wordmark .mark {
  display: inline-block;
  margin-left: 8px;
  position: relative;
  top: 4px;
}

.thesis {
  font-size: 22px;
  font-weight: 400;
  color: var(--deep);
  line-height: 1.6;
}

/* --- Home Sections --- */
.home-section {
  padding: 100px 0;
  background: var(--cloud);
}

.home-section.alt {
  background: var(--sky);
}

.home-section-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 60px;
}

.section-heading {
  font-size: 28px;
  font-weight: 400;
  color: var(--deep);
  margin-bottom: 20px;
}

.section-prose {
  font-size: 17px;
  color: var(--between);
  line-height: 1.7;
  margin-bottom: 16px;
}

.section-prose:last-child {
  margin-bottom: 0;
}

/* --- UmmaOS Intro --- */
.umma-intro {
  text-align: center;
  margin-bottom: 40px;
}

.umma-korean {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--deep);
  display: block;
  margin-bottom: 4px;
}

.umma-title {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--deep);
  margin-bottom: 12px;
}

.umma-subtitle {
  font-size: 18px;
  color: var(--between);
}

/* --- Capability Cards --- */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.capability-card {
  background: var(--cloud);
  border: 1px solid var(--light-grey);
  border-top: 3px solid var(--accent);
  border-radius: 12px;
  padding: 36px 28px;
  text-decoration: none;
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.capability-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.cap-korean {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--deep);
  display: block;
  margin-bottom: 4px;
}

.cap-name {
  font-size: 18px;
  font-weight: 500;
  color: var(--deep);
  display: block;
  margin-bottom: 4px;
}

.cap-subtitle {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}

.cap-desc {
  font-size: 15px;
  color: var(--between);
  line-height: 1.6;
}

/* --- Velocity Proof --- */
.velocity {
  text-align: center;
}

.velocity-number {
  font-size: 32px;
  font-weight: 400;
  color: var(--deep);
  margin-bottom: 16px;
}

.text-link {
  display: inline-block;
  font-size: 15px;
  color: var(--peach-deep);
  text-decoration: none;
  margin-top: 12px;
  transition: color 0.2s ease;
}

.text-link:hover {
  color: var(--deep);
}

/* --- Fade-in on scroll --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero-viewport {
    padding: 100px 24px 60px;
  }

  .ts-wordmark .line1,
  .ts-wordmark .line2 {
    font-size: 32px;
  }

  .thesis {
    font-size: 18px;
  }

  .home-section-inner {
    padding: 0 24px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .umma-korean {
    font-size: 36px;
  }

  .umma-title {
    font-size: 28px;
  }

  .velocity-number {
    font-size: 24px;
  }

  .section-heading {
    font-size: 24px;
  }
}
