body.gallery-page{margin:0;background:#f6f5ef;color:#173f32;font:16px/1.6 Arial,sans-serif;height:auto} .gallery-shell{max-width:1120px;margin:auto;padding:28px 24px 70px}.gallery-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #d9dfd5;padding-bottom:24px}.gallery-header a{color:#173f32;text-decoration:none;font-weight:bold}.gallery-intro{padding:60px 0 28px;max-width:680px}.gallery-intro h1{font-size:clamp(36px,6vw,64px);line-height:1.1;margin:12px 0}.gallery-eyebrow{color:#8b531c;text-transform:uppercase;letter-spacing:2px;font-size:12px;font-weight:bold}.gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px}.gallery-grid figure{margin:0;background:white;border-radius:16px;overflow:hidden}.gallery-grid img,.gallery-grid video{display:block;width:100%;max-height:420px;object-fit:contain;background:#163e32;user-select:none}.gallery-grid figcaption{padding:16px}.ls-dialog{border:0;border-radius:20px;padding:30px;width:min(440px,calc(100% - 32px));box-sizing:border-box;color:#173f32;box-shadow:0 24px 80px #0003;font:16px/1.6 Arial,sans-serif}.ls-dialog::backdrop{background:#102e25bb;backdrop-filter:blur(5px)}.ls-dialog h2{font-size:28px;line-height:1.2;margin:8px 0 16px}.ls-dialog input[type=email],.ls-dialog input[type=text]{box-sizing:border-box;width:100%;padding:13px;border:1px solid #9baaa1;border-radius:8px;font:inherit;margin:8px 0 16px}.ls-dialog label{display:block}.ls-check{display:flex!important;gap:10px;align-items:flex-start;margin:20px 0}.ls-check input{margin-top:6px}.ls-button{display:inline-block;background:#174c38;color:white!important;border:0;border-radius:8px;padding:13px 22px;text-decoration:none;font:inherit;cursor:pointer}.ls-button:disabled{opacity:.5;cursor:wait}.ls-secondary{display:block;background:none;border:0;color:#365a48;padding:12px 0;font:inherit;cursor:pointer}.ls-status{min-height:24px;color:#8c341b}.gallery-invite{max-width:1080px;margin:40px auto;padding:40px 24px;background:#edf2e9;border-radius:16px;color:#173f32}.gallery-invite h2{margin:0 0 12px}.ls-subscribe{max-width:600px;margin:32px auto;padding:24px}.ls-subscribe input[type=email]{padding:12px;max-width:100%;border:1px solid #9baaa1;border-radius:6px}.ls-subscribe label{display:block;margin:10px 0}.ls-close{float:right;border:0;background:none;font-size:24px;cursor:pointer;color:inherit}
body.gallery-page{font-family:"Exo 2",Arial,sans-serif}.gallery-page .gallery-shell{min-height:55vh}.gallery-page .ls-dialog::backdrop{backdrop-filter:none;background:rgba(16,46,37,.35)}

/* Compact rope gallery: neighbouring cards stay close to the centre. */
.gallery-page .gallery-shell{max-width:1240px;overflow:hidden}.gallery-page .gallery-intro{margin:auto;text-align:center;max-width:760px}.gallery-page #gallery-status{text-align:center}.gallery-page #unlock{display:block;margin:18px auto}.gallery-page #unlock[hidden]{display:none}.rope-scene{position:relative;padding:74px 0 20px}.rope-scene[hidden]{display:none}.gallery-rope{position:absolute;top:20px;left:-8%;width:116%;height:98px;border-bottom:8px solid #a48352;border-radius:0 0 50% 50%;filter:drop-shadow(0 5px 3px #38250f25);background:transparent}.photo-stack{display:block!important;position:relative;height:430px;touch-action:pan-y;user-select:none}.photo-stack figure{position:absolute;left:50%;top:12px;width:min(350px,66vw);margin:0;padding:13px 13px 42px;background:#fffdf7;border-radius:3px;box-shadow:0 16px 30px #32280f30;transform:translateX(calc(-50% + var(--offset)*64px)) translateY(calc(abs(var(--offset))*9px)) rotate(calc(var(--offset)*6deg)) scale(calc(1 - abs(var(--offset))*.045));transform-origin:50% 0;transition:transform .45s ease,opacity .3s ease;cursor:pointer;overflow:visible}.photo-stack figure::before{content:'';position:absolute;z-index:3;left:calc(50% - 9px);top:-29px;width:18px;height:48px;border-radius:3px;background:linear-gradient(90deg,#b6884f,#e2bd85 45%,#9f7745 48%,#c49b60 65%);box-shadow:2px 4px 5px #0003;transform:rotate(-4deg)}.photo-stack img,.photo-stack video{width:100%;height:280px;object-fit:cover;display:block;background:#e6e8dc;pointer-events:none}.photo-stack figcaption{padding:15px 0 0;text-align:center;font-size:14px;color:#284c3e}.photo-stack figure:has(video)::after{content:'▶';position:absolute;left:50%;top:42%;transform:translate(-50%,-50%);font-size:28px;color:white;background:#173f3299;border:1px solid white;border-radius:50%;width:60px;height:60px;display:grid;place-items:center}.stack-controls{display:flex;align-items:center;justify-content:center;gap:28px;text-align:center;font-size:13px}.stack-controls p{margin:5px 0}.stack-count{font-variant-numeric:tabular-nums;color:#896b38}.stack-arrow{background:none;border:1px solid #c0cabf;border-radius:50%;width:48px;height:48px;color:#173f32;font-size:25px;cursor:pointer}.gallery-viewer{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;border:0;margin:0;padding:55px 65px;background:#101815;color:#fff;box-sizing:border-box}.gallery-viewer::backdrop{background:#101815}.viewer-content{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px}.viewer-content img,.viewer-content video{max-width:100%;max-height:calc(100dvh - 145px);object-fit:contain}.viewer-content p{margin:0;text-align:center}.gallery-viewer button{position:absolute;background:#ffffff14;border:1px solid #ffffff50;color:white;border-radius:50%;width:42px;height:42px;font-size:25px;cursor:pointer}.viewer-close{right:18px;top:16px}.viewer-prev{left:12px;top:48%}.viewer-next{right:12px;top:48%}@media(max-width:600px){.photo-stack{height:350px}.photo-stack figure{transform:translateX(calc(-50% + var(--offset)*35px)) translateY(calc(abs(var(--offset))*7px)) rotate(calc(var(--offset)*5deg)) scale(calc(1 - abs(var(--offset))*.05));padding:10px 10px 25px}.photo-stack img,.photo-stack video{height:220px}.stack-controls{gap:12px}.gallery-viewer{padding:60px 45px}.gallery-intro h1{font-size:40px}}@media(prefers-reduced-motion:reduce){.photo-stack figure{transition:none}}

.gallery-caption-text{display:block;font-size:13px;font-weight:normal;white-space:pre-wrap}.photo-stack figcaption{max-height:85px;overflow:auto}.viewer-content p{max-height:20vh;overflow:auto;white-space:pre-wrap}
