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

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  scroll-behavior: smooth;
  height: 100.1%;
}

:where(*) {
  margin: 0;
  padding: 0;
  border: 0;
}

:where(ul, ol) {
  list-style: none;
}

body {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

:where(img, picture, video, canvas, svg) {
  display: block;
  max-width: 100%;
  height: auto;
}

:where(p, h1, h2, h3, h4, h5, h6) {
  overflow-wrap: break-word;
}

/* Modern Form Reset */
:where(input, button, textarea, select) {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}

:where(button, [type=button], [type=submit]) {
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}

:where(button, [type=button], [type=submit]):disabled {
  cursor: not-allowed;
}

:where(input:not([type=checkbox]):not([type=radio]), textarea) {
  width: 100%;
}

:where(textarea) {
  resize: vertical;
  display: block;
}

:where(input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration) {
  display: none;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: none;
}

::placeholder {
  color: currentColor;
  opacity: 0.5;
}

/*
This font software is the property of Commercial Type.

You may not modify the font software, use it on another website, or install it on a computer.

License information is available at http://commercialtype.com/eula
For more information please visit Commercial Type at http://commercialtype.com or email us at info[at]commercialtype.com

Copyright (C) 2023 Schwartzco Inc.
License: 2303-UPBJCM
*/
/* graphik web */
@font-face {
  font-family: "Graphik Web";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/graphikWeb/Graphik-Regular-Web.woff2") format("woff2");
}
@font-face {
  font-family: "Graphik Web";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/graphikWeb/Graphik-Medium-Web.woff2") format("woff2");
}
@font-face {
  font-family: "Graphik Web";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/graphikWeb/Graphik-Semibold-Web.woff2") format("woff2");
}
:root {
  --mainColor: #222;
  --secondColor: #888;
  --borderColor: #ccc;
  --spacing-xs: 0.5rem;
  --spacing-sm: 0.75rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-lg-neg: -1.5rem; /* needs to be exactly the negative of --spacing-lg! */
  --spacing-layout: clamp(0.75rem, 0.5rem + 0.5vw, 20rem);
}

/* ======================= */
/* MAIN LAYOUT & STRUCTURE */
/* ======================= */
body {
  display: grid;
  grid-template-columns: minmax(var(--spacing-layout), 1fr) minmax(0, 1920px) minmax(var(--spacing-layout), 1fr);
  grid-auto-rows: auto;
  overflow-x: hidden;
}

body > * {
  width: 100%;
  grid-column: 2/3;
}

body > .banner {
  grid-column: 1/-1;
}

body:has(.banner) header {
  display: none;
}

body > main {
  display: flex;
  flex-direction: column;
}

:root {
  --spacing-header: 4rem;
  --spacing-header-half: calc(0.5 * var(--spacing-header));
}

.subnav,
.mb-header {
  margin-bottom: var(--spacing-header-half);
}

body > header {
  margin-bottom: var(--spacing-header);
}

:where(section:not(:first-of-type)) {
  margin-top: var(--spacing-header);
}

.page-header {
  margin-bottom: var(--spacing-header-half);
}

.page-header:has(+ .subnav) {
  margin-bottom: 0;
}

@media screen and (min-width: 80rem) { /* lg */
  :root {
    --spacing-header: 7rem;
  }
  body > header {
    margin-bottom: var(--spacing-header-half);
  }
}
section {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

/* ========================================================================== */
/* GLOBAL & TYPOGRAPHY */
/* ========================================================================== */
:root {
  --fontFactor: 1.3vw;
  --fontSize: clamp(1.188rem, var(--fontFactor), 2rem); /* 16px - 32px */
  --fs-2xs: 0.60rem;
  --fs-xs: 0.80rem;
  --fs-sm: 0.90rem;
  --fs-md: 1.00rem;
  --fs-lg: 1.10rem; /* h4 */
  --fs-xl: 1.20rem; /* h3 */
  --fs-2xl: 1.42rem; /* h2 */
  --fs-3xl: 2.20rem; /* h1 */
  --fs-4xl: 2.75rem;
}

@media screen and (min-width: 96rem) {
  :root {
    --fontFactor: 1.25vw;
  }
}
@media screen and (min-width: 112rem) {
  :root {
    --fontFactor: 1.2vw;
  }
}
html {
  font-size: var(--fontSize);
}

body {
  background: #fff;
  color: var(--mainColor);
  font-family: "Graphik Web", arial, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  font-kerning: auto;
  letter-spacing: normal;
  overflow-wrap: break-word;
  scroll-behavior: smooth;
}

h1, h2, h3, h4 {
  margin-bottom: 0.35em;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  word-wrap: normal;
}

h4 {
  font-size: var(--fs-lg);
}

h3 {
  font-size: var(--fs-xl);
}

h2 {
  font-size: var(--fs-2xl);
}

h1 {
  font-size: var(--fs-3xl);
}

.page-title {
  font-size: var(--fs-md);
}

.section-title {
  font-size: var(--fs-2xl);
  margin-bottom: 1.1em;
}

.font-md {
  font-size: var(--fs-lg);
  line-height: 1.35;
}

.font-sm {
  font-size: var(--fs-sm);
  letter-spacing: 0.01em;
}

.font-xs, dt {
  font-size: var(--fs-xs);
  letter-spacing: 0.015em;
}

.font-2xs {
  font-size: var(--fs-2xs);
  letter-spacing: 0.02em;
}

.uppercase {
  text-transform: uppercase;
}

.abst { /* hidden within DB T_T */
  margin-bottom: var(--spacing-2xl);
}

/* ========================================================================== */
/* LINKS & BUTTONS */
/* ========================================================================== */
a {
  cursor: pointer;
  text-decoration: none;
}

a, a:link, a:hover, a:visited {
  color: currentColor;
}

a.active,
.pseudo-link.active {
  text-decoration: underline 1.5px currentColor;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--secondColor);
}

.text-secondary {
  color: var(--secondColor) !important;
}

/* Icon / UI Links */
a::after, a::before {
  display: inline-block;
  font-size: var(--fs-xs);
}

a::after {
  margin-left: 0.2em;
}

a.extern,
a.intern {
  color: var(--secondColor);
}

/* pseudo-elements can't hold an <iconify-icon>, so these paint the SVG as a currentColor mask; --icon picks the glyph */
a.extern::after,
a.intern::after,
#readmore-switch.open::after {
  content: "";
  width: 1.5em;
  height: 1.5em;
  vertical-align: -0.35em;
  background-color: currentColor;
  mask: var(--icon) no-repeat center/contain;
}

