/* Shared by the public film pages (gallery and /watch), served from the API on both sites. */
@font-face {
  font-family: Anton;
  src: url("/fonts/anton.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url("/fonts/nunito.ttf") format("truetype");
  font-weight: 200 1000;
  font-display: swap;
}
:root {
  --pink: #ff82c6;
  --ink: #f7f7f2;
  --muted: #bdc8d8;
  --line: #34465e;
  --panel: #101f34;
  --lime: #d7ff43;
  --navy: #081426;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  background: var(--navy);
  color: var(--ink);
  font:
    16px/1.5 Nunito,
    ui-rounded,
    system-ui,
    sans-serif;
}
main {
  width: 100%;
  max-width: 880px;
  text-align: center;
}
a {
  color: var(--lime);
}
.brand {
  display: inline-block;
  font-family: Nunito, system-ui, sans-serif;
  font-weight: 1000;
  font-size: clamp(28px, 6vw, 40px);
  letter-spacing: -1px;
  line-height: 1.4;
  white-space: nowrap;
  margin: 0;
  text-decoration: none;
}
.brand .w {
  color: #fff;
}
.brand .p {
  color: var(--pink);
}
.brand .y {
  color: #d9ff56;
}
.brand .z {
  display: inline-block;
  transform: translateY(0.2em);
}
.tag {
  margin: 2px 0 22px;
  font-weight: 800;
  color: var(--muted);
}
h1 {
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 6vw, 44px);
  line-height: 1.1;
  margin: 0 0 6px;
}
.cast {
  margin: 0 0 18px;
  font-weight: 700;
  color: var(--muted);
}
video {
  width: 100%;
  max-height: 70vh;
  border-radius: 16px;
  background: #000;
  display: block;
  border: 1px solid var(--line);
}
.cta {
  margin: 28px auto 0;
  max-width: 560px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px 22px;
}
.cta p {
  margin: 0 0 14px;
  font-weight: 700;
}
a.button {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 15px;
  background: var(--lime);
  color: #081426;
  text-decoration: none;
  font-weight: 900;
}
a.button:hover {
  background: #c4ef1f;
}
.share {
  margin: 22px auto 0;
  max-width: 560px;
}
.share p {
  margin: 0 0 10px;
  font-weight: 900;
}
.share-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.share-row a {
  padding: 9px 16px;
  border: 2px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}
