@font-face {
  font-family: Syne;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/syne/Syne-400.woff2) format("woff2");
}
@font-face {
  font-family: Syne;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/syne/Syne-500.woff2) format("woff2");
}
@font-face {
  font-family: "Comforter Brush";
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/comforter-brush/ComforterBrush-400.woff2) format("woff2");
}
@font-face {
  font-family: Syne;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/syne/Syne-600.woff2) format("woff2");
}
@font-face {
  font-family: Syne;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/syne/Syne-700.woff2) format("woff2");
}
:root {
  --bg: #f9f9f9;
  --side: #444;
  --ink: #000;
  --mute: #767676;
  --card: #fff;
  --line: #e8e8e8;
  --w: 400px;
  --ap: 100px;
}
@media (max-width: 1600px) {
  :root {
    --w: 350px;
    --ap: 70px;
  }
}
* {
  box-sizing: border-box;
  margin: 0;
}
body {
  background: var(--bg);
  color: var(--mute);
  font:
    400 15px/25px Syne,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
/* sidebar */
aside {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--w);
  background: var(--side);
  color: #cfcfcf;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--ap);
}
.logo {
  white-space: nowrap;
  font:
    400 54px/1.2 "Comforter Brush",
    cursive;
  letter-spacing: 0;
  color: #fff;
  margin: 0;
}
aside nav {
  padding: 50px 0;
}
aside ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
aside li {
  margin: 0 0 10px;
}
aside li:last-child {
  margin: 0;
}
aside li a {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: normal;
  color: #bbb;
  text-transform: uppercase;
  padding: 0;
  line-height: 1.8;
  transition: 0.3s;
  cursor: pointer;
}
aside li a.on {
  color: #fff;
}
@media (hover: hover) {
  aside li a:hover {
    color: #fff;
  }
}
aside small {
  display: block;
  font-size: 15px;
  line-height: 25px;
  color: #bbb;
}
/* views */
main {
  margin-left: var(--w);
  min-height: 100vh;
  border-left: 1px solid #ebebeb;
}
.view {
  display: block;
  padding: 64px 60px 80px;
  animation: in 0.5s ease;
}
@keyframes in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
.t {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 44px;
}
/* hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: calc(100vh - 128px);
}
.lab {
  font-size: 17px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
h1.typed {
  font-weight: 700;
  font-size: 45px;
  line-height: 1.3;
  letter-spacing: normal;
  text-transform: uppercase;
  color: var(--ink);
  min-height: 3.9em;
}
h1.typed::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 0.9em;
  background: var(--ink);
  margin-left: 3px;
  vertical-align: -0.1em;
  animation: b 1s steps(1) infinite;
}
@keyframes b {
  50% {
    opacity: 0;
  }
}

.btn {
  cursor: pointer;
  display: inline-block;
  position: relative;
  overflow: hidden;
  background: #666;
  padding: 15px 35px;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  transform: translateY(100%);
  pointer-events: none;
  transition: 0.3s;
}
@media (hover: hover) {
  .btn:hover::before {
    transform: translateY(0);
  }
}
.btn .wrapper {
  display: block;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn .wrapper span {
  display: block;
  color: #fff;
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  transition: 0.3s;
}
.btn .after {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(100%);
}
@media (hover: hover) {
  .btn:hover .before {
    transform: translateY(-100%);
  }
}
@media (hover: hover) {
  .btn:hover .after {
    transform: translateY(0);
  }
}
.pic {
  perspective: 400px;
  justify-self: center;
  width: min(100%, 440px);
}
.pic-in {
  position: relative;
  transform: rotateY(-10deg);
  max-width: 80%;
  aspect-ratio: 4/5;
  margin: 0 auto;
}
.pic-in::before {
  position: absolute;
  content: "";
  inset: -15px -15px 15px 15px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  z-index: -1;
  transition: 0.3s;
}
.pic canvas {
  width: 100%;
  height: 100%;
  display: block;
  filter: grayscale(1);
}

/* what I do */

.box {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 32px;
  box-shadow: 0 2px 10px #0000000a;
}

.box h2,
.box h3 {
  font-weight: 600;
  font-size: 18px;
  line-height: 23px;
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink);
  margin: 10px 0;
}

