@font-face {
  font-family: "SuisseScreen";
  src: url("../fonts/SuisseIntlMono-Regular.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "SuisseScreen";
  src: url("../fonts/SuisseIntl-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "SuisseScreen";
  src: url("../fonts/SuisseIntl-BoldItalic.woff") format("woff");
  font-weight: 700;
  font-style: italic;
}

/* Utilities */
.font-screen {
  font-family: "SuisseScreen", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.font-screen-bold {
  font-family: "SuisseScreen", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.font-screen-bold-italic {
  font-family: "SuisseScreen", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.text-large,
.text-large-bold {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

/* Base */
body {
  font-family: "SuisseScreen", sans-serif;
  font-weight: 500;
  font-style: normal;
  color: #000;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: #fff;
}

a,
.hero-link,
.custom-link,
.project-link-text a,
.imprint-content a,
.imprint-text a,
.footer-links .hero-link {
  color: #000;
  text-decoration-color: #000;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

a:hover,
.hero-link:hover,
.custom-link:hover,
.project-link-text a:hover,
.imprint-content a:hover,
.imprint-text a:hover,
.footer-links .hero-link:hover {
  filter: blur(2px);
  opacity: 1;
}

/* Intro */
.intro-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  overflow-y: auto;
  background: #fff;
  z-index: 1;
  font-family: "SuisseScreen", sans-serif;
}

.intro-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0.06) 38%,
      rgba(255, 255, 255, 0.26) 100%
    );
  background-size: 100% 100%;
  opacity: 1;
}

.intro-pixel-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  filter: saturate(1.08) contrast(1.12) brightness(0.9);
}

.intro-text {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  text-align: left;
  color: #000;
  font-family: "SuisseScreen", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.intro-text h1 {
  margin: 0 0 2rem 0;
  font-family: "SuisseScreen", sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: #000;
}

.intro-text p,
.intro-copy,
.intro-copy p {
  font-family: "SuisseScreen", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: clamp(1.2rem, 1.9vw, 1.85rem);
  line-height: 1.55;
  color: #000;
}

.intro-copy p {
  margin-bottom: 1rem;
}

.intro-extra-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 2rem;
}

.intro-copy a {
  font-weight: 700;
  font-style: normal;
  text-decoration: none;
  box-shadow: inset 0 -0.22em 0 rgba(0, 0, 0, 0.16);
  padding: 0 0.12em;
  margin: 0 -0.12em;
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease,
    opacity 0.25s ease,
    transform 0.25s ease;
}

.intro-copy a:hover,
.intro-copy a:focus-visible {
  filter: none;
  opacity: 1;
  color: #fff;
  box-shadow: inset 0 -1.05em 0 #000;
}

.intro-extra-links a:hover,
.intro-extra-links a:focus-visible {
  transform: none;
}

.hover-trigger {
  position: relative;
  display: inline-block;
  cursor: pointer;
  z-index: 6;
  --hover-shift-x: 0px;
}

.hover-image {
  position: absolute;
  top: 100%;
  left: 50%;
  width: clamp(260px, 28vw, 520px);
  max-height: min(68vh, 36rem);
  height: auto;
  opacity: 0;
  transform: translate(calc(-50% + var(--hover-shift-x)), 18px) scale(0.92) rotate(-1.5deg);
  transform-origin: center top;
  transition:
    opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.58s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.42s ease;
  border-radius: 1rem;
  pointer-events: none;
  z-index: 10;
  filter: blur(10px);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.16);
}

.hover-trigger:hover .hover-image,
.hover-trigger:focus-visible .hover-image {
  opacity: 1;
  filter: blur(0);
  transform: translate(calc(-50% + var(--hover-shift-x)), 0) scale(1) rotate(0deg);
}

/* Project Scroller */
.project-scroller {
  position: relative;
  width: 100vw;
  height: calc(100vh * var(--count-cards));
  background: #fff;
}

.project-card {
  position: fixed;
  top: 100vh;
  left: 0;
  width: 100%;
  height: 100vh;
  padding-top: calc(2rem * (var(--card-index, 1) * 2));
  padding-right: calc(2rem * (var(--card-index, 1) * 2));
  padding-bottom: 0;
  padding-left: calc(2rem * (var(--card-index, 1) * 2));
  background-color: transparent;
  z-index: 2;
}

.project-card-inner {
  height: 100%;
  padding: 2rem;
  display: flex;
  gap: 2.5rem;
  background: var(--project-bg, #ffffff);
  border-radius: 2rem 2rem 0 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: transform 0.25s ease;
  min-height: 0;
  overflow: hidden;
}

.project-card-inner:hover {
  transform: translateY(-4px);
}

.project-card-content {
  flex: 3;
  min-width: 36%;
  max-width: 42%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding-right: clamp(0.2rem, 0.8vw, 0.85rem);
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.22) transparent;
}

.project-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  font-family: "SuisseScreen", sans-serif;
}

