:root {
  color-scheme: light;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --scroll-progress: 0;
}

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(3.5rem, 7vw, 5.5rem);
  padding: clamp(2.5rem, 6vw, 6rem) clamp(1.5rem, 6vw, 4.5rem);
  background: radial-gradient(circle at top left, rgba(67, 209, 195, 0.2), transparent 55%),
              radial-gradient(circle at bottom right, rgba(255, 154, 140, 0.18), transparent 45%),
              #030712;
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
  color: #0b1428;
}

body::before,
body::after {
  content: '';
  position: fixed;
  z-index: -2;
  width: 140vmax;
  height: 140vmax;
  border-radius: 50%;
  filter: blur(120px);
  animation: float 26s ease-in-out infinite;
  mix-blend-mode: screen;
}

body::before {
  top: -60vmax;
  right: -40vmax;
  background: conic-gradient(from 120deg, rgba(67, 209, 195, 0.8), rgba(255, 154, 140, 0.75), rgba(123, 93, 255, 0.78), rgba(67, 209, 195, 0.8));
  opacity: calc(0.45 + var(--scroll-progress, 0) * 0.35);
}

body::after {
  bottom: -65vmax;
  left: -55vmax;
  background: conic-gradient(from 40deg, rgba(91, 225, 234, 0.75), rgba(255, 188, 168, 0.78), rgba(133, 106, 255, 0.82));
  animation-delay: -13s;
  opacity: calc(0.35 + var(--scroll-progress, 0) * 0.45);
}

main {
  width: min(1080px, 100%);
  display: grid;
  gap: clamp(4rem, 8vw, 6rem);
  flex: 1 0 auto;
}

