@font-face {
  font-family: "Cabinet";
  src: url("../fonts/CabinetGrotesk-Variable.woff2") format("woff2-variations");
  font-weight: 100 900;
}



@font-face {
  font-family: "Cabinet";
  src: url("../fonts/CabinetGrotesk-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: regular;
}

@font-face {
  font-family: "Cabinet";
  src: url("../fonts/CabinetGrotesk-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: regular;
}

@font-face {
  font-family: "Cabinet";
  src: url("../fonts/CabinetGrotesk-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: regular;
}

@font-face {
  font-family: "CabinetItalic";
  src: url("../fonts/CabinetGrotesk-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "CabinetLogo";
  src: url("../fonts/CabinetGrotesk-Logo.woff2") format("woff2-variations");
  font-weight: 200;
}


* {
  margin: 0;
  padding: 0;
}

:root {
  --padding: 1.5rem;
  --color-black: #000;
  --color-white: #DDD;
  --color-grey: #777;
  --color-light: #BBB;
  --color-text: var(--color-black);
  --color-text-grey: var(--color-grey);
  --color-background: var(--color-white);
  --color-code-light-grey:  #9fa5bd;
  --color-code-comment:     #a9aaad;
  --color-code-white:       #c5c9c6;
  --color-code-red:         #d16464;
  --color-code-orange:      #de935f;
  --color-code-yellow:      #f0c674;
  --color-code-green:       #a7bd68;
  --color-code-aqua:        #8abeb7;
  --color-code-blue:        #7e9abf;
  --color-code-purple:      #b294bb;
  --font-family-sans: "Cabinet", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --font-family-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

html {
  font-family: var(--font-family-sans);
  color: var(--color-text);
  background: var(--color-white);
}
img {
  width: 100%;
}
body {
  padding: var(--padding);
  max-width: 70rem;
  width: 100vw;
  margin: 0 auto;
  padding: 0;
}
.wrapper {
  max-width: 100vw;
  overflow-x: hidden;
  padding: 1.5em;
  margin: 0 auto;
}
em {
  font-family: "CabinetItalic";
}
li {
  list-style: none;
}
a {
  color: currentColor;
  text-decoration: none;
}
button {
  font: inherit;
  background: none;
  border: 0;
  color: currentColor;
  cursor: pointer;
}
strong, b {
  font-weight: 600;
}
small {
  font-size: inherit;
  color: var(--color-text-grey);
}

ol li {
  font-size: .85em;
}

.bg-light {
  background-color: var(--color-light);
}
.color-grey {
  color: var(--color-text-grey);
}

.header {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-right: -1rem;
  margin-left: -1rem;
  margin-bottom: 6rem;
}

.logo {
  font-family: "CabinetLogo";
  position: relative;
  font-size:4rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 200;
  padding-top: 0px;
}

/* g */
.header::after {
  content: "";
  z-index: 12;
  top: 30px;
  left: 132px;
  position: absolute;
  width: 2px;
  height: 200px;
  background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(121,121,9,.8) 15%, rgba(255,255,0,.6) 40%, rgba(255,255,255,0) 100%);
  transform-origin: top left;
  transform: rotate(210deg);
  animation: rotate1 3s linear infinite;
  animation-play-state: paused;
  animation-delay: calc(var(--scroll) * -.4s);
  animation-iteration-count: 1;
  animation-fill-mode: both;
}

@keyframes  rotate1 {
  to {
    transform: rotate(-180deg);
  }
}

/* T */
.logo::before {
  content: "";
  z-index: 12;
  top: 17px;
  left: 35px;
  position: absolute;
  width: 2px;
  height: 50rem;
  background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(14,121,9,.8) 15%, rgba(187,255,0,.6) 40%, rgba(255,255,255,0) 100%);
  transform-origin: top left;
  transform: rotate(7deg);
  animation: rotate 1s linear infinite;
  animation-play-state: paused;
  animation-delay: calc(var(--scroll) * -1s);
  animation-iteration-count: 1;
  animation-fill-mode: both;
}

@keyframes  rotate {
  to {
    transform: rotate(-30deg);
  }
}

/* t */
.logo::after {
  content: "";
  z-index: 12;
  top: 30px;
  left: 204px;
  position: absolute;
  width: 50rem;
  height: 2px;
  background: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(144,21,9,.8) 15%, rgba(255,150,0,.6) 50%, rgba(255,255,255,0) 100%);
  transform-origin: 7px 1px;
  transform: rotate(-11deg);
  animation: rotate2 2s linear infinite;
  animation-play-state: paused;
  animation-delay: calc(var(--scroll) * -.3s);
  animation-iteration-count: 1;
  animation-fill-mode: both;
}

@keyframes  rotate2 {
  to {
    transform: rotate(70deg);
  }
}

@media screen and (max-width: 60rem) {
  .logo::before {
    animation: rotate 12s linear infinite;
    animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -42s);
  }
  @keyframes  rotate {
  to {
    transform: rotate(-360deg);
    }
  }
  .logo::after {
    animation: rotate2 10s linear infinite;
    animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -40s);
  }
  @keyframes  rotate2 {
  to {
    transform: rotate(-360deg);
    }
  }
}


