*{box-sizing:border-box}
:root{--bg:#f4f3ef;--text:#111;--muted:#777;--line:#d8d6d0;--black:#0b0b0b}
html{scroll-behavior:smooth}body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-family:"Manrope",Arial,sans-serif}
button,a{font:inherit}button{color:inherit}
.site-header{height:78px;padding:0 4vw;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20;background:rgba(244,243,239,.94);backdrop-filter:blur(14px)}
.brand{color:inherit;text-decoration:none;display:flex;align-items:center;gap:13px}.brand-avatar{width:42px;height:42px;border-radius:50%;overflow:hidden;border:1px solid rgba(17,17,17,.23);flex:0 0 42px}.brand-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.brand-name{font-family:"Cormorant Garamond",serif;font-size:23px;font-weight:600;letter-spacing:.01em;line-height:1}
.album-nav{display:flex;align-items:center;gap:28px;margin-left:auto}.top-tab{border:0;background:transparent;cursor:pointer;padding:9px 0;color:#555;font:500 12px "DM Mono",monospace;letter-spacing:.11em;position:relative}.top-tab.active,.top-tab:hover{color:#111}.top-tab.active:after{content:"";position:absolute;left:0;right:0;bottom:2px;height:1px;background:#111}
.location-wrap{position:relative}.location-tab{display:flex;align-items:center;gap:6px}.chevron{font-size:13px;line-height:1}
.location-menu{position:absolute;top:calc(100% + 14px);right:0;width:290px;max-height:440px;overflow-y:auto;overflow-x:hidden;padding:7px;background:#fff;border:1px solid #dfdcd6;border-radius:8px;box-shadow:0 18px 55px rgba(0,0,0,.16);opacity:0;visibility:hidden;transform:translateY(-5px);transition:opacity .18s ease,transform .18s ease,visibility .18s ease;z-index:40}.location-menu.open{opacity:1;visibility:visible;transform:translateY(0)}
.location-item{width:100%;display:flex;align-items:center;gap:12px;padding:11px 12px;border:0;border-radius:6px;background:transparent;color:#171717;text-align:left;cursor:pointer;font:500 13px "Manrope",sans-serif}.location-item:hover{background:#f1efe9}.location-flag{width:24px;height:17px;display:block;object-fit:cover;flex:0 0 24px;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.08)}
.gallery{max-width:1440px;margin:0 auto;padding:32px 4vw 100px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}.album{min-width:0;cursor:pointer;opacity:0;transform:translateY(26px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1)}.album.is-visible{opacity:1;transform:translateY(0)}
.photo-box{position:relative;width:100%;aspect-ratio:4/5;overflow:hidden;background:#e1dfda}.photo-box img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .65s cubic-bezier(.2,.7,.2,1)}.album:hover .photo-box img{transform:scale(1.035)}
.photo-count{position:absolute;right:12px;bottom:12px;padding:6px 9px;border-radius:4px;background:rgba(0,0,0,.68);color:#fff;font:400 9px "DM Mono",monospace;z-index:1}
.image-error{display:none;color:#8b8882;font:400 9px "DM Mono",monospace;text-align:center;position:absolute;inset:0;align-items:center;justify-content:center;background:#e7e5df}.image-stage.image-failed .image-error{display:flex}.image-stage.image-failed img{display:none}
footer{margin:0 4vw;padding:28px 0 36px;border-top:1px solid var(--line);color:var(--muted);font:400 8px "DM Mono",monospace;letter-spacing:.08em}
.lightbox{position:fixed;inset:0;z-index:100;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(0,0,0,.78);backdrop-filter:blur(5px)}.lightbox.open{display:flex}
.lightbox-card{width:min(950px,90vw);height:min(94vh,1140px);background:var(--black);color:#fff;border-radius:8px;padding:22px 38px 28px;display:flex;flex-direction:column;box-shadow:0 35px 110px rgba(0,0,0,.55)}
.lightbox-top{margin-bottom:12px;color:#aaa;font:400 10px "DM Mono",monospace}.image-stage{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;position:relative}.image-stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.lightbox-close{position:fixed;top:20px;right:26px;z-index:110;border:0;background:transparent;color:#fff;cursor:pointer;font-size:35px;font-weight:200}.lightbox-arrow{position:fixed;top:50%;transform:translateY(-50%);z-index:110;width:54px;height:54px;border:0;border-radius:50%;background:rgba(0,0,0,.7);color:#fff;cursor:pointer;font-size:38px}.lightbox-arrow:hover{background:#fff;color:#000}.prev{left:34px}.next{right:34px}
.dots{min-height:20px;padding:14px 0 13px;display:flex;justify-content:center;gap:7px}.dot{width:5px;height:5px;border-radius:50%;background:#555}.dot.active{background:#fff}
.photo-info{border-top:1px solid #333;padding-top:18px;display:flex;justify-content:flex-end}.photo-location{display:flex;align-items:center;gap:7px;text-align:right;color:#d2d0c9;font:500 13px/1.5 "Manrope",sans-serif}.location-pin{width:17px;height:17px;flex:0 0 17px}.location-pin path{fill:#e53935;stroke:#e53935;stroke-width:1.2}.location-pin circle{fill:#fff;stroke:#e53935;stroke-width:1.2}
.empty-state{grid-column:1/-1;text-align:center;padding:80px 0;color:#888;font:400 10px "DM Mono",monospace}
.login-screen{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;background:var(--bg);transition:opacity .45s ease,visibility .45s ease}.login-screen.hidden{opacity:0;visibility:hidden;pointer-events:none}
.login-card{width:min(360px,88vw);text-align:center}.login-logo{display:block;width:62px;height:62px;border-radius:50%;overflow:hidden;border:1px solid rgba(17,17,17,.2);margin:0 auto 20px}.login-logo img{width:100%;height:100%;object-fit:cover;display:block}
.login-card h1{margin:0 0 26px;font-family:"Cormorant Garamond",serif;font-size:34px;line-height:.98;font-weight:600;letter-spacing:.005em}
.password-field{display:flex;width:100%;border-bottom:1px solid #bbb8b1}.password-field input{flex:1;min-width:0;border:0;outline:0;background:transparent;padding:11px 4px;color:#111;font:400 12px "DM Mono",monospace;letter-spacing:.14em}.password-field input.invalid{color:#b3261e}.password-field button{width:42px;border:0;background:transparent;color:#222;cursor:pointer;font-size:20px;font-weight:400}.login-error{display:block;height:17px;margin-top:10px;color:#b3261e;font-size:9px;opacity:0;transition:opacity .18s}.login-error.show{opacity:1}
@media(max-width:800px){.site-header{height:70px;padding:0 5vw}.brand-avatar{width:38px;height:38px;flex-basis:38px}.brand-name{font-size:19px}.album-nav{gap:18px}.top-tab{font-size:11px}.location-menu{width:250px;max-height:360px}.gallery{padding:24px 5vw 70px;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.lightbox{padding:10px}.lightbox-card{width:95vw;height:95vh;padding:16px 17px 20px}.lightbox-close{top:11px;right:14px}.lightbox-arrow{width:42px;height:42px;font-size:30px}.prev{left:5px}.next{right:5px}.photo-location{font-size:12px}.login-card h1{font-size:30px}}

/* Public album: never expose an editable text caret */
html, body, main, header, footer, .gallery, .album, .photo-box,
.lightbox, .lightbox-card, .image-stage, .photo-info, .photo-location,
.location-menu, .location-item, .top-tab, .brand {
  caret-color: transparent !important;
}

.lightbox-card, .photo-info, .photo-location, .lightbox-top, #counter, #location {
  user-select: none;
  -webkit-user-select: none;
  cursor: default;
}

button, a, img {
  -webkit-tap-highlight-color: transparent;
}

.lightbox-card:focus,
.lightbox-card:focus-visible,
button:focus,
button:focus-visible,
a:focus,
a:focus-visible {
  outline: none;
}

/* The password field is intentionally editable and shows a text caret. */
#passwordInput{
  caret-color:#111 !important;
  cursor:text !important;
  user-select:text !important;
  -webkit-user-select:text !important;
}
