
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
}


/* ==========================================
   BODY
========================================== */

body {
  font-family: "forma-djr-deck", sans-serif;
  font-weight: 500;
  font-style: normal;

  background: white;

  overflow-x: hidden;
}


/* ==========================================
   PAGE
========================================== */

.page {
  width: 100vw;
  min-height: 100vh;

  display: flex;

  justify-content: center;
  align-items: flex-start;

  background: white;
}


/* ==========================================
   ARTWORK
========================================== */

.artwork {
  position: relative;

  height: 100vh;
  aspect-ratio: 637 / 982;

  flex-shrink: 0;
}


/* ==========================================
   IMAGE
========================================== */

.shape-image {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  display: block;

  object-fit: contain;

  user-select: none;
  pointer-events: none;
}


/* ==========================================
   DESKTOP NAME
========================================== */

.desktop-name {
  position: absolute;

  top: 1.2%;
  left: 23%;

  z-index: 3;

  font-size: clamp(42px, 4vw, 76px);
  font-weight: 500;

  line-height: 0.95;

  letter-spacing: -0.04em;

  color: #202020;
}


/* ==========================================
   MOBILE NAMES HIDDEN ON DESKTOP
========================================== */

.mobile-top-name,
.mobile-bottom-name {
  display: none;
}


/* ==========================================
   PORTFOLIO
========================================== */

.portfolio-link {
  position: absolute;

  top: 50.2%;
  left: 23.5%;

  z-index: 3;
}

.portfolio-link a {
  font-family: "forma-djr-deck", sans-serif;

  font-size: clamp(22px, 2.2vw, 40px);
  font-weight: 500;

  line-height: 1;

  color: #202020;

  text-decoration: none;

  transition: opacity 0.2s ease;
}


/* ==========================================
   CONTACT
========================================== */

.contact-link {
  position: absolute;

  top: 50.2%;
  left: 61.5%;

  z-index: 3;
}

.contact-link a {
  font-family: "forma-djr-deck", sans-serif;

  font-size: clamp(22px, 2.2vw, 40px);
  font-weight: 500;

  line-height: 1;

  color: #202020;

  text-decoration: none;

  transition: opacity 0.2s ease;
}

.desktop-name {
  user-select: none;

  transition: color 0.2s ease;
}

/* ==========================================
   MOBILE WORDS HIDDEN ON DESKTOP
========================================== */

.mobile-word {
  display: none;
}


/* ==========================================
   HOVER
========================================== */

.portfolio-link a:hover,
.contact-link a:hover {
  opacity: 0.5;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1024px) {

  .artwork {
    width: min(72vw, 637px);
    height: auto;

    aspect-ratio: 637 / 982;
  }

  .shape-image {
    position: relative;

    width: 100%;
    height: auto;

    object-fit: contain;
  }

  .desktop-name {
    font-size: clamp(36px, 6vw, 64px);
  }

  .portfolio-link a,
  .contact-link a {
    font-size: clamp(20px, 3vw, 34px);
  }
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 700px) {

  body {
    background: white;
    overflow-x: hidden;
  }


  /* PAGE STACKS VERTICALLY */

  .page {
    width: 100%;
    min-height: 100vh;

    display: flex;

    flex-direction: column;

    justify-content: flex-start;
    align-items: center;

    background: white;
  }


  /* HIDE DESKTOP NAME */

  .desktop-name {
    display: none;
  }


  /* ======================================
     TOP DANIEL
  ====================================== */

  .mobile-top-name {
    display: block;

    width: 100%;
    height: auto;

    padding-top: 3vw;
    padding-bottom: 4vw;

    overflow: visible;

    font-family: "forma-djr-deck", sans-serif;

    font-size: 26vw;
    font-weight: 500;

    line-height: 0.9;

    letter-spacing: -0.055em;

    color: #202020;

    background: white;

    flex-shrink: 0;
  }


  /* ======================================
     ARTWORK
  ====================================== */

  .artwork {
    width: 100vw;
    height: auto;

    aspect-ratio: 637 / 982;

    position: relative;

    flex-shrink: 0;
  }




  .shape-image {
    position: relative;

    width: 100%;
    height: auto;

    display: block;

    object-fit: contain;
  }


  /* ======================================
     WORD SWITCH
  ====================================== */

  .desktop-word {
    display: none;
  }

  .mobile-word {
    display: inline;
  }


  /* ======================================
     PORTFOLIO
  ====================================== */

  .portfolio-link {
    top: 50.2%;
    left: 23.5%;

    width: 30vw;
  }

  .portfolio-link a {
    display: block;

    font-size: 9vw;
    font-weight: 500;

    line-height: 0.82;

    letter-spacing: -0.045em;

    color: #202020;

    text-decoration: none;
  }


  /* ======================================
     CONTACT
  ====================================== */

  .contact-link {
    top: 50.2%;
    left: 64%;

    width: 26vw;
  }

  .contact-link a {
    display: block;

    font-size: 9vw;
    font-weight: 500;

    line-height: 0.82;

    letter-spacing: -0.045em;

    color: #202020;

    text-decoration: none;
  }


  /* ======================================
     BOTTOM ROJO
  ====================================== */

  .mobile-bottom-name {
    display: flex;

    width: 100%;
    height: auto;

    min-height: 28vw;

    justify-content: flex-end;
    align-items: flex-start;

    padding-top: 3vw;
    padding-right: 0;
    padding-bottom: 3vw;

    overflow: visible;

    font-family: "forma-djr-deck", sans-serif;

    font-size: 25vw;
    font-weight: 500;

    line-height: 0.9;

    letter-spacing: -0.055em;

    color: #202020;

    background: white;

    flex-shrink: 0;
  }
}


/* ==========================================
   VERY SMALL PHONES
========================================== */

@media (max-width: 420px) {

  .mobile-top-name {
    font-size: 27vw;

    padding-top: 4vw;
    padding-bottom: 4vw;
  }

  .mobile-bottom-name {
    font-size: 26vw;

    padding-top: 3vw;
    padding-bottom: 4vw;
  }

  .portfolio-link a,
  .contact-link a {
    font-size: 9.5vw;
  }
}