:root{--bg:#fff;--text:#111;--muted:#666;--accent:#111;--max:1200px;}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:ui-serif,Georgia,'Times New Roman',Times,serif;line-height:1.2}
a{color:inherit;text-decoration:none}
.container{max-width:var(--max);margin:0 auto;padding:24px 24px 80px}

.hero{font-size:clamp(36px,6vw,112px);letter-spacing:-.02em;font-weight:400}

/* ↓ smaller back link on subpages */
body.subpage .hero .link:first-child {
  font-size: clamp(18px, 2vw, 28px) !important;
  line-height: 1.2 !important;
  letter-spacing: 0;
  opacity: 0.8;
  font-weight: 400;
  display: inline-block;
  margin-bottom: 12px;
}
body.subpage .hero .link:first-child:hover {
  opacity: 1;
}

.hero .link{display:block;margin:14px 0;font-size:clamp(40px,5.2vw,70px);line-height:1}
.hero .link:hover{opacity:.7}

.mail{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border:2px solid var(--text);border-radius:12px;font-size:26px;margin-top:12px}
.mail svg, .mail img {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.mail:hover svg, .mail:hover img {
  transform: scale(1.1);
  opacity: 0.8;
}

.footer{margin-top:60px;color:var(--muted);font-size:clamp(14px,2vw,22px)}
.artist{display:block;margin-top:8px;font-size:clamp(22px,3vw,34px)}

.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px;margin-top:28px}
.card{position:relative;cursor:zoom-in;border-radius:14px;overflow:hidden;background:#f3f3f3}
.card img{width:100%;height:100%;display:block;object-fit:cover;aspect-ratio:4/3;transition:transform .25s ease}
.card:hover img{transform:scale(1.02)}
.caption{padding:10px 6px 2px;font-size:14px;color:var(--muted)}

.lightbox{position:fixed;inset:0;background:rgba(0,0,0,.85);display:none;align-items:center;justify-content:center;z-index:50;padding:24px}
.lightbox.open{display:flex}
.lightbox-content{max-width:92vw;max-height:86vh;text-align:center;color:#fff;display:flex;flex-direction:column;align-items:center}
.lb-main{max-width:92vw;max-height:72vh;border-radius:12px}
.lightbox .meta{margin-top:12px;font-size:16px;color:#eee;text-align:center;max-width:80vw}
.lb-thumbs{margin-top:12px;display:flex;flex-wrap:wrap;gap:8px;justify-content:center;max-width:90vw}
.lb-thumbs img{width:64px;height:64px;object-fit:cover;border-radius:6px;border:2px solid rgba(255,255,255,0.4);cursor:pointer;transition:border-color .15s ease,opacity .15s ease;opacity:.7}
.lb-thumbs img.active{border-color:#fff;opacity:1}
.lb-close,.lb-prev,.lb-next{position:fixed;top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;border:2px solid #fff;display:flex;align-items:center;justify-content:center;color:#fff;font-size:24px;cursor:pointer;user-select:none}
.lb-close{top:24px;right:24px;transform:none}
.lb-prev{left:24px}
.lb-next{right:24px}
@media(max-width:640px){
  .lb-prev{left:10px}
  .lb-next{right:10px}
  .lb-close{right:10px}
}