.menu {
  display: flex;
  font-size: 1.4em;
}
.menu .item {
  padding: 1.3rem 0.2rem;
}
.menu a {
  display: inline-block;
}
.menu a[aria-current] {
  text-decoration: underline;
}
.menu {
  padding-right: .5em;
}

.social {
  display: flex;
  padding: 0 .5rem;
}
.social a {
  padding: 1rem .5rem;
}

.section {
  padding: 3rem 0;
}

.grid {
  --columns: 12;
  --gutter: 3rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: 1fr;
}
.grid > .column {
  margin-bottom: var(--gutter);
  display: inline-block;
}

.autogrid {
  --gutter: 3rem;
  --min: 10rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
  grid-auto-flow: dense;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}
h1.article-title {
  padding-bottom: .2em;
}

.text {
  line-height: 1.5em;
}
.text a {
  text-decoration: underline;
}
.text :first-child {
  margin-top: 0;
}
.text :last-child {
  margin-bottom: 0;
}
.text p {
  text-indent: 1em;
}
.text p:first-child {
  text-indent: 0em;
}
.text .content p {
  text-indent: 1em;
}
.text p,
.text ul,
.text ol {
  margin-bottom: 1.5rem;
}
.text ul,
.text ol {
  margin-left: 1rem;
}
.text ul p,
.text ol p {
  margin-bottom: 0;
}
.text ul > li {
  list-style: disc;
}
.text ol > li {
  list-style: decimal;
  line-height: 1.4em;
  padding-bottom: .2em;
}
.text ul ol,
.text ul ul,
.text ol ul,
.text ol ol {
  margin-bottom: 0;
}
.text h1,
.h1,
.intro {
  font-size: 2rem;
  margin-bottom: 3rem;
  line-height: 1.25em;
}
.text {
  font-size: 1.1em;
  line-height: 1.4em;
}
.text h2,
.h2 {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 1.25rem;
}
.text h3,
.h3 {
  font-weight: 600;
}
.text p:has(code) {
  text-indent: 0em;
}
.text code {
  font-family: var(--font-family-sans);
  text-indent: 0em;
  font-size: 1em;
  color: var(--color-black);
}
ol:has(code) li {
  font-size: 1em;
  margin-left: .8rem;
}
.text code ul {
  padding-left: 1em;
}
.text pre {
  margin: 3rem 0;
  background: var(--color-black);
  color: var(--color-white);
  padding: 1.5rem;
  overflow-x: scroll;
  overflow-y: hidden;
  line-height: 1.5rem;
}
.text pre code {
  padding: 0;
  background: none;
  color: inherit;
}
.text hr {
  margin: 6rem 0;
}
.text dt {
  font-weight: 600;
}
.text blockquote {
  position: relative;
  font-size: 1.25rem;
  line-height: 1.325em;
  padding-left: 1rem;
  margin: 3rem 0;
  max-width: 25rem;
}
.text blockquote:before {
  content: "";
  position: absolute;
  display: block;
  top: 0px;
  margin-left: -0.9rem;
  width: 1px;
  height: 100%;
  background-color: var(--color-black);
  transform: rotate(-10deg);
}
.text blockquote footer {
  font-size: .875rem;
  font-style: italic;
}
.text figure {
  margin: 2rem 0;
}
.text figcaption {
  padding-top: .75rem;
  color: var(--color-text-grey);
}

