/* about.css — About page styles for TribeHeritage */

/* theme tokens */
:root {
  --bg: #0f1724;
  --panel: rgba(255, 255, 255, 0.02);
  --muted: #b7c4cc;
  --text: #f7f6f3;
  --accent: #ff6e50;
  --accent-2: #ffdda8;
  --glass: rgba(255, 255, 255, 0.03);
  --radius: 12px;
  --container: 1150px;
  --gap: 18px;
  --shadow: 0 12px 30px rgba(2, 6, 23, 0.6);
  --transition: 220ms cubic-bezier(0.2, 0.9, 0.2, 1);
}


.back-btn {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 200;
  padding: 8px 14px;
  border-radius: 8px;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);

  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;

  backdrop-filter: blur(6px);
  transition: all 0.25s ease;
}

/* reset + base */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  background: linear-gradient(180deg, var(--bg) 0%, #07101a 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  font-size: 16px;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
a {
  color: inherit;
  text-decoration: none;
}
.muted {
  color: var(--muted);
}

/* header (shared style) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: linear-gradient(
    180deg,
    rgba(6, 10, 16, 0.94),
    rgba(6, 10, 16, 0.7)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(6px);
}
.header-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand__img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
}
.brand__text strong {
  display: block;
  font-size: 16px;
  color: var(--text);
}
.brand__text small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.nav {
  display: flex;
  justify-content: center;
}
.nav__list {
  display: flex;
  gap: 12px;
  align-items: center;
  list-style: none;
  padding: 6px;
  margin: 0;
  flex-wrap: nowrap;
  overflow: auto;
  white-space: nowrap;
}
.nav__list a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 22px;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
}
.nav__list a.active {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.01)
  );
  color: var(--text);
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.45);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.02);
}
.profile-avatar {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  object-fit: cover;
}
.profile-name {
  font-weight: 700;
  color: var(--text);
}
.header-divider {
  height: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

/* hero */
.hero {
  padding: 42px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: center;
}
.kicker {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.hero-left h1 {
  font-size: 34px;
  margin: 6px 0 12px;
}
.hero-lead {
  color: var(--muted);
  max-width: 65ch;
  margin-bottom: 18px;
}
.hero-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.hero-ctas {
  display: flex;
  gap: 12px;
}

/* sections */
.section {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.01);
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.01),
    rgba(255, 255, 255, 0.01)
  );
  padding: 18px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.timeline-list {
  margin: 12px 0 0;
  padding-left: 16px;
  color: var(--muted);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 12px;
}
.team-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.01),
    rgba(255, 255, 255, 0.01)
  );
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.45);
  display: flex;
  flex-direction: column;
}
.team-card img {
  width: 100%;
  height: 20px;
  object-fit: cover;
  display: block;
}
.team-body {
  padding: 12px;
}
.team-body h3 {
  margin: 0 0 4px;
}
.team-body small {
  display: block;
  color: var(--accent);
  margin-bottom: 8px;
}

/* ethics mini-cards */
.ethics-cards {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.mini-card {
  flex: 1;
  min-width: 220px;
  background: rgba(255, 255, 255, 0.01);
  padding: 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.02);
}

/* faq */
.faq details {
  background: rgba(255, 255, 255, 0.01);
  padding: 12px;
  border-radius: 8px;
  margin: 10px 0;
  border: 1px solid rgba(255, 255, 255, 0.02);
}
.faq summary {
  font-weight: 700;
  cursor: pointer;
}
.faq p {
  margin: 8px 0 0;
  color: var(--muted);
}

/* cta */
.cta-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.01),
    rgba(255, 255, 255, 0.01)
  );
  padding: 18px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 0;
  background: var(--glass);
  color: var(--text);
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn--primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #07101a;
  font-weight: 700;
}
.btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: var(--text);
}

/* footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  padding: 28px 0;
  margin-top: 18px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 220px 160px;
  gap: 20px;
  align-items: start;
}
.footer-col .muted {
  color: var(--muted);
  font-size: 14px;
}

/* responsive */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr 360px;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .header-top {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
  }
  .nav__list {
    overflow: auto;
    padding-bottom: 6px;
  }
  .hero-media img {
    height: 220px;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .ethics-cards {
    flex-direction: column;
  }
  .cta-card {
    align-items: stretch;
  }
}
@media (max-width: 420px) {
  .hero-left h1 {
    font-size: 22px;
  }
  body {
    font-size: 15px;
  }
  .brand__text small {
    display: none;
  }
  .profile-name {
    display: none;
  }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
