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

html {
  height: 100%;
}

body {
  background-color: #111111;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
}

.bio strong {
  font-weight: 700;
}

a {
  color: #ffffff;
  text-decoration: none;
}

/* ── Page shell ── */

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

/* Desktop background video — hidden on mobile */
.bg-video {
  display: none;
}

/* ── Mobile layout ── */

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 30px 15px 0;
  gap: 30px;
}

.content {
  display: flex;
  flex-direction: column;
}

.bio {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -1px;
  margin-bottom: 30px;
}

.work-label {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.project-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.project-list a {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.6;
  position: relative;
  display: inline-block;
}

.project-list a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.project-list a:hover::after {
  transform: scaleX(1);
}

.project-list .coming-soon {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.35);
  cursor: default;
}

.founder {
  font-size: 0.875rem;
  font-weight: 400;
  margin-top: 18px;
}

.rainbow-parc {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rainbow-parc:hover {
  opacity: 0.6;
}

/* ── Footer ── */

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 15px;
}

.email {
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  display: inline-block;
}

.email::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.email:hover::after {
  transform: scaleX(1);
}

.socials {
  display: flex;
  gap: 14px;
  align-items: center;
}

.social-link {
  font-size: 0.875rem;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.social-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.social-link:hover::after {
  transform: scaleX(1);
}

.social-divider {
  font-size: 0.875rem;
  font-weight: 600;
}

/* ── Mobile: fit to viewport, no scroll ── */

@media (max-width: 767px) {
  html, body {
    height: 100%;
    overflow: hidden;
  }

  .page {
    height: 100dvh;
    overflow: hidden;
  }

  .project-list a::after,
  .email::after,
  .social-link::after {
    display: none;
  }

  .main {
    gap: 0;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding-bottom: 50px;
  }
}

/* ── Desktop layout ── */

@media (min-width: 768px) {
  html, body {
    height: 100%;
    overflow: hidden;
  }

  .page {
    height: 100vh;
    overflow: hidden;
  }

  /* Full-bleed background video */
  .bg-video {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }

  .main {
    flex: 1;
    flex-direction: column;
    padding: 0;
    gap: 0;
    min-height: 0;
    position: relative;
    z-index: 1;
  }

  .content {
    padding: 40px;
    max-width: 700px;
  }

  .bio {
    font-size: 1.75rem;
    line-height: 1.25;
    letter-spacing: -1px;
    margin-bottom: 70px;
  }

  .work-label {
    font-size: 0.875rem;
  }

  .project-list a {
    font-size: 0.875rem;
  }

  .founder {
    font-size: 0.875rem;
  }

  .footer {
    padding: 40px;
    position: relative;
    z-index: 1;
  }

}