a.extern::after {
  --icon: url("https://api.iconify.design/lucide/arrow-up-right.svg");
}

a.intern::after {
  --icon: url("https://api.iconify.design/lucide/arrow-right.svg");
}

.icon svg {
  height: 1em;
  width: 1em;
}

.icon.l svg {
  height: 1.5em;
  width: 1.5em;
}

.icon.xl svg {
  height: 2em;
  width: 2em;
}

/* Buttons / UI Spans */
.tag, .dropdown {
  display: inline-block;
  padding: 0.2em 0.6em;
  border: 1px solid currentColor;
  border-radius: 0.8em;
  font-size: var(--fs-sm);
  line-height: 1.1;
}

.tag {
  color: var(--secondColor) !important;
  border-color: var(--secondColor);
}

.dropdown {
  display: inline-flex;
  flex-direction: row;
  gap: var(--spacing-xs);
  margin-left: var(--spacing-sm);
}

i {
  height: 100%;
  min-height: 1em;
  width: 100%;
  min-width: 1em;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 300ms ease;
}

i.flip {
  transform: rotate(180deg);
}

/* ========================================================================== */
/* CONTENT HELPERS (Wraps, Links, Subtitles) */
/* ========================================================================== */
.office:not(.active) {
  display: none;
}

.office p {
  margin-bottom: 2em;
}

section.discover-more {
  gap: 0px;
  margin-top: var(--spacing-2xl);
}

.discover-more h2 {
  margin-bottom: 1.8em;
  color: var(--secondColor);
}

#mainpart {
  padding-top: var(--spacing-layout);
}

.tags {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
}

@media screen and (min-width: 64rem) { /* xl */
  .tags {
    display: block;
    position: absolute;
    top: var(--spacing-layout);
    right: 0;
  }
}
.textelement {
  margin-bottom: 1.6em;
}

.textelement .textelement__title {
  font-size: var(--fs-2xl);
  margin-bottom: 0.3em;
}

.textelement.separator {
  margin-top: 5em;
}

.textelement.separator .textelement__title {
  margin-bottom: 1em;
}