.project-card-header > div {
  flex-shrink: 0;
}

.project-card-header h2,
.project-card-header h2.text-large {
  margin: 0;
  max-width: 11ch;
  font-family: "SuisseScreen", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: clamp(2rem, 2.8vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #000;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.project-card-header span,
.project-card-header span.text-large {
  white-space: nowrap;
  font-family: "SuisseScreen", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: clamp(2rem, 2.8vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #000;
}

.project-card-description {
  max-width: 33rem;
  margin-top: 0;
  font-family: "SuisseScreen", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 1.05rem;
  line-height: 1.72;
  color: #000;
  padding-bottom: 0.5rem;
}

.project-card-description p {
  margin: 0 0 1.15rem 0;
  hyphens: auto;
  overflow-wrap: anywhere;
}

.project-card-description p:last-child {
  margin-bottom: 0;
}

.project-link-container {
  margin-top: 2rem;
}

.project-link-text {
  margin: 0;
  font-family: "SuisseScreen", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.45;
  text-decoration: underline;
  text-underline-offset: 0.14em;
  color: #000;
}

/* Slider */
.project-card-slider {
  flex: 4;
  min-width: 52%;
  min-height: 55vh;
  height: calc(100% - 2rem);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  border-radius: 1rem;
  align-self: stretch;
  min-height: 0;
}

.slider {
  display: flex;
  width: auto;
  height: auto;
}

.slide {
  width: 100%;
  flex-shrink: 0;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
}

.project-image-trigger {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 1rem;
}

.project-image-trigger:focus-visible {
  outline: 2px solid #000;
  outline-offset: 4px;
}

.slide img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(88vh, 920px);
  object-fit: contain;
  border-radius: 1rem;
}

/* Slider Nav */
.project-slider-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 2.75rem;
  height: 2.75rem;
  margin-top: -1.375rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: #000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.project-slider-nav:hover {
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transform: scale(1.06);
}

.project-slider-nav:active {
  transform: scale(0.96);
}

.project-slider-nav--prev {
  left: 0.5rem;
}

.project-slider-nav--next {
  right: 0.5rem;
}

.project-slider-nav:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}

/* Lightbox */
.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.project-lightbox[hidden] {
  display: none;
}

.project-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.project-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 1200px);
  max-height: calc(100dvh - 4rem);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.project-lightbox-close {
  position: absolute;
  top: -0.25rem;
  right: 0;
  z-index: 2;
  padding: 0.75rem 1rem;
  border: 2px solid #000;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #000;
  cursor: pointer;
  font-family: "SuisseScreen", sans-serif;
  font-weight: 700;
  font-style: normal;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease;
}

.project-lightbox-close:hover,
.project-lightbox-close:focus-visible {
  background: #000;
  color: #fff;
  filter: none;
}

.project-lightbox-figure {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: calc(100dvh - 9rem);
  width: auto;
  height: auto;
  border-radius: 1.25rem;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14);
}

.project-lightbox-nav {
  position: relative;
  z-index: 1;
  width: 3rem;
  height: 3rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: #000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.project-lightbox-nav:hover,
.project-lightbox-nav:focus-visible {
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transform: scale(1.04);
  filter: none;
}

.project-lightbox-nav:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

.project-lightbox-nav--prev {
  grid-column: 1;
  grid-row: 1;
}

.project-lightbox-nav--next {
  grid-column: 3;
  grid-row: 1;
}

.project-lightbox-meta {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: "SuisseScreen", sans-serif;
  color: #000;
}

.project-lightbox-project,
.project-lightbox-counter {
  margin: 0;
  font-weight: 700;
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.2;
}

body.project-lightbox-open {
  overflow: hidden;
}

/* Sidepanel */
.project-card a,
.project-card button,
.project-card video,
.project-card iframe {
  position: relative;
  z-index: 5;
}

.project-sidepanel {
  position: fixed;
  top: 0;
  right: 0;
  width: 50vw;
  height: 100dvh;
  z-index: 3000;
  background: rgba(255, 255, 255, 0.96);
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.08);
  transform: translateX(100%);
  transition: transform 0.35s ease;
}

