@font-face {
  font-family: HK Grotesk;
  src: url(../fonts/HKGrotesk-Regular.woff2) format("woff2"),
    url(../fonts/HKGrotesk-Regular.woff) format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: HK Grotesk;
  src: url(../fonts/HKGrotesk-Medium.woff2) format("woff2"),
    url(../fonts/HKGrotesk-Medium.woff) format("woff");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: HK Grotesk;
  src: url(../fonts/HKGrotesk-Bold.woff2) format("woff2"),
    url(../fonts/HKGrotesk-Bold.woff) format("woff");
  font-weight: 700;
  font-style: normal;
}

:root {
  --dark: black;
  --light: white;
  --blue: #00f;
  --font-family: "HK Grotesk", sans-serif;
  --font-size: 100%;
  --font-height: 18px;
  --font-weight: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  --font-spacing: 0em;
  --font-scale-xs: 0.75em;
  --font-scale-s: 0.88em;
  --font-scale-m: 1.2em;
  --font-scale-l: 1.5em;
  --mob-padding: 15px;
  --spacing-xs: 0.95em;
  --spacing-s: 20px;
  --spacing-m: 40px;
  --spacing-l: 60px;
  font-size: var(--font-size);
  font-family: var(--font-family);
  font-weight: var(--font-weight);
  letter-spacing: var(--font-spacing);
  color: var(--dark);
  scroll-behavior: smooth;
}

