:root{
  --ink:#1a1a1a;
  --muted:#6f6f6f;
  --rule:#ececec;
  --gap:8px;
  --pad:24px;
  --cols:3;
}
*{box-sizing:border-box}
body{
  margin:0;
  background:#fff;
  color:var(--ink);
  font-family:Poppins,-apple-system,"Segoe UI",Roboto,sans-serif;
  font-size:15px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}

/* ---------- header ---------- */
.wordmark{font-size:20px;font-weight:600;letter-spacing:.03em;text-transform:uppercase;line-height:1.1}
nav{display:flex;gap:18px;font-size:13px;letter-spacing:.1em;text-transform:uppercase;flex-wrap:wrap;justify-content:flex-end}
nav a{color:var(--muted)}
nav a:hover{color:var(--ink)}
nav a[aria-current="page"]{color:var(--ink);box-shadow:inset 0 -1px 0 currentColor}

/* hero (home page): the photograph runs behind the header and the opening words */
.hero{position:relative;display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden;
      min-height:100vh;min-height:100svh;color:#fff}
.hero-picture{display:contents}
.hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 45%}
.veil{position:absolute;inset:0;
      background:linear-gradient(180deg,rgba(0,0,0,.42) 0%,rgba(0,0,0,.08) 26%,rgba(0,0,0,0) 46%,rgba(0,0,0,.52) 76%,rgba(0,0,0,.80) 100%)}
.head{position:absolute;top:0;left:0;right:0;z-index:3;
      display:flex;align-items:center;justify-content:space-between;gap:12px 16px;
      min-height:96px;padding:16px var(--pad);flex-wrap:wrap}
.hero .wordmark{color:#fff}
.hero .wordmark:hover{opacity:.72}
.hero nav a{color:rgba(255,255,255,.82)}
.hero nav a:hover{color:#fff}
.hero nav a[aria-current="page"]{color:#fff}

.hero-copy{position:relative;z-index:2;padding:0 var(--pad) clamp(44px,10vh,120px)}
h1.hero-title{margin:0;max-width:15ch;font-size:clamp(40px,6.4vw,92px);line-height:1.02;font-weight:600;letter-spacing:-.02em}
.hero-sub{margin:20px 0 0;max-width:36ch;font-size:clamp(14px,1.1vw,17px);letter-spacing:.01em;color:rgba(255,255,255,.95)}
.hero-sub .line{display:block}
.hero-sub .tagline{display:block;margin-top:8px;font-size:.84em;color:rgba(255,255,255,.72)}

/* ---------- photo viewer (click a photo) ---------- */
.lb{position:fixed;inset:0;z-index:50;background:rgba(0,0,0,.94);display:flex;align-items:center;justify-content:center;
    padding:56px 64px;opacity:0;transition:opacity .18s ease}
.lb[hidden]{display:none}
.lb.is-open{opacity:1}
.lb-stage{margin:0;display:flex;flex-direction:column;align-items:center;gap:14px;max-width:100%;max-height:100%}
.lb-frame{display:flex;align-items:center;justify-content:center}
.lb-frame img{max-width:100%;max-height:80vh;width:auto;height:auto;object-fit:contain;background:#0b0b0b}
.lb-cap{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.62);text-align:center;max-width:70ch}
.lb button{position:absolute;background:none;border:0;color:rgba(255,255,255,.75);cursor:pointer;line-height:1;padding:0;font-family:inherit}
.lb button:hover{color:#fff}
.lb button:focus-visible{outline:2px solid #fff;outline-offset:4px;border-radius:2px}
.lb-close{top:12px;right:20px;font-size:34px}
.lb-prev,.lb-next{top:50%;transform:translateY(-50%);font-size:58px;padding:0 16px}
.lb-prev{left:4px}
.lb-next{right:4px}
body.lb-open{overflow:hidden}
figure{cursor:zoom-in}

/* ---------- inner pages ---------- */
.topbar{border-bottom:1px solid var(--rule)}
.topbar .bar{display:flex;align-items:center;justify-content:space-between;gap:16px;
             min-height:96px;padding:14px var(--pad);flex-wrap:wrap}
.page-head{padding:52px var(--pad) 18px}
.page-title{margin:0;font-size:clamp(26px,3.2vw,42px);font-weight:600;letter-spacing:-.01em;text-transform:uppercase;line-height:1.06}
.page-note{margin:10px 0 0;font-size:14px;color:var(--muted);max-width:52ch}

/* ---------- photo mosaic ---------- */
.gallery{column-count:var(--cols);column-gap:var(--gap);padding:var(--gap)}
.gallery--two{column-count:2}
figure{margin:0 0 var(--gap);break-inside:avoid;page-break-inside:avoid}
figure picture{display:block}
figure img{width:100%;height:auto;background:#f2f2f2}

/* shown only while a gallery has no photos in it */
.empty{margin:0 var(--pad) 32px;font-size:14px;color:var(--muted)}
.gallery:not(:empty) + .empty{display:none}

footer{
  border-top:1px solid var(--rule);margin-top:calc(var(--gap) + 10px);
  padding:20px var(--pad);
  display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;
  font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);
}

@media (max-width:1199px){
  :root{--cols:2}
  .gallery--two{column-count:2}
}
@media (max-width:699px){
  :root{--cols:1;--gap:8px;--pad:16px}
  .gallery--two{column-count:1}
  nav{gap:10px 14px;font-size:11px;letter-spacing:.08em;justify-content:flex-start}
  .head{height:auto;flex-direction:column;align-items:flex-start;gap:10px;padding-top:18px;padding-bottom:14px}
  .topbar .bar{min-height:auto;flex-direction:column;align-items:flex-start;gap:10px}
  .wordmark{font-size:15px}
  .hero{min-height:86vh;min-height:86svh}
  .hero-copy{padding-bottom:32px}
  h1.hero-title{font-size:clamp(34px,10.5vw,48px)}
  .hero-sub{margin-top:14px;font-size:14px}
  .page-head{padding:34px var(--pad) 12px}
  .lb{padding:40px 6px}
  .lb-frame img{max-height:76vh}
  .lb-prev,.lb-next{font-size:40px;padding:0 4px}
  .lb-cap{font-size:9px;letter-spacing:.06em}
}
