:root{
  --bg:#0b0b0b;
  --fg:#f2f2f2;
  --muted:#9aa0a6;
  --accent:#5f77a6;
  --line:rgba(255,255,255,.12);
  --panelLine:rgba(255,255,255,.18);
}

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

body{
  margin:0;
  font:16px/1.4 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

body.dark{
  background:var(--bg);
  color:var(--fg);
}

a{ color:inherit; text-decoration:none; }
a:hover{ opacity:.86; }

.top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  padding:26px 34px 18px 34px;
  border-bottom:10px solid rgba(255,255,255,.95);
}

.top.compact{
  border-bottom:1px solid var(--line);
  padding:18px 22px;
}

.big-name{
  font-weight:900;
  letter-spacing:.5px;
  font-size:52px;
  line-height:1;
  text-transform:uppercase;
}

.role{
  margin-top:6px;
  font-weight:800;
  font-size:34px;
  color:var(--accent);
  text-transform:lowercase;
}

.top-right{
  text-align:right;
  padding-top:6px;
}

.contact-label{
  font-weight:900;
  font-size:20px;
  letter-spacing:.5px;
  text-transform:uppercase;
}

.email{
  display:block;
  margin-top:6px;
  color:var(--accent);
  font-weight:700;
  font-size:20px;
}

.cv{
  display:inline-block;
  margin-top:10px;
  font-weight:900;
  font-size:20px;
  text-transform:uppercase;
}

.layout{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:22px;
  padding:22px 34px 34px 34px;
}

/* FEATURE FRAME */

.feature{
  height:650px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.feature .frame{
  border:8px solid rgba(255,255,255,.15);
  background:rgba(255,255,255,.04);
  padding:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
}

.feature img{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
  display:block;
  background:#111;
}

/* PANEL */

.panel{
  border-left:8px solid rgba(255,255,255,.15);
  padding-left:22px;
  min-height:100%;
}

.panel-title{
  font-weight:1000;
  font-size:56px;
  letter-spacing:.6px;
  text-transform:uppercase;
  margin:6px 0 12px 0;
}

.collections{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding-top:10px;
}

.collections a{
  font-weight:800;
  font-size:34px;
  color:var(--accent);
}

.collections a:hover{
  color:#9fb2d8;
}

/* MOBILE LAYOUT */

@media (max-width:980px){

  .top{
    flex-direction:column;
    gap:10px;
    padding:18px;
  }

  .top-right{
    text-align:left;
  }

  .layout{
    grid-template-columns:1fr;
    padding:18px;
  }

  .panel{
    border-left:none;
    border-top:6px solid rgba(255,255,255,.15);
    padding-left:0;
    padding-top:16px;
  }

  .big-name{ font-size:32px; }
  .role{ font-size:20px; }

  .panel-title{ font-size:36px; }
  .collections a{ font-size:22px; }

  /* MOBILE FEATURE SIZE */

  .feature{
    height:420px;
  }

}

/* Collection grid */

.wrap-dark{
  padding:22px;
  max-width:1200px;
  margin:0 auto;
}

.collection-header{
  margin:10px 0 18px 0;
  font-size:36px;
  text-transform:uppercase;
}

.grid-dark{
  column-count:3;
  column-gap:14px;
}

@media (max-width:980px){
  .grid-dark{ column-count:2; }
}

@media (max-width:620px){
  .grid-dark{ column-count:1; }
}

.item{
  break-inside:avoid;
  margin:0 0 14px 0;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  cursor:pointer;
}

.thumb{
  width:100%;
  height:auto;
  display:block;
}

.meta{
  padding:10px 12px 12px 12px;
}

.title{
  margin:0 0 4px 0;
  font-weight:800;
}

.sub{
  margin:0;
  color:var(--muted);
  font-size:13px;
}

/* Lightbox */

.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.9);
  display:none;
  z-index:100;
}

.lightbox.open{ display:block; }

.lb-stage{
  max-width:1120px;
  margin:70px auto 42px auto;
  padding:0 18px;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.lb-stage img{
  width:100%;
  height:auto;
}

.lb-meta{
  color:#f0f0f0;
  max-width:900px;
}

.lb-title{
  font-size:18px;
  font-weight:850;
}

.lb-sub{
  color:#c8c8c8;
}

.lb-desc{
  color:#dedede;
}

.lb-btn{
  position:fixed;
  width:46px;
  height:46px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.2);
  background:rgba(255,255,255,.08);
  color:#fff;
  cursor:pointer;
}

.lb-close{ top:16px; right:16px; }
.lb-prev{ top:50%; left:16px; transform:translateY(-50%); }
.lb-next{ top:50%; right:16px; transform:translateY(-50%); }

.hidden{ display:none; }