:root {
  --color-background: #04101c;
  --color-surface: #0c1f33;
  --color-surface-light: rgba(15, 35, 55, 0.9);
  --color-accent: #2dd8a8;
  --color-accent-soft: rgba(45, 216, 168, 0.18);
  --color-highlight: #58b0ff;
  --color-text: #f5fbff;
  --color-muted: rgba(245, 251, 255, 0.72);
  --color-border: rgba(255, 255, 255, 0.12);
  --radius: 18px;
  --max-width: 1120px;
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 18px 40px rgba(5, 20, 33, 0.35);
  --transition: 0.35s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: radial-gradient(circle at 20% -10%, rgba(37, 112, 170, 0.45), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(45, 216, 168, 0.35), transparent 60%), var(--color-background);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  border-radius: calc(var(--radius) - 6px);
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-highlight);
  outline-offset: 4px;
  border-radius: 8px;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1.25em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.section--light {
  background: rgba(10, 28, 45, 0.75);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(2.5rem, 6vw, 3.5rem);
}

.section__header p {
  color: var(--color-muted);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding-bottom: 6rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 25%, rgba(45, 216, 168, 0.25), transparent 55%),
    radial-gradient(circle at 85% 15%, rgba(88, 176, 255, 0.3), transparent 60%);
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 16, 28, 0) 55%, rgba(4, 16, 28, 0.9) 100%);
  z-index: -1;
}

.nav {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem min(10vw, 5rem);
  z-index: 20;
  transition: background 0.2s ease;
}

.nav.scrolled {
  backdrop-filter: blur(14px);
  background: rgba(6, 22, 34, 0.88);
  border-bottom: 1px solid var(--color-border);
}

.logo {
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 1.1rem;
}

.nav__links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav__links a {
  padding: 0.6rem 1rem;
  border-radius: 999px;
  transition: background 0.2s ease;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.nav__links a.active,
.nav__links a:hover {
  background: var(--color-accent-soft);
  color: var(--color-text);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  border: none;
  background: transparent;
  padding: 0.5rem;
}

.nav__toggle span {
  width: 1.75rem;
  height: 2px;
  background: var(--color-text);
  border-radius: 999px;
  transition: transform 0.3s ease;
}

.hero__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  align-items: center;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  padding: clamp(4rem, 8vw, 6rem) min(10vw, 5rem) 0;
}

.hero__text h1 {
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.1;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
  color: var(--color-accent);
}

.lead {
  font-size: 1.05rem;
  color: var(--color-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.85rem 1.85rem;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
}

.btn--primary {
  background: var(--color-accent);
  color: #062821;
  box-shadow: 0 18px 36px rgba(45, 216, 168, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(45, 216, 168, 0.4);
}

.btn--ghost {
  border: 1px solid var(--color-border);
  color: var(--color-text);
  background: transparent;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.hero__panel {
  display: grid;
  gap: 1.5rem;
}

.hero__visual {
  position: relative;
}

.hero__globe {
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: var(--color-surface);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

#globeCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero__co2-trail {
  position: absolute;
  inset: auto 0 10% 0;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  pointer-events: none;
}

.hero__co2-cloud {
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(45, 216, 168, 0.75), rgba(88, 176, 255, 0.7));
  color: rgba(6, 32, 28, 0.9);
  box-shadow: 0 18px 36px rgba(45, 216, 168, 0.28);
  filter: blur(0);
  animation: disperse 6s linear infinite;
}

.hero__co2-cloud::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 0.35rem;
  border-radius: 999px;
  background: rgba(6, 32, 28, 0.4);
  opacity: 0.4;
}

.hero__co2-cloud--delay {
  animation-delay: 2s;
}

.hero__co2-cloud--delay-long {
  animation-delay: 4s;
}

@keyframes disperse {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.9);
  }
  20% {
    opacity: 1;
  }
  60% {
    opacity: 0.8;
    transform: translateY(-12px) scale(1);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-36px) scale(1.05);
    filter: blur(6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__co2-cloud {
    animation: none;
    opacity: 0.85;
  }
}

.hero__highlights article {
  background: var(--color-surface-light);
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.scroll-indicator {
  display: grid;
  place-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-muted);
}

.scroll-indicator .mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--color-muted);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator .mouse::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: var(--color-muted);
  border-radius: 999px;
  transform: translateX(-50%);
  animation: scroll 1.6s infinite;
}

@keyframes scroll {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
}

.mission {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
}

.mission__content p {
  color: var(--color-muted);
}

.mission__stats {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.mission__stats article {
  background: rgba(11, 29, 47, 0.65);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  backdrop-filter: blur(6px);
}

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

.focus__card {
  background: rgba(6, 22, 34, 0.85);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(88, 176, 255, 0.2);
  transition: transform var(--transition), border-color var(--transition);
}

.focus__card:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent);
}

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

.profile {
  background: rgba(6, 20, 32, 0.85);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.profile__media {
  border-radius: calc(var(--radius) - 6px);
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at 30% 30%, rgba(88, 176, 255, 0.35), transparent 70%),
    rgba(8, 24, 38, 0.85);
}

.profile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile__content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.profile__content p {
  color: var(--color-muted);
}

.profile ul li {
  margin-bottom: 0.5rem;
  color: var(--color-muted);
}

.partners {
  text-align: center;
}

.partners__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partner-card {
  background: rgba(6, 22, 34, 0.82);
  border-radius: var(--radius);
  border: 1px solid rgba(88, 176, 255, 0.2);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.partner-card a {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  color: inherit;
}

.partner-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

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

.partner-card__content {
  display: grid;
  gap: 0.4rem;
  padding: 1.1rem 1.2rem 1.4rem;
}

.partner-card__name {
  font-weight: 600;
}

.partner-card__domain {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.partner-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent);
  box-shadow: 0 28px 46px rgba(45, 216, 168, 0.25);
}

.story-ribbon {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}

.story-ribbon__track {
  display: flex;
  gap: 1rem;
  overflow: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.story-card {
  flex: 0 0 auto;
  width: clamp(220px, 22vw, 280px);
  display: flex;
  flex-direction: column;
  background: rgba(6, 22, 34, 0.85);
  padding: 0.75rem 0.75rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(88, 176, 255, 0.24);
  color: var(--color-text);
  transition: transform var(--transition), border-color var(--transition);
  text-decoration: none;
  scroll-snap-align: start;
}

.story-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
}

.story-card__media {
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.06);
}

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

.story-card__content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.story-card__title {
  font-weight: 600;
  line-height: 1.4;
}

.story-ribbon__control {
  border: none;
  background: rgba(6, 20, 32, 0.85);
  color: var(--color-text);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.story-ribbon__control:hover {
  background: rgba(6, 20, 32, 0.95);
}

.contact {
  display: flex;
  justify-content: center;
}

.contact__card {
  max-width: 540px;
  background: rgba(6, 22, 34, 0.85);
  padding: clamp(2rem, 6vw, 3rem);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  text-align: center;
}

.contact__card p {
  color: var(--color-muted);
}

.contact__info {
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  font-weight: 600;
}

.footer {
  background: rgba(2, 10, 18, 0.9);
  padding: 2rem 0;
}

.footer__content {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  color: var(--color-muted);
}

.back-to-top {
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: absolute;
    top: 100%;
    right: 1.5rem;
    flex-direction: column;
    background: rgba(6, 20, 32, 0.95);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    transform: scale(0.92);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav__links.open {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
  }

  .story-ribbon {
    grid-template-columns: 1fr;
  }

  .story-ribbon__control {
    display: none;
  }

  .story-ribbon__track {
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }

  .footer__content {
    justify-content: center;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
