*{box-sizing:border-box}
html,body{
  height:100%;
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  color:#111;
  background:#f4f4f4;
  scroll-behavior:smooth;
}
.page{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:40px 24px;
}
.hero{
  width:min(1100px,100%);
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:48px;
  align-items:center;
}
.photo-wrap{
  display:grid;
  place-items:center;
}
.photo{
  width:min(420px,78vw);
  aspect-ratio:1;
  border-radius:50%;
  overflow:hidden;
  background:linear-gradient(180deg,#d9d9d9,#bdbdbd);
  display:grid;
  place-items:center;
  font-size:72px;
  font-weight:700;
  color:#666;
}
.photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter:grayscale(100%);
}
.copy h1{
  margin:0 0 18px;
  font-size:clamp(56px,9vw,92px);
  line-height:1;
  font-weight:800;
  letter-spacing:-0.02em;
}
.copy h2{
  margin:0 0 16px;
  font-size:clamp(22px,3vw,30px);
  font-weight:800;
}
.copy p{
  margin:0 0 28px;
  max-width:520px;
  font-size:16px;
  line-height:1.75;
  color:#222;
}
.actions{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
}
.action-btn{
  width:118px;
  height:118px;
  border-radius:50%;
  border:2px solid #111;
  display:grid;
  place-items:center;
  text-align:center;
  text-decoration:none;
  color:#111;
  font-size:18px;
  font-weight:800;
  line-height:1.15;
  padding:12px;
  transition:transform .2s ease,box-shadow .2s ease;
}
.action-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(0,0,0,.12);
}
.action-btn.resume{background:#e99a23}
.action-btn.projects{background:#f23d26}
.action-btn.contact{background:#85d6d6}
.subpage{align-items:flex-start;padding-top:60px}
.subpage-main{width:min(900px,100%)}
.back-link{display:inline-block;margin-bottom:20px;color:#111;text-decoration:none;font-weight:700}
.subpage-main h1{margin:0 0 24px;font-size:clamp(42px,7vw,64px);font-weight:800}
.project-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-bottom:28px}
.project-card{background:#fff;border:1px solid #ddd;border-radius:12px;padding:18px}
.project-card h3{margin:0 0 8px;font-size:18px}
.project-card p{margin:0 0 10px;font-size:14px;line-height:1.6;color:#444}
.project-card a{color:#111;font-weight:700;text-decoration:none}
.contact-box{background:#fff;border:1px solid #ddd;border-radius:12px;padding:24px;margin-bottom:28px}
.contact-box p{margin:0 0 10px;font-size:16px;line-height:1.6}
.contact-box a{color:#111;font-weight:700}
.subpage-actions{margin-top:10px}
@media(max-width:900px){
  .hero{
    grid-template-columns:1fr;
    gap:28px;
    text-align:center;
  }
  .copy p{
    margin-left:auto;
    margin-right:auto;
  }
  .actions{
    justify-content:center;
  }
}
