@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@300;400;600&family=Manrope:wght@300;400;600;700&display=swap');

:root {
  color-scheme: light;
  --bg: #f4f1ec;
  --bg-alt: #fff7ef;
  --card: #ffffff;
  --text: #1b1a17;
  --muted: #6a625a;
  --accent: #ff6b35;
  --accent-2: #0f7173;
  --stroke: rgba(27, 26, 23, 0.12);
  --shadow: 0 20px 60px rgba(17, 15, 12, 0.15);
}

[data-theme='dark'] {
  color-scheme: dark;
  --bg: #0e1418;
  --bg-alt: #142029;
  --card: #17222b;
  --text: #f4f1ec;
  --muted: #a2aab0;
  --accent: #ff9f1c;
  --accent-2: #4fd1c5;
  --stroke: rgba(244, 241, 236, 0.12);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Manrope', sans-serif;
  background: radial-gradient(circle at top left, rgba(255, 159, 28, 0.18), transparent 55%),
    radial-gradient(circle at 70% 20%, rgba(79, 209, 197, 0.18), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

main {
  display: flex;
  flex-direction: column;
  gap: 96px;
  padding: 0 8vw 120px;
}

.hero {
  position: relative;
  padding: 32px 8vw 96px;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 107, 53, 0.18), transparent 55%),
    linear-gradient(220deg, rgba(15, 113, 115, 0.2), transparent 45%);
  pointer-events: none;
}

.nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Chakra Petch', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.brand__logo {
  height: 60px;
  width: auto;
}

.brand__logo--light {
  display: none;
}

[data-theme='dark'] .brand__logo--dark {
  display: none;
}

[data-theme='dark'] .brand__logo--light {
  display: inline-block;
}

.brand__mark {
  background: var(--accent);
  color: #0d0d0d;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.brand__name {
  font-weight: 600;
}

.theme-toggle {
  border: 1px solid var(--stroke);
  background: var(--card);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.theme-toggle__icon {
  font-size: 1.1rem;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 60px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--stroke);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1 {
  font-size: clamp(2.4rem, 3vw + 2rem, 4rem);
  line-height: 1.1;
  font-weight: 700;
}

.hero__lead {
  font-size: 1.1rem;
  color: var(--muted);
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.meta__label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.meta__value {
  font-weight: 600;
  margin-top: 6px;
  display: block;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section__header {
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.teams .section__header {
  max-width: 100%;
}

.teams__photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  max-width: 100%;
  border-radius: 28px;
  border: 0;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
  object-fit: cover;
  display: block;
}

.section__tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent-2);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.8rem, 2vw + 1.2rem, 3rem);
  line-height: 1.2;
}

.card,
.team,
.leader,
.highlight {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.story__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.teams__grid,
.highlights__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.team ul {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
}

.leadership__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.leader__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 107, 53, 0.12);
  color: var(--accent);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  font-weight: 700;
}

.highlights__grid {
  align-items: stretch;
}

.future__content {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 32px;
  display: grid;
  gap: 20px;
  box-shadow: var(--shadow);
}

.future__callout {
  padding: 18px 22px;
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(255, 107, 53, 0.2), rgba(79, 209, 197, 0.2));
  font-weight: 600;
}

.footer {
  padding: 32px 8vw 48px;
  text-align: center;
  color: var(--muted);
}

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

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

@media (max-width: 900px) {
  .hero {
    padding-bottom: 64px;
  }

  main {
    padding: 0 6vw 80px;
    gap: 72px;
  }

  .theme-toggle__text {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 70vh;
  }

  .hero__content {
    margin-top: 40px;
  }
}
