:root{
  --bg:#fff;
  --fg:#111;
  --muted:#777;
  --max:1400px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  background:var(--bg);
  color:var(--fg);
  font:14px/1.4 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  letter-spacing:0.2px;

  /* fixed header space */
  padding-top:52px;
}

/* No underline anywhere */
a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:none; }

/* Layout */
.main{
  max-width:var(--max);
  margin:0 auto;
  padding:18px;
}

/* ---------- Fixed Header ---------- */
.site-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 18px;
}

.site-header--fixed{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:50;

  /* default: solid white */
  background:rgba(255,255,255,1);
  transition: background 220ms ease, backdrop-filter 220ms ease;
}

/* when scrolled: translucent + blur */
.site-header--fixed.is-translucent{
  background:rgba(255,255,255,0.72);
  backdrop-filter:saturate(180%) blur(10px);
}

.brand{
  font-weight:600;
  letter-spacing:0.6px;
}

.nav{
  display:flex;
  gap:14px;
  align-items:center;
}

.nav-link{
  color:var(--fg);
  text-transform:uppercase;
  font-size:12px;
  letter-spacing:0.8px;
}

/* ---------- Index Hero ---------- */
.hero{
  position:relative;
  height:52vh;
  min-height:320px;
  overflow:hidden;

  /* Pull hero up so video starts at top behind fixed header */
  margin-top:-52px;
}

.hero-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* ---------- Grid ---------- */
.grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}

.card{ display:block; }

.thumb{
  margin:0;
  overflow:hidden;
  background:#f6f6f6; /* no border */
}

.thumb img{
  display:block;
  width:100%;
  height:auto;
  transform:scale(1);
  transition:transform 220ms ease;
}

.card:hover .thumb img{
  transform:scale(1.02);
}

.meta{
  padding:10px 2px 2px 2px;
  display:flex;
  justify-content:space-between;
  gap:12px;
}

.title{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:0.8px;
}

/* ---------- Project ---------- */
.project{
  padding:10px 0 18px;
}

.project-head{
  padding:6px 0 14px;
}

.project-title{
  margin:0 0 6px 0;
  font-size:18px;
  font-weight:600;
  letter-spacing:0.6px;
  text-transform:uppercase;
}

.project-line{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:0.8px;
  margin:2px 0;
  color:var(--muted);
}

.project-body{
  display:flex;
  flex-direction:column;
  gap:16px;
  padding:8px 0 12px;
}

.video{
  background:#000;
  position:relative;
  aspect-ratio:16/9;
  overflow:hidden;
}

.video iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}

.project-media{
  margin:0;
  background:#f6f6f6; /* no border */
}

.project-media img{
  display:block;
  width:100%;
  height:auto;
}

.project-foot{
  padding-top:10px;
}

.back{
  font-size:12px;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:0.8px;
}

/* ---------- Info ---------- */
.info{
  max-width:720px;
  padding:18px 0 60px;
}

.info-text{
  margin:0 0 12px 0;
  font-size:14px;
}

.muted{ color:var(--muted); }

/* ---------- Footer (copyright only) ---------- */
.site-footer{
  padding:18px;
  max-width:var(--max);
  margin:24px auto 0;
  color:var(--muted);
  font-size:12px;
}

/* Responsive */
@media (max-width: 1000px){
  .grid{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width: 640px){
  .site-header{ padding:14px 14px; }
  .main{ padding:14px; }
  .grid{ grid-template-columns:1fr; gap:14px; }
  .meta{ padding-top:8px; }
  body{ padding-top:48px; }
  .hero{ margin-top:-48px; }
}