@font-face {
  font-family: 'Circular';
  src: url('assets/fonts/Font_Circular/CircularStd-Book.eot'); /* IE9 Compat Modes */
  src: url('assets/fonts/Font_Circular/CircularStd-Book.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  url('assets/fonts/Font_Circular/CircularStd-Book.woff') format('woff'), /* Modern Browsers */
  url('assets/fonts/Font_Circular/CircularStd-Book.ttf')  format('truetype'), /* Safari, Android, iOS */
  url('assets/fonts/Font_Circular/CircularStd-Book.svg#svgCircular') format('svg'); /* Legacy iOS */
}

@font-face {
  font-weight: bold;
  font-family: 'Circular';
  src: url('assets/fonts/Font_Circular/CircularStd-Bold.eot'); /* IE9 Compat Modes */
  src: url('assets/fonts/Font_Circular/CircularStd-Bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  url('assets/fonts/Font_Circular/CircularStd-Bold.woff') format('woff'), /* Modern Browsers */
  url('assets/fonts/Font_Circular/CircularStd-Bold.ttf')  format('truetype'), /* Safari, Android, iOS */
  url('assets/fonts/Font_Circular/CircularStd-Bold.svg#svgCircular') format('svg'); /* Legacy iOS */
}

@font-face {
  font-weight: 200;
  font-family: 'Circular';
  src: url('assets/fonts/Font_Circular/CircularStd-Light.eot'); /* IE9 Compat Modes */
  src: url('assets/fonts/Font_Circular/CircularStd-Light.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  url('assets/fonts/Font_Circular/CircularStd-Light.woff') format('woff'), /* Modern Browsers */
  url('assets/fonts/Font_Circular/CircularStd-Light.ttf')  format('truetype'), /* Safari, Android, iOS */
  url('assets/fonts/Font_Circular/CircularStd-Light.svg#svgCircular') format('svg'); /* Legacy iOS */
}


html, body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.4;
  background: #000;
  color: #fff;
  /* overflow: hidden; */
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Circular', sans-serif;
  position: relative;
}

body#contexts {
  min-width: 1280px;
  min-height: 600px;
  overflow-x: hidden;
}

section {
  padding: 1em;
  margin-bottom: 6em;
}

header {
  padding: 1em;
  display: flex;
  justify-content: space-between;
}
header a {
  color: #fff;
}
header h1 a {
  text-decoration: none;
}
h1 {
  margin: 0;
}
nav {
  min-width: 140px;
  display: flex;
  justify-content: space-between;
}
nav a {
  text-decoration: none;
}

h1.areas-of-practice-prompt {
  font-size: 1.25em;
  text-transform: none;
  margin: 1.25em 0 1.25em 1.5em;
  position: relative;
  z-index: 100;
}

button, .button {
  border: 1px solid #fff;
  background: black;
  color: #fff;
  padding: 0.5em 1em;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}
button:hover, .button:hover {
  box-shadow: 4px 4px 0 0 rgba(77, 86, 98, 0.5);
}

#intro {
  padding: 2em;
  min-height: 100vh;
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

#intro-text {
  margin: 0 auto;
  padding: 0.5em 1.5em;
  background: #000;
  color: #fff;
  border: 1px solid #fff;
  max-width: 540px;
  z-index: 1;
}

#intro button, #intro .button {
  display: block;
  margin: 1em auto;
}

ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.flex {
  display: flex;
}
.flex > * {
  flex: 1;
  margin: 0 0.5em;
}
.area-of-practice--content {
  font-size: 0.9em;
  /* display: none; */
  visibility: hidden;
  height: calc(100vh - 3em);
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  top: 3em;
  pointer-events: none;
  overflow: hidden;
}
.area-of-practice--content > * {
  position: absolute;
}
.area-of-practice--content > img,
.area-of-practice--content > .text {
  max-width: 480px;
}
.area-of-practice--content p {
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}
.area-of-practice--content .text {
  z-index: 3;
}
.area-of-practice--content iframe {
  pointer-events: none;
}

.pronoun, .pronoun-be, .pronoun-pos {
  display: inline-block;
  text-align: center;
  animation-duration: 0.5s;
  animation-iteration-count: infinite;
}
.pronoun {
  width: 37px;
}
.pronoun-be {
  width: 55px;
}
.pronoun-pos {
  width: 42px;
}
.areas-of-practice-prompt a {
  cursor: pointer;
}
.areas-of-practice-prompt.prompt-active:hover .should-underline {
  border-bottom: 2px solid #fff;
}
#areas-of-practice {
  height: calc(100vh - 3em);
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  top: 3em;
}
#areas-of-practice > ul {
  width: 100%;
}
#areas-of-practice .area-of-practice--prompt {
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.25s;
  visibility: hidden;
}
#areas-of-practice .area-of-practice--prompt.clicked {
  color: #aaa;
}
#areas-of-practice .area-of-practice--prompt:hover {
  opacity: 0;
}
.selected-aop {
  opacity: 0;
  transition: opacity 0.25s;
}

#background {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 0;
  filter: brightness(0.5);
}