@media screen and (min-width: 64rem) { /* lg */
  .textelement.separator h4 {
    margin-bottom: 1em;
    font-size: 1.4em;
  }
}
#readmore {
  display: none;
}

#readmore-switch {
  cursor: pointer;
}

#readmore-switch:after {
  content: "...";
}

#readmore-switch.open::after {
  display: inline-block;
  margin-top: 0.5em;
  font-size: var(--fs-xs);
  --icon: url("https://api.iconify.design/lucide/chevron-up.svg");
}

/* FIGURE MODEL */
.figure-wrapper {
  height: fit-content;
}

.figure-wrapper figure {
  margin: 0px;
  overflow: hidden;
}

.figure-wrapper figcaption {
  display: none !important;
}

.figure-wrapper .figure-caption {
  margin: 0.2em 0 0.4em 0;
}

.figure-wrapper .figure-description {
  margin: 0 0 0.4em 0;
}

.figure-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 400ms ease-in-out;
}

a.figure-wrapper:hover img {
  transform: scale(1.05);
}

.figure-wrapper.has-overlay .figure-caption {
  color: white;
  position: absolute;
  bottom: 0;
  left: 10px;
  font-size: var(--fs-2xl);
}

/* ========================================================================== */
/* PORTFOLIO & GALLERIES */
/* ========================================================================== */
.galerie {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--spacing-2xl);
}

.galerie figure {
  aspect-ratio: 1.777;
}

.discover-more {
  border-top: 1px solid var(--borderColor);
}

