
/* Classes */

#mca_logo .cls-1 {
  fill: var(--foreground-color);
}

:focus-visible {
  box-shadow: 0 0 0 #000;
  outline: 2px solid var(--accent-color);
outline-offset: -2px;}

div.date ul + ul,
header div[class] + div[class] {
  border-top: var(--dashed);
}

li.date:not(:first-of-type) {
  max-width: 40vw;
  text-align: center;
}

div.location * + address,
div.date li + li {
  border-left: var(--dashed);
}

div.date li.ical a {
  background-image: url(/media/icons/calendar.svg);
  background-size: auto 100%;
  background-position: 50% 50%; 
  background-repeat: no-repeat;
  color: transparent;
  text-decoration: none;
}

div.date ul:not(.inactive) li.ical:hover a {
  color: var(--blue);
  background-image: none;
}

header > div {
  margin: 0;
  transform: translateX(var(--gap-inverse));
overflow: hidden;}

div.location {
  display: flex;
  align-items: center;
}

div.location address a {
  text-transform: uppercase;
  text-decoration-color: var(--background-color)
}

div.location address a:hover {
  text-decoration: underline;
  text-decoration-color: var(--foreground-color) !important;
}

div.location address, div.date li {
  padding: var(--gap-quarter) var(--gap-half);
  align-self: center;
}

div.date li:first-of-type {
  max-width: 40vw;
}

/* .date time:not(:last-of-type) {
  margin-right: 0.25em;
} */

.date time {
  line-height: 0.5;
}

.tag {
  text-align: center;
  border-bottom: var(--dashed);
  padding: var(--gap-half);
}



div.date > ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
  align-items: center;
}


.ticket a {
  background: url(/media/icons/ticket.svg) 0.5rem 50% no-repeat;
  /* text-transform: uppercase; */
  background-size: 1rem auto;
  background-color: var(--background-color);
  text-decoration: none;
  padding: 0.25rem 0.5rem;
}

.ticket a::before {
  content: attr(title) !important;
  color: #fff;
  padding-right: 2ch;
}

.ticket a::after {
  display: none;
}



dt {
  margin: 0.75em 0 0.25em;
}


h1 > small,
ul.calendar small {
  font-size: 33.3%;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0;
  display: inline-block;
}

header > h1 > strong {
  font-family: var(--MCA10);
  font-weight: 400;
  font-size: 60%;
  display: inline-block;
  padding: 0.125em 0.25em;
  margin-top: 0.125em;
  border: var(--rule);
  margin-right: 0.25ch;
  border-width: 0;
}


header > h1 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

header > h1 :last-child:not(:first-child) {
  flex-basis: auto;
}

h1 > small, h2 > small, h3 > small {
  display: block;
  margin: 0.25em 0 0.25em;
  flex-basis: 100%;
}

h3 > small {
  opacity: 0.75;
}

h1 > img {
  max-height: 3.5rem;
  vertical-align: top;
}

p > abbr {
  font-family: var(--MCA02);
}
p > img {
  float: var(--left);
  width: 30%;
}

/*  section styles */
section[id^='fund'] {
  font-size: 80%;
  min-height: var(--bleed);
  padding: var(--gap);
  border-top: var(--rule);
  margin-top: 5vh;
}

section[id^='fund'] hr,
section[id^='fund'] aside {
  margin: var(--gap) 0;
  padding: 1em 0;
  border-top: var(--rule);
}

section[id^='fund'] > figure:not([data-id]) {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
}