#appendix-button {
  position: fixed;
  right: 1em;
  bottom: 1em;
  color: #fff;
  background: none;
  border: 3px solid #fff;
  border-radius: 28em;
  padding: 2.8em 0.8em;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 20;
  display: none;
}
#appendix-button a {
  color: #fff;
  text-decoration: none;
}
#appendix-button:hover a {
  border-bottom: 2px solid #fff;
}

#appendix {
  width: 100%;
  font-weight: 200;
  font-size: 0.9em;
}
#appendix br {
  margin: 0.25em 0;
}
#appendix-main {
  max-width: 860px;
  margin: 2em auto;
}
#appendix-main section {
  padding-left: 0;
  padding-right: 0;
}
#appendix-header h1 {
  width: 860px;
  font-size: 1.5em;
  font-weight: normal;
  padding-right: 43.7em;
}
#appendix-header h2 {
  font-size: 1em;
  font-weight: normal;
}
#appendix-header h3 {
  font-size: 1em;
  font-weight: normal;
  margin: 1em 0;
}
#appendix-header nav {
	position: fixed;
	top: 1em;
	right: 1em;
  min-width: 200px;
  z-index: 10;
}
#appendix td.aop a {
  color: #fff;
  text-decoration: none;
}
.aop-detail a {
  color: #fff;
}

.aop-header {
  position: sticky;
  top: 0;
  background: #000000;
  z-index: 2;
  margin: 12em 0 8em 0;
  padding: 20px 0;
}
.aop-detail > div {
  padding-left: 0;
  padding-right: 0;
}
.aop-detail h3 {
  text-transform: uppercase;
  font-weight: 200;
  font-size: 0.75em;
}
.aop-detail h2 {
  font-weight: bold;
  text-transform: uppercase;
}
.aop-detail p {
  font-weight: 200;
  margin-top: 4em;
}
.aop-detail img,
.aop-detail iframe {
  border: 2px solid #fff;
}
.aop-detail figure {
  display: flex;
  justify-content: space-between;
}
.aop-detail img {
  max-height: 70vh;
  max-width: 100%;
}
.aop-detail figure div {
  padding-right: 1em;
}
.aop-detail figure div:last-child {
  padding-right: 0;
}

.cycle {
  transform: scale(1.15);
}
.cycle > * {
  transition: 2s opacity;
}

/* ======================== */






.areas-of-practice--stage {
  display: none;
  /* display: flex; */
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  align-items: center;
  background: rgba(0,0,0,0.5);
}
.areas-of-practice--info {
  display: flex;
  background: rgba(0,0,0,0.9);
  border: 1px solid #fff;
  padding: 1em;
  max-width: 860px;
  margin: 0 auto;
  justify-content: space-between;
  position: relative;
}
.side-by-side {
  display: flex;
}
.side-by-side > li {
  margin-right: 1em;
}
.side-by-side > li:last-child {
  margin-right: 0;
}
.areas-of-practice--desc h2 {
  font-size: 1.8em;
}
.areas-of-practice--desc,
.areas-of-practice--contexts {
  flex: 1;
}
.areas-of-practice--contexts {
  margin-left: 2em;
}
.areas-of-practice--contexts li {
  margin-bottom: 1em;
}
.areas-of-practice--contexts li:last-child {
  margin-bottom: none;
}
.areas-of-practice--contexts h3 {
  font-size: 1.1em;
  font-weight: normal;
  text-decoration: underline;
  cursor: pointer;
  margin-bottom: 0.5em;
}
.areas-of-practice--contexts h3:hover {
  text-decoration-style: wavy;
}


h2 {
  margin: 0;
  font-size: 1.2em;
  font-weight: normal;
}
h2 a {
  color: #fff;
}
h2 a:hover {
  text-decoration-style: wavy;
}

h3 {
  margin: 0;
}

section > div {
  padding: 1em;
}

img {
  max-width: 100%;
  max-height: 80vh;
  transform: translateZ(0);
}

video {
  display: block;
  max-width: 100%;
}

.iframe-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
}
.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

figure {
  margin: 0;
  padding: 0;
}

.gallery {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}
.gallery img {
  /* max-height: 50vh; */
  max-height: 180px;
  border: 2px solid #222;
  margin: 0.25em;
  box-shadow: 4px 4px 0 0 rgba(77, 86, 98, 0.5);
}
.gallery img:hover {
  box-shadow: 4px 4px 0 0 rgba(81, 82, 140, 0.5);
}

.model {
  padding: 0.5em;
  margin: 0.25em;
}
.model-images {
  display: flex;
}
.model h3 {
  padding: 0 0.25em;
}

.light {
  font-weight: 200;
}

/* .documents { */
/*   display: flex; */
/*   justify-content: space-around; */
/* } */
/* .documents .col:first-child { */
/*   width: 40%; */
/*   margin-right: 1em; */
/* } */
/* .documents .col:first-child .document .body { */
/*   background: #111; */
/*   color: #fff; */
/* } */

