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

/* ── BASE ── */
html, body { height: 100%; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #fff;
  color: #111;
  -webkit-font-smoothing: antialiased;
  overflow: hidden; /* one-screen experience */
}



/* ── PAGE GRID ── */
.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}



/* ── TOP BAR ── */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(2rem, 6vw, 4.5rem);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: default;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111;
  text-transform: lowercase;
}

.brand-slash {
  color: #ddd;
  font-weight: 300;
  font-size: 1.2rem;
}

.brand-sub {
  font-size: 1rem;
  font-weight: 400;
  color: #888;
  letter-spacing: -0.01em;
}

.top-nav .nav-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #666;
  transition: color 0.3s ease;
}

.nav-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.nav-arrow {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.nav-link:hover {
  color: #111;
}

.nav-link:hover .nav-arrow {
  transform: translateX(4px);
}

/* ── ICON BUTTON ── */
.icon-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0e0e0;
  border-radius: 9px;
  color: #555;
  text-decoration: none;
  transition: background 0.14s, border-color 0.14s, color 0.14s, transform 0.14s;
}

.icon-btn:hover {
  background: #111;
  border-color: #111;
  color: #fff;
  transform: scale(1.08);
}

.icon-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ── HERO ── */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: clamp(2rem, 15vw, 15rem);
  padding-right: 2rem;
  margin-top: -6vh;
}

/* ── UTILITIES ── */
.mono {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

/* ── PROFILE LAYOUT (ABOUT ME) ── */
.profile-layout {
  display: flex;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: 1000px;
}

.profile-figure {
  flex-shrink: 0;
}

.profile-img-placeholder {
  width: clamp(120px, 15vw, 160px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f7f7f7;
  border: 1px solid #eaeaea;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  overflow: hidden;
}

.profile-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.profile-meta {
  font-size: 12px;
  font-weight: 600;
  color: #777;
  letter-spacing: 0.05em;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.profile-meta .dot { color: #ccc; }

.profile-bio {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #111;
  max-width: 550px;
}

.inline-socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 16px;
  color: #555;
  margin-top: 0.5rem;
  font-weight: 500;
}

.profile-tags span {
  transition: color 0.2s;
  cursor: default;
}
.profile-tags span:hover { color: #111; }

/* Mobile icons (hidden on desktop) */
.mob-icons { display: none; }

/* ── FOOTER ── */
.footer {
  text-align: center;
  padding: 1.5rem 0;
  font-size: 14px;
  color: #999;
  font-weight: 500;
}

/* ── FADE IN ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  animation: up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

@keyframes up {
  to { opacity: 1; transform: translateY(0); }
}

/* ── MOBILE ≤ 600px ── */
@media (max-width: 600px) {
  body { overflow: auto; }

  .top-bar {
    padding: 1.5rem;
    justify-content: center;
  }

  .hero {
    padding: 2rem 1.25rem;
  }

  .profile-layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .profile-meta { justify-content: center; }
  .inline-socials { justify-content: center; }
  .profile-tags { justify-content: center; }

  .profile-img-placeholder {
    width: 120px;
  }
}