section[id^='support' i] figure[data-id],
section[id^='funding' i] figure[data-id],
section[id*='partner' i] figure[data-id] {
  max-width: calc(6.5rem + (1.75rem * var(--aspect-ratio)));
  padding: var(--gap-half);
background-color: #fff;margin: var(--gap-quarter);}

figure[data-id][title*='logo' i] {
  width: 20%;
  padding: var(--gap);
  display: inline-block;
  vertical-align: middle;
}

section.essay:not([id*='fund']) > figure[data-id],
article.blog > section:not([id*='fund']) > figure[data-id], 
article.essay > section:not([id*='fund']) > figure[data-id] {
  max-width: 25%;
  float: right;
  clear: right;
  margin: var(--gap-half);
}




article:not(.blog) section[id*='about']:not([style*='topic']) {
  font-size: 115%;
  line-height: 1.5;
  padding: var(--gap-half);
}

aside[aria-label*='announcement' i],
aside[aria-label*='poster' i] {
  padding: var(--gap-half);
  background-color: var(--shade);
  border-top: none;
  display: inline-block;
  border: 1px solid var(--shade);
  margin: var(--gap-half) 0;
}

aside > p,
aside figcaption {
  margin: 0.75em;
max-width: calc(68ch + calc(100% / var(--columns)));}

aside[aria-label*='poster' i] {
  padding: 0;
  width: 100%;
}

aside[aria-label*='disclosure' i] {
  opacity: 0.8;
  font-size: 80%;
  padding-left: var(--gap-half);
}

mark a[href] {
  padding: var(--gap-half);
  background-color: var(--blue);
  margin: 1em 0;
  display: inline-block;
  text-decoration: none;
  color: #fff;
  text-rendering: optimizeLegibility;
}

aside.error {
  
  display: block;
  padding: var(--gap);
  background-color: var(--highlight);
  border-bottom: var(--rule);
}

/* Sections w/ aria-label indicate heading is informational (non-visual)
** this makes it non-visable and attempts to resolve its position in a grid.
*/

section[aria-label] > p:first-of-type {
  margin-top: 0;
}

section[aria-label] > h2:first-child,
section[aria-label] > h3:first-child,
section[aria-label] > h4:first-child {
  height: 1px;
  width: 1px;
  margin: -1px !important;
  overflow: hidden;
  padding: 0;
  grid-column: 1/-1;
}

main nav a[href^='http']::after {
  content: '';
  background-color: var(--foreground-color);
  width: 1.5em;
  height: 0.75em;
  mask-image: url(/media/icons//external-link.svg);
  -webkit-mask-image: url(/media/icons/external-link.svg);
  mask-size: 100% auto;
  -webkit-mask-size: 100% auto;
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.25em;
}

article[id].excerpt.ref {
  padding: var(--gap-quarter);
  grid-column-end: span 4;
  outline: 1px solid var(--shade);
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: revert;
}



article[id].excerpt.ref h2,
article[id].excerpt.ref h3 {
  color: var(--blue);
  display: flex;
  align-items: flex-end;
  letter-spacing: -0.075ch;
  line-height: 1;
  padding: 0 var(--gap-half) 0.25em;
  border-bottom: var(--rule-width) solid var(--blue);
  width: 100%;
}

article[id].excerpt.ref h2 {
  margin: 0 0 0.5em;
  min-height: 3em;
  font-size: 1.5rem;
}

article[id].excerpt small {
  margin: 0.5em 0;
  font-size: 65%;
  font-weight: 400;
  display: block;
  
}

article[id].excerpt:hover h2,
article[id].excerpt:hover h3 {
  color: var(--foreground-color);
  border-bottom-color: var(--foreground-color);
}

article[id].excerpt.ref figure > div {
  padding-bottom: 25vh;
}

article[id].excerpt.ref img {
  object-fit: cover;
  object-position: 50% 30%;
  width: 100%;
}

article[id].excerpt.ref figure img {
  height: 100%;
}

article[id].excerpt p img {
  display: none;
}

article[id].excerpt.ref p {
  overflow: hidden;
  order: 3;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  padding: 0 var(--gap-half);
}


section > article[id].excerpt {
  grid-column-end: span 4;
}

 
figure[role='tablist'] > figure figcaption,
.excerpt:not(.feature) figcaption {
  display: none;
}

.excerpt.feature figure {
  width: 33%;
  padding:0;
  margin: 0 var(--gap-half);
  float: left;
}

.excerpt.feature figure {
  font-size: 75%;
  background-color: var(--shade);
}

section.list.large:not(.essay) ul {
  list-style: none;
  margin: 0;
  padding: 0px;
  font-size: 90%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(20ch, 1fr));
  gap: 1px;
}

section.list.large:not(.essay) ul li {
  padding: var(--gap-half) var(--gap-half) 0;
  place-items: stretch;
  background-color: var(--background-color);
}


li span.bio {
  color: rgb(0 0 0 / 0.8);
  font-size: 80%;
  margin: 0.25rem 0 0.5rem;
  display: block;
}


iframe {
  width: 100%;
}

iframe[src*='spotify'] {
  min-height: 30vmax;
}

iframe[src*='instagram'] {
  max-width: 40vmax;
  min-height: calc(40vmax * 1.25);
}

iframe[src*='matterport'] {
  width: calc(100vw - calc(2*var(--bleed)) - calc(var(--gap) * 2));
  min-height: calc((100vw - var(--bleed) * 1.5) * (9 / 16));
}

iframe[src^='https://player' i]:not([src*='vimeo']):not([src*='youtube']) {
  min-height: calc((100vw - var(--bleed) * 1.5) * (9 / 16));
}

aside[aria-label='notice'] {
  clear: both;
}

aside[aria-label*='notice' i] {
  padding: var(--gap);
  margin: 1em var(--gap-inverse);
  --accent-color: var(--yellow);
}

aside[aria-label='notice:inactive' i] {
  display: none;
}


.inactive a,
a[title='inactive'] {
  opacity: 0.125;
  cursor: default;
  pointer-events: none;
  text-decoration: line-through;
}

a[title='inactive']::after {
  width: 0 !important;
}

dl.tabular  {
  display: grid;
  grid-template-columns: var(--head, 50%) 1fr;
  
}

dl.tabular dt {
  margin:1px 0;
}

dl.tabular > * {
  padding: calc(var(--gap-quarter) / 2) 0;
}

dl.tabular dd {
  align-self: center;
}
dl.tabular dd:before {
  content: '';
}
dd:not([class])::before {
  content: '⬞';
  margin-left: -0.5em;
  padding-right: 0.5em;
}

aside[aria-label*='banner' i] {
  padding: var(--gap-quarter);
  background-color: var(--shade);
}
aside[aria-label*='banner' i] a[href*='https://experience.mcachicago'] {
  background-color: var(--blue);
  padding: var(--gap-half);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--background-color);
  font-weight: 800;
  margin: 0.5em 0;
  display: inline-block;
}

