@font-face {
  font-family: 'Simplon Norm Bold';
  src: url('assets/fonts/SimplonNorm-Bold.woff2') format('woff2'),
      url('assets/fonts/SimplonNorm-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Simplon Mono';
  src: url('assets/fonts/SimplonMonoTrial.woff2') format('woff2'),
      url('assets/fonts/SimplonMonoTrial.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Simplon Norm Regular';
  src: url('assets/fonts/SimplonNorm-Regular.woff2') format('woff2'),
      url('assets/fonts/SimplonNorm-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.4;
  }
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-smoothing: antialiased;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  --primary-color: #09422E;
  --light-grey: #D9D9D9;
  --white: #E3DED0;
}

body {
  font-family: 'Simplon Norm Regular', sans-serif;
  background-color: var(--white);
  color: var(--primary-color);
  padding-top: 100dvh;
  font-size: clamp(16px, 2dvw, 24px);
  line-height: 1.35;
}

.h1 {
  font-weight: 400;
  font-size: 24px; /* temp */
  margin: 0;
}

.h2 {
  margin: 0 0 30px;
  font-weight: 400;
  font-family: 'Simplon Norm Regular', sans-serif;
  font-size: clamp(24px, 3dvw, 38px);
  line-height: 1.35;
}

.h3 {
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'Simplon Norm Bold', sans-serif;
  font-size: clamp(16px, 1.5dvw, 18px);
  line-height: 1.35;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

.btn {
  outline: none;
  font-family: 'Simplon Mono', sans-serif;
  font-size: clamp(12px, 1dvw, 14px);
  appearance: none;
  padding: 19px 20px;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  border-radius: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn--solid {
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(40px);
  color: var(--white);
}

.btn--solid:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

.btn--border {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.btn--border:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100dvh;
  background-color: var(--primary-color);
  z-index: 0;
  padding-top: 60px;
}

.hero .container > svg {
  position: absolute;
  bottom: 60px;
  left: 60px;
  width: calc(100% - 120px);
  height: auto;
  z-index: 0;
}

.hero__content {
  grid-column: span 4;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  color: var(--white);
}

.hero__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: screen;
  opacity: 0;
}

.hero__image.is-ready {
  animation: fadeIn 0.65s ease forwards 0.1s;
}

.hero__image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  opacity: 0.4;
}

.hero__logomark {
  display: none;
  position: absolute;
  top: 20px;
  left: 20px;
  width: 57px;
  height: 80px;
  z-index: 1;
}

.hero__logomark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 20px;
  padding: 0 60px;
}

.wrapper {
  position: relative;
  z-index: 1;
  background-color: var(--white);
  padding-top: clamp(120px, 15dvw, 300px);
  padding-bottom: 60px;
}

.text-uppercase {
  font-family: 'Simplon Mono', sans-serif;
  font-size: clamp(16px, 1.5dvw, 20px);
  text-transform: uppercase;
  line-height: 1.5;
}

.content__image {
  grid-column: span 3;
}

.content__image .lazy-container {
  position: sticky;
  top: 60px;
  background-color: var(--primary-color);
  margin-bottom: clamp(80px, 12dvw, 300px);
  filter: blur(10px);
  transition: filter 0.65s ease;
}

.content__image .lazy-container.is-visible {
  filter: blur(0);
}

.content__image .lazy-container img {
  filter: grayscale(100%);
  opacity: 0.9;
  mix-blend-mode: screen;
}

.content__text {
  grid-column: 8 /13;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.content__text p {
  margin-bottom: 30px;
}

.content__text > div:not(:last-of-type) {
  margin-bottom: clamp(80px, 8dvw, 120px);
}

.content__text > div:last-of-type {
  margin-bottom: clamp(200px, 20dvw, 360px);
}

.footer {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 20px;
}

.footer ul {
  grid-column: span 2;
  list-style: none;
  line-height: 1.3;
}

.footer p {
  grid-column: 3 / 6;
  line-height: 1.3;
}

.footer a {
  text-decoration: none;
  color: var(--primary-color);
}

.scroll-logo {
  position: sticky;
  display: block;
  top: calc(100dvh - calc(60px + 80px));
}

.scroll-logo svg {
  width: 57px;
  height: 80px;
  display: block;
}

@media screen and (max-width: 1200px) {
  .content__text {
    grid-column: 7 / 13;
  }

  .content__image {
    grid-column: span 4;
  }
}

@media screen and (max-width: 1024px) {
  body {
    padding-top: 0;
  }

  .container {
    padding: 0 30px;
  }

  .hero {
    padding-top: 30px;
    min-height: 100svh;
    position: relative;
  }

  .hero .container > svg {
    width: calc(100% - 60px);
    bottom: 30px;
    left: 30px;
  }

  .hero__content {
    grid-column: span 5;
  }

  .content__image .lazy-container {
    filter: blur(0);
  }
  
  .wrapper {
    padding-bottom: 30px;
  }

  .scroll-logo {
    top: calc(100dvh - calc(30px + 80px));
  }
}

@media screen and (max-width: 768px) {
  .container {
    padding: 0 20px;
    grid-template-columns: repeat(6, 1fr);
    column-gap: 10px;
  }

  .hero {
    padding-top: 20px;
  }

  .hero .container > svg {
    display: none;
  }

  .hero__logomark {
    display: block;
  }

  .hero__content {
    grid-column: span 6;
    gap: 20px;
  }

  .hero .container {
    align-items: flex-end;
    min-height: calc(100svh - 40px);
  }

  .btn {
    padding: 16px 18px;
  }

  .content__image {
    grid-row: 1;
    grid-column: span 3;
  }

  .content__text {
    grid-row: 2;
    grid-column: span 6;
  }
  
  .wrapper {
    padding-bottom: 20px;
  }

  .scroll-logo {
    display: none;
  }
}

@media screen and (max-width: 520px) {
  .content__image {
    grid-column: span 6;
  }

  .footer ul {
    grid-row: 1;
    grid-column: span 6;
    margin-bottom: 20px;
  }

  .footer p {
    grid-row: 2;
    grid-column: span 6;
  }
}