:root{
  --bg:#0C0C0C;
  --fg:#fff;
  --fg-dim: rgba(255,255,255,0.55);
  --line: rgba(255,255,255,0.14);
  --accent:#3654FF;
}
*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{
  background:var(--bg);
  color:var(--fg);
  font-family:-apple-system, "Helvetica Neue", Arial, sans-serif;
  min-height:100vh;
}
::selection{
  background: var(--accent);
  color:#000;
}
a{ color:inherit; }

.top-bar{
  display:none;
}

header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:22px 40px;
  background:#EDEBE3;
  border-bottom:4px solid #0A0A0A;
  color:#0A0A0A;
}
.brand{
  display:flex;
  align-items:baseline;
  gap:16px;
  flex-wrap:wrap;
}
.brand-name{
  font-size:28px;
  font-weight:800;
  letter-spacing:0.01em;
  color:#0A0A0A;
  text-decoration:none;
}
.brand-dot{
  width:9px;
  height:9px;
  border-radius:0;
  background: var(--accent);
  transition: background 0.5s ease;
  flex-shrink:0;
}
.brand-tag{
  font-size:12px;
  color:#555;
  font-family:'Space Grotesk', sans-serif;
  text-transform:uppercase;
  letter-spacing:0.05em;
}
.nav{
  display:flex;
  align-items:center;
  gap:26px;
}
.nav a{
  font-size:12px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  text-decoration:none;
  color:#0A0A0A;
  font-weight:700;
  border-bottom:2px solid transparent;
  transition: border-color 0.3s ease;
}
.nav a:hover, .nav a.active{
  border-bottom-color: var(--accent);
}

footer{
  padding:20px 40px 32px;
  font-size:12px;
  color:var(--fg-dim);
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:8px;
}
footer .style-tag{
  color:var(--accent);
  transition: color 0.5s ease;
}

/* ---- homepage grid/tiles ---- */

.content{
  padding:24px 40px 60px;
}

.tile{
  position:relative;
  overflow:hidden;
  border-radius:2px;
  background:#111;
  cursor:pointer;
  box-shadow: inset 0 0 0 1px var(--accent);
  transition: opacity 0.9s cubic-bezier(.16,1,.3,1), transform 0.9s cubic-bezier(.16,1,.3,1), box-shadow 0.4s ease;
  opacity:0;
  transform: translateY(36px);
  text-decoration:none;
  display:block;
}
.tile.in-view{
  opacity:1;
  transform: translateY(0);
}
.tile:hover{
  box-shadow: inset 0 0 0 1px var(--accent), 0 0 46px 4px color-mix(in srgb, var(--accent) 45%, transparent);
}

.tile-hero{
  width:100%;
  height:min(64vh, 560px);
  margin-bottom:6px;
}

.tile-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:6px;
}
.tile-grid .tile{ height:340px; }
.tile-grid .tile:nth-child(1){ transition-delay: 0.05s; }
.tile-grid .tile:nth-child(2){ transition-delay: 0.15s; }
.tile-grid .tile:nth-child(3){ transition-delay: 0.25s; }

.tile img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform: scale(1.06);
  filter: brightness(0.62);
  transition: transform 1.1s cubic-bezier(.16,1,.3,1), filter 0.6s ease;
}
.tile:hover img{
  transform: scale(1.13);
  filter: brightness(0.8);
}

.tile-label{
  position:absolute;
  left:22px;
  bottom:20px;
  z-index:2;
}
.tile-label span{
  color:#fff;
  font-size:clamp(15px, 1.6vw, 20px);
  font-weight:500;
  text-decoration:underline;
  text-underline-offset:5px;
  text-decoration-color: rgba(255,255,255,0.4);
  transition: text-decoration-color 0.4s ease, transform 0.4s cubic-bezier(.16,1,.3,1), color 0.4s ease;
  display:inline-block;
}
.tile:hover .tile-label span{
  text-decoration-color: var(--accent);
  color: var(--accent);
  transform: translateX(4px);
}
.tile-hero .tile-label span{ font-style:italic; }

/* ---- work index / list page ---- */

.wrap{
  max-width:1100px;
  margin:0 auto;
  padding:6vh 40px 14vh;
}
.index-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  margin-bottom:6vh;
}
.index-head h1{
  font-family:'Archivo Black', sans-serif;
  font-size:22px;
  font-weight:400;
  text-transform:uppercase;
  letter-spacing:0.01em;
  margin:0;
}
.index-meta{
  font-size:12px;
  color:var(--fg-dim);
  text-transform:uppercase;
  letter-spacing:0.08em;
  text-align:right;
  line-height:1.6;
}

.list{ position:relative; }
.row{
  position:relative;
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  padding:34px 4px;
  border-bottom:1px solid var(--line);
  cursor:pointer;
  text-decoration:none;
  color:inherit;
}
.row:first-child{ border-top:1px solid var(--line); }
.row-left{ display:flex; align-items:baseline; gap:22px; }
.row-index{
  font-size:12px;
  color:var(--fg-dim);
  font-variant-numeric:tabular-nums;
  width:20px;
}
.row-title{
  font-family:'Fraunces', serif;
  font-style:italic;
  font-weight:400;
  font-size:clamp(28px, 5vw, 46px);
  letter-spacing:-0.01em;
  transition: color 0.4s ease, transform 0.5s cubic-bezier(.16,1,.3,1);
  transform: translateX(0);
}
.row.active .row-title{
  color: var(--accent);
  transform: translateX(14px);
}
.row-disabled{ cursor:default; }
.row-disabled .row-title{ color:var(--fg-dim); }
.row-disabled.active .row-title{ color:var(--fg-dim); transform:translateX(0); }
.row-disabled .row-tags{ opacity:0.5; }
.row-tags{
  font-size:12px;
  color:var(--fg-dim);
  text-align:right;
  line-height:1.6;
  transition: opacity 0.4s ease;
}
.row.active .row-tags{ opacity:0.4; }

.floater{
  position:fixed;
  top:0;
  left:0;
  width:clamp(200px, 24vw, 420px);
  height:clamp(140px, 17vw, 295px);
  border:3px solid #F2F0EA;
  border-radius:0;
  overflow:hidden;
  pointer-events:none;
  opacity:0;
  z-index:50;
  transform: translate(-1000px,-1000px) rotate(-4deg) scale(0.92);
  transition: opacity 0.35s ease, box-shadow 0.4s ease;
  will-change: transform, opacity;
  box-shadow: 10px 10px 0 var(--accent);
}
.floater.visible{
  opacity:1;
}
.floater img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.floater-label{
  position:absolute;
  bottom:10px;
  left:12px;
  font-size:11px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:#fff;
  background: var(--accent);
  padding:4px 9px;
  border-radius:3px;
  transition: background 0.5s ease;
}

.badge-uc{
  display:inline-flex;
  align-items:center;
  font-size:10px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  font-weight:700;
  color: var(--accent);
  border:1px solid var(--accent);
  border-radius:999px;
  padding:3px 9px;
  white-space:nowrap;
  transition: color 0.5s ease, border-color 0.5s ease;
}
.row-left .badge-uc{ margin-left:2px; }

@media (max-width:720px){
  .tile-grid{ grid-template-columns:1fr; }
  .tile-grid .tile{ height:280px; }
  header{ padding:20px 22px; }
  .content{ padding:20px 22px 60px; }
  .floater{ display:none; }
  .row-title{ font-size:30px; }
  .index-head{ flex-direction:column; align-items:flex-start; gap:10px; }
  .index-meta{ text-align:left; }
  .wrap{ padding:6vh 22px 12vh; }
}
