@import url('https://fonts.googleapis.com/css2?family=Bowlby+One&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,700&display=swap');

body {
  margin: 0;
  background: #fff;
  color: #000;
}

.right-aligned-text {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  z-index: 2;
  margin: 0 !important;
  padding: 28px 32px !important;
  background: transparent !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  letter-spacing: -0.03em;
  line-height: 1;
}

.right-aligned-text p { margin: 0; }

.project-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  text-align: left !important;
}

.project-content > div:first-child {
  min-height: clamp(360px, 34vw, 450px);
  margin: 0 !important;
  padding: 56px 32px 38px;
  display: flex;
  align-items: flex-end;
  text-align: left !important;
}

.project-content > div:first-child p {
  margin: 0;
  font-family: 'Bowlby One', sans-serif !important;
  font-size: clamp(76px, 10vw, 180px) !important;
  font-weight: 400 !important;
  letter-spacing: -0.045em;
  line-height: 0.84;
}

.project-content > div:first-child i,
.project-content > div:first-child font {
  display: block;
  margin: 28px 0 0 !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: clamp(20px, 2vw, 36px) !important;
  font-style: normal;
  font-weight: 500 !important;
  letter-spacing: -0.03em;
  line-height: 1;
}

.project-content > div:not(:first-child) {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

.project-content > div:not(:first-child) + div { border-top: 3px solid #fff; }
.project-content img { display: block; width: 100% !important; height: auto; }
.project-content .video-container { width: 100%; max-height: none; }

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(52px) scale(0.985);
  transition: opacity 1200ms cubic-bezier(0.22, 1, 0.36, 1), transform 1200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 768px) {
  .right-aligned-text {
    position: absolute !important;
    padding: 20px !important;
    font-size: 24px !important;
  }

  .project-content > div:first-child {
    min-height: 320px;
    padding: 52px 20px 28px;
  }

  .project-content > div:first-child p { font-size: 24vw !important; line-height: 0.9; }
  .project-content > div:first-child i,
  .project-content > div:first-child font { margin-top: 20px !important; font-size: 20px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll { opacity: 1; transform: none; transition: none; }
}
