/* BASE */
body {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  color: #111;
  background: #f7f7f5;
  background-image: radial-gradient(rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* NAV */
nav {
  display: flex;
  justify-content: space-between;
  padding: 30px 60px;
  border-bottom: 1px solid #eee;
}

.logo {
  font-weight: 600;
  letter-spacing: 1px;
}

nav a {
  margin-left: 25px;
  text-decoration: none;
  color: #111;
  font-size: 14px;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 1px;
  background: #e60000;
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* WORK LAYOUT */
.work {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 40px;
}

.project {
  margin-bottom: 140px;
}

/* CASE (GRID INTRO + TEXT) */
.case {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid #e5e5e5;

  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.case h3 {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color:#e60000; 
  margin-top: 0;
}

.case p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

/* IMMAGINI (5 IMAGES STORY) */
.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;

  margin-top: 80px;
  margin-bottom: 80px;
}

.image-grid img {
  width: 100%;
  height: auto;

  object-fit: cover;

  display: block;

  border-radius: 2px;
}



/* HERO VIDEO (UNCHANGED FEEL, SOLO FIX) */
.hero-videos{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;

  max-width: 720px;
  margin: 0 auto;

  padding: 80px 0;
}

.hero-videos video{
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;

  border-radius: 2px;
  display: block;
}

/* VIDEO SECONDARI (IMPORTANTISSIMO) */
.hero-video + .hero-video {
  min-height: auto;
  background: transparent;

  padding: 80px 0;
}

.hero-video + .hero-video video {
  width: 420px;
  height: 760px;
  border-radius: 4px;
}

/* HERO TEXT */
.hero-text {
  margin-top: 40px;
  text-align: left;
}

.hero-text p {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 10px;
}

.hero-text h1 {
  font-size: 46px;
  font-weight: 400;
  line-height: 1.1;
  max-width: 700px;
  margin: 0;
}

/* STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;

  
  margin-bottom: 40px;

  padding-top: 10px;
 
}

.stat::before {
  content: "";
  display: block;

  width: 30px;
  height: 1px;

  background: #c40000;

  margin-bottom: 20px;
}

.stat span {
  display: block;

  font-size: 52px;
  font-weight: 400;
  letter-spacing: -2px;

  margin-bottom: 12px;

  color: #111;
}

.stat p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;

  max-width: 220px;
}

.photography{
  padding: 20px 8% 120px;
}

.photo-intro{
  max-width: 700px;
  margin-bottom: 60px;

}

.photo-intro p{
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 10px;
}

.photo-intro h2{
  font-size: 42px;
  font-weight: 500;
}

.rid { 
  color: #e60000;
}

.photo-grid{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
}

.photo-grid img{
  width: 100%;
  height: auto;
  object-fit: cover;

  display: block;

  border-radius: 2px;
}

.photo-grid2{
  display: grid;
  grid-template-columns: repeat(1,1fr);
  gap: 20px;
  margin-top: 20px;
}

.photo-grid2 img{
  width: 100%;
  height: auto;
  object-fit: cover;

  display: block;

  border-radius: 2px;
}

@media screen and (max-width: 430px) {

  /* BASE TYPOGRAPHY */
  body {
    background-size: 16px 16px;
  }

  /* NAV */
  nav {
    padding: 18px 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .logo {
    font-size: 14px;
  }

  nav a {
    margin-left: 0;
    margin-right: 14px;
    font-size: 15px;
  }

  /* LAYOUT PRINCIPALE */
  .work {
    padding: 40px 18px;
  }

  .project {
    margin-bottom: 70px;
  }

  /* CASE */
  .case {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .case h3 {
    font-size: 10px;
  }

  .case p {
    font-size: 14px;
    line-height: 1.6;
  }

  /* IMMAGINI */
  .image-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .photo-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .photo-grid2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* HERO VIDEO */
  .hero-video {
    min-height: 75vh;
    padding: 40px 15px;
  }

  .hero-video video {
    width: min(280px, 90vw);
    height: auto;
    aspect-ratio: 9 / 19.5;
  }

  .hero-video + .hero-video video {
    width: min(300px, 92vw);
    height: auto;
    aspect-ratio: 9 / 19.5;
  }

  /* HERO TEXT */
  .hero-text {
    margin-top: 25px;
  }

  .hero-text h1 {
    font-size: clamp(22px, 6vw, 30px);
    padding: 0 10px;
  }

  .hero-text p {
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  /* STATS */
  .stats {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .stat span {
    font-size: 36px;
  }

  .stat p {
    font-size: 10px;
    max-width: 100%;
  }

  /* PHOTOGRAPHY */
  .photography {
    padding: 20px 18px 70px;
  }

  .photo-intro h2 {
    font-size: clamp(24px, 7vw, 30px);
  }
}