.text figure ul {
  margin-left: 0rem;
}
.text figure ul li {
  list-style: none;
}

.portrait img {
  max-width: 66% !important;
}

hr {
  border: 0;
  background: currentColor;
  height: 2px;
  width: 1.5rem;
  margin: 3rem auto;
}

.align-center {
  text-align: center;
}

.intro {
  max-width: 40rem;
}
.intro *:not(:last-child) {
  margin-bottom: 1em;
}

.cta {
  background: var(--color-black);
  color: var(--color-white);
  display: inline-flex;
  justify-content: center;
  padding: .75rem 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-black);
}

.box {
  background: var(--color-light);
  padding: 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-light);
}

.video,
.img {
  position: relative;
  display: block;
  --w: 1;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  background: var(--color-black);
}
.img img,
.video iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.img[data-contain] img {
  object-fit: contain;
}
.img-caption,
.video-caption {
  padding-top: .75rem;
  line-height: 1.5em;
}

.footer {
  font-size: 1.4rem;
  padding: 4rem 0 1rem;
  line-height: 1.5em;
  text-align: right;
}

.footer h2 {
  font-weight: 600;
  margin-bottom: .75rem;
}
.footer ul,
.footer p {

  color: var(--color-text-grey);
}
.footer p {
  max-width: 15rem;
}
.footer a:hover {
  color: var(--color-text);
}


.map {
  --w: 2;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  position: relative;
  overflow: hidden;
  background: var(--color-black);
}
.map iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.margin-s {
  margin-bottom: .75rem;
}
.margin-m {
  margin-bottom: 1.5rem;
}
.margin-l {
  margin-bottom: 3rem;
}
.margin-xl {
  margin-bottom: 4.5rem;
}
.margin-xxl {
  margin-bottom: 6rem;
}

@media screen and (min-width: 40rem) {
  body {
    --padding: 3rem;
  }

  .grid {
    grid-template-columns: repeat(8, 1fr);
  }
  .grid > .column {
    grid-column: span var(--columns);
  }

}

@media screen and (min-width: 70rem) {
  .wrapper {
	overflow: visible;
  }
}

@media screen and (min-width: 60rem) {
  body {
    --padding: 3rem;
  }

  .grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .grid > .column {
    grid-column: span var(--columns);
  }
  .article {
    max-width: initial;
    width: 45em;
    font-size: 1.3rem;
  }
}

@media screen and (max-width: 520px) {
  li.column {
    width: 90vw !important;
  }
  .pdf {
    display: none;
  }
  .menu {
    margin: -1em 0 0 1.5em;
  }
  h1 {
    font-size: 1.5rem;
    line-height: 1.85rem;
  }
  .header {
    margin-bottom: 0rem;
}

}



.pagination {
  display: flex;
  padding-top: 6rem;
}
.pagination > span {
  color: var(--color-text-grey);
}
.pagination > * {
  padding: .5rem;
  width: 3rem;
  text-align: center;
  border: 2px solid currentColor;
  margin-right: 1.5rem;
}
.pagination > a:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.article-excerpt {
  line-height: 1.5em;
}
.article-excerpt header {
  margin-bottom: 1rem;
}
.article-excerpt figure {
  margin-bottom: .5rem;
}
.article-excerpt .article-author {
  margin-top: .5rem;
}
.article-excerpt .article-venue {
  font-size: 1.2em;
  padding-top: .2em;
  font-weight: 300;
}
.article-excerpt-title {
  font-weight: 400;
}
.article-excerpt-date {
  color: var(--color-text-grey);
}

.article-excerpt h2 {
  position: relative;
  font-size: 1.3em;
}
/* .article-excerpt h2::before {
  content: "";
  position: absolute;
  display: block;
  top: 0px;
  left: 0px;
  height: 1px;
  width: 100%;
  margin-top: -3px;
  transform: rotate(3deg);
  background-color: var(--color-black);
} */