form input:focus-within ~ input[type='submit'] {
  background-color: var(--blue);
  color: var(--background-color);
  border-color: var(--blue)
}

header > h1 {
  letter-spacing: -0.05ch;
  line-height: 1.1;
}

/* header[data-posters] {
  background-image: linear-gradient(90deg, var(--foreground-color) 1px, transparent 1px),
                    linear-gradient(var(--foreground-color) 1px, transparent 1px);
  background-size: var(--gap-half) var(--gap-half);
  background-position: -1px -1px;

} */

/* header[data-posters] > * {
  background-color: #fff;
} */
header[data-posters] > p {
  max-width: 100ch;
  margin: 1em 1em 1em 0;
}


header > p:first-of-type {
  font-size: calc(1em * var(--scale-up));
  line-height: 1.25;
  letter-spacing: 0.05ch;
  background-color: var(--background-color);
  overflow: hidden;
}

header > figure {
  background-color: var(--background-color);
  --width: calc(100% / var(--columns));
  --pad: var(--gap) !important;
  max-width: var(--width);
}

header > figure ~ h1 {
  margin-right: 1em;
}


header > figure figcaption {
  margin: 0 var(--gap-half);
  font-size: 80%;
}


figure ~ h1 {
  margin-top: 0.5em;
}

header + hr {
  margin-top: var(--gap-inverse);
}


section[class] blockquote figure:first-child {
  max-height: 15em;
  max-width: 15em;
  margin-right: 1em;
  float: var(--left);
  background-color: var(--shade);
}

blockquote small {
  font-family: var(--MCA10);
  font-size: 65%;
  padding-left: 1ch;
  display: inline-block;
}

.handbook section.essay h2 {
  column-span: all;
}


.page section.essay blockquote,
blockquote p {
  margin-bottom: 1em;
}


nav[aria-label='breadcrumbs'] {
  padding: var(--gap-quarter) var(--gap-half);
  background-color: var(--shade);
  letter-spacing: inherit;
}

nav[aria-label='breadcrumbs'] a {
  text-decoration: none;
  --foreground-color: var(--foreground-color);
}

ul.playlist,
nav[aria-label='breadcrumbs'] ol {
  list-style: none;
  margin: 0;
  padding: var(--gap-quarter);
}