@media screen and (min-width: 64rem) and (max-width: 96rem) { /* lg to 2xl */
  .discover-more .galerie li:nth-child(4) {
    display: none;
  }
}
@media screen and (min-width: 40rem) { /* sm */
  .galerie {
    grid-template-columns: repeat(2, 50%);
  }
}
@media screen and (min-width: 64rem) { /* lg */
  .galerie {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (min-width: 96rem) { /* 2xl */
  .galerie {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* ========================================================================== */
/* FILTERS & SEARCH */
/* ========================================================================== */
#filter {
  display: none;
  padding: var(--spacing-header) 0 var(--spacing-xl);
  border-bottom: 1px solid #eee;
  transition: transform 350ms ease-in, height 350ms ease-in;
  line-height: 1.2;
}

#filter.expanded {
  display: grid;
  grid-template-columns: 1fr;
}

@media screen and (min-width: 40rem) {
  #filter.expanded {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 64rem) {
  #filter.expanded {
    grid-template-columns: repeat(4, 1fr);
  }
}
.search-form {
  max-width: 500px;
  gap: var(--spacing-lg);
  border: 1px solid transparent;
  border-bottom-color: var(--mainColor);
}

.search-form:has(:focus-within) {
  border-color: var(--mainColor);
}

/* ========================================================================== */
/* LISTS */
/* ========================================================================== */
dd {
  margin-bottom: var(--spacing-sm);
}

/* term | description side by side, e.g. the periods of a CV */
.employee:not(.active) .entry-details {
  display: none;
}

.entry-details p {
  margin: 0;
}

.employee .entry-headline {
  display: flex;
  flex-direction: row;
  gap: var(--spacing-md);
}

.employee.active .entry-headline {
  margin-top: var(--spacing-xs);
}

.employee .entry-details {
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

@media screen and (max-width: 64rem) { /* lg */
  .employee {
    margin-bottom: var(--spacing-md);
  }
  .employee .entry-headline {
    flex-direction: column;
    gap: 0;
  }
}
.list {
  gap: 5rem;
}

.entry-with-image {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

.entry-with-image figure {
  width: 300px;
}

.entry-with-image img {
  width: 100%;
  object-fit: cover;
}

@media screen and (min-width: 64rem) { /* lg */
  .entry-with-image {
    grid-template-columns: auto 1fr;
    gap: 10vw;
  }
  .entry-with-image.image-right {
    grid-template-columns: 1fr auto;
  }
  .entry-with-image figure {
    width: 10vw;
  }
}
/* ========================================================================== */
/* TIMELINE */
/* ========================================================================== */
.card {
  display: grid;
  grid-template-areas: "image" "caption" "title" "content" "footer" ".";
  grid-template-rows: repeat(5, auto) 1fr;
}

.card .card__image {
  grid-area: image;
}

.card .card__caption {
  grid-area: caption;
}

.card .card__title {
  grid-area: title;
}

.card .card__content {
  font-size: 0.9rem;
  grid-area: content;
  margin: 0.4em 0;
}

.card .card__footer {
  font-size: 0.9rem;
  grid-area: footer;
}

.timeline-entry {
  border-top: 1px solid var(--secondColor);
  padding-top: var(--spacing-xs);
  cursor: pointer;
  row-gap: 0px !important;
}

.timeline-entry__date,
.timeline-entry__image,
.timeline-entry__body {
  grid-column: 1/3;
}

.timeline-entry__image {
  grid-row: 1;
  overflow: hidden;
}

.timeline-entry__date {
  grid-row: 2;
}

.timeline-entry__body {
  grid-row: 3;
}

.timeline-entry .timeline-entry__body > *:not(.timeline-entry__title) {
  display: none;
}

.timeline-entry.active .timeline-entry__body > * {
  display: block;
}

.timeline-entry.active .timeline-entry__links {
  display: flex;
  flex-direction: column;
}

.timeline figure {
  max-height: 40rem;
}

@media screen and (min-width: 64rem) {
  .timeline-entry__date,
  .timeline-entry__image,
  .timeline-entry__body {
    grid-row: 1;
  }
  .timeline-entry__date {
    grid-column: 1;
  }
  .timeline-entry__image {
    grid-column: 2/span 2;
  }
  .timeline-entry__body {
    grid-column: 4/span 8;
  }
  .timeline-entry.active .timeline-entry__image {
    grid-column: 2/span 4;
  }
  .timeline-entry.active .timeline-entry__body {
    grid-column: 6/span 6;
  }
}
@media screen and (min-width: 64rem) { /* xl */
  .discover-more .entry-content {
    padding: var(--spacing-md) var(--spacing-xs);
  }
  .news-text {
    margin-top: 0.3em;
  }
}
/* News page (views/news-item.php) */
.news-page__banner img {
  width: 100%;
  max-height: 75vh;
  object-fit: cover;
}

.news-page__meta {
  flex-wrap: wrap;
  align-items: center;
}

.news-page__pager {
  flex-wrap: wrap;
  justify-content: center;
}

#search-result b {
  background: yellow;
  font-weight: 400;
}

.video {
  display: block;
  width: 100%;
  height: auto;
}

.php-error {
  all: initial;
  color: #A00;
  border-left: #A00 2px solid;
  margin: 5px 0px;
  font-family: monospace;
  white-space: pre-wrap;
  display: block;
  grid-column: 2/3;
  height: fit-content;
}

.php-error-header {
  font-weight: 600;
  background-color: rgba(170, 0, 0, 0.2666666667);
  padding: 5px 10px;
}

.php-error-content {
  padding: 5px 10px;
  margin-top: -10px;
}

.php-error-content br {
  display: none;
}

:root {
  --navbar-height: 3rem;
  --hamburg-size: 2.5rem;
  --hamburg-size-half: calc(var(--hamburg-size)/1.5);
  --hamburg-size-tenth: calc(var(--hamburg-size)/10);
}

.navbar {
  position: relative;
  display: grid;
  grid-template-areas: "brand . nav hamburg";
  grid-template-columns: auto 1fr auto auto;
  grid-template-rows: minmax(var(--navbar-height), auto) 0px 0px 0px;
  transition: height 300ms ease;
}

.navbar:not(.banner) {
  background-color: white;
}

.navbar__brand {
  grid-area: brand;
  height: 100%;
  display: flex;
  align-items: center;
}

.logo-as-text {
  font-size: var(--fs-xl);
  line-height: 1.2;
  margin: 0.3em 0px;
}

.navbar__nav {
  grid-area: nav;
  margin: auto 0;
  font-size: var(--fs-sm);
}

.navbar__nav__search {
  display: flex;
  flex-direction: row;
  gap: var(--spacing-xs);
  width: fit-content;
}

.navbar__nav__search iconify-icon {
  height: fit-content;
  margin: auto 0;
}

.navbar__hamburg {
  grid-area: hamburg;
  margin: auto 0;
}

body:has(> .banner) .navbar__hamburg {
  display: flex;
}

/* mobile */
@media screen and (max-width: 64rem) {
  body .banner__brand {
    display: none;
  }
  .navbar__brand {
    padding-right: var(--hamburg-size);
  }
}
@media screen and (min-width: 64rem) {
  footer nav ul {
    display: flex;
    flex-direction: row;
    gap: var(--spacing-xl);
  }
}
@media screen and (max-width: 96rem) {
  footer > * {
    display: none;
  }
  .navbar__nav {
    font-size: var(--fs-xl);
    margin-top: 2rem;
  }
  .navbar__hamburg {
    display: flex;
  }
  .navbar.navbar-expanded {
    grid-template-areas: "brand . hamburg" " .   .    .   " "nav nav  nav  " " .   .    .   ";
    grid-template-rows: var(--navbar-height) 2em 1fr 2em;
    grid-template-columns: 1fr auto auto;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    z-index: 100;
    padding-left: var(--spacing-sm);
    padding-right: var(--spacing-sm);
  }
  .navbar:not(.navbar-expanded) nav {
    display: none;
  }
  .navbar__nav {
    height: 100%;
    display: grid;
    grid-template-areas: "main language" "search ." ". ." "credits credits";
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto 1fr auto;
  }
  .navbar__nav__main-links {
    grid-area: main;
    font-size: var(--fs-3xl);
    line-height: 1.2;
  }
  .navbar__nav__search {
    grid-area: search;
    font-size: var(--fs-3xl);
    margin-top: 1em;
  }
  .navbar__nav__footer-links {
    grid-area: credits;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .navbar__nav__footer-links > * {
    margin-right: 1em;
  }
  .navbar .language-selector {
    font-size: var(--fs-xl);
    grid-area: language;
  }
  .language-selector__toggle {
    gap: 0.5em;
    padding: 0.05em 0.6em;
    border: 1px solid currentColor;
    border-radius: 0.8em;
  }
  .language-selector__list {
    left: 0.6em;
    line-height: 2em;
  }
}
/* desktop */
@media screen and (min-width: 96rem) {
  .navbar__nav,
  .navbar__nav__main-links {
    display: flex;
    flex-direction: row;
    gap: var(--spacing-xl);
  }
  .navbar__nav__footer-links {
    display: none;
  }
  .navbar__hamburg {
    display: none;
  }
}
/* language menu */
.language-selector {
  position: relative;
  cursor: pointer;
}

.language-selector__toggle {
  display: flex;
  flex-direction: row;
  gap: var(--spacing-sm);
}

.language-selector__toggle i {
  margin-top: 0.3em;
}

.language-selector__list {
  position: absolute;
  z-index: 100;
}

.language-selector__list.hidden {
  display: none;
}

/* hamburg */
#hamburg {
  display: none;
}

.navbar__hamburg {
  position: fixed;
  top: 0.3rem;
  right: var(--spacing-sm);
  z-index: 100;
  align-items: center;
  justify-content: center;
  width: var(--hamburg-size);
  height: var(--hamburg-size);
  cursor: pointer;
}

.navbar__hamburg .line {
  position: absolute;
  display: block;
  width: var(--hamburg-size);
  height: 4px;
  background: var(--mainColor);
  transform-origin: center;
  transition: transform 350ms ease-in;
}

.navbar__hamburg .line:nth-child(1) {
  transform: translatey(calc(var(--hamburg-size) / -6));
}

.navbar__hamburg .line:nth-child(2) {
  transform: scale(0);
}

.navbar__hamburg .line:nth-child(3) {
  transform: translatey(calc(var(--hamburg-size) / 6));
}

.navbar__hamburg.active .line:nth-child(1) {
  width: var(--hamburg-size);
  transform: translatex(var(--hamburg-size-tenth)) rotate(-45deg);
}

.navbar__hamburg.active .line:nth-child(3) {
  width: var(--hamburg-size);
  transform: translatex(var(--hamburg-size-tenth)) rotate(45deg);
}

/* the banner's X floats over the hero image; the navbar's own hamburger sits on white */
.banner .navbar__hamburg .line {
  background: white;
}

/* scroll buttons */
#scrollup, #scrolldown {
  bottom: var(--spacing-xl);
  right: var(--spacing-lg);
  z-index: 100;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

#scrollup svg,
#scrolldown svg {
  height: var(--hamburg-size);
  width: var(--hamburg-size);
}

/* white with a black outline, so they show over any image or text they float above;
   an unblurred, unshifted shadow only darkens the anti-aliased edge: a thin, crisp outline */
#scrollup, #scrolldown, .banner .navbar__hamburg {
  filter: drop-shadow(0 0 0 #000);
}

#scrollup {
  display: none;
  position: fixed;
  transform: rotate(180deg);
}

