/* Automotive Edition subpage (/rebirth/automotive-edition/): breadcrumb trail,
   the nine-work grid intro, and the commission callout box. */

.work-trail {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px var(--pad);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.work-trail a:hover,
.work-trail a:focus-visible { color: var(--ink); }

.work-trail span[aria-current] { color: var(--ink); }

.commission-callout {
  max-width: 640px;
  margin: 0 var(--pad) clamp(78px, 11vw, 164px);
  padding: clamp(32px, 4vw, 48px);
  border: 1px solid var(--line);
  background: var(--paper-deep);
}

.commission-callout .eyebrow { margin-bottom: 14px; }

.commission-callout h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.05;
}

.commission-callout p {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}

.commission-callout-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: 13px;
  text-transform: uppercase;
}

.commission-callout-link:hover,
.commission-callout-link:focus-visible { color: var(--muted); }

@media (max-width: 640px) {
  .commission-callout { margin-inline: var(--pad); }
}

/* The subpage grid shows the complete prints (3:2), not the circle crops used
   on the Works page edition strip and the AUDIENCE page. */
.works-grid.available-grid .work-item img { aspect-ratio: 3 / 2; }

/* Each of the nine work pages: show the complete print, at a size that fits
   entirely inside the viewport (desktop and phone) with no scrolling and no
   cropping, instead of the full-bleed edge-to-edge treatment the painting
   pages use for their square circle crops. */
.work-view {
  width: 100%;
  height: auto;
  min-height: 0;
  padding: clamp(20px, 3.4vw, 48px) var(--pad);
  display: grid;
  place-items: center;
}

.work-view figure {
  width: 100%;
  height: auto;
  display: grid;
  place-items: center;
}

.work-view img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100svh - 130px);
  object-fit: contain;
}

@media (max-width: 1000px) {
  .work-view img { max-height: calc(100svh - 190px); }
}

/* The companion film is part of each work (Steve, 28 September): it plays on the work page,
   directly below the complete print. The player sits in a thin frame so the film's own black
   reads as a screen against the plate-coloured page. */
.work-film {
  display: grid;
  gap: clamp(20px, 2.4vw, 32px);
  padding: clamp(40px, 5vw, 72px) var(--pad) clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.work-film-head .eyebrow { margin-bottom: 10px; }

.work-film-head h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.05;
}

.work-film-head p:last-child { margin: 0; color: var(--muted); font-size: 15px; }

.work-film-screen {
  width: 100%;
  max-width: 1280px;
  border: 1px solid var(--line);
  background: #000;
}

.work-film-screen video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
}
