* { box-sizing: border-box; }

html,
body {
  margin: 0;
  min-width: 320px;
  background: #fff;
}

.projects-page { color: #fff; }

.projects-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1921 / 2780;
  overflow: hidden;
  background: #08101d;
}

.projects-cover-loop {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.projects-home {
  position: absolute;
  z-index: 2;
  top: 2.3%;
  left: 4.5%;
  color: #fff;
  font: italic clamp(13px, 2.6vw, 50px)/1 Georgia, 'Times New Roman', serif;
  text-decoration: none;
}

.projects-home:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 5px;
}

.projects-title-wrap {
  position: absolute;
  z-index: 2;
  top: 14.8%;
  left: 4.4%;
  width: 91.2%;
  text-align: center;
}

.projects-title-wrap h1 {
  margin: 0;
  color: #fff;
  font-family: 'Bricolage Grotesque', Arial, sans-serif;
  font-size: clamp(42px, 11.6vw, 224px);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .94;
  white-space: nowrap;
}

.projects-title-wrap p {
  margin: 1.2% 0 0;
  color: #fff;
  font-family: 'Bricolage Grotesque', Arial, sans-serif;
  font-size: clamp(15px, 3vw, 58px);
  font-weight: 400;
  line-height: 1.04;
}

.projects-dummy-section img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 600px) {
  .projects-title-wrap { top: 15.8%; }
  .projects-title-wrap h1 {
    font-size: clamp(32px, 10.6vw, 64px);
    letter-spacing: -.065em;
  }
  .projects-title-wrap p { font-size: clamp(13px, 3.6vw, 20px); }
}

@media (prefers-reduced-motion: reduce) {
  .projects-cover-loop { display: none; }
  .projects-hero { background: #08101d url("assets/ui/projects-cover-poster.jpg") center / cover no-repeat; }
}
