/* ==========================================================================
   Musawir Abrar
   Overcast for most of the film, then one sunset.
   ========================================================================== */

:root {
  /* The overcast sky and green hills of Color of Sunset, mixed to a paper. */
  --paper: #e3e5dd;
  --paper-2: #d9dcd2;
  --paper-3: #cbcfc4;
  --line: #b9beb1;
  --line-soft: #cfd3c9;

  --ink: #1b1d19;
  --ink-2: #444840;
  --ink-3: #5c6157;

  /* The last frame. Used for the sun, underlines, and little else. */
  --amber: #d4802a;
  --amber-2: #f0a24a;
  --amber-text: #8f5312;

  --sky-top: #c9cbbf;
  --sky-bottom: #e8a35a;
  --hills: #2f342c;

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --urdu: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", serif;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --measure: 60ch;
  --radius: 2px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --slow: 900ms;
  --quick: 200ms;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #171a16;
    --paper-2: #1e221d;
    --paper-3: #272c25;
    --line: #3b4038;
    --line-soft: #2c312a;
    --ink: #e6e7df;
    --ink-2: #b8bcb0;
    --ink-3: #8d9287;
    --amber: #e0903a;
    --amber-2: #f3b064;
    --amber-text: #f0a24a;
    --sky-top: #1b1f1a;
    --sky-bottom: #5a3417;
    --hills: #0e100d;
  }
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.2rem);
  line-height: 1.6;
  font-feature-settings: "kern", "liga", "onum";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--amber); color: #fff8ee; }

img, svg, video { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.1; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
em { font-style: italic; }
strong { font-weight: 600; }
ul { margin: 0; padding: 0; list-style: none; }
dl, dd, dt { margin: 0; }
cite { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.skip {
  position: absolute; left: 1rem; top: -4rem;
  padding: 0.5rem 0.9rem;
  background: var(--ink); color: var(--paper);
  z-index: 100;
}
.skip:focus { top: 1rem; }

main { position: relative; z-index: 1; }

/* Two quiet type roles. Metadata is italic and dimmer; labels are upright and smaller. */
.meta, .piece__meta, .piece__status, .piece__aside, .section__sub, .foot__row,
.frame__cap, .credits__role, .contact__where, .hero__sun {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--ink-3);
}
.label, .record__h, .piece__facts dt {
  font-size: 0.95rem;
  font-weight: 500;
  font-style: normal;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Top bar
   -------------------------------------------------------------------------- */

.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.top__nav {
  max-width: 76rem; margin: 0 auto; padding: 0.7rem var(--gutter);
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1rem;
}
.top__name { font-weight: 500; color: var(--ink); padding: 0.4rem 0; }
.top__links { display: flex; gap: clamp(1rem, 3vw, 2rem); }
.top__links a {
  display: inline-block; position: relative; padding: 0.4rem 0; color: var(--ink-2);
  font-size: 0.95rem;
  transition: color var(--quick);
}
.top__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.25rem;
  height: 1px; background: var(--amber);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--quick) var(--ease);
}
.top__links a:hover, .top__links a:focus-visible { color: var(--ink); }
.top__links a:hover::after, .top__links a:focus-visible::after,
.top__links a[aria-current="true"]::after { transform: scaleX(1); }
@media (max-width: 600px) {
  .top__links { width: 100%; justify-content: space-between; gap: 0.5rem; }
  .top__links a { padding: 0.6rem 0; min-height: 44px; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  max-width: 76rem; margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.5rem) var(--gutter) clamp(3rem, 8vw, 6rem);
}

.hero__sun { margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.hero__sun-time { color: var(--amber-text); font-style: normal; font-variant-numeric: tabular-nums; }

.hero__grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: end;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.2fr 0.8fr; align-items: center; }
}
.hero__figure { max-width: 26rem; width: 100%; justify-self: end; }
@media (max-width: 899px) { .hero__figure { max-width: 22rem; justify-self: start; } }

.hero__title {
  font-size: clamp(3.4rem, 11vw, 7.5rem);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  letter-spacing: -0.03em;
  line-height: 0.92;
  margin-bottom: 1.5rem;
}
.hero__lede {
  max-width: 30ch;
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
  line-height: 1.35;
  color: var(--ink-2);
  margin-bottom: 1.5rem;
}
.hero__thesis {
  max-width: 34ch;
  font-style: italic; font-weight: 300;
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
  color: var(--ink);
  border-left: 2px solid var(--amber);
  padding-left: 1rem;
  margin-bottom: 2rem;
}
.hero__thesis-mark { color: var(--amber-text); }

