@charset "UTF-8";
/* ARROL / Works refinement 03 – restrained editorial portfolio
   Only the TOP/WORKS listing layouts are altered. Core visual language stays intact.
   Load AFTER arrol-portfolio.css on index.html and works.html only. */
/* Give artwork presence without making each project a full-page event. */
.works-section {
  padding-top: 106px;
  padding-bottom: 105px;
}

.works-heading--editorial {
  margin-bottom: 42px;
}

.works-heading--editorial .works-title-row {
  margin-top: 30px;
}

.works-introduction {
  margin-top: 33px;
  padding-top: 13px;
}

.portfolio-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(22px, 3.1vw, 48px);
  align-items: start;
}

.portfolio-project,
.portfolio-project--featured,
.portfolio-project--offset,
.portfolio-list .portfolio-project--offset {
  width: 100%;
  min-width: 0;
  margin-left: 0;
}

/* A restrained shift provides rhythm, without sacrificing easy comparison. */
.portfolio-project--offset {
  margin-top: clamp(24px, 4.3vw, 60px);
}

.portfolio-project__stage {
  padding: clamp(9px, 1.3vw, 18px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.25s ease;
}

.portfolio-project__stage img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8/5;
  object-fit: cover;
  box-shadow: none;
  transition: transform 0.45s ease;
}

.portfolio-project__link:hover .portfolio-project__stage img {
  transform: scale(1.008);
  box-shadow: none;
}

.portfolio-project__link:hover .portfolio-project__stage {
  border-color: rgba(234, 98, 69, 0.7);
}

.portfolio-project__caption {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  border-top: 1px solid #696964;
  margin-top: 14px;
  padding-top: 16px;
}

.portfolio-project__number {
  font-size: 10px;
  line-height: 1.8;
}

.portfolio-project__identity h3 {
  font-size: clamp(16px, 1.22vw, 19px);
  line-height: 1.55;
  margin-bottom: 3px;
}

.portfolio-project__identity p {
  font-size: 11px;
  line-height: 1.6;
}

.portfolio-project__view {
  font-size: 10px;
  gap: 9px;
  padding-top: 0;
  letter-spacing: 0.055em;
}

.portfolio-project__view span {
  width: 30px;
  height: 30px;
  font-size: 18px;
}

.works-footer--editorial {
  margin-top: 69px;
  padding-top: 28px;
}

/* Listing: calm, equal visual hierarchy and natural extensibility. */
.portfolio-list {
  padding-top: 76px;
  padding-bottom: 108px;
}

.portfolio-list .portfolio-showcase {
  gap: clamp(22px, 3.1vw, 48px);
}

.portfolio-list .portfolio-project--offset {
  margin-top: 0;
}

.portfolio-list .portfolio-project__stage {
  border-color: rgba(0, 0, 0, 0.07);
}

.portfolio-list .portfolio-project__link:hover .portfolio-project__stage {
  border-color: #ea6245;
}

.portfolio-list__contact {
  margin-top: 75px;
}

@media (max-width: 900px) {
  .portfolio-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .portfolio-project--offset {
    margin-top: 28px;
  }
  .portfolio-project__caption {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
  }
  .portfolio-project__view {
    grid-column: 2;
    font-size: 9px;
    justify-self: start;
  }
  .portfolio-project__view span {
    width: 24px;
    height: 24px;
    font-size: 16px;
  }
}
@media (max-width: 650px) {
  .works-section {
    padding-top: 76px;
    padding-bottom: 82px;
  }
  .works-heading--editorial {
    margin-bottom: 34px;
  }
  .works-heading--editorial .works-title-row {
    margin-top: 28px;
  }
  .works-introduction {
    margin-top: 25px;
  }
  .portfolio-showcase,
  .portfolio-list .portfolio-showcase {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
  }
  .portfolio-project--offset {
    margin-top: 0;
  }
  .portfolio-project__stage {
    padding: 9px;
  }
  .portfolio-project__caption {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 12px;
    margin-top: 12px;
    padding-top: 14px;
  }
  .portfolio-project__number {
    grid-column: 1/3;
    font-size: 10px;
  }
  .portfolio-project__identity {
    grid-column: 1;
  }
  .portfolio-project__identity h3 {
    font-size: 16px;
  }
  .portfolio-project__identity p {
    font-size: 11px;
  }
  .portfolio-project__view {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
  }
  .portfolio-project__view span {
    width: 34px;
    height: 34px;
    font-size: 19px;
  }
  .works-footer--editorial {
    margin-top: 55px;
  }
  .portfolio-list {
    padding-top: 50px;
    padding-bottom: 75px;
  }
  .portfolio-list__contact {
    margin-top: 65px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-project__stage, .portfolio-project__stage img {
    transition: none;
  }
}