.document {
  max-width: 640px;
  margin: 0 auto 2em auto;
  border: 2px solid #222;
  border: 1px solid #fff;
  box-shadow: 4px 4px 0 0 rgba(77, 86, 98, 0.5);
}
.document h3 {
  padding: 0.25em 0.5em;
  border-bottom: 2px solid black;
}
.document .body {
  padding: 0 1.5em 1.5em 1.5em;
  /* max-height: 80vh; */
}

figcaption a {
  color: #fff;
}
.iframe-container figcaption {
  position: absolute;
  top: 0;
  background: #000;
  padding: 0 0.5em;
}
.iframe-doc figcaption em {
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
  padding: 0 0.5em;
}
.context--context-obj .iframe-doc {
  height: 30vh;
}

.sites {
  display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}
.site > * {
	border: 2px solid #222;
	margin: 0.5em 0;
  box-shadow: 4px 4px 0 0 rgba(77, 86, 98, 0.5);
}
.site {
  width: 35%;
  margin: 0.5em;
  align-self: flex-start;
}
.site h3 {
  padding: 0;
  border: none;
  box-shadow: none;
}
.site h4 {
  margin: 0;
  background: #2e2f35;
  color: #fff;
  padding: 0.25em 0.4em;
  font-weight: normal;
}
.site figure {
  position: relative;
}
.site figcaption {
  position: absolute;
  top: 0.5em;
  left: 0.5em;
  z-index: 1;

  background: #111;
  color: #fff;
  padding: 0.1em 0.25em 0 0.25em;
}
.site figcaption em {
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
  padding: 0 0.4em;
}
.site figcaption a {
	text-decoration: none;
  background: #3E5162;
	color: #fff;
	position: absolute;
	top: 0;
	bottom: 0;
	padding: 0.1em 0.4em;
}

.tabbed-controls {
  display: flex;
  border-bottom: 2px solid black;
}
.tabbed-controls > div {
  border-right: 2px solid black;
  text-align: center;
  flex: 1;
  padding: 0.1em 0 0 0;
}
.tabbed-controls > div:last-child {
  border-right: none;
}
.tabbed-controls .label {
  background: #2e2f35;
  color: #fff;
}
.tabbed-controls .tab.selected,
.tabbed-controls .tab:hover {
  background: #3E5162;
  cursor: pointer;
}
.tabbed-windows > div {
  display: none;
}
.tabbed-windows > div.selected {
  display: block;
}

.placeholder h4 {
  text-align: center;
  padding: 4em 0;
}

.pdf {
	padding: 0.5em;
  margin: 0.5em 0;
	border: 1px solid #fff;
  box-shadow: 4px 4px 0 0 rgba(77, 86, 98, 0.5);
  position: relative;
  color: #fff;
}
.pdf h5 {
  margin: 0;
  font-size: 1em;
  line-height: 1.1;
}
.pdf a {
  color: #fff;
  text-decoration: none;
}
.pdf .meta {
  font-size: 0.8em;
}
.pdf::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	border-width: 0 16px 16px 0;
	border-style: solid;
  border-color: #000 #fff;
}
.pdf:hover {
  box-shadow: 4px 4px 0 0 rgba(81, 82, 140, 0.5);
}
.pdf:hover::before {
	border-color: #000 #A0A0BD;
}

table, th, td {
  border-collapse: collapse;
}
th, td {
  border-right: 0;
  border-left: 0;
  padding: 1em 0;
}
td {
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  padding: 1.75em 0;
}
th {
  border-top: none;
  border-bottom: 2px solid #fff;
  text-transform: uppercase;
  font-size: 0.9em;
  text-align: left;
}
td.aop {
  text-transform: uppercase;
  padding-right: 1em;
}
#overview th:last-child,
#overview td:last-child {
  max-width: 360px;
  word-wrap: break-word;
}

.context {
  border: 1px solid #fff;
  padding: 0;
  margin: 1em;
}
.context h2 {
  text-align: center;
  border-bottom: 1px solid #fff;
  padding: 1em 0;
}
.context hr {
  height: 1px;
  border: none;
  margin-bottom: 3.5em;
  border-bottom: 1px solid #fff;
  border-bottom-style: dashed;
}
.context--context,
.context--method {
  display: flex;
}
.context--context > div,
.context--method > div {
  flex-basis: 50%;
}
.context--context-desc,
.context--method-desc {
  padding: 2em;
}
.context--context-desc {
  display: flex;
  align-items: center;
}
.context--context-desc p,
.context--method-desc p {
  margin: 0;
}
.context--method-desc p {
  position: sticky;
  top: 1em;
}
.context--context-meta {
  margin: 1em;
  width: calc(100% - 2em);
}

#context-details {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  align-items: center;
  background: rgba(0,0,0,0.75);
  z-index: 2;
}
#context-details .context {
  display: none;

  background: rgba(0,0,0,0.9);
  border: 1px solid #fff;
  z-index: 1;
  padding: 1em;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.close img {
	cursor: pointer;
	width: 28px;
	height: 28px;
  position: absolute;
  right: 1em;
}


@keyframes glitch {
  from {
    transform: skewX(0);
  }

  33% {
    transform: skewX(-10deg);
  }

  66% {
    transform: skewX(0deg);
  }

  to {
    transform: skewX(-60deg);
  }
}