.work-page { background: var(--bay); }
.work-page[data-screen="png"] { background: #ebe4d4; color: var(--ink); }
.work-page[data-screen="pdf"] { background: #16110f; }

.work-screen { padding: 36px 28px 72px; }
.work-hero { max-width: 720px; margin-bottom: 36px; }
.work-hero h1, .work-copy h1 {
  font-family: "Big Shoulders Display", Impact, sans-serif;
  font-weight: 800;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.88;
  margin: 8px 0 16px;
}
.work-copy p, .work-hero p { color: var(--steel); max-width: 36em; }
.work-page[data-screen="png"] .work-copy p { color: #5c5346; }

.work-index {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.plate {
  display: grid;
  gap: 6px;
  min-height: 220px;
  padding: 22px;
  text-decoration: none;
  color: var(--paper);
  outline: 1px solid rgba(243, 236, 220, 0.12);
}
.plate span {
  font-family: "Big Shoulders Display", Impact, sans-serif;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--tungsten);
}
.plate strong {
  font-family: "Big Shoulders Display", Impact, sans-serif;
  font-size: 56px;
  line-height: 0.86;
}
.plate em { font-style: italic; color: var(--paper); }
.plate p { margin: 0; color: var(--steel); font-size: 17px; }
.plate-mp4 { background: linear-gradient(160deg, #1a2230, #0c1018); }
.plate-gif { background: linear-gradient(160deg, #2a1614, #120c0c); }
.plate-png { background: linear-gradient(160deg, #2a2618, #14120c); }
.plate-pdf { background: linear-gradient(160deg, #1c1418, #0e0c10); }
.plate:hover { outline-color: var(--tungsten); }

.work-split {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 36px;
  align-items: center;
}
.work-split.reverse { grid-template-columns: minmax(320px, 1.1fr) minmax(280px, 0.9fr); }
.work-stage {
  margin: 0;
  background: #080b10;
  outline: 1px solid rgba(243, 236, 220, 0.12);
}
.work-stage video, .work-stage img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.work-stage figcaption {
  padding: 10px 14px;
  font-size: 14px;
  color: var(--steel);
}
.paper-stage { background: #f3ecdc; outline-color: #c9bfa8; }
.paper-stage figcaption { color: #5c5346; }

.work-points { padding-left: 1.1em; color: var(--paper); }
.work-points li + li { margin-top: 6px; }
.work-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.work-actions.center, .work-copy.center { text-align: center; justify-content: center; margin-left: auto; margin-right: auto; }
.work-copy.center p { margin-left: auto; margin-right: auto; }

.is-gif { background:
  linear-gradient(180deg, rgba(18, 10, 10, 0.72), rgba(12, 8, 8, 0.88)),
  url("/editor/media/bay-portrait.png") center / cover no-repeat; }
.gif-rail {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 12px;
  margin: 32px 0;
}
.gif-rail figure { margin: 0; position: relative; overflow: hidden; }
.gif-rail img { width: 100%; height: 240px; object-fit: cover; animation: gifPulse 1.6s steps(2, end) infinite; }
.gif-rail span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-family: "Big Shoulders Display", Impact, sans-serif;
  letter-spacing: 0.08em;
}
@keyframes gifPulse { 50% { filter: contrast(1.15) saturate(1.1); } }

.is-png { color: var(--ink); }
.print-chips, .print-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 8px;
}
.print-chips a {
  text-decoration: none;
  padding: 6px 10px;
  background: #11110f;
  color: #f3ecdc;
  font-family: "Big Shoulders Display", Impact, sans-serif;
  font-size: 16px;
}
.print-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 28px 0;
}
.print-grid a {
  display: grid;
  gap: 4px;
  padding: 16px;
  text-decoration: none;
  background: #221c18;
  outline: 1px solid rgba(243, 236, 220, 0.1);
}
.print-grid strong {
  font-family: "Big Shoulders Display", Impact, sans-serif;
  font-size: 22px;
}
.print-grid span { color: var(--steel); font-size: 15px; }
.print-grid a:hover { outline-color: var(--tungsten); }

.pdf-stack {
  position: relative;
  width: min(640px, 100%);
  height: 280px;
  margin: 28px 0;
}
.pdf-stack i, .pdf-stack img {
  position: absolute;
  inset: 18px 40px 0 0;
  background: #f3ecdc;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}
.pdf-stack i:nth-child(1) { transform: rotate(-6deg); inset: 28px 64px 12px 8px; }
.pdf-stack i:nth-child(2) { transform: rotate(-2deg); inset: 20px 52px 8px 16px; background: #e7dcc4; }
.pdf-stack i:nth-child(3) { transform: rotate(2deg); inset: 12px 28px 4px 28px; background: #d9cfb6; }
.pdf-stack img { inset: 0 8px 0 40px; width: auto; height: 100%; object-fit: cover; transform: rotate(4deg); }

.kinds-head { margin-top: 56px; }
.kinds-head h2 {
  font-family: "Big Shoulders Display", Impact, sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 0.92;
  margin: 8px 0 12px;
}
.kind-more-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 1180px;
}
.kind-more-list a {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  text-decoration: none;
  background: rgba(8, 10, 16, 0.7);
  outline: 1px solid rgba(243, 236, 220, 0.1);
}
.kind-more-list a:hover,
.kind-more-list a[aria-current="page"] { outline-color: var(--tungsten); }
.kind-more-list span {
  font-family: "Big Shoulders Display", Impact, sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--tungsten);
}
.kind-more-list strong {
  font-family: "Big Shoulders Display", Impact, sans-serif;
  font-size: 20px;
}

.kind-page { background: #10141c; }
.kind-hero { padding: 36px 28px 12px; max-width: 820px; }
.kind-kicker {
  font-style: italic;
  font-size: 24px;
  color: var(--paper);
  margin: 0 0 12px;
}
.kind-frames {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr 1fr;
  gap: 12px;
  padding: 28px;
}
.kind-frame { margin: 0; background: #080b10; }
.kind-frame img { width: 100%; height: 280px; object-fit: cover; }
.kind-frame.tall img { height: 360px; }
.kind-frame figcaption {
  padding: 10px 12px;
  color: var(--steel);
  font-size: 15px;
}
.kind-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 12px 28px 36px;
  max-width: 1180px;
}
.kind-body h2 {
  font-family: "Big Shoulders Display", Impact, sans-serif;
  font-size: 28px;
  margin: 0 0 12px;
}
.kind-body ul { margin: 0; padding-left: 1.1em; }
.kind-body li + li { margin-top: 8px; }
.kind-body pre {
  margin: 0 0 10px;
  padding: 12px 14px;
  background: #0a0e16;
  color: var(--paper);
  font-size: 14px;
  white-space: pre-wrap;
}
.kind-more { padding: 28px 28px 64px; }
.kind-more h2 {
  font-family: "Big Shoulders Display", Impact, sans-serif;
  font-size: 32px;
  margin: 0 0 18px;
}

@media (max-width: 860px) {
  .kind-frames, .kind-body, .kind-more-list { grid-template-columns: 1fr; }
  .kind-frame img, .kind-frame.tall img { height: 200px; }
}

.studio-band {
  padding: 48px 28px 56px;
  background: #0e131c;
}
.studio-band .work-index { max-width: 1180px; margin: 0 auto; }
.studio-band .work-hero { max-width: 1180px; margin: 0 auto 28px; }

@media (max-width: 860px) {
  .work-index, .work-split, .work-split.reverse, .gif-rail, .print-grid {
    grid-template-columns: 1fr;
  }
  .gif-rail img { height: 180px; }
  .work-screen, .kind-hero, .kind-body, .kind-more { padding-left: 16px; padding-right: 16px; }
}
