:root{
  --bg:#f7f7f5;
  --card:#fff;
  --text:#111;
  --muted:#777;
  --line:#e6e6e0;
  --accent:#f25a00;
  --radius:24px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
}
a{text-decoration:none;color:inherit}
.wrap{width:min(1180px,calc(100% - 36px));margin:0 auto}
.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  padding:20px 0;
}
.logo{
  display:block;
  width:150px;
  max-width:38vw;
  height:auto;
  mix-blend-mode:multiply;
}
nav{display:flex;gap:22px;font-size:14px;color:#555}
nav a:hover{color:#111}
.hero{padding:25px 0 50px}
.hero-copy{max-width:880px}
.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:12px;
  letter-spacing:.18em;
  color:#666;
}
.kicker::before{
  content:"";
  width:26px;
  height:2px;
  background:var(--accent);
  border-radius:99px;
}
h1{
  margin:14px 0 18px;
  font-size:clamp(56px,10vw,120px);
  line-height:.88;
  letter-spacing:-.06em;
}
.hero p{
  margin:0;
  color:#666;
  font-size:clamp(17px,2vw,22px);
  line-height:1.55;
  max-width:620px;
}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.btn{
  min-height:48px;
  padding:0 20px;
  border-radius:999px;
  border:1px solid #111;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:14px;
}
.btn-dark{background:#111;color:#fff}
.projects-section{padding:35px 0 70px}
.section-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:20px;
  margin-bottom:22px;
}
.section-head h2,.about h2{
  margin:8px 0 0;
  font-size:clamp(34px,5vw,56px);
  letter-spacing:-.04em;
}
.section-head p{margin:0;color:#777;font-size:14px}
.projects-carousel{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(290px,34%);
  gap:18px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  padding:4px 2px 8px;
}
.projects-carousel::-webkit-scrollbar{display:none}
.project-card,.empty-card{
  scroll-snap-align:start;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  min-height:100%;
}
.project-card{transition:.2s ease}
.project-card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 40px rgba(0,0,0,.08);
}
.project-media{
  aspect-ratio:4/3;
  background:#ecece8;
  overflow:hidden;
}
.project-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.project-body{
  padding:18px;
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:end;
}
.project-body h3{
  margin:0 0 5px;
  font-size:19px;
  letter-spacing:-.02em;
}
.project-meta{font-size:13px;color:#858585}
.project-arrow{
  width:38px;height:38px;border-radius:50%;
  background:#111;color:#fff;
  display:grid;place-items:center;
  flex:0 0 auto;
}
.empty-card{
  min-height:390px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:28px;
  border-style:dashed;
  background:#fafaf8;
  color:#9a9a94;
}
.empty-card strong{
  display:block;
  color:#555;
  margin-bottom:8px;
}
.carousel-controls{
  margin-top:14px;
  display:flex;
  justify-content:flex-end;
  gap:8px;
}
.round-btn{
  width:46px;height:46px;border-radius:50%;
  border:1px solid #d7d7d1;
  background:#fff;
  font-size:20px;
  cursor:pointer;
}
.about{
  border-top:1px solid var(--line);
  padding:40px 0 70px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:36px;
}
.about p{
  margin:0;
  font-size:17px;
  line-height:1.65;
  color:#666;
  max-width:580px;
}
footer{
  border-top:1px solid var(--line);
  padding:28px 0 40px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
  color:#6d6d6d;
  font-size:14px;
}
.footer-links{display:flex;gap:18px;font-weight:700;color:#222}
@media(max-width:800px){
  nav{display:none}
  .hero{padding-top:38px}
  .projects-carousel{grid-auto-columns:82%}
  .about{grid-template-columns:1fr}
}
@media(max-width:520px){
  .wrap{width:min(100% - 24px,1180px)}
  .logo{width:128px}
  .projects-carousel{grid-auto-columns:88%}
  .hero{padding-bottom:32px}
}