/* portfolio */
.bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.filters {
  font-size: 15px;
}
.filters button {
  margin: 0 4px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.filters button.on {
  color: var(--ink);
}
@media (hover: hover) {
  .filters button:hover {
    color: var(--ink);
  }
}
.filters button:focus-visible {
  outline: 2px solid #666;
  outline-offset: 2px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--card);
  padding: 12px 12px 20px;
  box-shadow: 0 2px 12px #0000000d;
  border: 1px solid var(--line);
  cursor: pointer;
}
.card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  filter: grayscale(1);
  transition: 0.5s;
}
@media (hover: hover) {
  .card:hover img {
    filter: none;
  }
}
.card .ph {
  aspect-ratio: 3/4;
}
.card h2 {
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  margin: 16px 8px 0;
}
.card span {
  font-size: 15px;
  margin: 0 8px;
}

.t2 {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 28px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.two:last-of-type {
  border: 0;
}
.two p + p {
  margin-top: 14px;
}
.sk {
  margin-bottom: 22px;
}
.sk div {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
}
.sk i {
  display: block;
  height: 2px;
  background: #ddd;
  margin-top: 6px;
}
.sk i b {
  display: block;
  height: 2px;
  background: #555;
}
.lv {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.svc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc .box {
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: none;
  padding: 34px 30px;
  min-height: 240px;
}
@media (max-width: 1250px) {
  .svc {
    grid-template-columns: repeat(2, 1fr);
  }
}
.svc .ico {
  display: block;
  width: 40px;
  height: 40px;
  color: #555;
  margin-bottom: 22px;
}
.svc h2 {
  margin: 0 0 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.svc ul {
  list-style: none;
  padding: 0;
}
.svc li {
  font-size: 15px;
  padding: 3px 0 3px 16px;
  position: relative;
}
.svc li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #bbb;
}
.nt {
  font-size: 13px;
  color: #a00;
  margin-top: 12px;
}

@media (max-width: 1100px) {
  .two {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
@media (max-width: 900px) {
  .two,
  .svc {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
.pd {
  list-style: none;
  padding: 0;
}
.pd li {
  padding: 0 0 10px;
  font-size: 15px;
}
.pd .pl {
  color: var(--ink);
  font-weight: 500;
  display: inline-block;
  min-width: 100px;
}
.tl {
  list-style: none;
  padding: 0;
}
.tl li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 25px;
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.tl h3 {
  font-weight: 600;
  font-size: 18px;
  line-height: 23px;
  color: var(--ink);
  margin: 0;
}
.tl .info span {
  font-size: 15px;
}
.tl .year span {
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 5px 20px;
  font-size: 15px;
  white-space: nowrap;
}

.tbar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.tbar .t2 {
  margin-bottom: 28px;
}
.arr button {
  font:
    400 24px/1 Syne,
    sans-serif;
  width: 40px;
  height: 34px;
  margin-left: 6px;
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--mute);
  cursor: pointer;
  transition: 0.3s;
}
@media (hover: hover) {
  .arr button:hover {
    background: #666;
    color: #fff;
  }
}
.tview {
  overflow: hidden;
  margin: 0 -12px;
}
.ttrack {
  display: flex;
  transition: transform 0.6s ease;
}
.ttrack.nt0 {
  transition: none;
}
.sl {
  flex: 0 0 50%;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
}
.sl .box {
  padding: 28px;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sl p {
  font-size: 15px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
}
.det {
  display: flex;
  align-items: center;
}
.av {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.inf {
  padding-left: 20px;
}
.inf h3 {
  font-weight: 600;
  font-size: 18px;
  line-height: 23px;
  color: var(--ink);
  margin: 0;
  text-transform: none;
  letter-spacing: normal;
}
.inf span {
  font-size: 14px;
  color: var(--mute);
}
@media (max-width: 900px) {
  .sl {
    flex-basis: 100%;
  }
}
.mq {
  overflow: hidden;
}
.mt {
  display: flex;
  width: max-content;
  list-style: none;
  padding: 0;
  animation: mq 47s linear infinite;
}
@media (hover: hover) {
  .mq:hover .mt {
    animation-play-state: paused;
  }
}
@keyframes mq {
  to {
    transform: translateX(-50%);
  }
}
.mt li {
  flex: none;
  width: 219px;
  height: 101px;
  margin-right: 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mt img {
  max-width: 160px;
  max-height: 46px;
  filter: grayscale(1);
  mix-blend-mode: multiply;
  opacity: 0.8;
  transition:
    filter 0.3s,
    opacity 0.3s;
}
@media (hover: hover) {
  .mt li:hover img {
    filter: none;
    opacity: 1;
  }
}
.tl .dt {
  display: block;
  font-size: 13px;
  color: #aaa;
  line-height: 20px;
}
.tl dfn {
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  color: var(--mute);
}
.skg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(8, auto);
  grid-auto-flow: column;
  column-gap: 56px;
}
@media (max-width: 900px) {
  .skg {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
  }
}
.xi {
  display: grid;
  grid-template-columns: 30% 1fr;
}
.xl {
  text-align: right;
  padding-right: 32px;
}
.xl h2 {
  font-weight: 600;
  font-size: 18px;
  line-height: 23px;
  color: var(--ink);
  margin: 0;
}
.xl span {
  font-size: 15px;
}
.xr {
  border-left: 1px solid rgba(0, 0, 0, 0.2);
  padding-left: 32px;
  padding-bottom: 44px;
}
.xi:last-child .xr {
  padding-bottom: 0;
}
.xrole {
  position: relative;
  padding-bottom: 28px;
}
.xrole:last-child {
  padding-bottom: 0;
}
.xrole::before {
  content: "";
  position: absolute;
  left: -39px;
  top: 5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid #444;
  background: var(--bg);
  box-sizing: border-box;
}
.xrole h2 {
  font-weight: 600;
  font-size: 18px;
  line-height: 23px;
  color: var(--ink);
  margin: 0;
}
.xd {
  display: block;
  font-size: 14px;
  color: #aaa;
}
#about .two p strong {
  font-weight: 600;
  color: var(--ink);
}
.xrole p {
  margin: 8px 0 6px;
}
.xrole ul {
  list-style: none;
  padding: 0;
}
.xrole li {
  padding: 2px 0 2px 16px;
  position: relative;
}
.xrole li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #bbb;
}
@media (max-width: 900px) {
  .xi {
    grid-template-columns: 1fr;
  }
  .xl {
    text-align: left;
    padding: 0 0 12px;
  }
  .xr {
    padding-left: 24px;
  }
  .xrole::before {
    left: -31px;
  }
}
.ct {
  list-style: none;
  padding: 0;
}
.ct li {
  display: grid;
  grid-template-columns: 112px 190px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.ct li:first-child {
  padding-top: 0;
}
.ct b {
  font-weight: 600;
  color: var(--ink);
}
.ct .e2 {
  grid-template-columns: 112px 1fr;
}
.ct .e2 b,
.ct .e2 span {
  display: block;
}
.ct .e2 div > span {
  margin-top: 2px;
}
@media (max-width: 560px) {
  .ct li {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
.stmt {
  font-weight: 600;
  font-size: 24px;
  line-height: 34px;
  color: var(--ink);
  max-width: 900px;
  margin: 0 0 44px;
}
@media (max-width: 560px) {
  .stmt {
    font-size: 19px;
    line-height: 28px;
  }
}
.ph {
  aspect-ratio: 3/2;
  background: #ececec;
  color: #999;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 1250px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* cursor: a large greyed circle over links and cards (white + difference blend so it shows on light and dark) */
.mouse-cursor {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  border-radius: 50%;
  transform: translateZ(0);
  visibility: hidden;
  mix-blend-mode: difference;
}
.cursor-inner {
  margin: -3px 0 0 -3px;
  width: 6px;
  height: 6px;
  z-index: 100;
  background: #fff;
  opacity: 0;
  transition:
    width 0.3s ease-in-out,
    height 0.3s ease-in-out,
    margin 0.3s ease-in-out,
    opacity 0.3s ease-in-out;
}
.cursor-inner.cursor-hover {
  margin: -40px 0 0 -40px;
  width: 80px;
  height: 80px;
  opacity: 0.3;
}
@media (pointer: coarse) {
  .mouse-cursor {
    display: none;
  }
}
/* portfolio card: white sweep on hover */
.thumb {
  position: relative;
  overflow: hidden;
}
.thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  transition: transform 0.6s;
  transform: scale3d(3.9, 1.4, 1) rotate3d(0, 0, 1, 45deg)
    translate3d(0, -100%, 0);
}
@media (hover: hover) {
  .thumb:hover::before {
    transform: scale3d(3.9, 1.4, 1) rotate3d(0, 0, 1, 45deg)
      translate3d(0, 100%, 0);
  }
}
.card:focus-visible {
  outline: 2px solid #666;
  outline-offset: 2px;
}
/* details panel */
.mb {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}
.mb.opened {
  opacity: 1;
  visibility: visible;
}
.mb-box {
  position: absolute;
  top: 70px;
  bottom: 70px;
  width: min(968px, calc(100vw - 150px));
  left: 50%;
  transform: translateX(-53%);
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}
.mb.opened .mb-box {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%);
}
.mb-close {
  position: absolute;
  left: 100%;
  top: 0;
  margin-left: 30px;
  z-index: 10;
}
.mb-close a {
  display: block;
  width: 40px;
  height: 40px;
  color: #fff;
  border: 2px solid #fff;
  position: relative;
  transition: 0.3s;
  cursor: pointer;
}
@media (hover: hover) {
  .mb-close a:hover {
    border-radius: 100%;
  }
}
.mb-close .ico {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 26px;
  transform: translate(-50%, -50%);
}
.mb-scroll {
  position: absolute;
  inset: 0;
  overflow-y: scroll;
  padding: 50px;
  scrollbar-width: thin;
  scrollbar-color: #bbb #fff;
}
.mb-scroll::-webkit-scrollbar {
  width: 11px;
}
.mb-scroll::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 10px;
  border: 3px solid #fff;
}
.mb-box::before,
.mb-box::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 50px;
  background: #fff;
  z-index: 5;
  pointer-events: none;
}
.mb-box::before {
  top: 0;
}
.mb-box::after {
  bottom: 0;
}
.mb-top {
  margin-bottom: 30px;
}
.mb-top img,
.mb-more img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}
.mb-top .ph {
  aspect-ratio: 3/2;
}
.mb-title {
  margin-bottom: 20px;
}
.mb-title h3,
.mb-title h1 {
  font-weight: 600;
  font-size: 20px;
  line-height: 26px;
  color: var(--ink);
  margin: 0 0 4px;
}
.mb-main {
  display: flex;
  margin-bottom: 60px;
}
.mb-text {
  width: 60%;
  padding-right: 40px;
}
.mb-text p {
  margin-bottom: 10px;
  opacity: 0.8;
}
.mb-text ul {
  margin: 0 0 10px 18px;
  opacity: 0.8;
}
.mb-text li {
  margin-bottom: 3px;
}
.mb-detail {
  width: 40%;
  padding-left: 40px;
}
.mb-detail ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mb-detail > ul > li {
  margin: 0 0 12px;
}
.mb-detail .first {
  font-weight: 600;
  color: var(--ink);
  display: block;
}
.mb-detail a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s;
}
@media (hover: hover) {
  .mb-detail a:hover {
    color: var(--ink);
  }
}
.mb-detail .share {
  margin-top: 6px;
}
.mb-detail .share li {
  display: inline-block;
  margin: 0 13px 0 0;
}
.mb-detail .share a {
  display: block;
}
.mb-detail .share .ico {
  display: block;
  width: 15px;
  height: 15px;
}
.mb-text .first {
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin-bottom: 6px;
  opacity: 1;
}
.mb-detail .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.mb-detail .tags li {
  display: block;
  margin: 0;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 3px;
  padding: 3px 10px;
  font-size: 13px;
  line-height: 20px;
  color: #666;
  background: #fff;
}
.mb-group {
  margin-bottom: 40px;
}
.mb-group h2 {
  font-weight: 600;
  font-size: 15px;
  line-height: 22px;
  color: var(--ink);
  margin: 0 0 16px;
  text-transform: none;
  letter-spacing: normal;
}
.mb-more .cap {
  display: block;
  font-size: 13px;
  color: #999;
  margin-top: 6px;
}
.mb-group .mb-more img {
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.mb-more {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.mb-more li:nth-child(3n + 1) {
  grid-column: 1/-1;
}
/* preloader */
#preloader {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100%;
  z-index: 99999;
  display: flex;
}
#preloader::before,
#preloader::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  height: 100%;
  z-index: -1;
  background: #000;
  transition: 0.3s;
}
#preloader::before {
  transform-origin: left;
}
#preloader::after {
  left: auto;
  right: 0;
  transform-origin: right;
}
#preloader .loader_line {
  margin: auto;
  width: 1px;
  height: 250px;
  position: relative;
  overflow: hidden;
  transition: 0.8s;
}
.loader_line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 100%;
  transform: translateY(-50%) scaleY(0);
  background: #fff;
  animation: lineheight 1000ms ease-in-out forwards;
}
.loader_line::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 100%;
  background: #999;
  transform: translateY(-100%);
  animation: lineround 1200ms linear 2000ms infinite;
}
.preloaded .loader_line::after {
  opacity: 0;
}
.preloaded .loader_line {
  opacity: 0;
  /* --grow (set in js/site.js) is the screen height divided by the line height: the line ends up as tall as the screen */
  transform: scaleY(var(--grow, 5));
}
.preloaded::before,
.preloaded::after {
  animation: preloadedzero 300ms ease-in-out 500ms forwards;
}
@keyframes preloadedzero {
  0% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
  }
}
@keyframes lineheight {
  0% {
    transform: translateY(-50%) scaleY(0);
  }
  100% {
    transform: translateY(-50%) scaleY(1);
  }
}
@keyframes lineround {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(200%);
  }
}
/* contact */
.ct-wrap {
  padding: 36px 0 30px;
}
.cinfo {
  margin-top: 60px;
}
.cinfo > ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 0 -40px;
  padding: 0;
  list-style: none;
}
.cinfo > ul > li {
  display: block;
  width: 25%;
  padding-left: 40px;
  margin-bottom: 40px;
}
.cinfo .li {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
}
.cinfo .li > span,
.cinfo .li > a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.cinfo .icon {
  display: block;
  width: 25px;
  height: 25px;
  margin: 0 auto 5px;
}
.csoc {
  margin: 0;
  padding: 0;
  list-style: none;
}
.csoc li {
  display: inline-block;
  margin-right: 3px;
}
.csoc li:last-child {
  margin-right: 0;
}
.csoc a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--mute);
  transition: 0.3s;
  line-height: 23px;
  font-size: 12px;
  text-align: center;
}
.csoc .ico {
  width: 12px;
  height: 12px;
}
@media (hover: hover) {
  .csoc a:hover {
    color: #000;
    border-color: #000;
  }
}
.cform {
  width: 100%;
  margin-bottom: 30px;
}
.cform ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 0 -15px;
  padding: 0;
  list-style: none;
}
.cform ul li {
  width: 50%;
  padding-left: 15px;
  margin-bottom: 15px;
}
.cform ul li.full {
  width: 100%;
}
.cform input,
.cform select {
  width: 100%;
  height: 50px;
  padding: 5px 20px;
  background: transparent;
  font: inherit;
  font-size: 13.333px;
  color: var(--mute);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0;
  box-sizing: border-box;
}
.cform select {
  padding-left: 15px;
}
.cform textarea {
  width: 100%;
  height: 120px;
  padding: 20px;
  background: transparent;
  resize: none;
  font: inherit;
  font-size: 13.333px;
  color: var(--mute);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0;
  box-sizing: border-box;
  display: block;
}
.cform input:focus-visible,
.cform select:focus-visible,
.cform textarea:focus-visible,
.cform button:focus-visible {
  outline: 2px solid #666;
  outline-offset: 2px;
}
.cform ::placeholder {
  color: #757575;
  opacity: 1;
}

