/* ===================================================================
   WORKS PAGE (works.html)
   Asymmetrical, staggered masonry-like layout.
=================================================================== */

.works-hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 150px 0 80px;
}

.works-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(132, 180, 236, 0.15), transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(132, 180, 236, 0.05), transparent 40%);
  pointer-events: none;
  z-index: 0;
}

.works-hero .container {
  position: relative;
  z-index: 1;
}

/* Redesigning the works grid */
.works-grid-v2 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.work-card-v2 {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(10, 16, 32, 0.6);
  border: 1px solid var(--v-line);
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.work-card-v2:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  border-color: var(--v-accent-dim);
}

.work-card-img {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}
.work-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
  filter: saturate(0.8) brightness(0.9);
}
.work-card-v2:hover .work-card-img img {
  transform: scale(1.08);
  filter: saturate(1.1) brightness(1);
}
.work-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 16, 32, 1));
}

.work-card-body {
  padding: 0 44px 50px;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  z-index: 2;
  margin-top: -30px;
}

.work-no-v2 {
  font-family: var(--mont);
  font-size: 3.5rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
  line-height: 1;
  margin-bottom: 16px;
}

.work-cat-v2 {
  font-family: var(--mont);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--v-accent);
  margin-bottom: 16px;
}

.work-card-v2 h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.work-sub-v2 {
  color: var(--v-muted);
  font-size: 0.95rem;
  line-height: 2;
  margin-bottom: 30px;
  letter-spacing: 0.04em;
  text-wrap: balance;
}

.work-card-v2 dl {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--v-line-strong);
  padding-top: 26px;
}
.work-card-v2 div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.work-card-v2 dt {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--v-accent-2);
}
.work-card-v2 dd {
  font-size: 0.95rem;
  color: #fff;
}
.work-card-v2 dd b {
  color: var(--v-accent);
  font-weight: 500;
}

/* Asymmetrical Grid Placements */
.work-card-v2:nth-child(1) { grid-column: span 7; }
.work-card-v2:nth-child(2) { grid-column: span 5; margin-top: 80px; }
.work-card-v2:nth-child(3) { grid-column: span 5; }
.work-card-v2:nth-child(4) { grid-column: span 7; }
.work-card-v2:nth-child(5) { grid-column: span 6; margin-top: -40px; }
.work-card-v2:nth-child(6) { grid-column: span 6; margin-top: 40px; }

.work-card-v2:nth-child(1) .work-card-img { height: 320px; }
.work-card-v2:nth-child(4) .work-card-img { height: 380px; }

@media(max-width: 900px) {
  .works-grid-v2 {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .work-card-v2 {
    margin-top: 0 !important;
  }
}

/* ===================================================================
   WORKS - INDUSTRIES REDESIGN
=================================================================== */
.works-ind-sec {
  padding: 150px 0;
  position: relative;
  border-top: 1px solid var(--v-line);
}

.ind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--v-line-strong);
  border: 1px solid var(--v-line-strong);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  margin-top: 60px;
}

.ind-card {
  background: rgba(6, 10, 20, 0.8);
  padding: 50px 30px;
  position: relative;
  transition: 0.5s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  backdrop-filter: blur(10px);
}

.ind-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(132, 180, 236, 0.15), transparent 70%);
  opacity: 0;
  transition: 0.5s var(--ease);
}

.ind-card:hover {
  background: rgba(10, 16, 32, 0.95);
  transform: translateY(-5px);
  z-index: 2;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.ind-card:hover::before {
  opacity: 1;
}

.ind-num {
  font-family: var(--mont);
  font-size: 0.8rem;
  color: var(--v-accent);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.ind-card h3 {
  font-family: var(--mont);
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}

.ind-card p {
  font-size: 0.85rem;
  color: var(--v-muted);
  position: relative;
  z-index: 2;
}

@media(max-width: 900px) {
  .ind-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 500px) {
  .ind-grid {
    grid-template-columns: 1fr;
  }
}

/* hero lead spacing (was 0: .page-hero scope did not apply here) */
.works-hero .page-lead{margin-top:36px;}