#scrollup.show {
  display: flex;
}

#scrolldown {
  position: absolute;
}

/* subnav */
.subnav {
  font-size: var(--fs-lg);
  padding: var(--spacing-sm) 0;
  background: #fff;
}

@media screen and (min-width: 64rem) {
  .subnav {
    position: sticky;
    top: 0;
    z-index: 20;
  }
  .subnav ul {
    display: flex;
    flex-direction: row;
    gap: var(--spacing-lg);
  }
  .subnav.border {
    border-bottom: 1px solid var(--borderColor);
  }
}
/* footer */
footer {
  padding: var(--spacing-2xl) calc(2 * var(--spacing-2xl));
}

footer nav ul {
  width: fit-content;
  margin-left: auto;
}

.banner {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-areas: "image" "overlay";
  grid-template-rows: auto auto;
  grid-template-columns: 1fr;
  overflow: hidden;
}

.banner .figure-wrapper,
.banner__content {
  grid-area: image;
}

.banner .figure-wrapper figure img {
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.banner__overlay {
  height: auto;
  grid-area: overlay;
  display: flex;
  flex-direction: column;
  padding: var(--spacing-layout);
  padding-bottom: 0;
}

.banner__brand {
  min-height: var(--navbar-height);
  display: flex;
  align-items: center;
}

.banner__spacer {
  flex-grow: 1;
}

.banner__title {
  font-size: var(--fs-2xl);
  margin: 0;
}

.banner__subtitle {
  margin-top: 0.5em;
  font-size: var(--fs-md);
  font-weight: 300;
}

@media screen and (min-width: 64rem) {
  .banner {
    height: 100vh;
    grid-template-areas: "overlay image";
    grid-template-columns: minmax(auto, 1fr) 2fr;
    grid-template-rows: 1fr;
  }
  .banner__overlay {
    height: 100vh;
    border-bottom: 1px solid var(--borderColor);
    padding: 0 var(--spacing-layout) var(--spacing-md) var(--spacing-layout);
  }
  .banner__title {
    font-size: var(--fs-3xl);
  }
  .banner__title,
  .banner__subtitle {
    color: var(--mainColor);
  }
  .banner .figure-wrapper figure {
    height: 100vh;
  }
  .banner .figure-wrapper figure img {
    height: 100vh;
  }
}
@media screen and (max-width: 64rem) {
  .banner .figure-wrapper figure {
    aspect-ratio: 3/4;
  }
  #scrolldown {
    display: none;
  }
}
.grid-12 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: auto;
  gap: var(--spacing-sm);
}