nav[aria-label='breadcrumbs'] li {
  display: inline-block;
  font-size: 80%;
  text-transform: uppercase;
}

nav[aria-label='breadcrumbs'] li + li::before {
  content: ' > ';
  opacity: 0.85;
}

html:not(.touch) nav.context {
  position: sticky;
  right: 0;
  left: 0;
}

nav.context {
  top: 0;
  background-color: var(--background-color);
  padding: var(--gap-quarter);
  border-bottom: var(--rule);
  z-index: 3;
}

nav.context {
  display: flex;
  align-items: flex-end;
  flex-direction: var(--flex-column);
  padding: var(--gap-quarter);
}

nav.context > * {
  list-style: none;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  align-self: stretch;
}

nav.context li {
  font-size: 85%;
  margin: 1px;
  max-width: 100%;
  flex: 1 1 auto;
}

nav.context a {
  text-decoration: none;
  display: inline-block;
  padding: var(--gap-half);
  color: var(--black);
  width: 100%;
}

nav.context a.active, nav.context a.active:hover {
  background-color: #fff;
  color: var(--blue);
}

nav.context ol a {
  /* transition: background-image 0.25s; */
  background-color: yellow;
  background-image: linear-gradient(#fff calc(100% - var(--coverage, 100%)),  rgba(225 255 255 / 0) 1px, rgb(255 255 255 / 0) 100%);
  background-size: 2px calc(100% - 2px);
  background-repeat: no-repeat;
  background-position: 1px 1px;
  text-align: center;
  }

html[style="--y:0;"] nav.context ol a {
  background-color: var(--yellow);
  background-image: none;
}

form.clean, form .clean {
  display: flex;
}

form.clean input:first-of-type, form .clean input:first-of-type {
  border-right: none;
  font-family: var(--MCA10);
  flex: 1 1 auto;
}

form.clean input[type='submit'], form .clean input[type='submit'] {
  background-color: var(--background-color);
  border-left: none;
  color: var(--foreground-color);
}


form#language-selector {
  bottom: var(--gap-half);
  position: absolute;
  left: var(--gap-half);
  width: calc(100% - var(--gap));
}

.ticket a,
nav.context ul a {
  --foreground-color: var(--background-color);
  color: var(--foreground-color);
  
  background-color: var(--blue);
  text-rendering: optimizeLegibility;
}

nav.context ul a:focus {
  background-color: var(--foreground-color);
  color: var(--blue);
}

nav.context ul.topic a {
  color: var(--accent-color);
  background-color: var(--shade);
  letter-spacing: 0.075ch;
  text-transform: uppercase;
}


nav.context a:hover {
  text-decoration: underline;
}

nav.context ul:not([class]) a:hover {
  color: var(--yellow);
}


/* time */

footer time:first-of-type:nth-last-of-type(3)::after {
  content: '–';
  margin-right: -0.5ch;
}

/* time elements in middle are periods and need scrunching */
.date time:not(:first-of-type):not(:last-of-type) {
  margin: 0 -0.5ch;
}



/* CLS Figures */

figure[style*="--aspect-ratio"] {
  --basis: 100%;
  --pad: 0px;
  width: 100%;
}


figure[style*="--aspect-ratio"] > div {
  position: relative;
  z-index: auto;
  padding: var(--pad) var(--pad) calc(100% / var(--aspect-ratio) - var(--pad) / var(--aspect-ratio));
overflow: hidden;}


figure[style*="--aspect-ratio"] img {
  position: absolute;
  top: calc(var(--pad) / 2);
  width: calc(100% - var(--pad));
  left: calc(var(--pad) / 2);
}




article.excerpt.ref figure[style*="--aspect-ratio"]::before {
  padding-bottom: 25vh;
}



/* GALLERY COMPONENTS */


.gallery {
  min-height: 110vh;
  padding: 0;
}

section > section.gallery {
  margin: 0 var(--gap-inverse);
}

.gallery + section {
  padding-top: 3em;
}


.gallery > h2 {
  padding: var(--gap-half);
  font-size: 1.25rem;
}

