* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* html {
  scrollbar-gutter: stable;
} */

html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  background: #0a0a0c;/*  #050505; */
  color: rgba(255,255,255,0.78);  /* #f5f5f5; */
  font-family: Helvetica, Arial, sans-serif;
  margin: 0;
  display: flex;
  flex-direction: column;
}

h1,
h2,
h3 {
  color: rgba(255,255,255,0.94);
}

small,
figcaption,
.project-meta {
  color: rgba(255,255,255,0.45);
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

nav a {
  position: relative;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

nav a:hover {
  opacity: 1;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: white;

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  transform: scaleX(1);
}

nav a.active {
  opacity: 1;
}

.page-transition {
  z-index: 9999;
}


.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9000;

  background: rgba(8, 8, 10, 0.9);
  backdrop-filter: blur(16px);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  transform: translateY(-100%);
  transition: transform 0.5s ease;
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mobile-menu-content a {
  font-size: 2rem;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  width: 100%;
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 20;
  mix-blend-mode: difference;
  height: 80px;
  flex-shrink: 0;
}

nav {
  display: flex;
  gap: 28px;
}

.logo {
  font-weight: bold;
  letter-spacing: 0.15em;
}

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-banner img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.hero-content h1 {
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 300;
  letter-spacing: 0.05em;
}

.hero-content p {
  font-size: 1.1rem;
  opacity: 0.8;
}

.site-main {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;

  padding: 40px;
  margin-top: 70px;
  scrollbar-gutter: stable;

  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.site-main::-webkit-scrollbar {
  width: 8px;
}

.site-main::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15);
}

.site-main::-webkit-scrollbar-track {
  background: transparent;
}

.button {
  margin-top: 10px;
  border: 1px solid #fff;
  padding: 14px 28px;
  transition: 0.3s ease;
}

.button:hover {
  background: white;
  color: black;
}

.featured {
  padding: 120px 40px;
}

.featured h2 {
  margin-bottom: 50px;
  font-weight: 300;
  font-size: 2rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  display: block;
  position: relative;
  overflow: hidden;
}

.project-card img {
  width: 100%;
  height: 75%;
  aspect-ratio: 1.33;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-card span {
  display: block;
  margin-top: 12px;
  font-size: 0.95rem;
  opacity: 0.8;
}

.page-transition {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 999;
  pointer-events: none;
  animation: reveal 1.2s forwards;
}

@keyframes reveal {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@media (max-width: 900px) {
  .project-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    padding: 20px;
  }
}

/* Mobile Menu */

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 30;
}

/* .mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.97);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  transform: translateY(-100%);
  transition: transform 0.5s ease;
  z-index: 25;
} */

/* .mobile-menu {
  position: fixed;
  inset: 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;

  transform: translateY(-100%);
  transition: transform 0.5s ease;
  z-index: 25;

  background: linear-gradient(
    180deg,
    rgba(5,5,5,0.82) 0%,
    rgba(12,12,14,0.94) 100%
  );
}

.mobile-menu.active {
  transform: translateY(0);
} */

.mobile-menu a {
  font-size: 2rem;
  font-weight: 300;
}

@media (max-width: 900px) {
  nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}


/* project page */

.project-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 140px 40px 120px;
  color:  rgba(255,255,255,0.78); /*  #f5f5f5; */
}

/* HERO */

.project-hero {
  margin-bottom: 100px;
}

.project-hero img,
.project-hero video {
  width: 100%;
  max-height: 85vh;
  object-fit: cover;
  display: block;
}

/* TITLE BLOCK */

.project-header {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  margin-bottom: 100px;
  align-items: start;
}

.project-title h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 0.95;
  margin-bottom: 24px;
}

.project-meta {
  font-size: 0.95rem;
  line-height: 1.8;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.project-description {
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 760px;
  font-weight: 300;
}

/* MEDIA GALLERY */

.project-gallery {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin: 100px 0;
}

.project-gallery img,
.project-gallery video {
  width: 100%;
  display: block;
}

.project-gallery figure {
  margin: 0;
}

.project-gallery figcaption {
  margin-top: 12px;
  font-size: 0.9rem;
  opacity: 0.6;
}

/* VIDEO EMBEDS */

.video-embed {
  margin: 120px 0;
}

.video-embed iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
}

/* VR SECTION */

