:root{
  --bg: #ffffff;
  --text: #1d1d1d;
  --muted: #6f6a64;     /* warm grey */
  --line: #e7e2dc;      /* warm light line */
  --max: 980px;
}

*{ box-sizing: border-box; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.6;
}

/* Layout */
header, main{
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
}

header{
  padding: 22px 0 18px;
  border-bottom: 1px solid var(--line);
}

/* Header structure */
header > div{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

header a{
  color: inherit;
  text-decoration: none;
}

header a:hover{
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Brand */
header > div > a{
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
}

/* Nav */
nav{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a{
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 0;
}

nav a[aria-current="page"]{
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* Main content */
main{
  padding: 64px 0 90px;
}

h1{
  margin: 0 0 18px;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.05;
  font-weight: 300;
}

p{
  margin: 0 0 14px;
  max-width: 70ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

main p:last-child{ margin-bottom: 0; }

/* --- Home blocks (image + excerpt) --- */
.blocks{
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.blocks-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.block{
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  min-height: 360px;
}

.block-img{
  width: calc(100% + 32px);   /* image bleeds wider */
  margin-left: -16px;         /* equal bleed on both sides */
  margin-right: -16px;
  height: 210px;
  object-fit: cover;
  display: block;
  background: #f5f3f0;
}



.block-body{
  padding: 18px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.block h2{
  margin: 0;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--text);
}

.excerpt{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;

  /* makes it subtle + still readable */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.block .meta{
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.block:hover{
  text-decoration: none;
}

.block:hover .block-img{
  opacity: 0.95;
}

@media (max-width: 900px){
  .blocks-grid{ grid-template-columns: 1fr; }
  .block{ min-height: auto; }
  .block-img{ height: 200px; }
}


.blocks-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.block{
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 22px 18px;
  background: #fff;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
}

.block h2{
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--text);
}

.block p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: none;
}

.block .meta{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.block:hover{
  text-decoration: none;
}

@media (max-width: 900px){
  .blocks-grid{ grid-template-columns: 1fr; }
  .block{ min-height: auto; }
}

/* Mobile */
@media (max-width: 640px){
  header, main{
    width: min(var(--max), calc(100% - 34px));
  }
  nav{ gap: 12px; }
}

/* --- Artists list (editorial) --- */
.list{
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.item{
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.item > div{
  padding-top: 2px;
}

.portrait{
  width: 140px;
  height: 140px;
  border-radius: 0;
  object-fit: cover;
  display: block;
  background: #f5f3f0;
  filter: saturate(0.9);
}


.item h2{
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 300;
  color: var(--text);
}

.item p{
  margin: 0 0 8px;
  max-width: 70ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.item p:last-child{ margin-bottom: 0; }

.tagline{
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 720px){
  .item{
    grid-template-columns: 1fr;
  }
  .portrait{
    width: 100%;
    height: 220px;
  }
}
/* --- Horizontal image strip gallery --- */
.image-strip{
  margin: 40px 0 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 14px;
  overflow-x: auto;
}

/* --- Horizontal strip (under heading) --- */
.image-strip{
  margin: 26px 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 14px;
  overflow-x: auto;
}

.thumb{
  flex: 0 0 auto;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.image-strip img{
  height: 150px;
  width: auto;
  display: block;
  object-fit: cover;
  background: #f5f3f0;
}

.about-text{
  margin-top: 0;
}

/* --- Lightbox (full-width viewer) --- */
.lightbox{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15,15,15,0.86);
  z-index: 999;
  padding: 18px;
}

.lightbox.open{
  display: flex;
}

.lightbox-inner{
  position: relative;
  width: min(1200px, 100%);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-img{
  width: 100%;
  max-height: 90vh;
  object-fit: contain; /* full width but keeps image intact */
  background: #111;
}

/* Controls */
.lb-close,
.lb-prev,
.lb-next{
  position: absolute;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.25);
  color: #fff;
  padding: 10px 12px;
  cursor: pointer;
  line-height: 1;
}

.lb-close{
  top: 10px;
  right: 10px;
  font-size: 20px;
  border-radius: 999px;
}

.lb-prev{
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 999px;
}

.lb-next{
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 999px;
}

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover{
  background: rgba(0,0,0,0.45);
}

@media (max-width: 640px){
  .image-strip img{ height: 125px; }
  .lb-prev{ left: 6px; }
  .lb-next{ right: 6px; }
  .lb-close{ top: 6px; right: 6px; }
}

}
