@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600&display=swap');

:root {
    color-scheme: light;
    --ink: #242a24;
    --muted: #777e74;
    --paper: #f6f5f1;
    --green: #355d45;
    --line: #e8e7e0;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; }
a { color: inherit; text-decoration: none; }
.topbar { height: 76px; padding: 0 max(5vw, 24px); display: flex; align-items: center; gap: 48px; background: rgba(255,255,255,.82); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 700; white-space: nowrap; }
.brand-mark { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px 10px 10px 3px; background: var(--green); color: white; font: 600 22px "Playfair Display", serif; }
.topnav { display: flex; align-items: center; gap: 31px; height: 100%; color: var(--muted); font-size: 13px; }
.topnav a { height: 100%; display: grid; align-items: center; }
.topnav .nav-active { color: var(--green); border-bottom: 2px solid var(--green); font-weight: 600; }
.nav-note { margin-left: auto; font-size: 12px; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #79a27c; }
.avatar { width: 34px; height: 34px; margin-left: auto; border: 0; border-radius: 50%; background: #e9e5d9; color: var(--green); font-weight: 700; }
.page-shell { max-width: 1180px; margin: 0 auto; padding: 37px 28px 70px; }
.welcome { min-height: 255px; padding: 39px 48px; position: relative; overflow: hidden; display: flex; align-items: center; border-radius: 14px; background: #e9eee5; }
.eyebrow { margin: 0 0 12px; color: #788575; font-size: 10px; font-weight: 700; letter-spacing: .16em; }
h1, h2, h3, p { margin-top: 0; }
.welcome h1 { margin: 0; font: 500 41px/1.12 "Playfair Display", Georgia, serif; letter-spacing: -.025em; }
.welcome h1 span { color: var(--green); }
.welcome-copy { margin: 15px 0 0; color: #6d766b; font-size: 13px; }
.welcome-art { position: absolute; inset: 0 0 0 58%; overflow: hidden; }
.sun { position: absolute; width: 112px; height: 112px; top: 30px; right: 24%; border-radius: 50%; background: #e7c68e; opacity: .8; }
.hill { position: absolute; width: 340px; height: 180px; bottom: -105px; border-radius: 50% 50% 0 0; transform: rotate(-12deg); }
.hill-one { right: 3%; background: #9bab87; }
.hill-two { width: 300px; right: 34%; bottom: -125px; background: #b7c2a5; transform: rotate(12deg); }
.art-caption { position: absolute; right: 12%; bottom: 25px; color: #fff; font: 500 12px "Playfair Display", serif; }
.library { padding-top: 43px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 20px; }
.section-heading .eyebrow { margin-bottom: 5px; }
h2 { margin: 0; font: 500 27px "Playfair Display", Georgia, serif; }
.privacy-note { color: var(--muted); font-size: 11px; }
.privacy-note span { color: var(--green); margin-right: 5px; }
.filters { display: flex; gap: 10px; margin-bottom: 22px; }
.search-box, .select-wrap { height: 43px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.search-box { flex: 1; min-width: 180px; display: flex; align-items: center; gap: 10px; padding: 0 13px; color: #8b9188; font-size: 22px; }
.search-box input { width: 100%; border: 0; outline: 0; color: var(--ink); font: inherit; font-size: 12px; }
.search-box input::placeholder { color: #a1a49e; }
.select-wrap { min-width: 140px; padding: 0 11px; display: flex; align-items: center; }
.select-wrap select { width: 100%; border: 0; outline: 0; background: transparent; color: #555d54; font: inherit; font-size: 12px; }
.search-button { padding: 0 18px; border: 0; border-radius: 7px; background: var(--green); color: #fff; font: 600 12px "DM Sans", sans-serif; cursor: pointer; }
.search-button:hover { background: #294a37; }
.empty-state { min-height: 240px; padding: 40px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border: 1px dashed #dcded5; border-radius: 10px; background: rgba(255,255,255,.45); }
.empty-icon { width: 44px; height: 44px; margin-bottom: 13px; display: grid; place-items: center; border-radius: 14px; background: #e8ede5; color: var(--green); font-size: 24px; }
.empty-state h3 { margin-bottom: 8px; font: 500 19px "Playfair Display", Georgia, serif; }
.empty-state p { max-width: 390px; margin-bottom: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.photo-card { min-width: 0; }
.photo-image { height: 174px; overflow: hidden; display: grid; place-items: center; border-radius: 8px; }
.photo-image img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder { color: rgba(255,255,255,.72); font-size: 32px; }
.photo-tone-0 { background: #b9c9b5; }.photo-tone-1 { background: #d7c6a9; }.photo-tone-2 { background: #b9c9d0; }.photo-tone-3 { background: #c9b8b2; }.photo-tone-4 { background: #c6c8a9; }.photo-tone-5 { background: #b9b8ce; }
.photo-caption { padding: 9px 2px; display: flex; flex-direction: column; gap: 3px; }
.photo-caption strong { overflow: hidden; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.photo-caption span { color: var(--muted); font-size: 11px; }
.memory-strip { display: flex; align-items: center; gap: 15px; margin-top: 42px; padding: 19px 22px; border-radius: 9px; background: #eeeee7; }
.memory-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #dfe7d9; color: var(--green); }
.memory-strip strong { font: 500 15px "Playfair Display", Georgia, serif; }
.memory-strip p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
footer { max-width: 1180px; margin: 0 auto; padding: 0 28px 25px; display: flex; justify-content: space-between; color: #92958e; font-size: 10px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 760px) {
    .topbar { height: 64px; gap: 20px; padding: 0 18px; }
    .topnav { gap: 17px; font-size: 11px; }.topnav .nav-note { display: none; }
    .page-shell { padding: 20px 16px 45px; }
    .welcome { min-height: 220px; padding: 30px 25px; }.welcome h1 { font-size: 34px; }
    .welcome-art { left: 52%; opacity: .7; }.sun { width: 76px; height: 76px; }
    .section-heading { align-items: start; gap: 10px; flex-direction: column; }
    .filters { flex-wrap: wrap; }.search-box { flex-basis: 100%; }
    .select-wrap { flex: 1; min-width: 0; }.search-button { height: 43px; }
    .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .photo-image { height: 145px; }.memory-strip { margin-top: 28px; }
    footer { padding: 0 16px 20px; gap: 12px; flex-direction: column; }
}
@media (max-width: 380px) { .topnav a:nth-child(2) { display: none; }.welcome h1 { font-size: 30px; } }