@media screen and (max-width: 600px) {
  :root {
    --font-scale-xs: 0.62em;
    --font-scale-s: 0.75em;
    --font-scale-m: 1.1em;
    --font-scale-l: 1.2em;
    --spacing-xs: 10px;
    --spacing-s: 14px;
    --spacing-m: 20px;
    --spacing-l: 40px;
    --spacing-xl: 60px;
    --spacing-xxl: 90px;
  }
}

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.4; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input {
  /* 1 */
  overflow: visible;
  -webkit-appearance: none;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea {
  -webkit-appearance: none;
  border-radius: 0;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

input:focus,
textarea:focus,
select:focus {
  outline: none;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * Figure
 */
figure {
  display: block;
  margin-block-start: 0em;
  margin-block-end: 0em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

/* @@@@ Global CSS @@@@ */

.element-invisible {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
}

.screen-reader-only {
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

nav {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 1000;
  padding: 1em 0em;
  width: 100%;
}

nav > div > div {
  display: inline-block;
}

nav .js-toc ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  list-style-type: none;
}

.js-toc ol {
  margin-block-start: 0em;
  margin-block-end: 0em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding-inline-start: 0px;
}

.js-toc ol li {
  color: var(--light);
  margin: 11px 4px 8px 4px;
  text-transform: uppercase;
  font-size: var(--font-scale-s);
}

nav li a {
  padding: 6px 12px 6px 12px;
  background-color: var(--dark);
  text-decoration: none;
}

nav li a:hover {
  background-color: var(--blue);
  color: var(--light);
}

/* li.toc-list-item.is-active-li a {
  background-color: var(--blue)
} */

.title,
.work .blocks .block {
  margin: 0 auto 30px;
}

.title {
  margin-top: 10px;
}

.work .blocks .block.block__hr {
  margin: 0 auto 23px;
}

.work .block.block__heading {
  margin: 0 auto 16px;
}

.work {
  padding: 22px 22px 68px 22px;
}

.work .blocks .block.block__title .block__title-text {
  font-size: 2.8rem;
  line-height: 1.24;
  text-transform: uppercase;
  text-align: center;
}

p:first-of-type {
  margin-top: 0;
}

/* Home */

.home > div:not(:last-of-type) {
  border-bottom: 1px solid black;
}

.home a {
  text-decoration: none;
}

.home .title {
  padding-top: 30px;
  margin-top: 0px;
}

.main.home hr:last-of-type {
  height: 0px;
}

.home h2 {
  font-weight: var(--font-weight-medium);
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
  text-transform: initial;
  line-height: 1.2;
}
.home h2 span {
  font-size: 2.6rem;
  text-transform: initial;
  line-height: 1.2;
}

/* Annotator Block */

.marker {
  font-size: initial;
  position: absolute;
  background-color: var(--dark);
  min-width: 20px;
  height: 20px;
  color: var(--light);
  text-align: center;
  border-radius: 16px;
  padding: 5px;
}

.marker:hover {
  background-color: var(--blue);
  text-align: center;
}

/* Image Block */

.img-wrapper {
  width: 100%;
  height: 0;
  position: relative;
}

.wrapped-img {
  width: 100%;
  height: auto;
  position: absolute;
}

/* Gallery Block */

.work .blocks .block.block__gallery ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style-type: none;
  margin-block-start: 0em;
  margin-block-end: 0em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}

.work .blocks .block.block__gallery ul li {
  padding: var(--spacing-s) var(--spacing-s) var(--spacing-s) 0;
}

.work .blocks .block.block__gallery ul li img {
  height: 40px;
  width: auto;
}

.work .blocks .block.block__gallery ul li.small-logo {
  display: flex;
  align-items: center;
}

.work .blocks .block.block__gallery ul li.small-logo img {
  height: 25px;
}

/* Artwork Block */
table {
  display: table;
  border-collapse: collapse;
  box-sizing: border-box;
  border: none;
  border-spacing: 0px;
  border-color: white;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
}
td {
  min-width: 30px;
  vertical-align: top;
  padding: 0;
  margin: 0;
}
td.artwork-number {
  font-weight: var(--font-weight-bold);
}
.read-more__link-wrap {
  padding-bottom: 1em;
  display: block;
}
.small-text {
  font-size: 0.85rem;
}
.blur {
  color: transparent;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.55);
}

/* General */

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  margin-block-start: 0em;
  margin-block-end: 0em;
}

h1 {
  font-weight: var(--font-weight-medium);
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

h1 span {
  font-size: 2.6rem;
}

h2 {
  font-size: 1.3rem;
  line-height: 1.5;
  text-transform: uppercase;
  font-weight: var(--font-weight-medium);
  text-align: center;
}

h3 {
  font-size: 1.1rem;
  line-height: 1;
  text-transform: uppercase;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-xs);
  margin-top: 1em;
}

.two-columns div:first-of-type h3 {
  margin-top: 0;
}

h3:focus {
  outline: none;
  /* color: var(--blue); */
}

a {
  color: inherit;
  text-decoration: underline;
}

a:hover {
  cursor: pointer;
  color: var(--blue);
}

time {
  font-weight: var(--font-weight-medium);
}

ul {
  padding-inline-start: 0px;
}

hr {
  height: 1px;
  border: none;
  color: var(--dark);
  background-color: var(--dark);
}
.audio-small-title {
  font-size: 0.75rem;
  margin-bottom: 0.7em;
  font-weight: bolder;
}
audio {
  margin-bottom: 1em;
}
audio::-webkit-media-controls-panel {
  background-color: #fafafa;
  border-radius: 0;
}
.uppercase {
  text-transform: uppercase;
}
.text-align-center {
  text-align: center;
}
.font-scale-xs {
  font-size: var(--font-scale-xs);
}
.font-scale-s {
  font-size: var(--font-scale-s);
}
.font-scale-m {
  font-size: var(--font-scale-m);
}
.center-contents {
  display: flex;
  justify-content: center;
  align-items: center;
}
img {
  display: block;
  width: 100%;
}
/* Survey Bar */
#survey-bar {
  background-color: var(--blue);
  position: fixed;
  top: -45px;
  width: 100%;
  transition: top 0.3s;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  display: block;
  color: white;
  z-index: 100;
  font-size: 15px;
  height: 36px;
}
#survey-bar > div {
  padding: 8px 22px 6px 22px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  letter-spacing: 0.025em;
}
a#survey-bar {
  text-decoration: none;
}

/* 
#survey-bar a:hover {
  background-color: #ddd;
  color: black;
} */

/* Survey Button */

/* @@@@@@@@@@@@@ MOBILE @@@@@@@@@@@@@ */
@media screen and (max-width: 600px) {
  .marker {
    font-size: var(--font-scale-xs);
    height: 13px;
    min-width: 13px;
    border-radius: 12px;
  }
}