.project-sidepanel.active {
  transform: translateX(0);
}

body.project-sidepanel-open {
  overflow: hidden;
}

body.project-sidepanel-open .footer-links {
  opacity: 0;
  pointer-events: none;
}

.project-sidepanel-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 5;
  padding: 10px 18px;
  border: 2px solid #000;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.92);
  color: #000;
  cursor: pointer;
  font-family: "SuisseScreen", sans-serif;
  font-weight: 700;
  font-style: normal;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.project-sidepanel-close:hover {
  background: #000;
  color: #fff;
}

.project-sidepanel-close:active {
  transform: scale(0.97);
}

.project-sidepanel-scroll {
  height: 100dvh;
  overflow-y: auto;
  padding: 96px 48px 64px;
}

.project-sidepanel-inner {
  max-width: 42rem;
  color: #000;
  font-family: "SuisseScreen", sans-serif;
}

.project-sidepanel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 2rem;
}

.project-sidepanel-header h2 {
  margin: 0;
  font-family: "SuisseScreen", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #000;
}

.project-sidepanel-header span {
  white-space: nowrap;
  font-family: "SuisseScreen", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #000;
}

.project-sidepanel-copy {
  color: #000;
  font-family: "SuisseScreen", sans-serif;
}

.project-sidepanel-copy .project-card-description {
  max-width: none;
  font-size: 1.08rem;
  line-height: 1.8;
}

.project-sidepanel-copy h1,
.project-sidepanel-copy h2,
.project-sidepanel-copy h3,
.project-sidepanel-copy h4 {
  margin: 2rem 0 1rem;
  color: #000;
  font-family: "SuisseScreen", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.project-sidepanel-copy p,
.project-sidepanel-copy a {
  color: #000;
  font-family: "SuisseScreen", sans-serif;
  font-weight: 500;
  font-style: normal;
  hyphens: auto;
  overflow-wrap: anywhere;
}

.project-side-extra {
  display: none;
}

.project-sidepanel-copy .project-side-extra {
  display: block;
}

.project-side-inline-art {
  float: right;
  clear: right;
  width: min(15rem, 42%);
  margin: 0.35rem 0 1.35rem 1.5rem;
  padding: 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 1.15rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 246, 246, 0.92));
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.project-side-inline-art img {
  display: block;
  width: 100%;
  height: auto;
}

.project-side-inline-art-stack {
  float: right;
  clear: right;
  width: min(15rem, 42%);
  margin: 0.35rem 0 1.35rem 1.5rem;
}

.project-side-inline-art-stack .project-side-inline-art {
  float: none;
  clear: none;
  width: 100%;
  margin: 0 0 1rem 0;
}

.project-side-inline-art-stack .project-side-inline-art:last-child {
  margin-bottom: 0;
}

.app-link-preview-wrap {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  width: min(100%, 22rem);
  margin-top: 0.35rem;
  vertical-align: top;
}

.app-preview-link {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.95rem;
  width: 100%;
  padding: 0.82rem 1rem 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 1.1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 246, 246, 0.94));
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.7) inset;
  text-decoration: none;
  font-weight: 700 !important;
  line-height: 1.1;
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s ease,
    border-color 0.32s ease,
    background 0.32s ease,
    filter 0.2s ease;
}

.app-preview-link::after {
  content: "↗";
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 0.98rem;
  line-height: 1;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.14);
}

.app-preview-link:hover,
.app-preview-link:focus-visible {
  filter: none !important;
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(0, 0, 0, 0.24);
  box-shadow:
    0 22px 42px rgba(0, 0, 0, 0.13),
    0 1px 0 rgba(255, 255, 255, 0.78) inset;
}

.app-preview-link-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28rem;
  min-width: 0;
}