.project-vr {
  margin-top: 120px;
  padding-top: 60px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.project-vr h2 {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 24px;
}

.project-vr a {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 24px;
  border: 1px solid rgba(255,255,255,0.3);
  transition: 0.3s ease;
}

.project-vr a:hover {
  background: white;
  color: black;
}

/* NEXT PROJECT */

.next-project {
  margin-top: 180px;
  padding-top: 60px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.next-project a {
  font-size: 2rem;
  font-weight: 300;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.next-project a:hover {
  opacity: 1;
}

/* FOOTER */

.site-footer {
  padding: 60px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.9rem;
  height: 70px;
  flex-shrink: 0;
}

.social-links {
  display: flex;
  gap: 24px;
}

.social-links a {
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.social-links a:hover {
  opacity: 1;
}

.footer-imprint-links {
  display: flex;
  gap: 24px;
}

.footer-imprint-links a {
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.footer-imprint-links a:hover {
  opacity: 1;
}

/* MOBILE */

@media (max-width: 900px) {
  .project-page {
    padding: 110px 24px 80px;
  }

  .info-page {
    padding: 110px 24px 80px;
  }

  .project-header {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .project-title h1 {
    font-size: 3rem;
  }

  .project-description {
    font-size: 1rem;
  }

  .next-project a {
    font-size: 1.4rem;
  }

  .site-footer {
    display: none;
  }
 
}

.mobile-menu .mobile-social {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.mobile-menu .mobile-social a {
  font-size: 1.5rem;
  opacity: 0.65;
}

.mobile-menu .mobile-imprint {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.mobile-menu .mobile-imprint a {
  font-size: 1.2rem;
  opacity: 0.65;
}


/* PHOTO GALLERY */

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  margin: 80px 0;
}

.photo-gallery a {
  display: block;
  overflow: hidden;
  grid-column: span 2;
}

.photo-gallery img {
  width: 100%;
  height: 100%; /* 320px; */
  aspect-ratio: 1; /* auto; */
  object-fit: cover; /* contain? */
  display: block;
  transition: transform 0.8s ease, opacity 0.4s ease;
}

.photo-gallery a:hover img {
  transform: scale(1.04);
  opacity: 0.9;
}


@media (max-width: 900px) {
  .photo-gallery {
    grid-template-columns: 1fr;
  }
}

.gallery-item.hidden {
  display: none;
}

#loadMoreBtn {
  display: block;
  margin: 60px auto;
  padding: 14px 28px;
  background: transparent;
  color: rgba(255,255,255,0.78); /* white; */
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
}

/* ABOUT PAGE */

.about-portrait {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 40px 0 100px;
}

.about-portrait img {
  width: 100%;
  max-width: 800px;
  max-height: 85vh;

  object-fit: contain;
  display: block;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cv-section {
  margin-top: 120px;
}

.cv-section h2 {
  margin-bottom: 48px;
  font-weight: 300;
  font-size: 2rem;
}

.cv-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 24px 0;
  /* border-top: 1px solid rgba(255,255,255,0.08); */
}

.cv-year {
  opacity: 0.5;
}

.cv-item p:first-child {
  margin-bottom: 6px;
}

.cv-link {
  display: inline-block;
  margin-top: 12px;

  font-size: 0.9rem;
  letter-spacing: 0.04em;

  opacity: 0.55;
  transition: opacity 0.3s ease;
}

.cv-link:hover {
  opacity: 1;
}

/* VIDEO PAGE*/

.the-video-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  /* font-family: Georgia, serif; */
  /* line-height: 1.7; */
}

.the-video-section p {
  margin-bottom: 1.2em;
  text-align: justify;
}

.the-video-section .section-title {
    font-style: italic;
    font-weight: bold;
}

.the-video-section .the-video-section-img-container {
  flex: 0 1 auto;
  max-width: 100%;
}

.the-video-section img {
  max-width: 100%;
  /* flex: none; */
}

.vertical-links {
  display: flex;
  flex-direction: column;
  gap: 12px; /* 18px; */

  width: 100%;
  max-width: 700px;

  margin: 40px /*80px*/ 0;
}

.vertical-links a {
  position: relative;

  padding: 12px /*18px*/ 0;

  border-bottom: 1px solid rgba(255,255,255,0.08);

  font-size: clamp(1rem, 1.5vw, 1.8rem); /*clamp(1.4rem, 2vw, 2.4rem);*/
  font-weight: 300;
  letter-spacing: 0.02em;

  color: rgba(255,255,255,0.72);

  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.vertical-links a:hover {
  color: white;
  transform: translateX(8px);
}

@media (max-width: 900px) {
  .vertical-links a {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .link-title {
    font-size: 1.5rem;
  }
}

.the-project-banner {
  width: 100%;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.the-project-banner img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.project-list-item {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* project page */

.info-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 140px 40px 120px;
  color:  rgba(255,255,255,0.78); /*  #f5f5f5; */
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-page .info-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.the-about-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.the-yumpu-iframe {
  width: 832px;
  height: 640px;
}

@media (max-width: 900px) {
  .info-page {
    padding: 110px 24px 80px;
  }

  .the-yumpu-iframe {
    max-width: 100%;
    height: auto;
  }
}


/* EMAIL CONTACT BLOCK*/

.contact-block {
  margin-top: 40px;
}

.contact-block a {
  display: inline-block;
  margin-top: 12px;

  opacity: 0.72;
  transition: opacity 0.3s ease;
}

.contact-block a:hover {
  opacity: 1;
}