@font-face {
  font-family: 'Univers';
  src: url('../font/UniversRegular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000;
  --text: #fff;
  --muted: #707070;
  --border: #dddddd;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Univers', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 12px;
  line-height: 1.4;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong,
b {
  font-weight: 400;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

figure {
  margin: 0;
  break-inside: avoid;
}

.gallery {
  width: 100%;
  margin: 0;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

.row {
  display: flex;
  margin-bottom: 8px;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: visible;
}

.row img,
.row video {
  display: block;
  height: 500px;
  object-fit: cover;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  flex-shrink: 0;
}

.row img,
.row video {
  cursor: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Custom text selection */
::selection {
  background: #fff;
  color: #000;
  mix-blend-mode: difference;
}

::-moz-selection {
  background: #fff;
  color: #000;
  mix-blend-mode: difference;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.98);
  z-index: 9999;
  cursor: zoom-out;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  pointer-events: none;
}

.lightbox-content img,
.lightbox-content video {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
}

.lightbox-nav-label {
  position: fixed;
  pointer-events: none;
  color: #fff;
  font-size: 12px;
  z-index: 10000;
  white-space: nowrap;
  mix-blend-mode: difference;
  font-family: 'Univers', sans-serif;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  transform: translate(-50%, -50%);
}

.gallery-cursor-label {
  position: fixed;
  pointer-events: none;
  color: #fff;
  font-size: 12px;
  z-index: 10000;
  white-space: nowrap;
  mix-blend-mode: difference;
  font-family: 'Univers', sans-serif;
  display: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  transform: translate(-50%, -50%);
}

.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  color: #fff;
  font-size: 12px;
  z-index: 10001;
  mix-blend-mode: difference;
  font-family: 'Univers', sans-serif;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  text-decoration: none;
}

.lightbox-close:hover {
  text-decoration: underline;
}

.lightbox {
  cursor: none;
}

.lightbox.left-half {
  cursor: none;
}

.lightbox.right-half {
  cursor: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 1.5rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  mix-blend-mode: difference;
}

.header-left p {
  margin: 0;
}

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

.header-center p {
  margin: 0;
}

.header-right {
  text-align: right;
}

.header-right p {
  margin: 0;
}

a {
  color: #fff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

#lang-toggle {
  cursor: pointer;
  text-decoration: none;
}

#lang-toggle:hover {
  text-decoration: underline;
}

.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 14px;
}

main {
  padding: 0 0 3rem;
}

.project {
  padding: 3rem 0 1rem;
}

.project-info {
  max-width: none;
  margin-bottom: 1.5rem;
  padding: 0 1.5rem;
}

.project h2 {
  margin: 0;
  font-size: inherit;
}

.project-description {
  column-count: 4;
  column-gap: 16px;
}


.site-footer {
  padding: 1.5rem 1.5rem 2rem 1.5rem;
  font-size: inherit;
  color: inherit;
}

/* Responsive breakpoints */

/* Large tablet - 3 columns */
@media (max-width: 1200px) {
  .project-description {
    column-count: 3;
  }
  
  .row img,
  .row video {
    height: 450px;
  }
}

/* Tablet (medium) - 2 columns */
@media (max-width: 1024px) {
  .project-description {
    column-count: 2;
  }
  
  .row img,
  .row video {
    height: 400px;
  }
}

/* Mobile (small) - 1 column */
@media (max-width: 768px) {
  .project-description {
    column-count: 1;
  }
  
  .row img,
  .row video {
    height: 300px;
  }
  
  .site-header {
    position: static;
    flex-direction: column;
    gap: 1rem;
  }
  
  .header-left,
  .header-center,
  .header-right {
    text-align: left;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .gallery {
    padding: 0 1rem;
  }
  
  .project-info {
    padding: 0 1rem;
  }
  
  .site-header {
    padding: 1rem;
  }
  
  .row img,
  .row video {
    height: 250px;
  }
}

/* Layout desktop - 4 columns */
@media (min-width: 1201px) {
  .site-header {
    padding: 1.5rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  main {
    padding: 1rem 0 4rem;
  }

  .project {
    padding: 4rem 0 2rem;
  }

  .site-footer {
    padding: 2rem 1.5rem 3rem 1.5rem;
  }
}