:root{color-scheme:light;font:16px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif;color:#21372c;background:#faf9f6}
*{box-sizing:border-box}body{margin:0}button,a{color:inherit}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #af643a;outline-offset:4px}
header{border-bottom:1px solid #dcded6}.bar,main{width:min(1410px,92%);margin:auto}.bar{height:78px;display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:1.22rem;font-weight:650;letter-spacing:-.055em}.brand svg{width:37px;height:37px}
.status{display:flex;align-items:center;gap:8px;border:1px solid #d6dfd1;border-radius:24px;padding:5px 13px;font-size:.85rem;font-weight:550;background:#eef2eb}.status:before{content:"";width:8px;height:8px;background:#a88c50;border-radius:100%}.status.live:before{background:#467651;box-shadow:0 0 0 3px #dce9d9}
.heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:42px 0 25px}.heading h1{font:normal clamp(2.8rem,5.1vw,5rem)/1 Georgia,serif;letter-spacing:-.065em;margin:0}.heading p{font-size:.9rem;color:#647165;margin:12px 0 0}.controls,.switch{display:flex;align-items:center;gap:8px}.switch{border:1px solid #d8dcd3;background:#efefe9;border-radius:10px;padding:3px;gap:2px}.switch button{border:0;display:grid;place-items:center;border-radius:7px;background:transparent;width:36px;height:32px;color:#70786e}.switch button[aria-pressed=true]{background:white;color:#263c32;box-shadow:0 1px 4px #19362024}.switch svg{width:18px;height:18px;fill:currentColor}
#upload{border:0;border-radius:8px;background:#263c32;color:white;padding:9px 14px;font-weight:550}#feedback{color:#754920}
#gallery{display:grid;grid-template-columns:repeat(var(--cols,3),minmax(0,1fr));gap:clamp(10px,1.55vw,24px);padding-bottom:40px}.column{display:flex;flex-direction:column;gap:clamp(10px,1.55vw,24px)}.tile{display:block;padding:0;border:0;overflow:hidden;position:relative;width:100%;border-radius:10px;background:#e0e2d9;aspect-ratio:var(--ratio,1.2)}.tile img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .35s ease}.tile:hover img{transform:scale(1.025)}.tile span{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#0009);color:white;text-align:left;padding:35px 16px 13px;opacity:0;transition:opacity .2s}.tile:hover span,.tile:focus-visible span{opacity:1}.compact .tile{aspect-ratio:1}
dialog{background:#101411;color:#fff;border:none;inset:0;margin:0;width:100%;max-width:none;height:100%;max-height:none;padding:0}dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}body:has(dialog[open]){overflow:hidden}.viewerbar,.navigation{display:flex;align-items:center;padding:14px clamp(12px,3vw,42px);gap:12px}.viewerbar{justify-content:space-between}.viewerbar>div{display:flex;gap:10px;flex-shrink:0}#caption{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.viewerbar button,.navigation button{color:white;background:#252b27;border:1px solid #424a44;border-radius:8px;padding:5px 12px;min-height:38px}#close,.navigation button{font-size:1.45rem;line-height:1}.navigation{justify-content:center;font-size:.9rem}.navigation span{min-width:4em;text-align:center}#stage{overflow:auto;overscroll-behavior:contain}#picture{width:100%;height:100%;object-fit:contain;display:block;cursor:zoom-in}#stage.zoomed #picture{width:auto;height:auto;max-width:none;margin:auto;cursor:zoom-out}
@media(max-width:620px){.bar{height:62px}.brand{font-size:1.05rem;gap:8px}.brand svg{width:31px;height:31px}.heading{padding:28px 0 19px}.heading h1{font-size:2.7rem}.controls{flex-wrap:wrap;justify-content:end}.tile{border-radius:6px}.switch button{width:31px}.heading p{margin-top:7px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
#new-photos{position:fixed;z-index:2;top:16px;left:50%;transform:translateX(-50%);padding:8px 16px;border:1px solid #506758;border-radius:24px;background:#263c32;color:white;box-shadow:0 2px 8px #0002}
