/* ================================================
   WORK / CASE STUDY PAGE
================================================ */

/* Hero */
.work-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: 68px;
}
.work-hero__bg {
  position: absolute;
  inset: 0;
}
.work-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    #1A1A1A 0%,
    rgba(26,26,26,0.55) 50%,
    rgba(26,26,26,0.3) 100%
  );
}
.work-hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: 60px;
}
.work-hero__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}
.work-hero__tag {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--orange);
  letter-spacing: 0.04em;
}
.work-hero__year {
  font-size: 0.8125rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
}
.work-hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 200;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.work-hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  max-width: 540px;
  line-height: 1.6;
}

/* Overview */
.work-overview {
  padding: 80px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.work-overview__grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
  align-items: start;
}
.work-meta-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.work-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.work-meta-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.work-meta-value {
  font-size: 0.9375rem;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
}
.work-intro__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 200;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.1;
}
.work-intro__text {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  max-width: 60ch;
}
.work-intro__text + .work-intro__text { margin-top: 16px; }

/* Full-width image */
.work-img-full {
  width: 100%;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
}
.work-img-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-img-full--inset {
  max-width: var(--max-w);
  margin: 0 auto;
  border-radius: var(--radius-lg);
  height: 50vh;
}

/* Body */
.work-body { padding: 100px 0; }
.work-body__inner {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.work-block { max-width: 680px; }
.work-block__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.work-block__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 200;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.work-block__text {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
}
.work-block__text + .work-block__text { margin-top: 16px; }

/* 2-col images */
.work-imgs-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.work-img-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 400px;
}
.work-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Next projects */
.work-next {
  padding: 80px 0 100px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.work-next__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 32px;
}
.work-next__grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 20px;
  align-items: center;
}
.work-next__card {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.work-next__card-img {
  height: 240px;
  position: relative;
  overflow: hidden;
}
.work-next__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.work-next__card:hover .work-next__card-img img { transform: scale(1.04); }
.work-next__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.85) 0%, transparent 60%);
}
.work-next__card-info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
}
.work-next__card-tag {
  display: block;
  font-size: 0.75rem;
  color: var(--orange);
  margin-bottom: 4px;
}
.work-next__card-name {
  font-size: 1.25rem;
  font-weight: 500;
}
.work-next__all {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  height: 240px;
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  text-align: center;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.work-next__all:hover { border-color: rgba(255,255,255,0.3); color: #fff; }

/* Footer simple */
.work-footer {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 32px 0;
}
.work-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.work-footer__copy {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
}
.work-footer__copy a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.work-footer__copy a:hover { color: #fff; }

/* Responsive */
@media (max-width: 768px) {
  .work-overview__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .work-imgs-2col { grid-template-columns: 1fr; }
  .work-img-card { height: 280px; }
  .work-next__grid {
    grid-template-columns: 1fr;
  }
  .work-next__all { height: auto; padding: 20px; flex-direction: row; }
  .work-footer__inner { flex-direction: column; gap: 12px; text-align: center; }
}

.work-hero__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 2px;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.work-hero__link:hover { color: #fff; border-color: rgba(255,255,255,0.7); }
.work-hero__link svg { width: 13px; height: 13px; }