.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  font-size: 0.95rem;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  transition: background var(--quick), color var(--quick), border-color var(--quick);
}
.btn:hover, .btn:focus-visible { background: var(--amber); border-color: var(--amber); color: #fff8ee; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: transparent; color: var(--amber-text); border-color: var(--amber); }

/* --------------------------------------------------------------------------
   Frames. Everything he shoots lives in a box.
   -------------------------------------------------------------------------- */

.frame {
  position: relative; margin: 0; overflow: hidden;
  background: var(--paper-3);
  border-radius: var(--radius);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--4x3 { aspect-ratio: 4 / 3; }
.frame--16x9 { aspect-ratio: 16 / 9; }
.frame--3x4 { aspect-ratio: 3 / 4; }
.frame--book { aspect-ratio: 2 / 3; max-width: 18rem; }

.frame--tint::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(27, 29, 25, 0.25));
}
.frame--link { display: block; }
.frame--contain { display: grid; place-items: center; background: var(--paper-2); border: 1px solid var(--line-soft); }
.frame--contain img { width: auto; height: auto; max-width: 56%; max-height: 82%; object-fit: contain; box-shadow: 0 18px 40px -24px rgba(0,0,0,0.7); }

.hero__figure img { filter: saturate(0.85) contrast(1.02); }
.frame__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.6rem 0.8rem;
  background: linear-gradient(180deg, transparent, rgba(20, 21, 18, 0.78));
  color: #e6e7df;
}
.frame__cap-title { color: #fff; font-style: normal; }
.frame__cap-meta { color: #cfd3c9; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  max-width: 76rem; margin: 0 auto;
  padding: clamp(3rem, 8vw, 6.5rem) var(--gutter);
  border-top: 1px solid var(--line);
}
.section__head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 300; letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  margin-bottom: 0.5rem;
}
.section__sub { max-width: 60ch; font-size: 1.05rem; }

/* --------------------------------------------------------------------------
   Pieces of work
   -------------------------------------------------------------------------- */

.piece { display: grid; gap: 1.5rem clamp(1.5rem, 4vw, 3.5rem); }
.piece--feature { margin-bottom: clamp(3rem, 8vw, 6rem); align-items: start; }
@media (min-width: 900px) {
  .piece--feature { grid-template-columns: 1.15fr 1fr; }
  .piece--feature .piece__media { position: sticky; top: 5rem; }
  .piece--flip .piece__media { order: 2; }
  .piece--flip .piece__body { order: 1; }
}

.piece__meta { margin-bottom: 0.6rem; }
.piece__title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 400; letter-spacing: -0.015em;
  margin-bottom: 0.9rem;
}
.piece__logline {
  max-width: var(--measure);
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem);
  line-height: 1.35; font-weight: 300;
  margin-bottom: 1rem;
}
.piece__body > p:not([class]) { max-width: var(--measure); color: var(--ink-2); }

.piece__status { margin-top: 0.6rem; }

.piece__facts {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 0.9rem 1.5rem; margin-top: 1.5rem;
  padding-top: 1.25rem; border-top: 1px solid var(--line-soft);
}
.piece__facts dt { color: var(--ink-3); font-weight: 400; margin-bottom: 0.1rem; }
.piece__facts dd { color: var(--ink); }

.piece__urdu {
  font-family: var(--urdu);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0.4rem 0 0;
  text-align: right;
}

.laurels { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line-soft); max-width: var(--measure); }
.laurels li {
  position: relative; padding-left: 1.4rem; margin-bottom: 0.45rem;
  color: var(--ink-2); font-size: 0.95em;
}
.laurels li::before {
  content: ""; position: absolute; left: 0; top: 0.7em;
  width: 0.8rem; height: 1px; background: var(--amber);
}
.laurels strong { color: var(--ink); font-weight: 500; }

.list li { position: relative; padding-left: 1.2rem; margin-bottom: 0.5rem; color: var(--ink-2); font-size: 0.95em; }
.list li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 0.6rem; height: 1px; background: var(--line); }

.link {
  display: inline-block; margin-top: 0.75rem;
  color: var(--ink);
  border-bottom: 1px solid var(--amber);
  padding-bottom: 0.1rem;
  transition: color var(--quick);
}
.link:hover, .link:focus-visible { color: var(--amber-text); }

.piece__aside { margin-top: 0.75rem; }

/* Strip of stills */
.strip {
  display: grid; gap: 0.5rem;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: clamp(3rem, 8vw, 6rem);
}
@media (min-width: 700px) { .strip { grid-template-columns: repeat(4, 1fr); } }
.strip__item { display: block; width: 100%; padding: 0; cursor: zoom-in; }
.strip__item img { filter: saturate(0.85); transition: filter var(--quick); }
.strip__item:hover img, .strip__item:focus-visible img { filter: saturate(1); }

