@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=DM+Sans:wght@400;500;600&display=swap');
*{box-sizing:border-box}body{margin:0;background:#fbf6ef;color:#354638;font:16px 'DM Sans',sans-serif}button,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit}header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px clamp(18px,5vw,70px);border-bottom:1px solid #d3c6aa}header>a{font-size:.84rem;text-decoration:none}.monogram{font:500 1.5rem 'Cormorant Garamond',serif}.gallery-hero{max-width:1280px;margin:auto;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:50px;padding:60px 40px}.eyebrow{font-size:.78rem;text-transform:uppercase;letter-spacing:.18em;color:#7c6a53}h1,h2{font-family:'Cormorant Garamond',serif;font-weight:400}h1{font-size:clamp(3.7rem,7vw,6.8rem);line-height:.95;margin:15px 0 23px}.intro{max-width:390px;line-height:1.8;color:#687160}.hero-painting{width:100%;aspect-ratio:1.25;object-fit:cover;box-shadow:0 7px 20px #604c3026;border:8px solid #f5eddd;outline:1px solid #c6b48e}.primary,.secondary{display:inline-block;padding:12px 20px;border-radius:3px;text-decoration:none;font-size:.9rem}.primary{background:#506442;color:#fff9ea;border:1px solid #506442}.secondary{background:#fffaf0;color:#4b5a40;border:1px solid #cbb990}.gallery-hero .primary{margin-top:12px}.album-section{max-width:1320px;margin:0 auto;padding:0 30px 65px}.albums{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;padding:20px 0 27px;border-top:1px solid #d6cbb5}.albums button{padding:10px 16px;border:1px solid transparent;border-radius:24px;background:transparent;color:#68745d;font-size:.9rem}.albums button[aria-pressed="true"]{background:#e5e9d9;border-color:#b2bd9d;color:#334b2e}.photos{columns:3;column-gap:18px}.photo-tile{display:block;width:100%;border:0;padding:0;background:#eee6d6;margin:0 0 18px;break-inside:avoid;position:relative;overflow:hidden;border-radius:3px;box-shadow:0 2px 6px #51432315}.photo-tile img{width:100%;height:auto;min-height:120px;display:block;transition:transform .3s}.photo-tile:hover img{transform:scale(1.025)}.photo-tile .tile-caption{text-align:left;font-size:.85rem;line-height:1.5;padding:12px 14px;color:#42503d;background:#f2ecdf}.empty{text-align:center;padding:60px 20px 90px;background:#f1eddf;border:1px solid #e0d6bf}.empty h2{font-size:2.5rem;margin:0 0 12px}.empty p{color:#747866;line-height:1.6}.more{text-align:center;margin-top:20px}#gallery-status{text-align:center;color:#737964;padding:8px;line-height:1.6}footer{text-align:center;font-size:.85rem;padding:25px;background:#e6e9d9}dialog{border:1px solid #c5b48f;border-radius:8px;color:#354638;background:#fbf6ed;padding:27px;width:min(92vw,520px);max-height:90svh;overflow:auto;box-shadow:0 20px 80px #13251155}dialog::backdrop{background:#202a20b0;backdrop-filter:blur(4px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.dialog-top h2{font-size:2.5rem;margin:0}.icon-button{background:transparent;border:0;color:inherit;font-size:1.9rem;padding:0 7px;line-height:1.1}form>p{line-height:1.6;color:#6e755f}form label{display:block;font-size:.9rem;margin:15px 0 7px}input,select{width:100%;padding:11px;border:1px solid #c9bc9e;border-radius:3px;background:#fffdf8;color:#364534}input:focus,select:focus{outline:2px solid #afbc9d;outline-offset:1px}.file-zone{border:1px dashed #9cae86;padding:20px 13px;text-align:center;background:#eef0e3;border-radius:4px}.file-zone span{display:block;font-weight:600}.file-zone small{display:block;font-size:.78rem;color:#6b735e;margin:7px 0 12px}.file-zone input{border:0;padding:0;font-size:.8rem;background:transparent}.upload-note{font-size:.78rem;line-height:1.65}.upload-previews{display:flex;gap:7px;overflow:auto;padding:8px 0}.upload-previews img{width:62px;height:62px;object-fit:cover;border-radius:3px}#upload-submit{width:100%}button:disabled{opacity:.5;cursor:wait}#lightbox{width:min(95vw,1100px);text-align:center;background:#1f271f;color:#f9f2e6;border:0;padding:14px 20px 22px}.lightbox-top{display:flex;align-items:center;justify-content:space-between;font-size:.85rem}.lightbox-image{display:flex;align-items:center;justify-content:center;gap:12px}.lightbox-image img{max-width:calc(100% - 90px);max-height:68svh;object-fit:contain}.photo-nav{background:#ffffff16;border:0;border-radius:50%;font-size:2rem;width:35px;flex-shrink:0;color:#fff4e1}#photo-caption{white-space:pre-wrap;line-height:1.6;font-size:.95rem}button:focus-visible,a:focus-visible{outline:2px solid #9276aa;outline-offset:3px}[hidden]{display:none!important}@media(max-width:800px){.gallery-hero{gap:25px;padding:35px 24px}.photos{columns:2}.album-section{padding:0 20px 45px}}@media(max-width:540px){header{gap:10px;padding:13px}header>a{font-size:.77rem;max-width:110px}.monogram{font-size:1.25rem}.gallery-hero{grid-template-columns:1fr;padding:32px 20px;gap:30px}.gallery-hero h1{font-size:4.2rem}.hero-painting{aspect-ratio:1.5}.intro{font-size:.95rem}.albums{gap:3px;justify-content:flex-start}.albums button{font-size:.8rem;padding:9px 11px}.photos{column-gap:10px}.photo-tile{margin-bottom:10px}.album-section{padding-left:12px;padding-right:12px}.empty h2{font-size:2rem}dialog{padding:20px}.lightbox-image{gap:5px}.lightbox-image img{max-width:calc(100% - 65px)}.photo-nav{width:27px}#lightbox{padding:12px 10px 20px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.gallery-hero{grid-template-columns:1fr;text-align:center;justify-items:center;gap:30px}
.gallery-hero>div{width:100%}
.gallery-hero .intro{margin-left:auto;margin-right:auto}
.hero-painting{max-width:720px;aspect-ratio:16/9;object-position:center center;margin:0 auto}
@media(max-width:540px){.hero-painting{aspect-ratio:4/3}}
 
/* Loose photo prints on a softly faded paper backdrop. */
.memories-gallery{isolation:isolate}
.memory-backdrop{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;background:radial-gradient(ellipse at 25% 35%,#f2e7d1,#ded2bd)}
.memory-print{position:absolute;margin:0;width:29%;height:38%;padding:7px 7px 21px;background:#fffaf0;border:1px solid #d9cbb4;box-shadow:2px 5px 12px #55462e45;transform:rotate(var(--turn));left:var(--x);top:var(--y)}
.memory-print img{width:100%;height:100%;display:block;object-fit:cover;object-position:center 42%;filter:blur(2px) saturate(.82)}
.memory-print:nth-child(3n+1)::before,.memory-print:nth-child(3n)::before{content:"";position:absolute;z-index:1;top:-9px;left:34%;width:32%;height:22px;background:#e4cf9ab8;box-shadow:0 1px 2px #604c3020;transform:rotate(-8deg);clip-path:polygon(0 0,100% 4%,97% 30%,100% 50%,98% 75%,100% 100%,0 96%,3% 66%,0 43%,3% 24%)}
.memory-print:nth-child(1){--x:-5%;--y:-7%;--turn:-9deg}
.memory-print:nth-child(2){--x:22%;--y:-5%;--turn:6deg}
.memory-print:nth-child(3){--x:48%;--y:-9%;--turn:-7deg}
.memory-print:nth-child(4){--x:76%;--y:-4%;--turn:10deg}
.memory-print:nth-child(5){--x:-4%;--y:25%;--turn:7deg}
.memory-print:nth-child(6){--x:23%;--y:28%;--turn:-11deg}
.memory-print:nth-child(7){--x:49%;--y:24%;--turn:8deg}
.memory-print:nth-child(8){--x:76%;--y:29%;--turn:-6deg}
.memory-print:nth-child(9){--x:-4%;--y:61%;--turn:-12deg}
.memory-print:nth-child(10){--x:22%;--y:65%;--turn:9deg}
.memory-print:nth-child(11){--x:48%;--y:60%;--turn:-6deg}
.memory-print:nth-child(12){--x:75%;--y:65%;--turn:11deg}
.memory-backdrop::after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at center,#fbf6edc9 0%,#fbf6ed96 55%,#fbf6ed70 100%)}
.memories-gallery header{background:#fbf6efe8}
.memories-gallery .gallery-hero>div{width:min(100%,670px);padding:25px 20px;background:#fbf6efc7;border-radius:5px}
.memories-gallery .albums{border:1px solid #d6cbb5;border-radius:5px;background:#fbf6efe8;padding:12px}
.memories-gallery #gallery-status:not(:empty){background:#fbf6efe8}
.memories-gallery .photo-tile{box-shadow:0 3px 12px #51432330}
.memories-gallery footer{background:#e6e9d9ed}
@media(max-width:540px){
  .memory-print{width:39%;height:29%;padding:4px 4px 12px}
  .memory-print img{filter:blur(1.5px) saturate(.82)}
  .memory-print:nth-child(1){--x:-8%;--y:-5%}
  .memory-print:nth-child(2){--x:29%;--y:-3%}
  .memory-print:nth-child(3){--x:69%;--y:-5%}
  .memory-print:nth-child(4){--x:-7%;--y:20%}
  .memory-print:nth-child(5){--x:30%;--y:22%}
  .memory-print:nth-child(6){--x:68%;--y:21%}
  .memory-print:nth-child(7){--x:-5%;--y:45%}
  .memory-print:nth-child(8){--x:31%;--y:46%}
  .memory-print:nth-child(9){--x:68%;--y:46%}
  .memory-print:nth-child(10){--x:-8%;--y:70%}
  .memory-print:nth-child(11){--x:30%;--y:72%}
  .memory-print:nth-child(12){--x:67%;--y:71%}
  .memory-print:nth-child(3n+1)::before,.memory-print:nth-child(3n)::before{height:13px;top:-5px}
  .memories-gallery .gallery-hero>div{padding:20px 10px}
  .memories-gallery .albums{padding:8px 4px}
}
