/* The press and creators page: the game's Brisket faces and the studio homepage's palette (site.css). Every picture
   is shown at the game's own pixel size or a whole multiple of it, and is never smoothed. Each kind of file is a
   shelf: a row of cards that scrolls sideways, with a list of every file folded under it. */
.press-root { scroll-behavior: auto; }
.creator-page { font-size: 24px; line-height: 1.35; }
.creator-page section, .creator-page header, .creator-page footer { padding: 0; }
.creator-page .press-width { width: min(calc(100% - 80px), 1200px); max-width: none; margin-inline: auto; }
.creator-page main > section { padding: 56px 0 64px; }
.creator-page h2 { font-size: 32px; line-height: 1.2; margin-bottom: 14px; }
.creator-page h3 { font-size: 16px; line-height: 1.4; margin-bottom: 6px; }
.creator-page figure { margin: 0; min-width: 0; }
.creator-page video { display: block; width: 100%; height: auto; object-fit: contain; background: var(--ink); }
.creator-page a { text-decoration-thickness: 2px; text-underline-offset: 4px; }
.creator-page p { margin: 0 0 16px; }
.creator-page ul { list-style: none; margin: 0; padding: 0; }
.creator-page .btn { font-size: 16px; line-height: 24px; margin: 0; padding: 11px 17px 13px; align-self: flex-start; }
.creator-page .btn small { display: block; margin: 2px 0 0; line-height: 20px; }
.creator-page .btn.compact { padding: 7px 13px 9px; }   /* (not ".small": site.css has a khaki note by that name) */
.creator-page summary { cursor: pointer; }
.creator-page :is(section,figure,details)[id] { scroll-margin-top: 16px; }
.creator-page [hidden] { display: none; }

.press-nav { color: var(--cream); border-bottom: 3px solid var(--coal); background: var(--ink); }
.press-nav .press-width, .press-footer .press-width { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.studio-mark { display: inline-flex; align-items: center; gap: 12px; font: 16px/22px "Brisket Bold", monospace; text-decoration: none; }
.press-nav nav { display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: center; font-size: 16px; }
.press-nav nav a { text-decoration: none; padding-block: 8px; }
.press-nav nav a:hover, .studio-mark:hover { color: var(--aqua); text-decoration: underline; }
.press-nav nav a:last-child { color: var(--gold); }

.press-hero { color: var(--cream); background: var(--ink); }
.creator-page main > .press-hero { padding-bottom: 40px; }
.lead-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.26fr); align-items: center; gap: clamp(32px, 4.6vw, 76px); }
.hero-copy .eyebrow { color: var(--aqua); text-transform: uppercase; font-size: 16px; line-height: 24px; margin-bottom: 14px; }
.hero-copy h1 { line-height: 1; margin: 0 0 22px; }
.hero-copy h1 img { width: min(100%, 412px); height: auto; }
.hero-copy .hero-pitch { color: var(--white); margin: 0 0 20px; }
.hero-copy .game-facts { color: var(--mist); font-size: 16px; line-height: 24px; }
.hero-copy .hero-use { color: var(--lemon); font-size: 16px; line-height: 24px; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 24px; }
.text-link { color: var(--aqua); font-size: 16px; }
.hero-copy .kit-holds { color: var(--mist); font-size: 16px; line-height: 24px; margin: 14px 0 0; }
.lead-movie, .cast-feature {
  background: var(--coal); color: var(--white); padding: 6px;
  --edge: var(--indigo);
  box-shadow: 0 -3px var(--edge), 0 3px var(--edge), -3px 0 var(--edge), 3px 0 var(--edge);
}
.lead-movie { --edge: var(--violet); }
.creator-page figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 10px; }
.creator-page figcaption h2, .creator-page figcaption h3 { font: 16px/24px "Brisket Bold", monospace; margin: 0; }
.creator-page figcaption p { color: var(--mist); font-size: 16px; line-height: 22px; margin: 3px 0 0; }
.file-action { color: var(--aqua); white-space: nowrap; font: 16px/24px "Brisket", monospace; padding-block: 6px; }
.file-action:hover, .text-link:hover { color: var(--white); }
.movie-files { display: flex; flex-direction: column; align-items: flex-end; font-size: 16px; line-height: 22px; }
.movie-files .file-action { padding-block: 0 3px; }
.movie-files a:last-child { color: var(--cream); }
.counts { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 40px !important; padding-top: 20px !important; border-top: 3px solid var(--coal);
  font-size: 16px; line-height: 24px; color: var(--mist); }