.share-row a:hover {
  border-color: var(--pink);
}
.share-link {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--muted);
  font: inherit;
  font-size: 13px;
}
.fine {
  margin-top: 22px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.fine a {
  color: inherit;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #43d8ef;
  outline-offset: 4px;
}
video.portrait {
  width: auto;
  max-width: 100%;
  max-height: 78vh;
  margin: 0 auto;
}
body.gallery-page {
  display: block;
}
main.gallery {
  max-width: 1100px;
  margin: 0 auto;
}
.intro {
  max-width: 620px;
  margin: 0 auto 26px;
  font-weight: 700;
  color: var(--muted);
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  text-align: left;
}
.card {
  display: block;
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition:
    transform 0.16s,
    border-color 0.16s;
}
.card:hover,
.card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--lime);
}
.thumb {
  aspect-ratio: 16/9;
  width: 100%;
  background: #000;
  display: block;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  max-height: none;
}
.thumb.poster-art {
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
.thumb.portrait {
  object-fit: contain;
}
video.portrait {
  width: auto;
  max-width: 100%;
  max-height: 78vh;
  margin: 0 auto;
}
.card h2 {
  font-size: 18px;
  font-weight: 900;
  margin: 12px 14px 2px;
}
.card p {
  margin: 0 14px 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}
.empty {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  max-width: 560px;
  margin: 0 auto;
  font-weight: 700;
}
.back {
  display: inline-block;
  margin-bottom: 16px;
  font-weight: 900;
}
form.report {
  margin-top: 16px;
}
form.report button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  color: var(--muted);
  cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
  .card {
    transition: none;
  }
  .card:hover,
  .card:focus-visible {
    transform: none;
  }
}
/* Viewer reactions and comments, below the film. */
.feedback {
  margin: 22px auto 0;
  max-width: 620px;
  text-align: left;
}
.feedback h2 {
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  font-size: 26px;
  margin: 0 0 10px;
  text-align: center;
}
.react-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
button.react {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-height: 72px;
  padding: 8px 4px;
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
button.react:hover {
  border-color: var(--lime);
}
button.react[aria-pressed="true"] {
  border-color: var(--pink);
  background: #2a1d3a;
}
button.react .emoji {
  font-size: 28px;
  line-height: 1.1;
}
.react-count {
  min-height: 1.2em;
  color: var(--lime);
}
.react-total {
  margin-top: 8px;
  text-align: center;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.notice {
  background: #13304a;
  border: 1px solid #2b6c8f;
  border-radius: 14px;
  padding: 10px 14px;
  font-weight: 800;
  text-align: center;
}
.notice[hidden] {
  display: none;
}
.comment-box {
  margin-top: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 4px 16px;
}
.comment-box summary {
  cursor: pointer;
  padding: 12px 0;
  font-weight: 900;
  color: var(--lime);
}
.comment-form label {
  display: block;
  margin-top: 12px;
  font-weight: 800;
}
.comment-form .fine,
.feedback .fine {
  margin-top: 8px;
}
.comment-form textarea,
.comment-form input:not([type="checkbox"]) {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--navy);
  color: var(--ink);
  /* 16px stops phones zooming into the field. */
  font: inherit;
  font-size: 16px;
}
.comment-form .hp {
  position: absolute;
}
.consents {
  margin: 14px 0 0;
  padding: 0;
  border: 0;
}
.consents legend {
  font-weight: 900;
  padding: 0;
}
label.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 700;
}
label.check input {
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  flex: none;
  accent-color: var(--pink);
}
.comment-form button[type="submit"],
.manage-actions button,
main.narrow a.button {
  margin: 14px 0 16px;
  padding: 12px 24px;
  border: 0;
  border-radius: 15px;
  background: var(--lime);
  color: #081426;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.manage-actions button.secondary {
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
}
.comments {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.comments li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
}
.said {
  margin: 0;
  white-space: pre-line;
  overflow-wrap: anywhere;
  font-weight: 700;
}
blockquote.said {
  border-left: 4px solid var(--pink);
  padding-left: 12px;
  text-align: left;
}
.who {
  margin: 4px 0 0;
  color: var(--pink);
  font-weight: 900;
  font-size: 14px;
}
.report-comment button {
  background: none;
  border: 0;
  padding: 0;
  margin-top: 4px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  color: var(--muted);
  cursor: pointer;
}
.thanks,
.manage-link {
  overflow-wrap: anywhere;
}
.thanks {
  margin-top: 14px;
  background: var(--panel);
  border: 1px solid var(--pink);
  border-radius: 18px;
  padding: 14px 16px;
  font-weight: 700;
}
main.narrow {
  max-width: 560px;
}
.consent-list dt {
  font-weight: 800;
  margin-top: 10px;
}
.consent-list dd {
  margin: 2px 0 0;
  color: var(--lime);
  font-weight: 900;
}
.card .reacts {
  margin-top: -8px;
  color: var(--ink);
}

/* The gallery in the public website's look: cream and black, films as
   cinema posters. */
body.gallery-page {
  display: block;
  padding: 0;
  background: #f3eee3;
  color: #0d0d0d;
  color-scheme: light;
}
.gallery-page a {
  color: inherit;
}
.gallery-page .brand .w {
  color: #0d0d0d;
}
.gallery-page .brand .p {
  color: #c2186f;
}
.gallery-page .brand .y {
  padding: 0 3px;
  background: #d9ff56;
  color: #0d0d0d;
}
.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px max(20px, calc((100vw - 1160px) / 2));
  border-bottom: 2px solid #0d0d0d;
}
.site-head > a:first-child {
  text-decoration: none;
}
.site-head .brand {
  font-size: 28px;
}
.gallery-page .head-button,
.gallery-page .cta .button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #0d0d0d;
  color: #f3eee3;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}
