.hero {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 120px;
  margin-top: -60px;
}

.right {
  position: relative;
  width: 450px;
  height: 450px;
  background-image: radial-gradient(#ddd 1px, transparent 0);
  background-size: 20px 20px;
  flex-shrink: 0;
}

.story {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  transform: translateY(-15px);
}

h2 {
  font-family: 'IBM Plex Mono';
  font-size: 20px;
  font-weight: 500;
  line-height: 1.05;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

.story-label {
  font-family: 'IBM Plex Mono';
  font-size: 13px;
  letter-spacing: 0.05em;
  margin-bottom: 22px;
}

.story-cross {
  font-size: 15px;
  line-height: 1;
  margin: 10px 0;
}

.corner {
  position: absolute;
  width: 30px;
  height: 30px;
}

.tl { top: 0; left: 0; border-top: 2px solid black; border-left: 2px solid black; }
.tr { top: 0; right: 0; border-top: 2px solid black; border-right: 2px solid black; }
.bl { bottom: 0; left: 0; border-bottom: 2px solid black; border-left: 2px solid black; }
.br { bottom: 0; right: 0; border-bottom: 2px solid black; border-right: 2px solid black; }

.square {
  width: 10px;
  height: 10px;
  background: black;
  margin-top: 45px;
}

/* ── CV Viewer ── */

.viewer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, .18);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(6px);
}

.viewer-box {
  width: 82%;
  height: 90vh;
  background: rgba(245, 245, 245, .55);
  border: 1px solid rgba(0, 0, 0, .08);
  backdrop-filter: blur(12px);
  padding: 35px;
  display: flex;
  flex-direction: column;
}

.viewer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  font-family: 'IBM Plex Mono';
  font-size: 13px;
  color: black;
}

.viewer-close {
  background: none;
  border: none;
  font-family: 'IBM Plex Mono';
  font-size: 13px;
  cursor: pointer;
  opacity: .7;
  transition: .3s;
}

.viewer-close:hover { opacity: .4; }

.viewer-title {
  font-family: 'Inter Tight';
  font-size: 28px;
  margin-bottom: 25px;
  color: black;
}

.pdf-container {
  width: 100%;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pdf-viewer {
  width: 84%;
  height: 100%;
  background: white;
  border: 1px solid rgba(0, 0, 0, .08);
}

.viewer-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  font-family: 'IBM Plex Mono';
  font-size: 13px;
  opacity: .7;
  color: black;
}


/* ─────────────────────────────────────────
   MOBILE  (≤ 768px)
───────────────────────────────────────── */
@media (max-width: 768px) {

  .hero {
    flex-direction: column;
    gap: 0;
    margin-top: -20px;
    align-items: flex-start;
    padding: 24px 0;
  }

  .right {
    display: none;
  }

  .left {
    padding-top: 50px;
}

  .viewer-box {
    width: 92%;
    height: 88vh;
    padding: 20px 18px;
  }

  .viewer-title {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .pdf-viewer {
    width: 100%;
  }

}