section[id*='image'] > figure {
  padding: var(--gap-half) 0;
  border-top: var(--rule);
}
.gallery .view {
  height: 100vh;
  width: 100%;
  top: 0;
  overflow: hidden;
  position: sticky;
  display: grid;
  grid-template-columns: none;
  grid-template-rows: calc(80vh + var(--gap)) calc(20vh - var(--gap));
  border-width: 1px 0 0;
  border-style: solid;
  border-image: linear-gradient(90deg, var(--foreground-color), var(--foreground-color) calc(var(--complete, 0) * 100%), var(--background-color) 0) 1;  
  background-color: var(--background-color);
}

.gallery .view:not([style='--complete:1;']) {
  z-index: 4;
}

.gallery .view figure[role='tablist'] {
  height: calc(10vh + var(--gap) * 2);
  display: flex;
  flex-direction: row;
  overflow: hidden;
}



.gallery .view figure[role='tablist'] figure {
  align-self: center;
  margin: var(--gap-half) 0;
  outline: var(--rule);
  outline-color: var(--foreground-color);
  outline-offset: calc(var(--gap-half) * var(--delta, 0));
}


.gallery .view figure[role='tablist'] figure:focus {
  box-shadow: 0 0 0 var(--gap-half) yellow;
}

.gallery figure[role='tablist'] > figure:not([aria-selected='true']) {
  outline-color: var(--background-color) !important;
}

.gallery .view figure.presentation {
  justify-content: center;
  display: flex;
  padding: var(--gap-half);
  flex-direction: column;
  transition: opacity 0.15s;
}


.gallery .view > figure.landscape figcaption {
  min-width: 100%;
}

section[id*='image' i] > figure:last-of-type {
  max-height: 100vh;
  max-width: calc(100% - clamp(2.5rem, 10rem, 15vw));
  overflow: hidden;
}

section[id*='image' i] img,
.gallery .view > figure.landscape img {
  max-height: 80vh;
}

.gallery .view > figure.portrait img {
  max-height: 75vh;
}


figcaption > p {
  max-width: 100%;
  line-height: 1.1;
}

figure.embed figcaption,
figure.presentation figcaption {
  font-size:85%;
  display: block;
  text-rendering: optimizeLegibility;
  padding: var(--gap-half);
  flex: 1 1 40%;
  align-self: flex-start;
}

section.gallery + section:not(:last-of-type) {
  border-top: var(--rule);
  margin-top: var(--gap-quarter);
}

figure.carousel {
  width: 100%;
}

figure.carousel > figure:not(:target):first-of-type {
  height: 0;
  overflow: hidden;
}


/*  reorient layout with horizontal thumbs */
@media (min-aspect-ratio: 5/4) {

  .gallery .view {
    grid-template-rows: none;
    grid-template-columns: 1fr var(--bleed);
    background-color: var(--background-color);
  }

  .gallery .view > figure.portrait img {
    max-height: calc(100vh - var(--gap));
  }
  .gallery .view figure[role='tablist'] {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    flex-direction: column;
    padding: var(--gap);
    
  }
  
  .view > figure:first-of-type {
    border-right: var(--rule);
  }
}

@media (max-aspect-ratio: 5/4) {
  
  .gallery .view figure[role='tablist'] figure {
    margin: 0 var(--gap-half);
  }
  .gallery .view figure[role='tablist'] figure > div {
    height: 10vh;
    padding: var(--pad) calc(10vh * var(--aspect-ratio) - var(--pad)) var(--pad) var(--pad);
  }


}

figure.embed {
  padding: calc(var(--gap) * 2);
  margin: var(--gap-half) 0;
}

section section figure.embed {
  padding: var(--gap-half);
}

figure.embed img.poster {
  display: none;
}

figure.embed div {
  padding-bottom: calc(100% / var(--aspect-ratio, 1.777));
  position: relative;
}

figure.embed iframe {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  margin-bottom: 1em;
}



article > figure figcaption {
  padding: var(--gap-quarter) var(--gap-quarter);
}


blockquote figcaption,
section > figure > figcaption {
  padding: var(--gap-half);
  margin: 0;
  font-size: 80%;
  text-rendering: optimizeLegibility;
}

