.index {
  width: 100%;
  height: 100vh;
}

.home-img {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 10px;
  border: 2px solid var(--text-color);
  transform: translate(-50%, -50%);
  /* was a flat 400x500, which overflowed a 390px viewport by 5px each side.
     Same size on desktop, shrinks below it, 4:5 ratio kept. */
  width: min(400px, 78vw);
  height: min(500px, 97.5vw);
  overflow: hidden;
}

.home-img img {
  width: 100%;
}

.i-hero {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.i-hero .row {
  position: relative;
  width: 60vw;
  text-align: center;
  display: flex;
  align-items: center;
  height: 12vw;
}

.i-hero .row-1 {
  justify-content: flex-start;
}

.i-hero .row-2 {
  justify-content: flex-end;
}

.i-hero .row :is(h1, .hx) {
  position: relative;
  top: 200px;
  text-transform: uppercase;
  font-weight: 500;
  display: flex;
  align-items: center;
  font-size: 12vw;
}

.i-hero .row :is(h1, .hx) span {
  font-size: 4vw;
  font-family: var(--font-accent);
  font-style: italic;
  text-transform: lowercase;
  font-weight: 400;
}

.i-hero .row-2 :is(h1, .hx) span {
  font-size: 10vw;
  font-weight: 400;
}

.index-footer {
  position: absolute;
  padding: 0 1em;
  left: 50%;
  bottom: 7.5%;
  transform: translateX(-50%);
}

.index-footer p {
  font-size: max(1.12rem, 1.5vw);
  font-family: var(--font-sans);
  font-weight: 400;
}

@media (max-width: 900px) {
  .i-hero .row :is(h1, .hx) {
    font-size: 14vw;
  }

  .i-hero .row-1 :is(h1, .hx) span {
    font-size: 8vw;
  }

  .i-hero .row-2 :is(h1, .hx) span {
    font-size: 10vw;
  }

  .index-footer p {
    font-size: 7vw;
  }
}

.h1-revealer:after {
  content: "";
  position: absolute;
  display: block;
  top: 180px;
  left: 0;
  width: 125%;
  height: 145%;
  background: var(--bg);
}

.blob {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 900px) {
  .blob {
    margin-top: 2.5em;
  }
}
