/* ── Reset ─────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #000;
}

body {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  color: #fff;
  background: #000;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
}

/* ── Page wrapper ──────────────────────────────────── */
.page {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1.5rem;
  padding-top: calc(2rem + env(safe-area-inset-top, 0px));
  padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
  padding-left: calc(1.5rem + env(safe-area-inset-left, 0px));
  padding-right: calc(1.5rem + env(safe-area-inset-right, 0px));
}

/* ── Background ────────────────────────────────────── */
.bg-wallpaper {
  position: fixed;
  inset: 0;
  background: url("public/wallpaper.jpg") center / cover no-repeat;
  z-index: 0;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.73) 40%,
    rgba(0, 0, 0, 0.80) 100%
  );
  z-index: 1;
}

/* ── Mobile edge fade ──────────────────────────────── */
.bg-fade-top,
.bg-fade-bottom {
  display: none;
}

@media (max-width: 640px) {
  .bg-fade-top,
  .bg-fade-bottom {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 2;
    pointer-events: none;
  }

  .bg-fade-top {
    top: 0;
    background: linear-gradient(to bottom, #000 0%, transparent 100%);
  }

  .bg-fade-bottom {
    bottom: 0;
    background: linear-gradient(to top, #000 0%, transparent 100%);
  }
}

/* ── Nav link bar ──────────────────────────────────── */
.link-bar {
  position: relative;
  z-index: 10;
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
  padding-top: 1rem;
}

.nav-link {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.06);
  transition: all 0.25s ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.nav-link img {
  opacity: 0.85;
}

.resume-icon {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  line-height: 1;
}

/* ── Hero ──────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 10;
  text-align: center;
  margin-bottom: 3rem;
}

.name {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 5rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #e0e0e0 40%,
    #ffffff 60%,
    #c0c0c0 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}

.title {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* ── Statement ─────────────────────────────────────── */
.statement {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 640px;
}

.statement-inner {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  padding: 2.5rem 2.25rem;
}

.statement-inner p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
}

/* ── Mobile ────────────────────────────────────────── */
@media (max-width: 640px) {
  .page {
    padding: 1.25rem 1rem;
    padding-top: calc(1.25rem + env(safe-area-inset-top, 0px));
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
    padding-left: calc(1rem + env(safe-area-inset-left, 0px));
    padding-right: calc(1rem + env(safe-area-inset-right, 0px));
  }

  .link-bar {
    gap: 0.6rem;
    margin-bottom: 2.25rem;
  }

  .nav-link {
    font-size: 0.7rem;
    padding: 0.45rem 0.75rem;
    gap: 0.35rem;
  }

  .nav-link img {
    width: 14px;
    height: 14px;
  }

  .hero {
    margin-bottom: 2rem;
  }

  .statement-inner {
    padding: 1.75rem 1.25rem;
    border-radius: 16px;
  }

  .statement-inner p {
    font-size: 0.88rem;
    line-height: 1.7;
  }
}

@media (max-width: 380px) {
  .nav-link span:not(.resume-icon) {
    display: none;
  }

  .nav-link {
    padding: 0.5rem 0.65rem;
  }
}