nav.cards ul,
[id*=download] ul,
[id*=takeaway] ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(22ch, 1fr));
  gap: var(--gap-half);
  padding: 0;
  list-style: none;
  grid-auto-flow: row dense;
}
p[style*='background-image'],
nav.cards li,
[id*=download] ul li,
[id*=takeaway] ul li {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 0;
  outline: 1px solid var(--shade);
}

p[style*='background-image'] a[title],
nav.cards a,
a[href$='.pdf'][title*='download'],
[id*=download] ul a,
[id*=takeaway] ul a {
  --foreground-color: var(--foreground-color);
  display: block;
  text-decoration: none;
  padding: calc(9 / 16 * 100% + var(--gap-half)) 1rem 1rem;
  min-height: 100%;
}

a[href$='.pdf'][title*='download'],
[id*=download] ul a,
[id*=takeaway] ul a  {
  padding: calc(100% + var(--gap-half)) 1ch 1ch;
}

p[style*='background-image'] {
  max-width: 30%;
  display: inline-block;
  outline: 1px solid var(--blue);
}

p[style*='background-image'] a[title*="PDF"] {
  color: transparent;
  overflow: hidden;
  font-size: 1rem;
  height: 10em;
  padding: 0.5rem;
  line-height: 1;
}


nav.cards a:hover {
  backdrop-filter: brightness(1.125);
}

section > img {
  height: 5rem;
  padding: 0.25rem;
  width: auto;
}


[lang=es] {
  font-style: italic;
}

a[href^='#:']:not([href*='-']) {
  font-size: 80%;
  padding: 0 0.25ch;
  vertical-align: super;
  text-decoration: none;
}

a[href^='#:']:not([href*='-'])::before { content: '[' }
a[href^='#:']:not([href*='-'])::after {content: ']'}

/* dynamic classes: applied via js to enhance ux outside of semantic needs */
.proxy:hover {
  background-color: var(--shade);
  cursor: pointer;
}
.proxy:focus-within,
:target {
  box-shadow: inset 0 0 0 0.25rem var(--yellow);
  animation: fade 5s ease 5s 1 normal forwards;
}


@keyframes fade {
  from {
    box-shadow: inset 0 0 0 0.25rem var(--yellow);
  }

  to {
    box-shadow: inset 0 0 0 0 transparent;
  }
}

.proxy a:not(.button) {
  text-decoration: none;
  color: inherit;
  pointer-events: none;
}

section[id^='file'] li {
  background: url(/media/icons/file.svg) no-repeat 0 50%;
  padding-left: var(--gap);
  list-style: none;
}

/* CALENDAR */
ul.calendar li > a,
[id*='download'] ul a,
[id*='takeaway'] ul a {
  display: flex;
  flex-direction: column;
}

[id*='download'] ul a,
[id*='takeaway'] ul a {
  opacity: 0;
  text-shadow: 0.5em -0.5em 1px var(--background-color);
}

a[href$='.pdf'][title*='download']:hover,
[id*='download'] ul a:hover,
[id*='takeaway'] ul a:hover,
[id*='download'] ul a:focus,
[id*='takeaway'] ul a:focus {
  background-color: var(--shade);
  backdrop-filter: blur(2px) saturate(0);
  opacity: 1;
}
nav.cards ul.calendar li {
  --rotate: 10deg;
  --color: var(--blue);
  --size: calc(10vw * calc(var(--y) + 1));
  --grid: repeating-linear-gradient(var(--rotate), transparent 0, var(--color) 1px, var(--color) 1px, transparent 2px, transparent var(--size)), repeating-linear-gradient(calc(var(--rotate) + 90deg), transparent 0, var(--color) 1px, var(--color) 1px, transparent 2px, transparent var(--size));
  background-image: var(--grid);
}

[id*='download'] ul li,
[id*='takeaway'] ul li {
  background-size: cover;
  background-position: 50% 0;
}

nav.cards ul span {
  background-color: var(--background-color);
  padding: 1ch;
  margin: 0 calc(var(--gap-inverse) + 0.5ch);
  display: block;
}

nav.cards ul span br {
  display: none;
}

nav.cards ul span.time {
  padding-bottom: 0;
}


ul.calendar small {
  font-size: 75%;
  opacity: 0.75;
}

ul.calendar time {
  text-transform: uppercase;
  margin-bottom: 1em;
  display: inline-block;
  margin: 0;
}

