:root {
  --bg: #e4dfd8;
  --text: #111111;
  --muted: #666;
  --font: 'General Sans', -apple-system, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

.back-to-zlab {
  position: fixed; bottom: 24px; left: 24px; z-index: 9999;
  padding: 10px 20px; background: rgba(0,0,0,0.7); backdrop-filter: blur(12px);
  color: #fff; font-family: var(--font); font-size: 0.75rem; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 100px;
  text-decoration: none; transition: background 0.3s;
}
.back-to-zlab:hover { background: rgba(0,0,0,0.9); }

/* Nav */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 28px 48px;
  display: flex; justify-content: space-between; align-items: flex-start;
  background: var(--bg);
}
.nav-name { font-size: 1.3rem; font-weight: 700; }
.nav-center { font-size: 1.2rem; font-weight: 700; color: var(--text); line-height: 1.5; }
.nav-links { font-size: 1.3rem; font-weight: 700; }
.nav-links a { transition: opacity 0.3s; }
.nav-links a:hover { opacity: 0.5; }

/* Hero */
.hero {
  min-height: 100vh;
  padding: 120px 48px 80px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.hero-title {
  font-size: clamp(2.5rem, 7vw, 6.5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
.hero-bottom {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-top: auto;
}
.hero-left { display: flex; flex-direction: column; gap: 40px; }
.hero-photo { width: 400px; }
.photo-placeholder {
  width: 100%; height: 280px;
  background: #bbb7b0;
}
.photo-img {
  width: 100%; height: 280px;
  object-fit: cover;
}
.hero-desc-row { display: flex; align-items: flex-start; gap: 24px; }
.arrow-down { font-size: 2.5rem; font-weight: 300; line-height: 1; }
.hero-desc {
  font-size: 1.3rem; font-weight: 800; letter-spacing: 0.02em;
  line-height: 1.5; text-transform: uppercase;
}
.hero-right { text-align: right; }
.hero-name {
  font-size: clamp(3.5rem, 10.5vw, 9.6rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

/* About */
.about {
  padding: 200px 48px;
  max-width: 1200px;
}
.about-inner { margin-left: 20%; }
.about-label {
  display: block; font-size: 0.875rem; color: var(--muted);
  margin-bottom: 24px;
}
.about-text {
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 32px;
  max-width: 900px;
}
.about-link {
  font-size: 0.938rem; font-weight: 500;
  border-bottom: 2px solid var(--text);
  padding-bottom: 4px;
  transition: opacity 0.3s;
}
.about-link:hover { opacity: 0.5; }

/* Projects */
.projects { padding: 100px 48px 200px; }
.projects-label {
  font-size: 0.875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.02em;
  margin-bottom: 100px; padding-left: 25%;
}

.project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 160px;
}
.project.reverse { direction: rtl; }
.project.reverse > * { direction: ltr; }
.project.reverse .project-info { text-align: left; }

.project.centered {
  display: flex; flex-direction: column; align-items: center; gap: 40px;
}

.project-title {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.project-desc {
  font-size: 0.875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.02em;
  line-height: 1.5; color: var(--text);
}

.project-image { overflow: hidden; }
.img-placeholder {
  width: 100%; height: 450px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.project:hover .img-placeholder { transform: scale(1.03); }
.project-image.full { width: 60%; }
.project-info-below { text-align: center; }

/* Contact */
.contact {
  padding: 200px 48px 100px;
  border-top: 2px solid var(--text);
}
.contact-title {
  font-size: clamp(4rem, 10vw, 10rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  margin-bottom: 60px;
}
.contact-grid {
  display: flex; gap: 120px;
}
.contact-col { display: flex; flex-direction: column; gap: 8px; }
.contact-label {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--muted); margin-bottom: 4px;
}
.contact-value {
  font-size: 0.938rem; font-weight: 500;
  transition: opacity 0.3s;
}
a.contact-value:hover { opacity: 0.5; }

/* Footer */
footer {
  padding: 40px 48px;
  display: flex; justify-content: space-between;
  font-size: 0.75rem; color: var(--muted);
  border-top: 1px solid rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 900px) {
  nav { padding: 20px 24px; flex-wrap: wrap; gap: 12px; }
  .hero { padding: 100px 24px 60px; }
  .hero-title { font-size: 3.5rem; }
  .hero-bottom { flex-direction: column; gap: 40px; align-items: flex-start; }
  .hero-name { font-size: 4rem; text-align: left; }
  .hero-photo { width: 100%; }
  .about { padding: 100px 24px; }
  .about-inner { margin-left: 0; }
  .projects { padding: 60px 24px 100px; }
  .project { grid-template-columns: 1fr; }
  .project.reverse { direction: ltr; }
  .project-title { font-size: 3rem; }
  .projects-label { padding-left: 0; }
  .contact { padding: 100px 24px 60px; }
  .contact-title { font-size: 3.5rem; }
  .contact-grid { flex-direction: column; gap: 40px; }
  footer { padding: 32px 24px; }
}
