/* Sharon Vickers — immersive white gallery. Art leads; chrome recedes. */
:root {
  --bg: #ffffff;
  --ink: #161616;
  --muted: #777;
  --line: #ececec;
  --footer: #1c1c1c;
  --accent: #7a4a24;
  --serif: "EB Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* full-width container — generous, never cramped */
.bleed { width: 100%; max-width: 1840px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 52px); }
.measure { max-width: 760px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .bleed { display: flex; align-items: center; justify-content: space-between; height: 78px; }

.brand { display: inline-flex; align-items: center; }
.logo { height: 34px; width: auto; display: block; }
.nav { display: flex; gap: 32px; }
.nav a { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); transition: color .15s; }
.nav a:hover, .nav a.active { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; font-size: 22px; cursor: pointer; color: var(--ink); }

/* ---------- Mosaic (column masonry, natural proportions) ---------- */
.mosaic { columns: 4; column-gap: 14px; margin: 30px 0 70px; }
.mosaic figure {
  break-inside: avoid; margin: 0 0 14px; position: relative;
  cursor: zoom-in; background: #f4f4f4; overflow: hidden;
}
.mosaic figure img { width: 100%; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.mosaic figure:hover img { transform: scale(1.03); }
.mosaic figure .ov {
  position: absolute; inset: 0; display: flex; align-items: flex-end;
  padding: 16px; opacity: 0; transition: opacity .25s;
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, rgba(0,0,0,.12) 45%, transparent 70%);
  color: #fff;
}
.mosaic figure:hover .ov { opacity: 1; }
.mosaic figure .ov .t { font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.mosaic figure .ov .c { display: block; font-size: 14.5px; color: #ededed; margin-top: 5px; }
@media (min-width: 1600px) { .mosaic { columns: 5; } }
@media (max-width: 1100px) { .mosaic { columns: 3; } }
@media (max-width: 720px)  { .mosaic { columns: 2; column-gap: 10px; } .mosaic figure { margin-bottom: 10px; } }

/* ---------- Page intros (minimal) ---------- */
.page-intro { padding: 64px 0 8px; }
.page-intro h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 5vw, 56px); margin: 0; letter-spacing: -.01em; }
.page-intro p { color: var(--muted); margin: 10px 0 0; max-width: 60ch; }
.eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.backlink { display: inline-block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 40px 0 0; }
.backlink:hover { color: var(--ink); }

/* year header on archive pages */
.year-head { display: flex; align-items: baseline; gap: 16px; padding: 56px 0 4px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.year-head h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 6vw, 72px); margin: 0; }
.year-head .count { color: var(--muted); font-size: 14px; }

/* ---------- Works index: year covers as masonry ---------- */
.years { columns: 3; column-gap: 16px; margin: 36px 0 80px; }
.years a { break-inside: avoid; display: block; margin: 0 0 16px; position: relative; background: #f4f4f4; overflow: hidden; }
.years a img { width: 100%; transition: transform .6s; }
.years a:hover img { transform: scale(1.04); }
.years a .lbl {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 22px;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent 55%); color: #fff;
}
.years a .lbl .y { font-family: var(--serif); font-size: 30px; }
.years a .lbl .n { font-size: 12px; color: #ddd; margin-left: 10px; align-self: center; }
@media (max-width: 1000px) { .years { columns: 2; } }
@media (max-width: 600px)  { .years { columns: 1; } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.5fr); gap: 60px; padding: 20px 0 96px; align-items: start; }
.about .portrait { background: #f3f3f3; overflow: hidden; }
.about .portrait img { width: 100%; }
.about h2 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin: 34px 0 10px; }
.about h2:first-child { margin-top: 0; }
.about p { color: #2c2c2c; max-width: 64ch; }
.about ul { list-style: none; padding: 0; margin: 0; max-width: 64ch; }
.about ul li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- News ---------- */
.news { padding: 10px 0 96px; }
.news article { padding: 32px 0; border-bottom: 1px solid var(--line); }
.news article .date { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.news article h2 { font-family: var(--serif); font-weight: 500; font-size: 28px; margin: 8px 0 12px; }
.news article p { color: #2c2c2c; margin: 0; max-width: 70ch; }

/* ---------- Contact ---------- */
.contact { padding: 24px 0 120px; }
.contact .row { padding: 18px 0; border-bottom: 1px solid var(--line); max-width: 620px; }
.contact .row .label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact .row .val { font-size: 21px; margin-top: 5px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: #c9c9c9; margin-top: 30px; }
.site-footer .bleed { padding-top: 52px; padding-bottom: 52px; display: flex; flex-wrap: wrap; gap: 22px; justify-content: space-between; align-items: center; }
.site-footer .logo { filter: brightness(0) invert(1); }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer nav a { color: #cfcfcf; font-size: 13px; letter-spacing: .04em; }
.site-footer nav a:hover { color: #fff; }
.site-footer .copy { width: 100%; font-size: 12.5px; color: #888; border-top: 1px solid #343434; padding-top: 22px; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(15,15,15,.96); display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb img { max-width: 92vw; max-height: 84vh; object-fit: contain; }
.lb .cap { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #eee; }
.lb .cap .t { font-family: var(--serif); font-size: 23px; }
.lb .cap .c { color: #cfcfcf; font-size: 15px; margin-top: 3px; }
.lb button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; opacity: .75; }
.lb button:hover { opacity: 1; }
.lb .close { top: 20px; right: 26px; font-size: 30px; }
.lb .prev, .lb .next { top: 50%; transform: translateY(-50%); font-size: 48px; padding: 10px 20px; }
.lb .prev { left: 10px; } .lb .next { right: 10px; }

/* ---------- Mobile nav ---------- */
@media (max-width: 820px) {
  .nav { position: fixed; inset: 78px 0 auto 0; background: #fff; flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .25s; }
  .nav.show { transform: translateY(0); }
  .nav a { padding: 17px 28px; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
}