/*  BLOGS  */


.dropcap p:first-of-type:first-letter {
  font-size: 6em;
  font-family: var(--MCA04);
  line-height: 0.5;
  letter-spacing: 0.025ch;
  float: left;
  padding: 0.25em 0.125em;
  background-color: var(--foreground-color);
  color: var(--background-color);
  margin: 0 0.0825em 0 0;
}



header > h1 > small {
  font-family: var(--MCA10);
}


@media only screen and (min-width: 48em) {
  footer .logo {
    width: calc(var(--first-col) - var(--gap));
    height: calc(var(--first-col) - var(--gap));
  }
}

@media only screen and (max-width: 48em) {
  footer .logo {
    width: 5rem;
    height: 5rem;
  }
}

footer input[type='search'],
footer input[type='submit'],
footer input[type='email'] {
  height: 2em;
}












/* Swim Lanes Component */

.listing {
  min-height: 200vh;
  padding: 0;
}

.pool {
  grid-column-end: span 12;
  background-color: var(--background-color);
  position: sticky;
  top: 0;
  width: calc(100vw - var(--bleed));
}


ul.lane {
  margin:0;
  left: 0;
  z-index:5;
  display: flex;
  font-size:1em;
  padding:0;
  list-style: none;
  overflow:hidden;
}

ul.lane + ul {
  border-top: var(--rule);
}

ul.lane li {
  position: relative;
  z-index: 4;
}

ul.lane li:not(:first-of-type) {
  flex: 0 0 max(calc(var(--gap) * 3.5 - var(--gap-half)), 20em);
  padding:0 var(--gap-half);
  border-right: 1px solid var(--foreground-color);
  display: flex;
  justify-content:space-between;
  align-items:center;
  position: relative;
  z-index: 3;
}

ul.lane li:first-of-type {
  padding:0.25em 0;
  flex: 0 0 calc(var(--gap) * 1.5);
  text-align:center;
  align-self: stretch;
  position:sticky;
  left:0;
  background-color: var(--background-color);
  border:none;
  border-right:1px solid #000;
  top: 0;
}

nav ul.lane li:first-of-type {
  writing-mode: vertical-rl;
  text-orientation: sideways-right;
  text-transform: uppercase;
  padding: var(--gap-half);
  text-rendering: optimizeLegibility;
}

nav ul.lane li:not(:first-of-type) {
  --height: min(calc(99vh / var(--size)), 20vh);
  flex: 0 0 80vw;
  height: var(--height);
  padding: 0;
  background-size: auto calc(100% - var(--gap-half));
  background-position: var(--gap-quarter);
  background-repeat: no-repeat;
}


nav ul.lane a {
  text-decoration: none;
  font-size: 125%;
  line-height: 1;
  width: 100%;
  height: 100%;
  padding: var(--gap-quarter) 25% var(--gap-quarter) var(--gap-half);
  background-image: linear-gradient(65deg, #fff 80%, rgb(255 255 255 / 85%) 1px, rgb(255 255 255 / 85%) 85%, transparent 1px);
                    /* linear-gradient(155deg, rgb(255 255 255 / 90%) 80%, rgb(255 255 255 / 50%) 1px, rgb(255 255 255 / 25%) 90%, transparent 1px); */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

nav ul.lane a span {
  line-height: 1;
  display: inline-block;
  flex-basis: 100%;
}

nav ul.lane a:hover {
  text-decoration: none;
  --foreground-color: var(--black);
}


nav ul.lane small {
  display: block;
  margin: var(--gap-quarter) 0;
  font-size: 60%;
  text-transform: uppercase;
}

.person .listing {
  --rotate: 60deg;
  --color: rgb(0 0 0 / 5%);
  --size: calc(100vmax - 90vmax * var(--y));
  background-image: repeating-linear-gradient(var(--rotate), transparent 0, var(--color) 1px, var(--color) 1px, transparent 2px, transparent var(--size)),
                    repeating-linear-gradient(calc(var(--rotate) + 90deg), transparent 0, var(--color) 1px, var(--color) 2px, transparent 2px, transparent var(--size)),
                    repeating-linear-gradient(calc(var(--rotate) - 20deg), transparent 0, var(--color) 1px, var(--color) 1px, transparent 2px, transparent calc(var(--size) / 3)),
                    repeating-linear-gradient(calc(var(--rotate) + 70deg), transparent 0, var(--color) 1px, var(--color) 1px, transparent 2px, transparent calc(var(--size) / 3));
  border-top: var(--rule);
  margin-top: var(--gap);
}

html.alt-active figure.presentation div {
  position: relative;
}
html.alt-active figure.presentation div:not([data-alt=''])::before {
  position: absolute;
  content: attr(data-alt);
  top: 0;
  left: 0;
  margin: var(--gap-quarter);
  padding: var(--gap-half);
  background-color: rgba(255 255 255 / 75%);
  color: #000;
  backdrop-filter: blur(3px);
  font-size: 80%;
  z-index: 15;
}

#search {
  position: relative;
}
#search ol:empty {
  display: none;
}
#search ol {
  background-color: var(--background-color);
  position: absolute;
  top: 4.5em;
  left: 0;
  margin: 0;
  width: 20em;
  border: var(--rule);
  padding: var(--gap-quarter);
