/* mission.css — Bilingual mission page layout (EN + Traditional Chinese) */

/* TC font stack — Noto Serif TC loaded from Google Fonts in mission.ejs */
.tc {
  font-family: 'Noto Serif TC', 'PingFang TC', 'Microsoft JhengHei', serif;
}

/* Header */
.mission-header {
  padding: 80px 48px 48px;
  text-align: center;
}

.mission-header-inner {
  max-width: 800px;
  margin: 0 auto;
}

.mission-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 300;
  color: var(--green-deep);
  margin-bottom: 16px;
}

.lang-sep {
  color: var(--accent);
  margin: 0 8px;
}

.mission-subtitle {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
}

/* Sections */
.mission-section {
  padding: 64px 48px;
}

.mission-section.alt {
  background: var(--card-bg);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.mission-section-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: start;
}

/* Language badge */
.lang-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 4px;
  padding: 2px 10px;
  margin-bottom: 20px;
}

/* Divider between EN and 中文 */
.mission-divider {
  width: 1px;
  background: var(--card-border);
  min-height: 100%;
  align-self: stretch;
}

/* Headings */
.mission-heading {
  font-family: 'Fraunces', serif;
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 300;
  color: var(--green-deep);
  margin-bottom: 24px;
  line-height: 1.3;
}

.mission-heading.tc {
  font-weight: 400;
}

/* Quotes */
.mission-quote {
  font-family: 'Fraunces', serif;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 300;
  font-style: italic;
  color: var(--green-deep);
  line-height: 1.6;
  margin-bottom: 28px;
  border-left: 3px solid var(--accent);
  padding-left: 20px;
}

.mission-quote.tc {
  font-style: normal;
  font-weight: 400;
}

/* Body text */
.mission-text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.mission-text.large {
  font-family: 'Fraunces', serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 300;
  color: var(--green-deep);
  line-height: 1.4;
  margin-bottom: 20px;
}

.mission-text.tc.large {
  font-weight: 400;
}

/* Stats */
.mission-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 24px;
}

.mission-stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.stat-num {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--green-deep);
  white-space: nowrap;
  flex-shrink: 0;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* Values */
.mission-values {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.value-item {
  padding-left: 16px;
  border-left: 2px solid var(--accent);
}

.value-title {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--green-deep);
  margin-bottom: 8px;
}

.value-title.tc {
  font-weight: 600;
}

.value-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* Closing tagline */
.mission-closing {
  padding: 80px 48px;
  background: var(--green-deep);
  text-align: center;
}

.mission-closing-inner {
  max-width: 800px;
  margin: 0 auto;
}

.mission-tagline {
  font-family: 'Fraunces', serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 300;
  font-style: italic;
  color: var(--bg);
  line-height: 1.4;
  margin-bottom: 12px;
}

.mission-tagline.tc {
  font-style: normal;
  font-weight: 400;
  color: rgba(245, 240, 232, 0.6);
  font-size: clamp(18px, 2.5vw, 26px);
}

/* Nav link styling */
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--fg);
}

/* Responsive */
@media (max-width: 900px) {
  .mission-section-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .mission-divider {
    width: 100%;
    height: 1px;
    min-height: 1px;
  }
}

@media (max-width: 600px) {
  .mission-header,
  .mission-section,
  .mission-closing {
    padding-left: 24px;
    padding-right: 24px;
  }

  .mission-header {
    padding-top: 48px;
    padding-bottom: 32px;
  }

  .stat-num {
    font-size: 22px;
  }
}