.counts b { color: var(--gold); font-size: 16px; }

/* a shelf section: its colour, its intro with the ZIP buttons, its rows of cards */
.shelf-section { border-top: 6px solid var(--edge-top, var(--indigo)); }
.lines-section { background: var(--deepteal); color: var(--aqua); --edge-top: var(--teal); --card: var(--ink); --line: var(--ink); }
.scenes-section { background: var(--plum); color: var(--cream); --edge-top: var(--purple); --card: var(--ink); --line: var(--purple); }
.moments-section { background: var(--navy); color: var(--mist); --edge-top: var(--indigo); --card: var(--ink); --line: var(--indigo); }
.footage-section { background: var(--ink); color: var(--mist); --edge-top: var(--coal); --card: var(--coal); --line: var(--coal); }
.shots-section { background: var(--coal); color: var(--mist); --edge-top: var(--indigo); --card: var(--ink); --line: var(--indigo); }
.shelf-section h2 { color: var(--white); }
.section-intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; margin-bottom: 24px; }
.section-intro p { max-width: 760px; margin-bottom: 0; }
.bundle { display: flex; flex-wrap: wrap; gap: 14px 16px; justify-content: flex-end; flex-shrink: 0; max-width: 430px; padding-top: 6px; }
.shelf-title { color: var(--white); margin: 26px 0 10px; }
.shelf-title span { color: inherit; opacity: .7; font: 16px/20px "Brisket", monospace; margin-left: 8px; }

.shelf { position: relative; margin-inline: -8px; }
.shelf-row { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 8px; padding: 8px 8px 16px !important;
  scrollbar-color: var(--lavender) transparent; overscroll-behavior-x: contain; }
.card { flex: 0 0 auto; scroll-snap-align: start; width: 320px; }
.card.tall { width: 216px; }
.card.quote { width: 270px; }
.sticker-row { display: flex; flex-wrap: wrap; gap: 14px 16px; padding: 4px 0 6px !important; }
.sticker-row li { max-width: 100%; }
.sticker-row a { display: block; }
.sticker-row img { max-width: 100%; height: auto; }
.sticker-row a:hover { transform: translateY(-3px); }
.card-play { position: relative; display: block; background: var(--card); --edge: var(--line);
  box-shadow: 0 -3px var(--edge), 0 3px var(--edge), -3px 0 var(--edge), 3px 0 var(--edge); }
.card-play:hover, .card-play:focus-visible { --edge: var(--lemon); }
.card-play img { width: 100%; height: auto; }
/* a whole 640x360 screen shown at half its size: exact on a screen with two pixels per point, and smoothed (not
   thinned) by the browser on one without */
.card-play img.half { image-rendering: auto; }
.card .len { position: absolute; right: 0; bottom: 0; background: var(--ink); color: var(--white); font: 16px/20px "Brisket", monospace; padding: 2px 6px 3px; }
.card h3 { font: 16px/22px "Brisket", monospace; color: var(--white); margin: 10px 0 0; }
.shelf-step { position: absolute; top: 0; bottom: 16px; width: 44px; z-index: 2; border: 0; padding: 0; cursor: pointer;
  background: color-mix(in srgb, var(--ink) 78%, transparent); }
.shelf-step.prev { left: 0; }
.shelf-step.next { right: 0; }
.shelf-step::before { content: ""; position: absolute; top: 50%; left: 50%; margin: -9px 0 0 -5px; border: 9px solid transparent; }
.shelf-step.prev::before { border-left: 0; border-right: 10px solid var(--lemon); }
.shelf-step.next::before { border-right: 0; border-left: 10px solid var(--lemon); }
.shelf-step[disabled] { display: none; }
.shelf-step:hover { background: var(--ink); }