.cmsg {
  font-size: 13px;
  line-height: 20px;
  margin: 0 0 15px 0;
}
.cmsg:empty {
  display: none;
}
.cmsg.err {
  color: #a00;
}
.rcnote {
  margin: 0;
  font-size: 12px;
  line-height: 18px;
  color: #777;
}
.rcnote a {
  text-decoration: underline;
}
/* the reCAPTCHA badge is replaced by the notice above, as Google allows */
.grecaptcha-badge {
  visibility: hidden;
}
.cmap {
  position: relative;
  height: 392px;
  overflow: hidden;
  background: #e5e5e5 url(../images/map/stuttgart-map.webp) center/cover
    no-repeat;
}
.cmap .pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 40px;
  margin: -40px 0 0 -14px;
}
.cmap .cr {
  position: absolute;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  padding: 1px 6px;
  font-size: 11px;
  line-height: 16px;
  color: #333;
}
.cmap .cr a {
  color: inherit;
}
@media (max-width: 1024px) {
  .cinfo > ul > li {
    width: 50%;
    margin-bottom: 20px;
  }
}
@media (max-width: 768px) {
  .cinfo > ul {
    margin-left: 0;
  }
  .cinfo > ul > li {
    width: 100%;
    padding-left: 0;
  }
  .cform ul {
    margin-left: 0;
  }
  .cform ul li {
    width: 100%;
    padding-left: 0;
  }
}
/* news */
.nl > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nl > ul > li {
  position: relative;
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 40px 0;
  transition: 0.3s;
}
@media (hover: hover) {
  .nl > ul:hover > li {
    opacity: 0.4;
  }
}
@media (hover: hover) {
  .nl > ul:hover > li:hover {
    opacity: 1;
  }
}
.nl > ul > li:first-child {
  padding-top: 0;
}
.nl > ul > li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.nli {
  display: flex;
  justify-content: space-between;
  position: relative;
}
.ntitle {
  width: 50%;
}
.ntitle h2,
.ntitle h3 {
  font-weight: 600;
  font-size: 24px;
  line-height: 31px;
  color: var(--ink);
  margin: 0 0 15px;
  text-transform: none;
  letter-spacing: normal;
}
.ntitle h2 a,
.ntitle h3 a {
  display: inline-block;
  color: var(--ink);
}
.nmeta {
  width: 50%;
  text-align: right;
  padding-left: 50px;
}
.nmeta ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nmeta li {
  display: inline-block;
  position: relative;
  margin-left: 12px;
}
.nmeta li:first-child {
  margin-left: 0;
}
.nmeta li::after {
  position: relative;
  content: "/";
  margin-left: 12px;
}
.nmeta li:last-child::after {
  display: none;
}
.nmeta a {
  color: var(--ink);
  text-decoration: none;
}
.nfull {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
}
.nfull:focus-visible {
  outline: 2px solid #666;
  outline-offset: 4px;
}
.nh {
  position: fixed;
  right: 180px;
  top: 50%;
  width: 400px;
  transform: translateY(-50%);
  perspective: 400px;
  z-index: 11;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.3s;
}
.nh.on {
  opacity: 1;
  visibility: visible;
}
.nh .nabs {
  transform: rotateY(-10deg);
}
.nh .nmain {
  position: relative;
  aspect-ratio: 3/4;
  background: #ececec;
  color: #999;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nh .nmain.has-img {
  background: none;
}
.nh .nmain img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nh .nmain::before {
  position: absolute;
  content: "";
  inset: -15px -15px 15px 15px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  z-index: -1;
}
.mb-news .ph,
.mb-scroll .ph {
  aspect-ratio: 2/1;
  margin-bottom: 30px;
}
.mb-news .nmeta,
.mb-scroll .nmeta {
  width: 100%;
  text-align: left;
  padding-left: 0;
}
.mb-news .ntitle,
.mb-scroll .ntitle {
  width: 100%;
}
.mb-news .ntitle h3,
.mb-news .ntitle h1,
.mb-scroll .ntitle h3 {
  font-size: 20px;
  line-height: 26px;
  margin: 15px 0;
  color: var(--ink);
}
/* posts: a comfortable reading column, also inside the pop-up panel (which has no .mb-news wrapper) */
.mb-news .ntext p,
.mb-scroll .ntext p {
  margin-bottom: 22px;
  line-height: 1.75;
  color: #555;
  opacity: 1;
}
/* post details: one strip between title and text, so the text gets the whole content width */
.mb-detail.nbar {
  width: 100%;
  padding: 0;
  margin: 0 0 34px;
  font-size: 14px;
}
.mb-detail.nbar > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 48px;
  padding: 18px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.mb-detail.nbar > ul > li {
  margin: 0;
}
.mb-detail.nbar .tags {
  margin-top: 4px;
}
.mb-detail.nbar .share {
  margin-top: 4px;
}
.mb-news .ntext,
.mb-scroll .ntext {
  width: 100%;
  font-size: 17px;
}
/* standalone post page: a wide hero image across the whole page, with one centred reading column below it */
.mb-page.mb-news-page {
  max-width: none;
}
.mb-page.mb-news-page > .t,
.mb-page.mb-news-page .mb-title,
.mb-page.mb-news-page .nbar,
.mb-page.mb-news-page .ntext,
.mb-page.mb-news-page .nt {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.mb-page.mb-news-page .mb-top {
  margin: 0 -60px 40px;
}
.mb-page.mb-news-page .mb-top img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  max-height: min(80vh, 780px);
  object-fit: cover;
}
@media (max-width: 900px) {
  .mb-page.mb-news-page .mb-top {
    margin: 0 -22px 30px;
  }
  .mb-page.mb-news-page .mb-top img {
    max-height: none;
  }
}
.mb-news .mb-title h1,
.mb-scroll .mb-title h3 {
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 6px;
}
.mb-news .ntext p:last-child,
.mb-scroll .ntext p:last-child {
  margin-bottom: 0;
}
.mb-news .ntext a,
.mb-scroll .ntext a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(0, 0, 0, 0.3);
  text-underline-offset: 3px;
}
@media (hover: hover) {
  .mb-news .ntext a:hover,
  .mb-scroll .ntext a:hover {
    text-decoration-color: currentColor;
  }
}
@media (max-width: 1024px) {
  .nli {
    flex-direction: column-reverse;
  }
  .nmeta {
    width: 100%;
    text-align: left;
    padding-left: 0;
    margin-bottom: 15px;
  }
  .ntitle {
    width: 100%;
  }
  .nh {
    display: none;
  }
}
/* image zoom (lightbox) */
.mb-top img:focus-visible,
.mb-more img:focus-visible {
  outline: 2px solid #666;
  outline-offset: 2px;
}
.lb {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(0, 0, 0, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}
.lb.opened {
  opacity: 1;
  visibility: visible;
}
.lb-stage {
  position: absolute;
  inset: 0;
  display: flex;
  padding: 72px 110px 64px;
  overflow: auto;
  touch-action: pan-x pan-y pinch-zoom;
}
.lb-stage img {
  display: block;
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  background: #fff;
  cursor: zoom-in;
}
.lb.zoomed .lb-stage {
  padding: 72px 0 0;
}
.lb.zoomed .lb-stage img {
  max-width: none;
  max-height: none;
  cursor: zoom-out;
}
.lb-btn {
  position: absolute;
  z-index: 2;
  width: 40px;
  height: 40px;
  color: #fff;
  border: 2px solid #fff;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: 0.3s;
}
@media (hover: hover) {
  .lb-btn:hover {
    border-radius: 100%;
  }
}
.lb-btn .ico {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 26px;
  transform: translate(-50%, -50%);
}
.lb-close {
  top: 16px;
  right: 16px;
}
.lb-prev,
.lb-next {
  top: 50%;
  margin-top: -20px;
}
.lb-prev {
  left: 34px;
}
.lb-next {
  right: 34px;
}
.lb.zoomed .lb-prev,
.lb.zoomed .lb-next {
  opacity: 0.6;
}
.lb.single .lb-prev,
.lb.single .lb-next {
  display: none;
}
.lb-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  text-align: center;
  color: #fff;
  font-size: 13px;
  line-height: 20px;
  padding: 0 110px 22px;
  pointer-events: none;
  text-shadow: 0 0 6px #000;
}
.lb-hint {
  position: absolute;
  left: 20px;
  top: 26px;
  z-index: 2;
  color: #fff;
  opacity: 0.7;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@media (max-width: 700px) {
  .lb-stage {
    padding: 64px 12px 64px;
  }
  .lb-prev {
    left: 10px;
    top: auto;
    bottom: 14px;
    margin: 0;
  }
  .lb-next {
    right: 10px;
    top: auto;
    bottom: 14px;
    margin: 0;
  }
  .lb-cap {
    padding: 0 64px 20px;
  }
  .lb-hint {
    display: none;
  }
}
@media (max-width: 1100px) {
  .mb-box {
    width: calc(100vw - 32px);
    top: 64px;
    bottom: 16px;
  }
  .mb-close {
    left: auto;
    right: 0;
    top: -52px;
    margin: 0;
  }
  .mb-scroll {
    padding: 40px 24px;
  }
  .mb-box::before,
  .mb-box::after {
    height: 40px;
  }
}
@media (max-width: 700px) {
  .mb-main {
    flex-direction: column;
    gap: 24px;
  }
  .mb-text,
  .mb-detail {
    width: 100%;
    padding: 0;
  }
  .mb-more {
    grid-template-columns: 1fr;
  }
}
body.mb-open {
  overflow: hidden;
}
.fxs {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.fx {
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
}
.fx h3 {
  font-weight: 600;
  font-size: 25px;
  color: var(--ink);
  margin: 0;
}
.fx span {
  font-size: 15px;
}
@media (max-width: 900px) {
  .fxs {
    grid-template-columns: 1fr 1fr;
  }
  .tl li {
    flex-wrap: wrap;
  }
}
@media (max-width: 900px) {
  .view {
    padding: 36px 22px;
  }
  .hero,
  .grid {
    grid-template-columns: 1fr;
  }
}

/* static multi-page build */
.pl-skip #preloader {
  display: none;
}
a.card {
  display: block;
}
.mb-page {
  max-width: 968px;
}
.mb-page .mb-title {
  margin-bottom: 20px;
}
.t a,
.mb-page .t a {
  color: inherit;
}
.mb-pagelink {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-top: 12px;
  font-size: 13px;
  line-height: 20px;
  color: var(--mute);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
@media (hover: hover) {
  .mb-pagelink:hover {
    color: var(--ink);
  }
}
button.btn {
  border: 0;
  font: inherit;
  color: inherit;
  margin: 0;
  cursor: pointer;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100000;
  background: #000;
  color: #fff;
  padding: 10px 16px;
  font-size: 13px;
}
.skip:focus {
  left: 8px;
}
/* reduced motion: animations and transitions become instant, but still end, so scripts waiting for transitionend keep working */
@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .mq {
    overflow-x: auto;
  }
  .mt {
    animation: none !important;
  }
}
.line_effect {
  text-decoration: none;
  color: currentcolor;
  display: inline-block;
  position: relative;
}
.line_effect::after {
  content: "";
  width: 0;
  height: 1px;
  position: absolute;
  left: auto;
  right: 0;
  bottom: 3px;
  transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  background: currentcolor;
}
@media (hover: hover) {
  .line_effect:hover::after {
    width: 100%;
    left: 0;
    right: auto;
  }
}
aside small a {
  color: #bbb;
  font-weight: 500;
  transition: 0.3s;
}
@media (hover: hover) {
  aside small a:hover {
    color: #fff;
  }
}

/* top bar and menu button (windows up to 1024 px wide; the sidebar is hidden) */
.topbar,
.mobile_menu {
  display: none;
}
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: #fff;
  z-index: 14;
}
.topbar_inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}
.topbar .logo {
  font-size: 38px;
  line-height: 1;
  letter-spacing: 0;
  color: #000;
  margin: 0;
}
.trigger {
  position: relative;
  top: 5px;
}
.hamburger {
  font: inherit;
  display: inline-block;
  overflow: visible;
  margin: 0;
  padding: 0;
  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  text-transform: none;
  color: inherit;
  border: 0;
  background: transparent;
}
.hamburger-box {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 24px;
}
.hamburger-inner {
  top: 2px;
  display: block;
}
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  position: absolute;
  width: 30px;
  height: 2px;
  border-radius: 4px;
  background: #000;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}