/* Lightbox for the stills */
.lightbox {
  border: 0; padding: 0; margin: auto;
  width: min(96vw, 1400px); max-width: none; max-height: none;
  background: transparent; color: #e6e7df;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(13, 15, 12, 0.97); }
.lightbox[open] { animation: lb-in 240ms var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.lightbox__stage { display: grid; place-items: center; }
.lightbox__img {
  max-width: 96vw; max-height: 82vh; width: auto; height: auto;
  border-radius: var(--radius);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.8);
}
.lightbox__cap {
  display: flex; justify-content: space-between; gap: 1rem;
  margin: 0.8rem auto 0; max-width: 96vw;
  font-size: 0.95rem; font-style: italic; color: #b8bcb0;
}
.lightbox__time { font-style: normal; font-variant-numeric: tabular-nums; color: #f0a24a; }
.lightbox__btn {
  position: fixed; z-index: 1;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(230, 231, 223, 0.1); color: #e6e7df;
  font-size: 1.3rem; line-height: 1;
  transition: background var(--quick);
}
.lightbox__btn:hover, .lightbox__btn:focus-visible { background: rgba(230, 231, 223, 0.22); }
.lightbox__close { top: max(0.75rem, env(safe-area-inset-top)); right: max(0.75rem, env(safe-area-inset-right)); }
.lightbox__prev { left: max(0.5rem, env(safe-area-inset-left)); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: max(0.5rem, env(safe-area-inset-right)); top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: max(1rem, env(safe-area-inset-bottom)); transform: none; }
}
body.has-lightbox { overflow: hidden; }

/* Other work: four cards, one thumbnail size */
.cards {
  display: grid; gap: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
.card { display: grid; gap: 1.25rem; align-content: start; }
.card__title { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 400; letter-spacing: -0.015em; margin-bottom: 0.9rem; }
.card__body > p:not([class]) { max-width: var(--measure); color: var(--ink-2); font-size: 0.97em; }
.card__links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }

/* YouTube facade */
.yt { cursor: pointer; }
.yt__play {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 0.9rem;
  background: linear-gradient(180deg, transparent 55%, rgba(20, 21, 18, 0.6));
  color: #fff;
  gap: 0.6rem;
}
.yt__play-icon {
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--amber);
  position: relative; flex: 0 0 auto;
}
.yt__play-icon::after {
  content: ""; position: absolute; left: 55%; top: 50%; transform: translate(-50%, -50%);
  border-left: 0.8rem solid #fff8ee; border-top: 0.5rem solid transparent; border-bottom: 0.5rem solid transparent;
}
.yt__play-text { color: #fff; align-self: center; font-size: 0.95rem; }
.yt:hover .yt__play-text, .yt__play:focus-visible .yt__play-text { text-decoration: underline; text-underline-offset: 0.2em; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* A status screen, for the VR piece. The one place the type is institutional. */
.pending {
  display: grid; place-items: center;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
}
.pending__screen {
  width: min(78%, 22rem);
  padding: 1rem 1.2rem;
  background: #0d0f0c; color: #cfd3c9;
  border-radius: 3px;
  box-shadow: 0 0 0 4px var(--paper-3), 0 12px 30px -16px rgba(0,0,0,0.6);
  display: grid; gap: 0.5rem;
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.pending__row { display: flex; justify-content: space-between; gap: 1rem; }
.pending__row span:first-child { color: #8d9287; }
.pending__row span:last-child { color: #f0a24a; font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.prose { max-width: 64ch; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.prose p { color: var(--ink-2); }
.prose p:last-child { color: var(--ink); }

.statement {
  margin: 0 auto clamp(2.5rem, 6vw, 4rem);
  max-width: 44rem;
  text-align: center;
}
.statement p {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem);
  line-height: 1.3; font-weight: 300; font-style: italic;
  font-variation-settings: "opsz" 72, "SOFT" 40;
  margin-bottom: 1rem;
}
.statement cite { font-size: 0.95rem; color: var(--ink-3); }

/* --------------------------------------------------------------------------
   Teaching
   -------------------------------------------------------------------------- */

.courses {
  display: grid; gap: 2rem clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
@media (min-width: 760px) { .courses { grid-template-columns: 1fr 1fr; } }
.course__title { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: 0.3rem; }
.course > .piece__meta { margin-bottom: 0.75rem; }
.course > p:not([class]) { color: var(--ink-2); max-width: 50ch; }

.students { padding-top: 2rem; border-top: 1px solid var(--line-soft); }
.students__title { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: 0.5rem; }
.students__intro { color: var(--ink-2); max-width: 60ch; }
.students__list { display: grid; gap: 1rem 2rem; grid-template-columns: 1fr; margin-top: 1.5rem; }
.students__list:empty { display: none; }
@media (min-width: 760px) { .students__list { grid-template-columns: 1fr 1fr; } }
.student { display: grid; gap: 0.15rem; padding: 1rem 0; border-top: 1px solid var(--line-soft); }
.student__kind { font-size: 0.95rem; font-style: italic; color: var(--ink-3); }
.student__title { font-size: 1.15rem; color: var(--ink); border-bottom: 1px solid var(--amber); width: fit-content; }
.student__title:hover, .student__title:focus-visible { color: var(--amber-text); }
.student__by { font-size: 0.95rem; color: var(--ink-2); }

/* --------------------------------------------------------------------------
   Record
   -------------------------------------------------------------------------- */

.record { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .record { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.record__h { margin-bottom: 1rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--line); }
.record__list li { display: grid; gap: 0.15rem; margin-bottom: 1.1rem; }
.record__when { color: var(--amber-text); font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.record__what { color: var(--ink-2); font-size: 0.95em; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact__grid { display: grid; gap: 1.5rem; }
.contact__mail {
  font-size: clamp(1.4rem, 1rem + 2.4vw, 3rem);
  font-weight: 300; letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.3rem;
  width: fit-content; max-width: 100%;
  transition: color var(--quick), border-color var(--quick);
}
.contact__mail:hover, .contact__mail:focus-visible { color: var(--amber-text); border-color: var(--amber); }
.contact__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.contact__links a {
  display: inline-block; padding: 0.3rem 0;
  color: var(--ink-2); border-bottom: 1px solid transparent;
  transition: color var(--quick), border-color var(--quick);
}
.contact__links a:hover, .contact__links a:focus-visible { color: var(--ink); border-color: var(--amber); }
.contact__where { max-width: 60ch; }
.contact__where [lang="ur"], .contact__where [lang="sd"] { font-family: var(--urdu); font-style: normal; font-size: 1.15em; }

/* --------------------------------------------------------------------------
   Footer with a sky
   -------------------------------------------------------------------------- */

.foot { position: relative; z-index: 1; margin-top: clamp(2rem, 6vw, 4rem); border-top: 1px solid var(--line); }
.foot__sky { height: clamp(90px, 14vw, 160px); }
.sky { width: 100%; height: 100%; display: block; }
.sky__sun { fill: var(--amber-2); }
.sky__hills { fill: var(--hills); }

.foot__row {
  max-width: 76rem; margin: 0 auto;
  padding: 1.25rem var(--gutter) max(1.5rem, env(safe-area-inset-bottom));
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 2rem;
}
.foot__place { display: inline-flex; gap: 0.5rem; }
.foot__time { font-style: normal; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.foot__copy { margin-left: auto; }
.foot__dark { display: none; width: 100%; }
@media (prefers-color-scheme: dark) { .foot__dark { display: block; } }
@media (max-width: 600px) { .foot__copy { margin-left: 0; width: 100%; } }

/* --------------------------------------------------------------------------
   Credits. You have to wait for these.
   -------------------------------------------------------------------------- */

.credits {
  position: fixed; inset: 0; z-index: 60;
  background: #0d0f0c; color: #e6e7df;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 1.6s var(--ease), visibility 0s linear 1.6s;
  overflow: hidden;
  text-align: center;
}
.credits.is-on {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity 1.6s var(--ease);
}
.credits__roll {
  font-size: clamp(0.95rem, 0.9rem + 0.4vw, 1.15rem);
  line-height: 1.6;
  padding: 0 var(--gutter);
  max-width: 44rem;
  transform: translateY(60vh);
}
.credits.is-on .credits__roll { animation: roll 40s linear forwards; }
@keyframes roll { to { transform: translateY(-110%); } }
.credits__h { font-size: 1.6em; margin-bottom: 1.5rem; font-weight: 300; }
.credits__role { color: #8d9287; margin: 1.6rem 0 0.2rem; }
.credits__end { margin-top: 3rem; font-style: italic; color: #b8bcb0; }

/* --------------------------------------------------------------------------
   The lights, once
   -------------------------------------------------------------------------- */

body.is-flicker { animation: flicker 700ms steps(1, end) 1; }
@keyframes flicker {
  0% { filter: brightness(1); }
  10% { filter: brightness(0.55); }
  20% { filter: brightness(1); }
  35% { filter: brightness(0.7); }
  45% { filter: brightness(1); }
  100% { filter: brightness(1); }
}

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */

@media print {
  .top, .hero__sun, .hero__cta, .foot__sky, .credits, .yt__play, .pending, .lightbox { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section { border-top: 1px solid #999; padding: 1.5rem 0; }
  .piece--feature { grid-template-columns: 1fr 1fr; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}
