@font-face {
  font-family: Inter;
  src: url("/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

:root {
  --navy: #0d1c24;
  --ink: #1b2d36;
  --muted: #5d717b;
  --paper: #f3f7f8;
  --white: #ffffff;
  --cyan: #5ec4d4;
  --cyan-deep: #2b93a6;
  --cyan-soft: #dff4f8;
  --line: rgba(13, 28, 36, 0.1);
  --shadow: 0 18px 50px rgba(13, 28, 36, 0.1);
  --radius: 18px;
  --header-h: 76px;
  --max: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--cyan-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--navy);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  z-index: 1000;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(13, 28, 36, 0.06);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  height: 46px;
  width: auto;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  position: absolute;
  left: 11px;
  transition: 0.2s var(--ease);
}

.nav-toggle span {
  top: 21px;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 11px;
  border-radius: 999px;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--cyan-deep);
  background: var(--cyan-soft);
}

.nav-list .nav-cta {
  margin-left: 8px;
  background: var(--navy);
  color: #fff !important;
  padding: 9px 16px;
}

.nav-list .nav-cta:hover {
  background: var(--cyan-deep);
}

.hero {
  position: relative;
  min-height: min(860px, calc(100svh - var(--header-h)));
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.1s var(--ease), transform 8s linear;
}

.hero-slides img.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 28, 36, 0.55) 0%, rgba(13, 28, 36, 0.72) 100%),
    radial-gradient(circle at 20% 20%, rgba(94, 196, 212, 0.25), transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 40px));
  text-align: center;
  padding: 72px 0 88px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(1.85rem, 4.6vw, 4.2rem);
  font-weight: 650;
  min-height: 1.25em;
  text-wrap: balance;
}

.rotator {
  display: grid;
}

.rotator span {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.rotator span.is-active {
  opacity: 1;
  transform: none;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s var(--ease);
}

.btn-primary {
  background: var(--cyan);
  color: var(--navy);
}

.btn-primary:hover {
  background: #79d4e2;
  color: var(--navy);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: #fff;
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
}

.btn-outline:hover {
  border-color: var(--cyan-deep);
  color: var(--cyan-deep);
}

.section {
  padding: 96px 0;
}

.section-muted {
  background: var(--paper);
}

.section-dark {
  background: var(--navy);
  color: #d7e4e8;
}

.section-dark h2,
.section-dark .stat-value {
  color: #fff;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--cyan-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 12px;
}

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

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.about-copy {
  font-size: 1.05rem;
  color: #33464f;
}

.mission {
  display: grid;
  gap: 14px;
}

.mission li {
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 18px 20px;
  border-left: 4px solid var(--cyan);
}

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

@media (min-width: 981px) {
  .cards.five {
    grid-template-columns: repeat(6, 1fr);
  }

  .cards.five .card {
    grid-column: span 2;
  }

  .cards.five .card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .cards.five .card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--cyan-soft);
  color: var(--cyan-deep);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.icon-wrap svg {
  width: 26px;
  height: 26px;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 0.96rem;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.logo-card {
  min-height: 120px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 22px 28px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.logo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.logo-card img {
  max-height: 56px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.logo-card.is-dark {
  background: #111;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.market-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  min-height: 220px;
  display: block;
}

.market-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.market-card:hover img {
  transform: scale(1.05);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-value {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--cyan);
}

.stat-label {
  color: #9db0b8;
  margin-top: 4px;
}

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

.person {
  text-align: center;
  padding: 22px 12px 26px;
}

.person img {
  width: 128px;
  height: 128px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: #e8eef0;
  box-shadow: 0 0 0 6px var(--cyan-soft);
}

.person h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.person p {
  color: var(--muted);
  font-size: 0.9rem;
}

.news-list {
  display: grid;
  gap: 16px;
}

.news-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
  padding: 22px;
  text-decoration: none;
  color: inherit;
}

.news-card img {
  width: 100%;
  height: 72px;
  object-fit: contain;
  background: #fff;
}

.news-card h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.news-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.news-meta {
  font-size: 12px;
  color: var(--cyan-deep);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.address {
  background: var(--navy);
  color: #d7e4e8;
  border-radius: 20px;
  padding: 36px;
  max-width: 560px;
  margin-inline: auto;
}

.address h3 {
  color: #fff;
}

.address dl {
  margin: 0;
  display: grid;
  gap: 16px;
}

.address dt {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.address dd {
  margin: 4px 0 0;
}

.address a {
  color: #fff;
}

.site-footer {
  background: #08141a;
  color: #9db0b8;
  padding: 36px 0;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: #c9d8dd;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--cyan);
}

.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 64px 0 48px;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
}

.prose {
  max-width: 760px;
  margin: 0 auto;
}

.prose h2 {
  margin-top: 1.6em;
  font-size: 1.35rem;
}

.prose h3 {
  font-size: 1.05rem;
  margin-top: 1.2em;
}

.prose ul,
.prose ol {
  padding-left: 1.2em;
}

.imprint dl {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 12px 20px;
}

.imprint dt {
  font-weight: 650;
  color: var(--muted);
}

.imprint dd {
  margin: 0;
}

.article {
  max-width: 760px;
  margin: 0 auto;
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.not-found {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 20px;
}

@media (max-width: 980px) {
  .about-grid,
  .cards,
  .logo-grid,
  .market-grid,
  .stats,
  .team-grid,
  .news-card,
  .imprint dl {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid .person:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 240px);
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  .cards.five .card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 9px);
    justify-self: center;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .header-inner {
    position: relative;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 18px 40px rgba(13, 28, 36, 0.12);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: 0.2s var(--ease);
    padding: 8px 12px 16px;
    z-index: 20;
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-list a {
    padding: 12px 14px;
  }

  .nav-list .nav-cta {
    margin: 8px 0 0;
    text-align: center;
    justify-content: center;
    width: 100%;
  }

  .cards,
  .logo-grid,
  .market-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-slides img,
  .rotator span,
  .card,
  .market-card img {
    transition: none;
  }
}