.app-preview-link-label {
  display: block;
  max-width: 100%;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.app-preview-link-meta {
  display: block;
  max-width: 100%;
  font-size: 0.72rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  opacity: 0.62;
}

.app-preview-window {
  position: absolute;
  top: calc(100% + 1rem);
  left: 0;
  width: clamp(18rem, 34vw, 28rem);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 1.2rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.16);
  opacity: 0;
  transform: translateY(16px) scale(0.96) rotate(-1deg);
  transform-origin: top left;
  pointer-events: none;
  z-index: 24;
  transition:
    opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.34s ease;
  filter: blur(10px);
}

.app-link-preview-wrap:hover .app-preview-window,
.app-link-preview-wrap:focus-within .app-preview-window {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(0deg);
  filter: blur(0);
}

.app-preview-window-bar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.72rem 0.9rem;
  background: #111;
  color: #fff;
}

.app-preview-window-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.app-preview-window-dots span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.app-preview-window-dots span:nth-child(1) {
  background: #ff5f57;
}

.app-preview-window-dots span:nth-child(2) {
  background: #febc2e;
}

.app-preview-window-dots span:nth-child(3) {
  background: #28c840;
}

.app-preview-window-title {
  min-width: 0;
  flex: 1 1 auto;
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-preview-window-pill {
  flex: 0 0 auto;
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.app-preview-window-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #f5f5f5;
}

.app-preview-window-footer {
  display: block;
  padding: 0.7rem 0.9rem 0.82rem;
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.78rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: rgba(0, 0, 0, 0.72);
}

/* Videos */
.project-side-videos {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 0 0 2rem 0;
}

.project-side-video-wrap {
  width: 100%;
}

.project-side-youtube-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin: 0 0 2rem 0;
}

.project-side-youtube-grid.has-multiple {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-side-youtube-grid.has-featured-first .project-side-video-wrap:first-child {
  grid-column: 1 / -1;
}

.project-sidepanel-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
  background: #000;
}

.youtube-embed {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  border-radius: 1rem;
  background: #000;
}

.youtube-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.instagram-embed {
  display: flex;
  justify-content: center;
  margin: 0 0 2rem 0;
}

.project-instagram-embed {
  width: 100% !important;
  max-width: 33rem !important;
  min-width: 16rem !important;
  margin: 0 auto !important;
  border-radius: 1rem !important;
  overflow: hidden !important;
}

@media (max-width: 980px) {
  .project-side-youtube-grid.has-multiple {
    grid-template-columns: minmax(0, 1fr);
  }

  .app-link-preview-wrap {
    display: flex;
    width: 100%;
  }

  .app-preview-link {
    width: 100%;
  }

  .app-preview-window {
    display: none;
  }
}

/* Footer */
.footer-links {
  position: fixed;
  right: clamp(1rem, 2vw, 2rem);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  z-index: 10;
  font-family: "SuisseScreen", sans-serif;
}

