:root {
  color-scheme: light;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  background: #f7f5ef;
  color: #2b2839;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  background: #ddebf8;
}

main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-link {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  color: #0c2340;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(12, 35, 64, .12);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(12, 35, 64, .12);
  backdrop-filter: blur(8px);
}

.back-link:hover { color: #168578; }

.card {
  width: 100vw;
  min-height: 100vh;
  margin: 0;
  padding: clamp(88px, 12vw, 140px) clamp(28px, 10vw, 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 8vw, 120px);
  text-align: center;
  background: #ddebf8;
  border-bottom: 6px solid #2754f5;
}

.avatar {
  width: min(34vw, 360px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 22px 55px rgba(12, 35, 64, .18);
}

.details { flex: 1; }
.details h1 { margin: 0 0 14px; font-size: clamp(32px, 5vw, 64px); }
.details p { margin: 0 0 20px; font-size: clamp(18px, 2.2vw, 28px); font-weight: 700; }
.details h2 { margin: 0; font-size: clamp(16px, 1.8vw, 24px); }

.project-note {
  position: fixed;
  right: 20px;
  bottom: 16px;
  margin: 0;
  color: #65717d;
  font-size: 14px;
}

@media (max-width: 520px) {
  .card { flex-direction: column; padding: 90px 24px 60px; }
  .avatar { width: min(68vw, 280px); }
  .project-note { display: none; }
}
