* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #111;
}

/* LEFT NAV */

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 230px;
  height: 100vh;
  background:white;
  border-right: 1px solid #111;
  padding: 40px 28px;
  z-index: 100;
}

.sidebar h1 {
  font-size: 25px;
  line-height: 1.05;
  margin: 0 0 45px;
  text-transform: uppercase;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
}

.sidebar nav a {
  color: #111;
  text-decoration: none;
  font-size: 18px;
  margin-bottom: 9px;
}

.sidebar nav a:hover {
  background: #d7ff00;
}

.sidebar-note {
  position: absolute;

  bottom: 35px;
  left: 30px;
  right: 30px;

  font-size: 12px;
  line-height: 1.4;

  color: black;
}

/* MAIN */

.main-content {
  margin-left: 230px;
  width: calc(100% - 230px);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}


/* HOME COLLAGE */

.home-title {
  padding: 70px 80px 20px;
}

.home-title h2 {
  font-size: 62px;
  line-height: 0.95;
  margin: 0;
  text-transform: uppercase;
}

.home-title p {
  font-size: 20px;
  max-width: 680px;
}

.home-heading {
    color: white;
}
.collage-section {
  position: relative;
  min-height: 1550px;
  padding: 40px 80px 120px;
}

.collage-img {
  position: absolute;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

img {
  border: 1px solid #2E2E2E;
}


.img3 {
  width: 300px;
  top: 170px;
  left: 250px;
}

.img4 {
  width: 360px;
  top: 340px;
  left: 660px;
}

.img5 {
  width: 360px;
  top: 650px;
  left: 120px;
}

.img6 {
  width: 330px;
  top: 820px;
  left: 620px;
}

.highlight-text {
  position: absolute;
  background: #d7ff00;
  color: #111;
  padding: 2px 7px;
  font-size: 23px;
  font-weight: bold;
  line-height: 1.15;
}

.text1 {
  top: 110px;
  left: 100px;
}

.text2 {
  top: 520px;
  left: 520px;
}

.text3 {
  top: 980px;
  left: 180px;
}

.text4 {
  top: 1060px;
  left: 610px;
}

/* PAGE SECTIONS */

.page-section {
  padding: 70px 80px;
  max-width: 1150px;
}

.page-section h2 {
  font-size: 44px;
  text-transform: uppercase;
  margin-bottom: 20px;
    color: white;
}

.page-section p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 760px;
}

.page-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: 1px solid #313232;
  margin: 0;
}

/* ARTEFACT PAGE */

.artefact-layout {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 45px;
  align-items: stretch;
}

.artefact-layout .page-image,
.artefact-layout .info-box {
  margin-top: 0;
}

.gallery-text {
  color: white;
}

.info-box {
    height: 100%;
background: rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid #111;
  padding: 25px;
   margin: 0;
  align-self: start;
}

.info-box h3 {
  margin-top: 0;
  text-transform: uppercase;
}

.quote {
  display: inline;
  background: #d7ff00;
  font-size: 23px;
  line-height: 1.35;
  font-weight: bold;
}

/* GALLERIES */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

/* VIDEO */
.demo-section {
    margin-top: -400px;
}

video.demo-video {
  width: 100%;
  max-width: 900px;
  display: block;
  margin-top: 30px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

/* CONTACT LINKS */

a {
  color: #111;
}

.info-box a {
  background: #d7ff00;
}

/* FOOTER */

footer {
  padding: 40px 80px;
  font-size: 14px;
  color: white;
}

/* FADE */

.fade-in {
  opacity: 0;
  transform: translateY(25px);
  transition: 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

html,
body {
  margin: 0;
  background: transparent;
}

.video-grid {
  position: fixed;
  top: 0;
  left: 230px;
  width: calc(100vw - 230px);
  height: 100vh;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0;
  background: transparent;
  z-index: 1;
  overflow: hidden;
}

.video-grid video {
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  object-fit: cover;
  display: block;
  transform: translate(-3px, -3px);
}

.video-grid > * {
  margin: 0;
  padding: 0;
  border: none;
}

.sidebar {
  z-index: 3;
}

.main-content {
  position: relative;
  z-index: 2;
  background: transparent;
}

section,
.page-section,
.hero,
.artefact-layout {
  background: transparent;
}

/* MOBILE */

@media (max-width: 850px) {

  /* SIDEBAR */

  .sidebar {
    position: relative;

    width: 100%;
    height: auto;

    border-right: none;
    border-bottom: 1px solid white;

    padding: 25px;

    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(8px);

    z-index: 100;
  }

  .sidebar h1 {
    font-size: 28px;

    margin-bottom: 25px;

    color: white;
  }

  .sidebar nav {
    flex-direction: row;

    flex-wrap: wrap;

    gap: 12px;
  }

  .sidebar nav a {
    font-size: 15px;

    margin-bottom: 0;

    color: white;
  }

  .sidebar-note {
    position: relative;

    bottom: auto;
    left: auto;
    right: auto;

    margin-top: 25px;

    color: rgba(255,255,255,0.75);
  }

  /* MAIN CONTENT */

  .main-content {
    margin-left: 0;

    width: 100%;

    overflow-x: hidden;
  }

  /* VIDEO BACKGROUND */

  .video-grid {
    left: 0;

    width: 100vw;

    grid-template-columns: 1fr 1fr;

    grid-template-rows: auto;
  }

  .video-grid video {
    width: calc(100% + 4px);
    height: calc(100% + 4px);

    transform: translate(-2px, -2px);

    object-fit: cover;
  }

  /* HOME TITLE */

  .home-title {
    padding: 40px 25px 20px;
  }

  .home-title h2,
  .home-heading {
    font-size: 38px;

    line-height: 1;

    color: white;
  }

  .home-title p {
    font-size: 17px;

    color: white;
  }

  .survey-text {
    max-width: 100%;

    padding: 18px;

    background: rgba(255,255,255,0.2);

    backdrop-filter: blur(6px);
  }

  /* PAGE SECTIONS */

  .page-section {
    padding: 40px 25px;
  }

  .page-section h2 {
    font-size: 34px;
  }

  /* ARTEFACT LAYOUT */

  .artefact-layout {
    grid-template-columns: 1fr;

    gap: 25px;
  }

  .page-image {
    width: 100%;

    height: auto;

    object-fit: cover;
  }

  .info-box {
    width: 100%;

    background: rgba(255,255,255,0.35);

    backdrop-filter: blur(8px);
  }

  /* GALLERIES */

  .gallery {
    grid-template-columns: 1fr;

    gap: 16px;
  }

  .gallery img {
    width: 100%;

    height: auto;

    object-fit: cover;
  }

  /* DEMO VIDEO */

  .demo-video {
    width: 100%;

    margin-top: 0;
  }

  .demo-section {
    margin-top: 0;
  }

  /* TEXT */

  .quote,
  .gallery-text,
  .page-section p {
    font-size: 18px;

    line-height: 1.5;
  }

}