:root{
  --bg:#f4f4f4;
  --panel:#ececec;
  --surface:#e2e2e2;
  --surface-2:#dedede;
  --text:#111;
  --nav:#ffffffee;
  --footer:#ffffffee;
  --shadow:0 10px 30px rgba(0,0,0,.06);
  --radius:20px;
  --gap:20px;
  --container:1200px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:Arial, Helvetica, sans-serif;
  background:linear-gradient(180deg,#f7f7f7 0%, #efefef 100%);
  color:var(--text);
}
a{color:inherit}
.site-header{
  position:sticky;
  top:0;
  z-index:10;
  backdrop-filter: blur(10px);
  background:var(--nav);
  border-bottom:1px solid rgba(0,0,0,.06);
}
.site-shell{
  width:min(calc(100% - 32px), var(--container));
  margin:0 auto;
}
.header-inner{
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.brand{
  text-decoration:none;
  font-weight:700;
  letter-spacing:.08em;
  font-size:.9rem;
}
.nav-toggle{
  display:none;
  appearance:none;
  border:0;
  background:#ededed;
  border-radius:12px;
  padding:10px 12px;
  cursor:pointer;
}
.nav-links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.nav-links a{
  text-decoration:none;
  background:#efefef;
  padding:10px 14px;
  border-radius:999px;
  font-size:.92rem;
  transition:transform .18s ease, background .18s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"]{
  background:#dddddd;
  transform:translateY(-1px);
}
main{
  width:min(calc(100% - 32px), var(--container));
  margin:28px auto 0;
}
.page{
  background:var(--panel);
  border-radius:28px;
  box-shadow:var(--shadow);
  padding:22px;
}
.stack{
  display:flex;
  flex-direction:column;
  gap:var(--gap);
}
.block{
  background:var(--surface);
  border-radius:18px;
}
.block.soft{ background:var(--surface-2); }
.h-title{height:56px;width:46%}
.h-list{height:290px;width:100%}
.h-wide{height:92px;width:100%}
.h-small{height:72px;width:100%}
.h-text{height:170px;width:100%}
.h-end{height:62px;width:100%}
.layout-home-mix{
  display:grid;
  grid-template-columns:1.55fr .85fr;
  gap:var(--gap);
}
.image-box{
  min-height:170px;
  width:100%;
  border-radius:18px;
  overflow:hidden;
  background:#ddd;
}
.image-box.tall{ min-height:220px; }
.image-box img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.page-project .h-title{width:52%}
.page-project .desc{height:305px;width:100%}
.image-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:var(--gap);
}
.image-row .image-box{
  min-height:220px;
}
.bottom-copy{
  height:190px;
  width:78%;
}
.site-footer{
  margin-top:28px;
  background:var(--footer);
  border-top:1px solid rgba(0,0,0,.06);
}
.footer-inner{
  width:min(calc(100% - 32px), var(--container));
  margin:0 auto;
  min-height:92px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.footer-block{
  width:min(360px,100%);
  height:24px;
  border-radius:999px;
  background:#e7e7e7;
}
.project-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:28px;
}
@media (max-width: 820px){
  .header-inner{align-items:flex-start;padding:14px 0}
  .nav-toggle{display:inline-flex}
  .nav-links{
    display:none;
    width:100%;
    padding-top:8px;
  }
  .nav-links.open{
    display:flex;
  }
  .header-inner{
    flex-wrap:wrap;
  }
  .nav-links a{
    width:100%;
    text-align:center;
  }
  .h-title,.page-project .h-title,.bottom-copy{width:100%}
  .layout-home-mix,
  .image-row{
    grid-template-columns:1fr;
  }
}