.grid-12 > * {
  display: block;
}

.grid-12.no-captions .figure-caption {
  display: none;
}

/* Base Fractional Widths */
.full, .two3, .one2, .one3 {
  grid-column: 1/-1;
}

/* Layout Separators */
.separator {
  border-top: 1px solid var(--borderColor);
  grid-column: 1/-1 !important;
  display: grid;
  grid-template-columns: subgrid;
}

.separator > * {
  grid-column: 1/-1;
}

@media screen and (max-width: 64rem) { /* < lg */
  .grid-12 {
    row-gap: var(--spacing-lg);
  }
  .index .one4 {
    width: 100%;
  }
}
@media screen and (min-width: 64rem) { /* DESKTOP */
  .grid-12 {
    grid-template-columns: repeat(12, 1fr);
  }
  .grid-12 > .center {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100% !important;
  }
  .one6.clear {
    grid-column: 1/span 2;
  }
  .one4.clear {
    grid-column: 1/span 3;
  }
  .one3.clear {
    grid-column: 1/span 4;
  }
  .one2.clear {
    grid-column: 1/span 6;
  }
  .two3.clear {
    grid-column: 1/span 8;
  }
  .one6 {
    grid-column: span 2;
  }
  .one4 {
    grid-column: span 3;
  }
  .one3 {
    grid-column: span 4;
  }
  .one2 {
    grid-column: span 6;
  }
  .two3 {
    grid-column: span 8;
  }
  .separator.one6 > * {
    grid-column: span 2;
  }
  .separator.one4 > * {
    grid-column: span 3;
  }
  .separator.one3 > * {
    grid-column: span 4;
  }
  .separator.one2 > * {
    grid-column: span 6;
  }
  .separator.two3 > * {
    grid-column: span 8;
  }
  .one6.clear {
    grid-column: span 2/-1;
  }
  .one4.right {
    grid-column: span 3/-1;
  }
  .one3.right {
    grid-column: span 4/-1;
  }
  .one2.right {
    grid-column: span 6/-1;
  }
  .two3.right {
    grid-column: span 8/-1;
  }
  /* Separator Overrides */
  .separator,
  .grid-12 .full {
    grid-column: 1/-1 !important;
  }
  /* Image Cropping Helpers */
  .crop img {
    min-height: 100%;
    object-fit: cover;
  }
  .crop.one2 img {
    height: 28vw;
  }
  .crop.one3 img {
    height: 19vw;
  }
  .crop.one4 img {
    height: 15vw;
  }
  .topmargin {
    margin-top: 5em !important;
  }
  figure.margin { /* TODO the css class is lying! */
    padding-top: var(--spacing-xl);
  }
  figcaption {
    text-align: left !important;
  }
}
.dynamic-flow-element {
  display: flex;
  flex-direction: column;
  grid-column: span 12;
}

