:root { color-scheme: light; font-family: Arial, Helvetica, sans-serif; color: #292d29; background: #f6f5f1; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
header, main, footer { width: min(1400px, 90%); margin-inline: auto; }
header { display: flex; justify-content: space-between; align-items: center; padding: 30px 0; border-bottom: 1px solid #dcded5; }
.brand { font-size: 24px; font-weight: 700; letter-spacing: -1.2px; text-decoration: none; }
.brand > span:first-child { font-weight: 400; color: #69745b; margin-inline: 3px; }
.dot { color: #72835b; }
.header-note, .eyebrow { font-size: 11px; letter-spacing: 2px; }
.header-note { color: #73776e; }
.intro { display: flex; justify-content: space-between; align-items: end; gap: 30px; padding: 64px 0 58px; }
.eyebrow { color: #72805e; margin: 0 0 20px; }
h1 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: clamp(42px, 5.5vw, 78px); line-height: 1.06; letter-spacing: -2px; margin: 0; }
.intro-note { font-size: 14px; line-height: 1.8; color: #74766d; margin: 0 0 5px; }
.gallery-heading { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #dcded5; padding: 23px 0; }
h2 { font-weight: 400; font-size: 15px; margin: 0; }
#count { font-size: 12px; color: #73776e; }
.gallery { columns: 3; column-gap: 18px; }
.photo { display: block; width: 100%; padding: 0; border: 0; background: #e8e8e0; cursor: zoom-in; margin-bottom: 18px; break-inside: avoid; overflow: hidden; border-radius: 3px; }
.photo img { width: 100%; height: auto; display: block; transition: transform 220ms ease; }
.photo:hover img { transform: scale(1.025); }
button:focus-visible, a:focus-visible { outline: 3px solid #7d9860; outline-offset: 5px; }
#status { color: #73776e; font-size: 14px; }
footer { margin-top: 52px; padding: 25px 0 30px; border-top: 1px solid #dcded5; display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: #73776e; }
footer a { text-decoration: none; }
dialog { width: 100%; height: 100%; max-width: none; max-height: none; border: 0; padding: 70px 78px 60px; background: #181b18; color: #fff; }
dialog[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
body:has(dialog[open]) { overflow: hidden; }
dialog::backdrop { background: #181b18; }
.viewer-bar { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 22px 28px; font-size: 13px; color: #c7cdc2; }
dialog button { border: 0; background: transparent; color: #fff; cursor: pointer; }
.close { font: inherit; padding: 5px; }
.close span { font-size: 23px; vertical-align: middle; margin-left: 9px; }
#full-photo { display: block; max-width: 100%; max-height: 100%; min-height: 0; object-fit: contain; }
.arrow { position: absolute; top: 50%; transform: translateY(-50%); font-size: 30px; width: 56px; height: 56px; }
.previous { left: 8px; }
.next { right: 8px; }
#caption { position: absolute; bottom: 12px; left: 20px; right: 20px; text-align: center; font-size: 12px; color: #c7cdc2; overflow-wrap: anywhere; }
@media (max-width: 800px) { .gallery { columns: 2; } .intro { align-items: start; flex-direction: column; padding-block: 42px; } .intro-note { font-size: 13px; } }
@media (max-width: 480px) { header { padding-block: 22px; } .brand { font-size: 22px; } .header-note { font-size: 9px; letter-spacing: 1px; } .gallery { columns: 1; } footer { flex-direction: column; } dialog { padding: 70px 42px 65px; } .arrow { width: 36px; } .previous { left: 0; } .next { right: 0; } }
@media (prefers-reduced-motion: reduce) { .photo img { transition: none; } }
