/* Series Planning — page-specific */

.panel--series {
  background: #050505;
  position: relative;
  overflow: hidden;
}

.panel--series .panel__huge,
.panel--series .panel__lead,
.panel--series .bullet-list li,
.panel--series .series-card p,
.panel--series .series-cast p {
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85), 0 2px 18px rgba(0, 0, 0, 0.55);
}

.panel__inner--wide {
  max-width: 1080px;
}

.series-ename {
  font-family: var(--font-cn);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--accent);
  margin: 0.5rem 0 0.35rem;
  letter-spacing: 0.04em;
}

.series-quote {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
  border-left: 2px solid var(--accent);
  padding-left: 1.1rem;
  margin: 1.5rem 0 2rem;
  max-width: 48rem;
}

.series-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

@media (min-width: 800px) {
  .series-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .series-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.series-card {
  border-top: 1px solid var(--accent);
  padding-top: 1rem;
}

.series-card h3,
.series-cast h3,
.series-cols h3 {
  font-family: var(--font-en);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0 0 0.6rem;
}

.series-card p,
.series-cast p {
  margin: 0;
  font-weight: 300;
  line-height: 1.65;
  font-size: 0.98rem;
}

.series-cols {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .series-cols {
    grid-template-columns: 1fr 1fr;
  }
}

.series-bullets {
  margin-top: 1.75rem;
  max-width: 48rem;
}

.series-table-wrap {
  margin-top: 1.5rem;
  overflow-x: auto;
  border: 1px solid var(--line);
}

.series-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.series-table th,
.series-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  line-height: 1.55;
}

.series-table th {
  color: var(--accent);
  font-family: var(--font-en);
  letter-spacing: 0.08em;
  font-weight: 600;
  background: rgba(201, 162, 39, 0.06);
}

.series-table td:first-child {
  color: #fff;
  font-weight: 500;
  white-space: nowrap;
  width: 22%;
}

.series-table td {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 300;
}

.series-prompt {
  margin-top: 1.25rem;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.45);
}

.series-prompt__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--line);
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.series-copy {
  border: 1px solid var(--line);
  background: transparent;
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.series-copy:hover,
.series-copy.is-done {
  border-color: var(--accent);
  color: var(--accent);
}

.series-pre {
  margin: 0;
  padding: 1rem 1.1rem 1.2rem;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
  max-height: 280px;
  overflow: auto;
}

.series-cast {
  margin: 1.25rem 0 1.5rem;
  max-width: 48rem;
}

.series-summary {
  margin-top: 1.75rem;
  max-width: 46rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

/* Stills gallery — 3x3 grid (headerless section) */
.panel--stills {
  padding-top: 48px;
  padding-bottom: 48px;
}

.stills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stills-cell {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
}

.stills-cell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.3s;
}

.stills-cell:hover img {
  transform: scale(1.04);
  opacity: 0.92;
}

.stills-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.45);
}

@media (max-width: 640px) {
  .stills-grid {
    gap: 8px;
  }
}

/* Work showcase — video + text side-by-side, fits one screen */
.panel--work {
  padding-top: 40px;
  padding-bottom: 40px;
}

.work-show {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 56px;
  align-items: center;
  max-height: calc(100vh - 180px);
  max-height: calc(100dvh - 180px);
}

.work-show--reverse {
  grid-template-columns: 3fr 2fr;
}

@media (max-width: 960px) {
  .work-show {
    grid-template-columns: 1fr;
    gap: 24px;
    max-height: none;
  }
  .work-show--reverse {
    grid-template-columns: 1fr;
  }
}

.work-show__media {
  position: relative;
  background: #000;
  border: 1px solid var(--line);
  overflow: hidden;
  aspect-ratio: 2 / 3;
  max-height: calc(100vh - 180px);
  max-height: calc(100dvh - 180px);
  margin-inline: auto;
  width: 100%;
}

@media (min-width: 961px) {
  .work-show__media {
    width: auto;
    max-width: 100%;
  }
}

.work-show__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-show__body {
  max-height: calc(100vh - 180px);
  max-height: calc(100dvh - 180px);
  overflow-y: auto;
  padding-right: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 162, 39, 0.45) transparent;
}

.work-show__body::-webkit-scrollbar {
  width: 6px;
}
.work-show__body::-webkit-scrollbar-track {
  background: transparent;
}
.work-show__body::-webkit-scrollbar-thumb {
  background: rgba(201, 162, 39, 0.4);
  border-radius: 3px;
}

.work-show__head {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.work-show__title {
  font-family: var(--font-cn);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.4rem;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 14px rgba(201, 162, 39, 0.35);
}

.work-show__sub {
  font-family: var(--font-cn);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 0.6rem;
  letter-spacing: 0.06em;
  font-weight: 300;
}

.work-show__tag {
  display: inline-block;
  font-family: var(--font-cn);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  border: 1px solid rgba(201, 162, 39, 0.4);
  padding: 0.25rem 0.75rem;
  margin: 0;
}

.work-block {
  margin-top: 1.1rem;
}

.work-block__title {
  font-family: var(--font-en);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}

.work-block__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 300;
}

.work-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.work-timeline li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  align-items: start;
  font-size: 0.88rem;
  line-height: 1.65;
  padding-bottom: 0.55rem;
  border-bottom: 1px dashed rgba(242, 240, 234, 0.08);
}

.work-timeline li:last-child {
  border-bottom: none;
}

.work-timeline__t {
  color: var(--accent);
  font-family: var(--font-en);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  padding-top: 1px;
}

.work-timeline__d {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 300;
}

.work-char {
  margin: 0;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 6px 14px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.work-char dt {
  color: var(--accent);
  font-family: var(--font-cn);
  font-weight: 500;
  margin: 0;
}

.work-char dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 300;
}

@media (max-width: 960px) {
  .work-show__body {
    max-height: none;
  }
  .work-timeline li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .work-char {
    grid-template-columns: 1fr;
    gap: 2px 0;
  }
  .work-char dd {
    margin-bottom: 0.4rem;
  }
}

/* Natural-height hero feeds like commercial */
.panel--hero .hero__feed-item {
  aspect-ratio: auto;
  height: auto;
  overflow: visible;
  background: transparent;
}

.panel--hero .hero__feed-item img {
  width: 100%;
  height: auto;
  object-fit: unset;
  display: block;
  transform: none;
}

.panel--hero .hero__feed-item:hover img {
  transform: none;
  opacity: 0.95;
}