.gallery-page main.gallery {
  max-width: none;
  padding: 56px max(20px, calc((100vw - 1160px) / 2)) 72px;
  text-align: left;
}
.gallery-page .kicker {
  margin: 0 0 8px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.gallery-page h1 {
  margin: 0 0 14px;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(56px, 9vw, 120px);
  font-weight: 400;
  line-height: 0.92;
  text-transform: uppercase;
}
.gallery-page .intro {
  max-width: 640px;
  margin: 0 0 40px;
  font-size: 18px;
  color: #33312c;
}
.gallery-page .grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 36px 24px;
}
.gallery-page .card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: none;
  border: 0;
  border-radius: 0;
  overflow: visible;
  color: #0d0d0d;
}
.gallery-page .card:hover,
.gallery-page .card:focus-visible {
  border: 0;
  transform: none;
}
.gallery-page .poster {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: #1c1c1c;
  box-shadow: 0 2px 0 #0d0d0d;
  transition: transform 0.2s ease;
}
.gallery-page .card:hover .poster,
.gallery-page .card:focus-visible .poster {
  transform: translateY(-4px) rotate(-0.6deg);
  box-shadow: 6px 6px 0 #ff82c6;
}
.gallery-page .poster .thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}
.gallery-page .card h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
}
/* An AI poster carries its own title and credits: keep the words for screen
   readers and search, show only the art. */
.gallery-page .has-art h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.gallery-page .card p.meta {
  margin: 0;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 400;
  color: #55524b;
}
.gallery-page .card .reacts {
  margin: 0;
  color: #0d0d0d;
}
.gallery-page .empty {
  background: #fbf8f1;
  border: 2px solid #0d0d0d;
  border-radius: 0;
  margin: 0;
  color: #0d0d0d;
}
.gallery-page .cta {
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 48px max(20px, calc((100vw - 1160px) / 2));
  background: #0d0d0d;
  color: #f3eee3;
  border-radius: 0;
  border: 0;
}
.gallery-page .cta p {
  margin: 0;
  font-weight: 400;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1;
  text-transform: uppercase;
}
.gallery-page .cta p span {
  color: #d9ff56;
}
.gallery-page .cta .button {
  border-radius: 0;
  background: #d9ff56;
  color: #0d0d0d;
  padding: 16px 24px;
  font-size: 19px;
}
.gallery-page > .fine {
  margin: 0;
  padding: 20px;
  background: #0d0d0d;
  color: #c9c5bb;
  text-align: center;
}
.gallery-page > .fine a {
  color: #ff82c6;
}
@media (max-width: 560px) {
  .gallery-page .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }
  .site-head .brand {
    font-size: 22px;
  }
  .gallery-page .card p.meta {
    font-size: 11px;
  }
}

/* One gallery film: black instead of navy, to match the website. */
body.gallery-film {
  --navy: #0d0d0d;
  --panel: #1c1c1c;
  --line: #3a3a3a;
  --muted: #c9c5bb;
  --lime: #d9ff56;
}
body.gallery-film h1 {
  font-weight: 400;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.95;
  text-transform: uppercase;
  color: #d9ff56;
}

/* The shared film page in the public website's look: cream header, the film
   on a black stage beside its poster, cream "make your own" band. */
body.watch-page {
  display: block;
  padding: 0;
  background: #f3eee3;
  color: #0d0d0d;
}
.watch-page .site-head {
  position: relative;
  background: #f3eee3;
}
.watch-page .brand .w {
  color: #0d0d0d;
}
.watch-page .brand .p {
  color: #c2186f;
}
.watch-page .brand .y {
  padding: 0 3px;
  background: #d9ff56;
  color: #0d0d0d;
}
.site-nav {
  display: flex;
  gap: 34px;
  margin-right: auto;
  margin-left: 40px;
}
.site-nav a,
.site-menu nav a {
  color: #0d0d0d;
  font-weight: 800;
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current] {
  border-bottom-color: #d9ff56;
}
.watch-page .head-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: #0d0d0d;
  color: #f3eee3;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}
