.collection{width:min(1240px,90%);margin:0 auto;padding:2.5rem 0 5rem}.archive-head{padding:1.4rem 0 1.7rem;border-bottom:1px solid #d3c4af}.crumb,.crumb a,.archive-head .lead{color:#654f39}.crumb{margin:0 0 1.6rem;font-size:.92rem}.archive-head h1{max-width:22ch;font-size:clamp(2.2rem,5.4vw,5rem);line-height:1.12;letter-spacing:-.045em;margin:.1em 0}.archive-head .lead{font-size:1.08rem;line-height:1.7;margin:1rem 0 0}.filter{display:flex;flex-wrap:wrap;align-items:end;gap:1.2rem;padding:1.8rem 0}.filter label{font-size:.95rem;font-weight:650;display:grid;gap:.35rem}.filter input,.filter select{font:inherit;padding:.8rem .9rem;border:1px solid #cdbca6;border-radius:5px;background:#fff;color:#47301d;max-width:100%}.filter input{width:max(22rem,32vw)}.filter #count{margin-left:auto;padding-bottom:.9rem}.albums,.mosaic{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.1rem}.album{display:flex;flex-direction:column;text-decoration:none;color:inherit;background:white;border-radius:8px;overflow:hidden;border:1px solid #e4dacb}.album[hidden]{display:none}.album img,.shot img{aspect-ratio:1.58;width:100%;display:block;object-fit:cover}.album div{padding:1rem 1.2rem 1.3rem}.album small{color:#81531e;font-size:.85rem}.album h2{font-size:1.25rem;line-height:1.5;margin:.25rem 0}.album:hover h2,.archive-menu a:hover,.all:hover{text-decoration:underline}.project-details,.prose{font-size:1.05rem;line-height:1.8;max-width:76ch;overflow-wrap:anywhere;padding:1.3rem 0}.prose p{margin:.8rem 0}.prose h2{font-size:1.65rem;line-height:1.4}.mosaic{margin:1.3rem 0 2.4rem}.shot{background:#eee6d9;display:block;border-radius:4px;overflow:hidden}.shot img{object-fit:contain}.all,.download{display:inline-block;padding:.8rem 1.15rem;background:#593714;color:white;border-radius:5px;text-decoration:none}.archive-menu{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:1rem}.archive-menu li,.team-person{border:1px solid #ddd1bf;background:white;padding:1.2rem;border-radius:6px}.archive-menu a{font-weight:650}.end{padding:2rem 5%;color:white;background:#382719;display:flex;gap:1.5rem;align-items:center;justify-content:space-between;flex-wrap:wrap}.end a{color:inherit}.end nav{display:flex;flex-wrap:wrap;gap:1rem}.partners{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.partners img{width:145px;height:80px;object-fit:contain;background:white;padding:7px}.people{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem;margin-top:1.4rem}.team-person img{width:100%;height:180px;object-fit:contain}.team-person h2{font-size:1.13rem}.team-person p{margin:.4rem 0}.catalog-image{display:block;max-width:min(100%,700px);max-height:420px;object-fit:contain}.collection dialog{width:min(960px,96vw);border:0;border-radius:8px;background:#382719;color:white;padding:.85rem}.collection dialog::backdrop{background:rgb(34 23 13/.88)}.viewer-body{display:grid;gap:.6rem}.viewer-body>img{max-height:72dvh;max-width:100%;margin:auto;object-fit:contain}.viewer-body button{font:inherit;color:white;border:1px solid #ab977b;background:#603813;padding:.5rem .85rem;border-radius:4px;cursor:pointer}.close{justify-self:end}.viewer-nav{display:flex;gap:.55rem;align-items:center;justify-content:space-between}.viewer-nav span{font-size:.85rem}.viewer-nav button{white-space:nowrap}a:focus-visible,button:focus-visible,:is(input,select):focus-visible{outline:3px solid #87511b;outline-offset:3px}@media(max-width:800px){.albums,.mosaic{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.collection{width:91%;padding-top:1rem}.albums{grid-template-columns:1fr}.mosaic{gap:.45rem}.filter{gap:.65rem}.filter label:first-child,.filter input{width:100%}.archive-head h1{font-size:2.2rem}.album img{aspect-ratio:1.95}}

.archive-head h1 { line-height: 1.38; letter-spacing: normal; max-width: 34ch; }
.collection > h2 { margin: 2rem 0 1rem; }
.prose p + details, .prose details + p { margin-top: 1.25rem; }
.prose summary { cursor: pointer; padding-block: .55rem; }
.filter label { margin: 0; min-width: 0; }
.filter input, .filter select { margin: 0; }
.viewer-body { grid-template-rows: auto minmax(0,1fr) auto; height: min(80dvh,780px); }
.viewer-body > img { width: 100%; height: 100%; min-height: 0; max-height: none; }
.viewer-nav span { min-width: 0; overflow-wrap: anywhere; line-height: 1.5; }
body:has(#photo-viewer[open]) { overflow: hidden; }
@media (max-width:540px) {
  .viewer-nav { display:grid; grid-template-columns:1fr 1fr; }
  .viewer-nav span { grid-row:1; grid-column:1/-1; text-align:center; }
  .filter { align-items: center; }
  .filter #count { margin:0; padding:0; }
}

.people { grid-template-columns: repeat(auto-fit,minmax(min(100%,16rem),1fr)); }
.team-person { min-width: 0; display: flex; flex-direction: column; }
.team-person h2 { margin-top: .75rem; }
.team-contacts { margin-top: auto; padding-top: .85rem; display: grid; gap: .2rem; }
.team-contacts a { overflow-wrap: anywhere; padding: .25rem 0; line-height: 1.6; }