.hamburger-inner::before,
.hamburger-inner::after {
  display: block;
  content: "";
}
.hamburger-inner::before {
  top: 10px;
  transition-property: transform, opacity;
}
.hamburger-inner::after {
  top: 20px;
}
.hamburger.is-active .hamburger-inner {
  transform: translate3d(0, 10px, 0) rotate(45deg);
}
.hamburger.is-active .hamburger-inner::before {
  transform: rotate(-45deg) translate3d(-5.71429px, -6px, 0);
  opacity: 0;
}
.hamburger.is-active .hamburger-inner::after {
  transform: translate3d(0, -20px, 0) rotate(-90deg);
}
.mobile_menu {
  position: fixed;
  top: 50px;
  bottom: 0;
  right: -200px;
  width: 200px;
  overflow-y: auto;
  z-index: 15;
  background: #fff;
  transition: 0.3s;
}
.mobile_menu.opened {
  right: 0;
}
.mobile_menu ul {
  list-style: none;
  margin: 0;
  padding: 100px 20px 0;
  text-align: right;
}
.mobile_menu li {
  margin: 0 0 7px;
}
.mobile_menu a {
  display: inline-block;
  color: #000;
  padding: 4px 0;
}
.mobile_menu a.on {
  font-weight: 600;
}
@media (max-width: 1024px) {
  aside {
    display: none;
  }
  .topbar,
  .mobile_menu {
    display: block;
  }
  main {
    margin: 0;
    border-left: 0;
    padding-top: 50px;
  }
}