@media screen and (min-width: 64rem) { /* < lg */
  .dynamic-flow-element {
    grid-column: span 8;
  }
}
@media screen and (min-width: 96rem) {
  .dynamic-flow-element {
    grid-column: span 6;
  }
}
.w-content {
  width: fit-content;
}

.h-content {
  height: fit-content;
}

.col {
  display: flex;
  flex-direction: column;
}

.row {
  display: flex;
  flex-direction: row;
}

.wrapped {
  flex-wrap: wrap;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 40rem) { /* lg */
  .mobile-col {
    display: flex;
    flex-direction: column !important;
  }
  .mobile-row {
    display: flex;
    flex-direction: row !important;
  }
  .mobile-aspect-3-4.figure-wrapper {
    aspect-ratio: 3/4;
  }
  .mobile-aspect-3-4.figure-wrapper > figure {
    width: 100%;
    height: 100%;
  }
  .mobile-mb-m {
    margin-bottom: var(--spacing-md);
  }
}
@media screen and (max-width: 64rem) {
  .pc-only {
    display: none !important;
  }
}
/* complement of .pc-only: hidden above the same breakpoint, left alone below it */
@media screen and (min-width: 64.01rem) {
  .mobile-only {
    display: none !important;
  }
}
.m-0 {
  margin: 0px !important;
}

.p-0 {
  padding: 0px !important;
}

.gap-s {
  gap: var(--spacing-xs);
}

.gap-m {
  gap: var(--spacing-md);
}

.gap-l {
  gap: var(--spacing-2xl);
}

.row-gap-s {
  row-gap: var(--spacing-xs);
}

.row-gap-m {
  row-gap: var(--spacing-md);
}

.row-gap-l {
  row-gap: var(--spacing-2xl);
}

.col-gap-s {
  column-gap: var(--spacing-xs);
}

.col-gap-m {
  column-gap: var(--spacing-md);
}

.col-gap-l {
  column-gap: var(--spacing-2xl);
}

.m-a {
  margin: auto;
}

.mx-a {
  margin-inline: auto;
}

.my-a {
  margin-block: auto;
}

.mt-a {
  margin-top: auto;
}

.mr-a {
  margin-right: auto;
}

.mb-a {
  margin-bottom: auto;
}

.ml-a {
  margin-left: auto;
}

.m-s {
  margin: var(--spacing-sm);
}

.mx-s {
  margin-inline: var(--spacing-sm);
}

.my-s {
  margin-block: var(--spacing-sm);
}

.mt-s {
  margin-top: var(--spacing-sm);
}

.mr-s {
  margin-right: var(--spacing-sm);
}

.mb-s {
  margin-bottom: var(--spacing-sm);
}

.ml-s {
  margin-left: var(--spacing-sm);
}

.m-m {
  margin: var(--spacing-md);
}

.mx-m {
  margin-inline: var(--spacing-md);
}

.my-m {
  margin-block: var(--spacing-md);
}

.mt-m {
  margin-top: var(--spacing-md);
}

.mr-m {
  margin-right: var(--spacing-md);
}

.mb-m {
  margin-bottom: var(--spacing-md);
}

.ml-m {
  margin-left: var(--spacing-md);
}

.m-l {
  margin: var(--spacing-lg);
}

.mx-l {
  margin-inline: var(--spacing-lg);
}