.footer-links .hero-link {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 1rem;
  border: 2px solid #000;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.82);
  color: #000;
  text-decoration: none;
  font-family: "SuisseScreen", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

/* Imprint */
.content-wrapper {
  height: 100%;
  overflow-y: auto;
  padding: 2rem;
}

.impressum {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  overflow-y: auto;
  color: #000;
  font-family: "SuisseScreen", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.impressum .intro-title,
.intro-title {
  margin-bottom: 2rem;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #000;
  font-family: "SuisseScreen", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.imprint-page {
  min-height: 100vh;
  width: 100%;
  background: #fff;
  background-image: var(--imprint-fallback-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow-y: auto;
  position: relative;
  padding: 4rem;
}

.imprint-page.has-animated-background {
  isolation: isolate;
}

.imprint-page .intro-background {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.imprint-content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  color: #000;
  font-family: "SuisseScreen", sans-serif;
  font-weight: 500;
  font-style: normal;
  position: relative;
  z-index: 2;
}

.imprint-page.has-animated-background .imprint-content-wrapper {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1.5rem;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.imprint-page .footer-links {
  z-index: 3;
}

.imprint-content,
.imprint-text {
  margin-top: 2rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #000;
  font-family: "SuisseScreen", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.imprint-content p,
.imprint-text p {
  margin-bottom: 1rem;
}

.imprint-content strong,
.imprint-text strong {
  font-family: "SuisseScreen", sans-serif;
  font-weight: 700;
  font-style: normal;
  color: #000;
}

/* Responsive */
@media (max-width: 768px) {
  .intro-section {
    position: relative;
    height: auto;
    min-height: 100svh;
    padding: 2rem 1.25rem;
    overflow: visible;
  }

  .intro-text h1 {
    font-size: clamp(3rem, 13vw, 4.8rem);
    line-height: 0.96;
    margin-bottom: 1.5rem;
  }

  .intro-text p,
  .intro-copy,
  .intro-copy p {
    font-size: 1.1rem;
    line-height: 1.55;
    max-width: 100%;
  }

  .project-scroller {
    width: 100%;
    height: auto;
    padding-bottom: 1rem;
  }

  .project-card {
    position: sticky;
    top: 0.75rem;
    left: 0;
    width: 100%;
    height: auto;
    padding-top: calc(0.8rem * (var(--card-index, 1) * 0.9));
    padding-right: 0.85rem;
    padding-left: 0.85rem;
    padding-bottom: 0;
  }

  .project-card-inner {
    flex-direction: column;
    height: auto;
    padding: 1.25rem;
    gap: 1.5rem;
    cursor: pointer;
    min-height: min(82svh, 46rem);
    overflow: visible;
  }

  .project-card-content,
  .project-card-slider {
    min-width: 100%;
    max-width: none;
  }

  .project-card-content {
    overflow: visible;
    padding-right: 0;
  }

  .project-card-slider {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
    padding: 0.5rem 0 0;
  }

  .slide img {
    aspect-ratio: 3 / 2;
    width: 100%;
    height: 100%;
    max-height: min(42svh, 24rem);
    object-fit: cover;
  }

  .project-card-header {
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .project-card-header h2.text-large {
    max-width: 100%;
    font-size: 1.85rem;
    line-height: 1.02;
  }

  .project-card-header span,
  .project-card-header span.text-large,
  .project-sidepanel-header span {
    font-size: 1.85rem;
    line-height: 1.02;
    letter-spacing: -0.03em;
  }

  .project-card-description {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.66;
  }

  .project-link-text {
    font-size: 0.95rem;
  }

  .project-slider-nav {
    width: 2.6rem;
    height: 2.6rem;
    margin-top: -1.3rem;
  }

  .project-slider-nav {
    touch-action: manipulation;
  }

  .project-slider-nav svg {
    width: 22px;
    height: 22px;
  }

  .project-slider-nav--prev {
    left: 0.35rem;
  }

  .project-slider-nav--next {
    right: 0.35rem;
  }

  .project-lightbox {
    padding: 1rem;
  }

  .project-lightbox-dialog {
    width: 100%;
    max-height: calc(100dvh - 2rem);
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    gap: 0.75rem;
  }

  .project-lightbox-close {
    position: relative;
    top: auto;
    right: auto;
    justify-self: end;
  }

  .project-lightbox-figure {
    grid-column: 1;
    grid-row: 2;
  }

  .project-lightbox-image {
    max-height: calc(100dvh - 11rem);
  }

  .project-lightbox-nav {
    width: 2.75rem;
    height: 2.75rem;
  }

  .project-lightbox-nav--prev,
  .project-lightbox-nav--next {
    grid-row: 3;
  }

  .project-lightbox-nav--prev {
    grid-column: 1;
    justify-self: start;
  }

  .project-lightbox-nav--next {
    grid-column: 1;
    justify-self: end;
  }

  .project-lightbox-meta {
    grid-column: 1;
    grid-row: 4;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .project-side-inline-art {
    float: none;
    width: min(100%, 16rem);
    margin: 0.75rem 0 1.25rem;
  }

  .project-side-inline-art-stack {
    float: none;
    width: min(100%, 16rem);
    margin: 0.75rem 0 1.25rem;
  }

  .footer-links {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    margin-top: 2rem;
    gap: 0.75rem;
  }

  .footer-links .hero-link {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
  }

  .project-sidepanel {
    width: 100vw;
  }

  .project-sidepanel-scroll {
    padding: 88px 24px 48px;
  }

  .imprint-page {
    padding: 2rem;
  }

  .imprint-page.has-animated-background .imprint-content-wrapper {
    padding: 1.5rem;
    border-radius: 1.25rem;
  }

  .imprint-content,
  .imprint-text {
    font-size: 1rem;
  }

  .intro-title,
  .impressum .intro-title {
    font-size: 2.5rem;
  }
}

@media (hover: none), (pointer: coarse) {
  .hover-image {
    display: none;
  }

  .project-card-inner:hover {
    transform: none;
  }
}