z-index: 1;}

#search li {
  padding: var(--gap-quarter);

}

#search li + li {
  border-top: var(--dashed);
}




a.organization {
  --accent-color: rgb(0 0 0 / 10%);
}



article.funders figure {
  max-width: 20%;
}

article.funders figure {
  max-width: min(100vw, 25em);
  padding: var(--gap);
}

article.funders > figure:not(:first-of-type) {
  display: none;
}

article.funders h1 {
  font-size: 1em;
}

.related h3 {
  text-transform: uppercase;
  border-bottom: var(--rule);
  padding: var(--gap-quarter);
}



.carousel ol {
  background-image: linear-gradient(90deg, var(--foreground-color) 1px, transparent 1px),
  linear-gradient(var(--foreground-color) 1px, transparent 1px);
  background-size: 20vw 20vw;
  background-attachment: local;
  position: relative;
  height: 80vh;
  list-style: none;
  margin: 0;
  padding: 0;
}

.carousel ol:not(.ready) li {
  opacity: 0 !important;
}

.carousel li {
  position: absolute;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  padding: 0;
  background-size: cover;
  min-width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  display: none;
}

.carousel li:first-of-type {
  opacity: 1;
  display: block;
  z-index: 1;
}

.carousel li a {
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  width: 100%;
  height: 100%;
  color: #fff;
  text-decoration: none;
}

.carousel li a:hover {
  background-color: rgb(0 0 0 / 5%);
}

.carousel .caption {
  padding: var(--gap-half) calc(var(--grid-unit) * 2) var(--gap) var(--gap);
  min-height: var(--grid-unit);
  background: rgb(0 0 0 / 75%) url(/graphics/mca-logo-horizontal.svg?fill=%23fff) no-repeat;
  background-size: 25%;
  background-position: calc(100% - var(--gap-half)) calc(100% - var(--gap-half));
  backdrop-filter: blur(2px);
  box-shadow: 0 -1em 1em rgb(0 0 0 / 15%);
}


.carousel .caption h3 {
  font-size: 175%;
  letter-spacing: -0.05em;
  line-height: 1.125;
  font-weight: 100;
  margin: 0;
  
}


.carousel .controls {
  padding: var(--gap-half);
  background-color: var(--shade);
}

.carousel .controls a {
  text-decoration: none;
  padding: var(--gap-quarter) var(--gap-half);
}

.carousel .controls span {
  display: inline-block;
  width: 6em;
  padding: var(--gap-quarter) 0;
  text-align: center;
  background-image: linear-gradient(transparent calc(100% - 1px), #000);
  background-repeat: no-repeat;
  background-size: 0 100%;
}

.controls span.cycling {
  animation-name: progress;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 1s;
}

@keyframes progress {
  from {
    background-size: 0 100%;
  }

  to {
    background-size: 100% 100%;
  }
}


details details {
  border-left: 1px dotted var(--foreground-color);
  margin-left: var(--gap-half);
  padding-left: var(--gap-half);
}

details details ol {
  max-height: 25vw;
  overflow: auto;
}

main:not(:target) article > nav[tabindex]:not(:focus-within) {
  overflow: hidden;  
  height:0;
  border: none;
  padding:0;
}

