@font-face{font-family:'RJ Hand';src:url('assets/fonts/RJHand-Regular.woff2') format('woff2');}
body{margin:0;background:#fff;color:#111;font:18px/1.45 Arial,sans-serif}
main{max-width:760px;margin:0 auto;padding:28px 24px 80px}
.top{margin-bottom:60px}
h1,h2,nav,.hand,.cv-row span:last-child{font-family:'RJ Hand',sans-serif;font-weight:400}
h1{margin:0 0 10px;font-size:4rem;line-height:.9}
nav{display:flex;gap:18px;font-size:1.35rem}
nav a{text-decoration:none;color:#111}
h2{font-size:1.9rem;margin:0 0 18px}
.hand{font-size:1.45rem;line-height:1.6;max-width:700px}
section{padding:42px 0}
.cv-row{display:grid;grid-template-columns:80px 1fr;gap:18px;padding:6px 0}



.cv-note{
  font-family:'RJ Hand',sans-serif;
  font-size:1.3rem;
  line-height:1.45;
  margin-top:18px;
}





.cv-paragraph{
  text-align:center;
  margin:32px auto 0;
  max-width:700px;
}

.gif-work{margin:0 0 60px;}
.gif-work img{display:block;width:100%;max-width:700px;height:auto;}
.gif-work figcaption{margin-top:10px;font-family:'RJ Hand',sans-serif;font-size:1.3rem;}

.cv-row > span:first-child{
  font-family:'RJ Hand',sans-serif !important;
  color:#111;
  font-size:1.3rem;
}

.hand a{
  color:inherit;
  text-decoration:none;
}
.hand a:hover{
  text-decoration:underline;
}


/* Center-align all page content */
body{
  text-align:center;
}

nav{
  justify-content:center;
}

main{
  margin:0 auto;
}

.hand,
.cv-row,
.cv-paragraph,
.gif-work figcaption{
  text-align:center;
}

.cv-row{
  grid-template-columns:80px auto;
  justify-content:center;
  justify-items:start;
}

.cv-row > span:first-child{
  justify-self:end;
}

.shows-columns{
 display:grid;
 grid-template-columns:1fr 1fr;
 gap:60px;
 align-items:start;
 margin:20px 0 30px;
}
.shows-col{text-align:left;}
.shows-title{margin:0 0 16px;text-align:center;}
@media(max-width:800px){
 .shows-columns{grid-template-columns:1fr;}
}


/* Refined bio alignment */
.bio-text{
  width:min(100%, 700px);
  margin:0 auto;
  text-align:center;
  line-height:1.55;
}

/* Three-column GIF catalogue */
.gif-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:42px 22px;
  align-items:start;
}

.gif-work{
  margin:0;
  min-width:0;
}

.gif-work img{
  width:100%;
  max-width:none;
  height:auto;
}

.gif-work figcaption{
  text-align:center;
  margin-top:8px;
  line-height:1.2;
}

@media(max-width:760px){
  .gif-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media(max-width:480px){
  .gif-grid{
    grid-template-columns:1fr;
  }
}


.lightbox{
 position:fixed;
 inset:0;
 background:rgba(0,0,0,.92);
 display:flex;
 align-items:center;
 justify-content:center;
 opacity:0;
 visibility:hidden;
 transition:opacity .2s ease;
 z-index:9999;
 cursor:zoom-out;
}
.lightbox.open{
 opacity:1;
 visibility:visible;
}
.lightbox img{
 max-width:92vw;
 max-height:92vh;
 image-rendering:auto;
 box-shadow:0 10px 40px rgba(0,0,0,.5);
}

.gif-subheading{ text-align:center; margin:-6px auto 28px; opacity:.8; }







/* Contact */
#contact{
  text-align:center;
}

#contact h2{
  text-align:center;
}

.contact-links{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:0.55rem;
  width:fit-content;
  max-width:100%;
  margin:0 auto;
  text-align:center;
}

.contact-links a{
  display:block;
  color:inherit;
  text-decoration:none;
  text-align:center;
}

.contact-links a:hover{
  text-decoration:underline;
}