.my-l {
  margin-block: var(--spacing-lg);
}

.mt-l {
  margin-top: var(--spacing-lg);
}

.mr-l {
  margin-right: var(--spacing-lg);
}

.mb-l {
  margin-bottom: var(--spacing-lg);
}

.ml-l {
  margin-left: var(--spacing-lg);
}

.m-xl {
  margin: var(--spacing-xl);
}

.mx-xl {
  margin-inline: var(--spacing-xl);
}

.my-xl {
  margin-block: var(--spacing-xl);
}

.mt-xl {
  margin-top: var(--spacing-xl);
}

.mr-xl {
  margin-right: var(--spacing-xl);
}

.mb-xl {
  margin-bottom: var(--spacing-xl);
}

.ml-xl {
  margin-left: var(--spacing-xl);
}

.m-2xl {
  margin: var(--spacing-2xl);
}

.mx-2xl {
  margin-inline: var(--spacing-2xl);
}

.my-2xl {
  margin-block: var(--spacing-2xl);
}

.mt-2xl {
  margin-top: var(--spacing-2xl);
}

.mr-2xl {
  margin-right: var(--spacing-2xl);
}

.mb-2xl {
  margin-bottom: var(--spacing-2xl);
}

.ml-2xl {
  margin-left: var(--spacing-2xl);
}

.p-a {
  padding: auto;
}

.px-a {
  padding-inline: auto;
}

.py-a {
  padding-block: auto;
}

.pt-a {
  padding-top: auto;
}

.pr-a {
  padding-right: auto;
}

.pb-a {
  padding-bottom: auto;
}

.pl-a {
  padding-left: auto;
}

.p-s {
  padding: var(--spacing-sm);
}

.px-s {
  padding-inline: var(--spacing-sm);
}

.py-s {
  padding-block: var(--spacing-sm);
}

.pt-s {
  padding-top: var(--spacing-sm);
}

.pr-s {
  padding-right: var(--spacing-sm);
}

.pb-s {
  padding-bottom: var(--spacing-sm);
}

.pl-s {
  padding-left: var(--spacing-sm);
}

.p-m {
  padding: var(--spacing-md);
}

.px-m {
  padding-inline: var(--spacing-md);
}

.py-m {
  padding-block: var(--spacing-md);
}

.pt-m {
  padding-top: var(--spacing-md);
}

.pr-m {
  padding-right: var(--spacing-md);
}

.pb-m {
  padding-bottom: var(--spacing-md);
}

.pl-m {
  padding-left: var(--spacing-md);
}

.p-l {
  padding: var(--spacing-lg);
}

.px-l {
  padding-inline: var(--spacing-lg);
}

.py-l {
  padding-block: var(--spacing-lg);
}

.pt-l {
  padding-top: var(--spacing-lg);
}

.pr-l {
  padding-right: var(--spacing-lg);
}

.pb-l {
  padding-bottom: var(--spacing-lg);
}

.pl-l {
  padding-left: var(--spacing-lg);
}

.max-lines-1, .max-lines-2, .max-lines-3, .max-lines-4, .max-lines-5 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.max-lines-1 {
  -webkit-line-clamp: 1;
  line-clamp: 1;
}

.max-lines-2 {
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.max-lines-3 {
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.max-lines-4 {
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

.max-lines-5 {
  -webkit-line-clamp: 5;
  line-clamp: 5;
}

.font-thin {
  font-weight: 200;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

.grid {
  display: grid;
}

.table {
  display: grid;
  width: 100%;
}

.table__row,
.table__header {
  display: grid;
  grid-column: 1/-1;
  grid-template-columns: subgrid;
  border-bottom: 1px solid var(--secondColor);
}

.table__header {
  font-weight: 600;
}

.table__cell {
  padding: 0.15em 0.3em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

:root {
  --tooltip-transition-speed: 0.15s;
}

[data-tooltip] {
  cursor: pointer;
}

#cursor-tooltip {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  max-width: 400px;
  pointer-events: none;
  background: #FFF;
  color: #000 !important;
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
  padding: 0.1em 0.2em;
  font-size: 0.8em;
  font-weight: 300;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--tooltip-transition-speed) ease, visibility var(--tooltip-transition-speed) ease, transform var(--tooltip-transition-speed) ease-out;
}

#cursor-tooltip.is-visible {
  opacity: 1;
  visibility: visible;
}
