:root{
  --bg:#fff;
  --fg:#111;
  --muted:#6f6f6f;
  --max:1480px;

  --header-h:56px;
  --gap:20px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  background:var(--bg);
  color:var(--fg);

  font:13px/1.45 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  letter-spacing:0.3px;

  padding-top:var(--header-h);
}

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

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

/* ---------- Fixed Header ---------- */
.site-header{
  height:var(--header-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 22px;
}

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

  background:rgba(255,255,255,1);
  transition: background 220ms ease, backdrop-filter 220ms ease;
}

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

.brand{
  font-weight:600;
  letter-spacing:1.2px;
  text-transform:uppercase;
  font-size:12px;
}

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

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

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

  margin-top:calc(var(--header-h) * -1);
}

/* video/img both share this */
.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:var(--gap);
  padding-top:6px;
}

.card{ display:block; }

.thumb{
  margin:0;
  overflow:hidden;
  background:#f3f3f3;
}

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

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

/* Always-visible titles */
.meta{
  padding:9px 2px 0 2px;
  min-height:22px;
}

.title{
  display:block;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:1.4px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

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

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

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

.project-body{
  display:flex;
  flex-direction:column;
  gap:18px;
  padding:10px 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:#f3f3f3;
}

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

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

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

/* Project note under video */
.project-note{
  max-width:720px;
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
  margin-top:2px;
}

.project-note p{
  margin:0;
}

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

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

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

/* INFO bottom official logos: same height (18px), keep aspect ratio */
.info-bottom-icons{
  margin-top:28px;
  display:flex;
  gap:14px;
  align-items:center;
}

.icon-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
}

.icon-link img{
  height:18px; /* unified height */
  width:auto;  /* keep aspect ratio */
  display:block;
}

/* ---------- Footer ---------- */
.site-footer{
  padding:22px;
  max-width:var(--max);
  margin:24px auto 0;
  color:var(--muted);
  font-size:11px;
  letter-spacing:1.0px;
}

/* Responsive */
@media (max-width: 1100px){
  .grid{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width: 640px){
  :root{ --header-h:52px; --gap:16px; }

  .site-header{ padding:0 14px; }
  .main{ padding:14px; }

  .grid{ grid-template-columns:1fr; }
  .hero{ min-height:300px; }
}