/* @@@@@@@@@@@@@ DESKTOP @@@@@@@@@@@@@ */
@media only screen and (min-width: 60rem) {
  h1 {
    font-size: 2.8rem;
  }
  h1 span {
    font-size: 3rem;
  }
  .work {
    padding: 31px;
  }
  .title,
  .work .blocks .block {
    max-width: 900px;
    margin: 0 auto 80px;
  }
  .title {
    padding-top: 50px;
  }
  .home .title {
    padding-top: 80px;
  }
  .home h2 {
    font-size: 2.8rem;
  }
  .home h2 span {
    font-size: 3rem;
  }
  .work .block.block__heading {
    margin: 0 auto 26px;
  }
  /* Text Block */
  .two-columns {
    column-count: 2;
    column-gap: 40px;
  }
  .js-toc ol li {
    margin-right: 8px;
    margin-left: 8px;
    margin-bottom: 8px;
  }
  td {
    min-width: 40px;
  }
  .work .blocks .block.block__gallery ul li img {
    height: 65px;
  }
  .work .blocks .block.block__gallery ul li.small-logo img {
    height: 40px;
  }
  .work .blocks .block.block__gallery ul li {
    padding: var(--spacing-s);
  }
  .work .blocks .block.block__hr {
    margin: 0 auto var(--spacing-l);
  }
}

/* Survey Overlay
---------------------------------------------- */
.survey-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 9999;
  background: var(--light);
  text-transform: uppercase;
}
.survey-overlay .survey-container {
  overflow-y: scroll;
  height: 100%;
  width: 100%;
  font-size: 1.125rem;
}
.survey-container iframe {
  width: 100% !important;
}
.survey-overlay button {
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10000000;
  text-transform: uppercase;
  background-color: var(--blue);
  padding: 6px;
  color: white;
}
.iContainer {
  -webkit-overflow-scrolling: touch;
}

.center-contents.swap {
  flex-direction: column-reverse;
}
button {
  background: transparent;
  box-shadow: 0px 0px 0px transparent;
  border: 0px solid transparent;
  text-shadow: 0px 0px 0px transparent;
  padding: 0;
  font-size: inherit;
}
button:hover {
  box-shadow: 0px 0px 0px transparent;
  border: 0px solid transparent;
  text-shadow: 0px 0px 0px transparent;
  cursor: pointer;
}
button:active {
  outline: none;
  border: none;
}
button:focus {
}
nav li button {
  padding: 6px 12px 6px 12px;
  background-color: var(--dark);
  text-decoration: none;
  color: var(--light);
  text-transform: uppercase;
  background: var(--blue);
}

/* Animation */
.color-text-flow span,
.color-text-flow-hover:hover span {
  -webkit-animation-name: color-text-flow-keys;
  animation-name: color-text-flow-keys;
  -webkit-animation-duration: 3.8s;
  animation-duration: 3.8s;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
  animation-direction: alternate;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}
.color-text-flow span:nth-of-type(1),
.color-text-flow-hover:hover span:nth-of-type(1) {
  -webkit-animation-delay: -1.8s;
  animation-delay: -1.8s;
}
.color-text-flow span:nth-of-type(2),
.color-text-flow-hover:hover span:nth-of-type(2) {
  -webkit-animation-delay: -1.6s;
  animation-delay: -1.6s;
}
.color-text-flow span:nth-of-type(3),
.color-text-flow-hover:hover span:nth-of-type(3) {
  -webkit-animation-delay: -1.4s;
  animation-delay: -1.4s;
}
.color-text-flow span:nth-of-type(4),
.color-text-flow-hover:hover span:nth-of-type(4) {
  -webkit-animation-delay: -1.2s;
  animation-delay: -1.2s;
}
.color-text-flow span:nth-of-type(5),
.color-text-flow-hover:hover span:nth-of-type(5) {
  -webkit-animation-delay: -1s;
  animation-delay: -1s;
}
.color-text-flow span:nth-of-type(6),
.color-text-flow-hover:hover span:nth-of-type(6) {
  -webkit-animation-delay: -0.8s;
  animation-delay: -0.8s;
}
.color-text-flow span:nth-of-type(7),
.color-text-flow-hover:hover span:nth-of-type(7) {
  -webkit-animation-delay: -0.6s;
  animation-delay: -0.6s;
}
.color-text-flow span:nth-of-type(8),
.color-text-flow-hover:hover span:nth-of-type(8) {
  -webkit-animation-delay: -0.4s;
  animation-delay: -0.4s;
}
.color-text-flow span:nth-of-type(9),
.color-text-flow-hover:hover span:nth-of-type(9) {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}

@-webkit-keyframes color-text-flow-keys {
  0% {
    color: #fff;
  }

  50.0% {
    color: #000;
  }

  90% {
    color: #fff;
  }

  100% {
    color: #fff;
  }
}
@keyframes color-text-flow-keys {
  0% {
    color: #fff;
  }

  50.0% {
    color: #000;
  }

  90% {
    color: #fff;
  }

  100% {
    color: #fff;
  }
}