.hero-card {
  position: relative;
  width: 100%;
  padding: clamp(2.8rem, 6vw, 3.6rem);
  border-radius: 36px;
  background: rgba(250, 252, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 32px 80px rgba(8, 15, 36, 0.28);
  backdrop-filter: blur(28px);
  text-align: center;
  display: grid;
  gap: clamp(1.8rem, 4vw, 2.6rem);
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

.logo {
  width: clamp(110px, 18vw, 150px);
  margin-inline: auto;
  filter: drop-shadow(0 14px 24px rgba(14, 36, 71, 0.22));
  transition: transform 0.4s ease;
}

.logo:hover {
  transform: scale(1.03);
}

.tagline {
  font-family: 'Space Grotesk', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(2rem, 5vw, 2.7rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: #0b1428;
  margin: 0 auto;
  max-width: 24ch;
}

.accent {
  background: linear-gradient(120deg, #43d1c3, #ff9a8c 50%, #7b4dff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtext {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: rgba(11, 20, 40, 0.72);
  line-height: 1.7;
  max-width: 42ch;
  margin: 0 auto;
  text-align: center;
}

.follow-block {
  display: grid;
  gap: 1.1rem;
  justify-items: center;
}

.follow-title {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(11, 20, 40, 0.5);
  position: relative;
  padding-bottom: 0.6rem;
}

.follow-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 72px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(120deg, #43d1c3, #ff9a8c, #7b4dff);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 440px;
  margin-inline: auto;
}

.social-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  font-size: 0.96rem;
  font-weight: 600;
  color: #0b1428;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: linear-gradient(135deg, rgba(67, 209, 195, 0.22), rgba(123, 93, 255, 0.24));
  box-shadow: 0 16px 40px rgba(12, 26, 57, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.social-link span:last-child {
  position: relative;
  z-index: 1;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.2));
  color: #2a3d67;
  box-shadow: inset 0 0 0 1px rgba(11, 20, 40, 0.05), 0 10px 20px rgba(12, 26, 57, 0.18);
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 22px 48px rgba(12, 26, 57, 0.24);
  border-color: rgba(108, 92, 231, 0.65);
  background: linear-gradient(135deg, rgba(67, 209, 195, 0.32), rgba(123, 93, 255, 0.36));
}

.social-link:focus-visible {
  outline: none;
}

.site-footer {
  width: min(1080px, 100%);
  padding: 1.6rem 1.5rem 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(231, 238, 255, 0.72);
  letter-spacing: 0.02em;
}

.scroll-cue {
  display: grid;
  place-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(11, 20, 40, 0.68);
  opacity: clamp(0, 1, 1 - var(--scroll-progress, 0) * 1.5);
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.scroll-icon {
  width: 16px;
  height: 26px;
  border-radius: 999px;
  border: 1.5px solid rgba(11, 20, 40, 0.38);
  position: relative;
}

.scroll-icon::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 6px;
  border-radius: 999px;
  background: rgba(11, 20, 40, 0.6);
  left: 50%;
  top: 6px;
  transform: translateX(-50%);
  animation: cue-bounce 1.8s ease-in-out infinite;
}

.team {
  position: relative;
  padding: clamp(3rem, 7vw, 4.2rem);
  border-radius: 40px;
  background: rgba(7, 13, 29, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(40px);
  overflow: hidden;
}

.team::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 188, 168, 0.25), transparent 55%),
              radial-gradient(circle at bottom left, rgba(91, 225, 234, 0.28), transparent 50%);
  opacity: calc(0.4 + var(--scroll-progress, 0) * 0.4);
  pointer-events: none;
}

.team-header {
  position: relative;
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(109, 98, 237, 0.9);
}

.team-header h2 {
  font-family: 'Space Grotesk', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(2rem, 4.4vw, 2.6rem);
  color: #f5f7ff;
}

.team-header p {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(231, 238, 255, 0.74);
  line-height: 1.7;
}

.team-grid {
  position: relative;
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
  display: grid;
  gap: clamp(1.8rem, 4vw, 2.6rem);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.team-card {
  position: relative;
  background: rgba(250, 252, 255, 0.94);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 18px 44px rgba(9, 17, 35, 0.22);
  overflow: hidden;
  display: grid;
  gap: 1.4rem;
  padding: 1.6rem;
}

.team-photo {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(140deg, rgba(67, 209, 195, 0.4), rgba(123, 93, 255, 0.4));
}

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

.team-content {
  display: grid;
  gap: 0.6rem;
}

.team-content h3 {
  font-family: 'Space Grotesk', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.4rem;
  color: #0b1428;
}

.role {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(11, 20, 40, 0.58);
}

.team-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.team-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #0b1428;
  text-decoration: none;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(241, 244, 255, 0.88);
  border: 1px solid rgba(11, 20, 40, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 10px 24px rgba(11, 20, 40, 0.1);
}

.team-link:hover,
.team-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(109, 98, 237, 0.45);
  box-shadow: 0 16px 32px rgba(11, 20, 40, 0.16);
  outline: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(10px);
  transition: opacity 0.8s ease, transform 0.8s ease, filter 0.8s ease;
  transition-delay: var(--reveal-delay, 0s);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (max-width: 900px) {
  body {
    padding: clamp(2rem, 8vw, 3rem) clamp(1.2rem, 6vw, 3rem);
  }

  .hero-card {
    border-radius: 30px;
    gap: 2rem;
  }

  .team {
    border-radius: 32px;
    padding: clamp(2.6rem, 8vw, 3.2rem);
  }
}

@media (max-width: 640px) {
  body {
    gap: clamp(3rem, 10vw, 4rem);
  }

  main {
    gap: clamp(3rem, 8vw, 4.5rem);
  }

  .hero-card {
    text-align: center;
    padding: clamp(2.4rem, 10vw, 2.9rem);
  }

  .subtext {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .social-link {
    width: 100%;
    justify-content: center;
  }

  .follow-title {
    letter-spacing: 0.22em;
  }

  .team-header {
    text-align: center;
  }

  .team-grid {
    gap: 1.6rem;
  }

  .team-card {
    padding: 1.4rem;
  }

  .team-links {
    flex-direction: column;
  }
}

@keyframes float {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(20deg) scale(1.05);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after {
    animation: none;
  }

  .scroll-icon::after {
    animation: none;
  }

  [data-reveal] {
    transition: none;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .logo {
    transition: none;
  }

  .social-link,
  .team-link {
    transition: none;
  }
}
