:root {
  --bg: #0B1622;
  --cyan: #00B4D8;
  --white: #FFFFFF;
  --text: #C8D6E0;
  --muted: #6B8399;
  --cta-border: rgba(200, 214, 224, 0.35);
  --cta-fill: rgba(8, 18, 28, 0.92);
}

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

html {
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

.page {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  z-index: 1;
}

/* Background */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-color: var(--bg);
  background-image: url('assets/hero-bg.jpeg');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

.bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 22, 34, 0.94) 0%,
    rgba(11, 22, 34, 0.82) 38%,
    rgba(11, 22, 34, 0.35) 58%,
    transparent 78%
  );
  pointer-events: none;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: center;
  width: 100%;
  min-height: calc(100vh - 5rem);
  padding-bottom: 1rem;
}

.hero__copy {
  max-width: 520px;
  padding: clamp(2rem, 5vw, 4rem);
  padding-right: 1rem;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
  line-height: 1.05;
  margin-bottom: 0.75rem;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards;
}

.accent-line {
  display: block;
  width: 96px;
  height: 2px;
  background: var(--cyan);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.15s forwards;
}

.tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  line-height: 1.35;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.3s forwards;
}

.description {
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  font-weight: 300;
  color: var(--text);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.45s forwards;
}

/* CTA */
.cta {
  --cta-radius: 5px;
  --cta-border-width: 1px;
  display: inline-block;
  text-decoration: none;
  border-radius: var(--cta-radius);
  padding: var(--cta-border-width);
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(0, 180, 216, 0.75) 0%,
    var(--cta-border) 45%,
    rgba(0, 180, 216, 0.5) 100%
  );
  opacity: 0;
  animation: fadeUp 0.9s ease 0.6s forwards;
  transition: filter 0.25s ease, transform 0.25s ease;
}

.cta:hover {
  filter: brightness(1.12);
}

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

.cta__email {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  min-height: 44px;
  border-radius: calc(var(--cta-radius) - var(--cta-border-width));
  background: var(--cta-fill);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Founders */
.founders {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem 1.75rem;
  padding: 1.5rem 1.25rem 2.5rem;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.75s forwards;
}

.founder {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 300;
  transition: color 0.25s ease;
}

.founders__inner {
  display: flex;
  gap: 0.45rem;
}

.founder:hover {
  color: var(--cyan);
}

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

.founder__icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: currentColor;
}

.founders__sep {
  width: 1px;
  height: 14px;
  background: rgba(107, 131, 153, 0.5);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__title,
  .accent-line,
  .tagline,
  .description,
  .cta,
  .founders {
    opacity: 1;
    animation: none;
    transform: none;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .bg {
    background-position: right bottom;
  }

  .bg::after {
    background: linear-gradient(
      180deg,
      rgba(11, 22, 34, 0.95) 0%,
      rgba(11, 22, 34, 0.88) 35%,
      rgba(11, 22, 34, 0.55) 60%,
      rgba(11, 22, 34, 0.2) 85%
    );
  }

  .hero {
    display: flex;
    grid-template-columns: 1fr;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding-top: 0;
  }

  .hero__copy {
    max-width: none;
    width: 100%;
    padding: 1.5rem 1.25rem;
  }

  .hero__title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    letter-spacing: 0.08em;
  }

  .accent-line {
    width: 72px;
    margin-bottom: 1rem;
  }

  .tagline {
    margin-bottom: 1rem;
  }

  .description {
    margin-bottom: 1.5rem;
  }

  .cta {
    display: block;
    width: 100%;
  }

  .cta__email {
    width: 100%;
    justify-content: center;
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
  }

  .founders {
    padding-top: 0.5rem;
    padding-bottom: 2rem;
  }
}

@media (max-width: 399px) {
  .founders__inner {
    flex-direction: column;
    gap: 0.75rem;
  }

  .founders__sep {
    display: none;
  }
}