.asset-fold { border-block: 2px solid var(--line, var(--indigo)); margin: 20px 0 0; }
.asset-fold + .asset-fold { border-top: 0; margin-top: 0; }
.asset-fold summary { font: 16px/24px "Brisket Bold", monospace; padding: 15px 4px; color: var(--white); }
.asset-fold summary span { display: inline-block; margin-left: 8px; opacity: .75; font: 16px/20px "Brisket", monospace; }
.file-table { font-size: 16px; line-height: 24px; padding: 0 4px 16px; }
.file-table li { display: flex; flex-wrap: wrap; gap: 2px 20px; align-items: baseline; padding: 6px 0; border-top: 2px solid color-mix(in srgb, var(--line) 60%, transparent); }
.file-table li.group { border: 0; padding-top: 18px; color: var(--white); font-family: "Brisket Bold", monospace; }
.file-table .t { flex: 1 1 260px; color: var(--white); }
.file-table .d { flex: 0 0 48px; opacity: .8; }
.file-table a { color: var(--aqua); white-space: nowrap; }
.file-table a small, .viewer-files small { opacity: .75; }

.art-section { background: var(--navy); color: var(--mist); border-top: 6px solid var(--indigo); --line: var(--indigo); }
.art-section .art-tiles img { background: var(--ink); }
.art-section h2 { color: var(--white); }
.art-tiles { display: flex; flex-wrap: wrap; gap: 16px; padding: 6px 4px 22px !important; }
.art-tiles a { display: block; text-decoration: none; background: var(--ink); color: var(--mist); font: 16px/20px "Brisket", monospace; }
.art-tiles a:hover { color: var(--lemon); }
.art-tiles img { background: var(--navy); }
.art-tiles span { display: block; padding: 5px 8px 7px; max-width: 320px; }
.art-tiles.characters span { max-width: 128px; }
.art-tiles.logos img { padding: 12px; box-sizing: content-box; }

.trailer-section { background: var(--ink); border-top: 6px solid var(--purple); --line: var(--purple); }
.trailer-section h2 { color: var(--white); }
.features-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 32px; margin: 28px 0; align-items: stretch; }
.cast-feature { --edge: var(--purple); }
.cast-feature video { aspect-ratio: 16/9; }
.creator-watch, .creator-watch img { display: block; width: 100%; }
.creator-watch img { height: auto; aspect-ratio: 16/9; image-rendering: auto; }
.creator-recordings figcaption a { font-size: 16px; line-height: 24px; }
.language-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 32px; padding-bottom: 12px !important; }
.language-list li { border-top: 2px solid var(--coal); padding: 9px 0; font-size: 16px; line-height: 24px; }
.language-list strong { display: block; color: var(--white); font-size: 16px; }
.language-list a { color: var(--aqua); margin-right: 14px; }

.facts-section { background: var(--deepteal); color: var(--mist); border-top: 6px solid var(--teal); }
.facts-section h2, .facts-section h3 { color: var(--white); }
.facts-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.3fr); gap: 56px; align-items: start; }
.creator-page .facts { font-size: 16px; line-height: 24px; margin-bottom: 0; }   /* the homepage's receipt (site.css) */
.creator-page .facts a { text-decoration-color: var(--raspberry); }
.blurbs h3 { margin-top: 22px; }
.blurbs h3:first-child { margin-top: 0; }
.blurbs p, .feature-list li { font-size: 16px; line-height: 24px; color: var(--cream); }
.feature-list li { margin-bottom: 10px; }
.feature-list strong { color: var(--white); }
.copyable { position: relative; background: var(--ink); padding: 14px 16px 16px; margin-bottom: 8px !important; }
.copy-btn { display: block; margin: 0 0 4px auto; border: 0; cursor: pointer; background: none; color: var(--aqua); font: 16px/24px "Brisket", monospace;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; padding: 0; }
.copy-btn:hover { color: var(--white); }

.contact-section { background: var(--cream); color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: start; }
.contact-grid p { max-width: 650px; }
.contact-mail { font: 24px/32px "Brisket",monospace; text-decoration-color: var(--raspberry); }
.coverage-note { border-left: 3px solid var(--khaki); padding-left: 28px; }
.coverage-note, .coverage-note p { font-size: 16px; line-height: 24px; }
.coverage-note h3 { margin-bottom: 8px; }
.coverage-note strong { display: block; }
.contact-section :focus-visible { outline-color: var(--ink); }
.press-footer { background: var(--ink); color: var(--cream); font-size: 16px; }

