﻿*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 400;
  color: #1a1a1a;
  background: #f9f9f7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Layout ─────────────────────────────────────────── */

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 24px 80px;
  gap: 64px;
  max-width: 480px;
  margin: 0 auto;
}

/* ── Intro ──────────────────────────────────────────── */

.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  background: #e4e4e0;
  flex-shrink: 0;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.intro h1 {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #111;
}

.role {
  font-size: 0.9rem;
  color: #555;
  font-weight: 400;
}

.areas {
  font-size: 0.8rem;
  color: #888;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Projects ───────────────────────────────────────── */

.projects {
  width: 100%;
}

.projects h2 {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 20px;
}

.projects ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.projects li {
  border-bottom: 1px solid #ebebeb;
}

.projects li:first-child {
  border-top: 1px solid #ebebeb;
}

.project-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s;
}

.project-link:hover {
  opacity: 0.6;
}

.project-logo {
  height: 28px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.project-logo[src="logos/B7.svg"],
.project-logo[src="logos/Jasan.svg"] {
  height: 34px;
}

.project-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: #111;
  white-space: nowrap;
}

.project-desc {
  font-size: 0.85rem;
  color: #888;
  text-align: right;
}

/* ── Contact ────────────────────────────────────────── */

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.contact a {
  font-size: 0.9rem;
  color: #555;
  transition: color 0.15s;
}

.contact a:hover {
  color: #111;
}

/* ── Responsive ─────────────────────────────────────── */

@media (max-width: 400px) {
  .project-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .project-desc {
    text-align: left;
  }
}
