* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
}

body {
  background: #fff;
  color: #000;

  font-family: logoFontThin;
  font-weight: 300;

  overflow-x: hidden;
}


/* =====================================================
   MAIN NAVIGATION
   ===================================================== */

#main-menu {
  position: fixed;
  z-index: 100;

  left: 45px;
  top: 45px;

  width: 180px;
}


/* ---------- Logo ---------- */

.nav-logo {
  display: block;

  margin-bottom: 70px;

  color: #000;
  text-decoration: none;

  font-size: 19px;
  line-height: 1;

  white-space: nowrap;
}

.logo-bold {
  font-family: logoFontBold;
  font-weight: 700;
}

.logo-thin {
  font-family: logoFontThin;
  font-weight: 300;
}


/* ---------- Menu ---------- */

#main-menu ul {
  list-style: none;

  margin: 0;
  padding: 0;
}

#main-menu li {
  margin: 0 0 18px;
}

#main-menu li a {
  position: relative;

  display: block;

  padding-left: 15px;

  color: #000;
  text-decoration: none;

  font-family: logoFontThin;
  font-size: 14px;
  line-height: 1.2;
}


/* ---------- Vertical indicator ---------- */

#main-menu li a::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0;

  width: 1px;
  height: 100%;

  background-color: #000;

  transform: scaleY(0);
  transform-origin: top;

  transition: transform 0.25s ease;
}


/* Hover */

#main-menu li a:hover::before {
  transform: scaleY(1);
}


/* Current page */

#main-menu li.active a::before {
  transform: scaleY(1);
}


/* =====================================================
   CONTACT PAGE
   ===================================================== */

.contact-page {
  min-height: 100vh;

  margin-left: 250px;

  padding: 90px 8vw 120px 0;

  color: #000;
}


/* ---------- Header ---------- */

.contact-header {
  max-width: 700px;

  margin-bottom: 110px;
}

.contact-header h1 {
  margin: 0;

  color: #000;

  font-family: logoFontThin;
  font-size: clamp(70px, 10vw, 150px);
  font-weight: 300;
  line-height: 0.9;

  letter-spacing: -0.055em;
}

.contact-header p {
  max-width: 430px;

  margin: 40px 0 0;

  color: rgba(0, 0, 0, 0.6);

  font-family: logoFontThin;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
}


/* ---------- Main grid ---------- */

.contact-grid {
  display: grid;

  grid-template-columns:
    minmax(400px, 700px)
    minmax(180px, 280px);

  column-gap: clamp(80px, 12vw, 220px);

  align-items: start;
}


/* =====================================================
   CONTACT FORM
   ===================================================== */

.contact-form {
  width: 100%;
}

.contact-field {
  position: relative;

  margin-bottom: 50px;

  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
}

.contact-field label {
  display: block;

  margin-bottom: 15px;

  color: rgba(0, 0, 0, 0.5);

  font-family: logoFontThin;
  font-size: 10px;
  font-weight: 300;
  line-height: 1;

  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.contact-field input,
.contact-field textarea {
  display: block;

  width: 100%;

  padding: 0 0 17px;

  border: none;
  outline: none;

  background: transparent;

  color: #000;

  font-family: logoFontThin;
  font-size: 18px;
  font-weight: 300;
}

.contact-field textarea {
  height: 130px;

  resize: none;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(0, 0, 0, 0.35);
}

.contact-field input:disabled,
.contact-field textarea:disabled {
  opacity: 0.45;

  cursor: not-allowed;
}


/* ---------- Send button ---------- */

.contact-form button {
  display: flex;

  align-items: center;
  justify-content: space-between;

  width: 120px;

  padding: 10px 0;

  border: none;
  border-bottom: 1px solid #000;

  background: transparent;

  color: #000;

  font-family: logoFontThin;
  font-size: 14px;
  font-weight: 300;

  cursor: not-allowed;
}

.contact-form button span {
  font-size: 20px;
}

.contact-form button:disabled {
  opacity: 0.5;
}


/* =====================================================
   CONTACT DETAILS
   ===================================================== */

.contact-details {
  display: flex;

  flex-direction: column;

  gap: 65px;
}

.contact-detail h2 {
  margin: 0 0 20px;

  color: rgba(0, 0, 0, 0.5);

  font-family: logoFontThin;
  font-size: 10px;
  font-weight: 300;
  line-height: 1;

  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.contact-detail p,
.contact-detail a {
  display: block;

  margin: 0 0 7px;

  color: #000;

  font-family: logoFontThin;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;

  text-decoration: none;
}

.contact-detail a:hover {
  opacity: 0.5;
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 900px) {

  #main-menu {
    left: 25px;
    top: 25px;
  }

  .contact-page {
    margin-left: 0;

    padding: 180px 30px 80px;
  }

  .contact-grid {
    grid-template-columns: 1fr;

    row-gap: 90px;
  }

  .contact-details {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 50px;
  }
}


@media (max-width: 600px) {

  #main-menu {
    position: absolute;
  }

  .nav-logo {
    margin-bottom: 45px;
  }

  .contact-page {
    padding: 200px 25px 70px;
  }

  .contact-header {
    margin-bottom: 80px;
  }

  .contact-header h1 {
    font-size: 20vw;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}