/* the viewer: one dialog for every card; the picture on the left, every version to download on the right */
.viewer { border: 0; padding: 0; background: transparent; color: var(--cream); max-width: none; max-height: none; width: 100vw; height: 100vh; }
.viewer::backdrop { background: rgba(20, 14, 21, .92); }
.viewer-box { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 28px; align-items: center; height: 100%; padding: 28px; box-sizing: border-box;
  max-width: 1280px; margin: 0 auto; }
.viewer-stage { display: flex; align-items: center; justify-content: center; min-width: 0; height: 100%; }
.viewer-stage video, .viewer-stage img { max-width: 100%; max-height: calc(100vh - 56px); width: auto; height: auto; background: #000; }
.viewer-stage img { image-rendering: pixelated; }
.viewer-side h2 { color: var(--white); font-size: 24px; line-height: 30px; margin-bottom: 10px; }
.viewer-side p { font-size: 16px; line-height: 24px; color: var(--mist); max-height: 30vh; overflow-y: auto; }
.viewer-files { margin: 18px 0 24px !important; }
.viewer-files li { display: flex; gap: 12px; align-items: baseline; justify-content: space-between; border-top: 2px solid var(--coal); padding: 8px 0; font-size: 16px; line-height: 22px; }
.viewer-files a { color: var(--aqua); }
.viewer-files button { border: 0; background: none; cursor: pointer; color: var(--lemon); font: 16px/22px "Brisket", monospace; padding: 0; text-decoration: underline;
  text-decoration-thickness: 2px; text-underline-offset: 4px; }
.viewer-files button[aria-pressed="true"] { color: var(--white); text-decoration: none; }

@media (max-width: 980px) {
  .creator-page .press-width { width: min(calc(100% - 48px), 1200px); }
  .creator-page { font-size: 16px; line-height: 24px; }
  .lead-grid { gap: 28px; grid-template-columns: .9fr 1.2fr; }
  .features-grid { gap: 24px; }
  .language-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .section-intro { flex-direction: column; gap: 16px; }
  .bundle { justify-content: flex-start; max-width: none; }
  .facts-grid, .contact-grid { gap: 36px; }
  .viewer-box { grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(0,1fr) auto; gap: 16px; padding: 16px; align-items: start; overflow-y: auto; }
  .viewer-stage { height: auto; }
  .viewer-stage video, .viewer-stage img { max-height: 62vh; }
  .viewer-side p { max-height: none; }
}
@media (max-width: 730px) {
  .creator-page main > section { padding: 34px 0 40px; }
  .creator-page .press-width { width: calc(100% - 32px); }
  .press-nav .press-width { display: grid; grid-template-columns: 1fr; padding-block: 10px 8px; gap: 5px; }
  .press-nav nav { gap: 0 16px; }
  .press-nav nav a { padding-block: 4px; }
  .lead-grid, .contact-grid, .facts-grid, .features-grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .hero-copy h1 img { width: min(100%, 340px); }
  .hero-copy h1 { margin-bottom: 15px; }
  .hero-copy .hero-pitch { margin-bottom: 10px; }
  .hero-actions { margin-top: 18px; }
  .creator-page figcaption { padding: 10px 6px 7px; gap: 8px; flex-wrap: wrap; }
  .movie-files { flex-direction: row; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; }
  .counts { gap: 4px 20px; margin-top: 28px !important; }
  .shelf-step { display: none; }
  .language-list { grid-template-columns: minmax(0,1fr); }
  .coverage-note { border-left: 0; border-top: 3px solid var(--khaki); padding: 20px 0 0; }
  .contact-mail { font-size: 16px; line-height: 24px; }
  /* on a phone every group of art is one row that scrolls sideways, like the shelves */
  .art-tiles { gap: 10px; flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-color: var(--lavender) transparent; }
  .art-tiles li { flex: 0 0 auto; }
}
