.hero-visual {
  height: 510px;
  background: #1c1c19;
  border: 1px solid #1c1c19;
  overflow: hidden;
}

body {
  overflow-x: hidden;
}

.hero-copy {
  position: relative;
}

.hero-copy::after {
  content: "STUDY / WEB / DONE";
  display: block;
  width: max-content;
  margin-top: 46px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: .08em;
}

.hero-visual::before {
  content: "N";
  position: absolute;
  z-index: 0;
  left: 4%;
  bottom: -24%;
  color: transparent;
  font-size: clamp(310px, 36vw, 550px);
  font-weight: 600;
  line-height: .75;
  letter-spacing: -.16em;
  -webkit-text-stroke: 1px #595954;
}

.hero-visual::after {
  z-index: 0;
  width: 180px;
  height: 180px;
  right: -70px;
  top: -60px;
  border: 1px solid #f44e46;
  border-radius: 0;
}

.hero-visual img {
  position: absolute;
  z-index: 1;
  width: 108%;
  height: 108%;
  left: -4%;
  bottom: -6%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(15px 18px 16px rgba(0, 0, 0, .42));
}

.visual-index,
.visual-statement {
  position: absolute;
  z-index: 3;
  margin: 0;
  color: #f3f2ef;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: .03em;
}

.visual-index {
  right: 18px;
  top: 18px;
}

.visual-statement {
  left: 18px;
  bottom: 16px;
  line-height: 1.45;
}

.visual-rail {
  position: absolute;
  z-index: 0;
  display: block;
  background: #f44e46;
}

.rail-one {
  width: 1px;
  height: 60%;
  left: 42%;
  top: 0;
}

.rail-two {
  width: 28%;
  height: 1px;
  right: 0;
  bottom: 29%;
}

.visual-label {
  z-index: 4;
  background: #f3f2ef;
  box-shadow: 6px 6px 0 #f44e46;
}

.cta,
.workspace {
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.cta:hover {
  background: var(--coral);
  color: var(--ink);
  transform: translateY(-2px);
}

.workspace:hover {
  background: #e7e7e2;
}

.workspace:hover .open {
  color: var(--coral);
  border-bottom-color: var(--coral);
}

.cta:focus-visible,
.workspace:focus-visible,
.nav-link:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 4px;
}

.label-top {
  left: 18px;
}

.label-bottom {
  right: 18px;
}

@media (max-width: 720px) {
  .hero-visual {
    height: 400px;
  }

  .hero-visual img {
    width: 116%;
    height: 116%;
    left: -8%;
    bottom: -8%;
  }

  .hero-visual::before {
    left: 8%;
    bottom: -11%;
    font-size: 330px;
  }

  .label-top {
    left: 10px;
  }

  .label-bottom {
    right: 10px;
  }

  .hero-copy::after {
    margin-top: 34px;
  }

  .visual-statement {
    left: 12px;
    bottom: 12px;
    font-size: 8px;
  }

  .visual-index {
    right: 12px;
    top: 12px;
    font-size: 8px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: clamp(44px, 13.4vw, 56px);
  }

  .hero-visual {
    height: 355px;
  }

  .hero-visual img {
    width: 124%;
    height: 124%;
    left: -12%;
    bottom: -12%;
  }

  .visual-label {
    padding: 8px 9px;
    font-size: 8px;
  }

  .label-bottom {
    bottom: 10px;
  }

  .hero-copy::after {
    font-size: 8px;
  }
}