.site-menu {
  display: none;
}
.site-menu summary {
  display: grid;
  gap: 5px;
  padding: 8px 4px;
  cursor: pointer;
  list-style: none;
}
.site-menu summary::-webkit-details-marker {
  display: none;
}
.site-menu summary span {
  display: block;
  width: 24px;
  height: 3px;
  background: #0d0d0d;
}
.site-menu nav {
  position: absolute;
  right: 0;
  left: 0;
  top: 100%;
  z-index: 5;
  display: grid;
  gap: 4px;
  padding: 12px 20px 18px;
  background: #f3eee3;
  border-bottom: 2px solid #0d0d0d;
}
.stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  grid-template-areas:
    "screen billing"
    "screen share"
    "feedback feedback";
  grid-template-rows: auto 1fr auto;
  gap: 0 28px;
  max-width: none;
  margin: 0;
  padding: 36px max(20px, calc((100vw - 1160px) / 2)) 44px;
  background: #0d0d0d;
  color: #f7f7f2;
  text-align: left;
}
.stage.with-poster {
  grid-template-areas:
    "screen poster"
    "screen billing"
    "screen share"
    "feedback feedback";
  grid-template-rows: auto auto 1fr auto;
}
.stage .screen {
  grid-area: screen;
  align-self: start;
}
.stage video {
  border-radius: 6px;
  border: 1px solid #2c2c2c;
  max-height: 78vh;
}
.stage .one-sheet {
  grid-area: poster;
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
}
.stage .billing {
  grid-area: billing;
  padding: 18px 0 18px;
  border-bottom: 1px solid #3a3a3a;
}
.stage .now-showing {
  margin: 0 0 4px;
  font-weight: 1000;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d9ff56;
}
.stage h1 {
  margin: 0 0 8px;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 400;
  line-height: 1;
}
.stage .cast {
  margin: 0;
  font-weight: 800;
  color: #e9e5da;
}
.stage .share {
  grid-area: share;
  margin: 18px 0 0;
  max-width: none;
}
.stage .share-row {
  justify-content: flex-start;
}
.stage .share-row {
  gap: 6px;
}
.stage .share-row a {
  border-color: #6b6b6b;
  color: #f7f7f2;
  font-size: 13px;
  padding: 6px 11px;
}
.stage .share-row a:hover {
  border-color: #d9ff56;
}
.share-native {
  width: 100%;
  padding: 14px 20px;
  border: 0;
  border-radius: 999px;
  background: #d9ff56;
  color: #0d0d0d;
  font: inherit;
  font-weight: 900;
  font-size: 17px;
  cursor: pointer;
}
.stage-feedback {
  grid-area: feedback;
  margin-top: 28px;
}
.stage-feedback .feedback {
  margin-left: auto;
  margin-right: auto;
}
.make-own {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 36px max(20px, calc((100vw - 1160px) / 2)) 0;
  padding: 22px 0 6px;
  border-top: 2px solid #0d0d0d;
}
.make-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  color: #0d0d0d;
  text-decoration: none;
}
.make-link span {
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  box-shadow: inset 0 -6px 0 #d9ff56;
}
.clapper {
  width: 56px;
  height: 56px;
  flex: none;
}
.gallery-link {
  color: #0d0d0d;
  font-weight: 900;
  text-decoration: none;
  box-shadow: inset 0 -3px 0 #d9ff56;
  white-space: nowrap;
}
.watch-foot {
  padding: 18px 20px 30px;
  text-align: center;
  color: #4a4740;
}
.watch-foot .fine {
  color: #4a4740;
}
.watch-foot a {
  color: #0d0d0d;
}
@media (min-width: 761px) {
  .share-native {
    display: none !important;
  }
}
@media (max-width: 960px) {
  .site-nav {
    gap: 20px;
    margin-left: 20px;
  }
}
@media (max-width: 760px) {
  .site-nav,
  .watch-page .head-button {
    display: none;
  }
  .site-menu {
    display: block;
  }
  .stage,
  .stage.with-poster {
    grid-template-columns: 1fr;
    grid-template-areas:
      "poster"
      "billing"
      "screen"
      "share"
      "feedback";
    grid-template-rows: none;
    padding-top: 20px;
  }
  .stage .one-sheet {
    max-width: 300px;
    margin: 0 auto;
  }
  .stage .billing {
    border-bottom: 0;
  }
  .can-share .share-row {
    display: none;
  }
  .make-own {
    flex-direction: column;
    align-items: flex-start;
  }
  .clapper {
    width: 44px;
    height: 44px;
  }
}
