/* =============================================
   PROJECT / WORK PAGES
============================================= */
.work-content {
  animation: fadeUp 0.5s ease both;
}

.work-content a {
  color: var(--red);
  transition: color 0.15s;
}

.work-content a:hover { color: var(--black); }

/* Sub-nav (project switcher) */
.sub-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 20px;
  border-bottom: none;
}

.sub-nav a {
  font-size: 13px;
  font-weight: 400;
  color: var(--light);
  white-space: nowrap;
  line-height: 2;
  transition: color 0.15s;
}

.sub-nav a:hover { color: var(--black); }

.sub-nav-group {
  display: inline-flex;
  gap: 20px;
}

.sub-nav a.is-current {
  font-weight: 700;
  color: var(--black);
}

/* Hero image */
.work-hero {
  margin-top: 16px;
  margin-bottom: 40px;
  overflow: hidden;
}

.work-hero img { width: 100%; display: block; }

/* Intro text */
.work-intro { margin-bottom: 48px; }

.work-intro p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--mid);
}

/* Press links */
.work-press-links {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.work-press-links a {
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  transition: opacity 0.15s;
}

.work-press-links a:hover { opacity: 0.7; }

/* Content blocks */
.work-block { margin-bottom: 48px; }

.work-block-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 16px;
}

.work-block-image { margin-bottom: 24px; }
.work-block-image img { width: 100%; display: block; }

.work-block-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 24px;
  background: #000;
}

.work-block-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.work-block-caption {
  font-size: 13px;
  color: var(--light);
  margin-top: -16px;
  margin-bottom: 24px;
  font-style: italic;
}

.work-block-text { margin-bottom: 16px; }

.work-block-text p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--mid);
}

/* Prev / Next pager */
.work-pager {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  transition: border-color 0.3s;
}

.work-pager-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: color 0.15s;
  max-width: 45%;
}

.work-pager-link:hover .pager-direction,
.work-pager-link:hover .pager-title { color: var(--red); }

.work-pager-link .pager-direction {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light);
  transition: color 0.15s;
}

.work-pager-link .pager-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  transition: color 0.15s;
}

.work-pager-link.next {
  text-align: right;
  margin-left: auto;
}

/* =============================================
   RESPONSIVE — PROJECT OVERRIDES
============================================= */
@media (max-width: 900px) {
  .sub-nav { gap: 6px 16px; }
  .work-intro { margin-bottom: 40px; }
  .work-block { margin-bottom: 40px; }
  .work-pager { margin-top: 40px; }
}

@media (max-width: 600px) {
  .sub-nav { gap: 5px 14px; }
  .sub-nav a { font-size: 12px; }
  .work-hero { margin-bottom: 28px; }
  .work-intro p { font-size: 15px; }
  .work-intro { margin-bottom: 32px; }
  .work-block { margin-bottom: 32px; }
  .work-block-text p { font-size: 14px; }
  .work-press-links a { font-size: 13px; }
  .work-pager { margin-top: 32px; gap: 16px; }
  .work-pager-link .pager-title { font-size: 14px; }
  .work-pager-link { max-width: 50%; }
}