/* touch devices: no cursor circle, no sticky hover, 16 px form text (stops iOS zooming into a field), no scroll behind overlays */
@media (max-width: 1024px), (pointer: coarse) {
  .mouse-cursor {
    display: none;
  }
}
@media (max-width: 1024px), (pointer: coarse) {
  .cform input,
  .cform select,
  .cform textarea {
    font-size: 16px;
  }
}
body.lb-open {
  overflow: hidden;
}
.lb-stage,
.mb-scroll {
  overscroll-behavior: contain;
}
@media (max-height: 520px) {
  .mobile_menu ul {
    padding-top: 24px;
  }
}
@media (max-height: 500px) {
  .lb-stage {
    padding: 44px 84px 30px;
  }
  .lb-cap {
    padding: 0 84px 8px;
  }
}
@media (max-width: 1024px) {
  h1.typed {
    font-size: 35px;
  }
}
@media (max-width: 768px) {
  h1.typed {
    font-size: 25px;
  }
}
@media (max-width: 768px) {
  .bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .bar .t {
    margin-bottom: 12px;
  }
}
.mb-title span {
  display: block;
}
.ntitle .mb-pagelink {
  margin: 8px 0 34px;
  padding: 6px 0 4px;
  font-size: 14px;
  letter-spacing: 0.02em;
}
