/* Merlaka Gallery - boutique editorial photography */
.gallery-page{background:#f7f3e9;color:#26382d}
.gallery-page .menu a[aria-current="page"]{color:#a28455}
.gallery-page .gp-intro{background:#f7f3e9;padding:82px 0 106px;overflow:hidden}
.gallery-page .gp-intro-layout{display:grid;grid-template-columns:minmax(0,41fr) minmax(0,59fr);align-items:center;gap:2.2%;}
.gallery-page .gp-intro-copy{position:relative;z-index:2;padding:18px 5% 25px 0}
.gallery-page .gp-breadcrumb{display:inline-block;font-size:11px;color:#778277;text-decoration:none;margin-bottom:76px;letter-spacing:.015em}
.gallery-page .gp-breadcrumb:hover{color:#b08d61}
.gallery-page .gp-kicker{font-size:10px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:#ab8b5d;line-height:1.8}
.gallery-page .gp-intro h1{font-family:Montserrat,Arial,sans-serif;font-weight:500;font-size:clamp(39px,4.2vw,72px);line-height:1.16;letter-spacing:-.057em;margin:18px -28px 26px 0;max-width:700px}
.gallery-page .gp-intro h1 em{display:block;font-family:Georgia,serif;font-size:1.075em;line-height:1.16;font-weight:400;letter-spacing:-.045em;color:#a38a5d}
.gallery-page .gp-divider{width:62px;height:1px;background:#c7af8d;margin:36px 0}
.gallery-page .gp-intro-copy>p{max-width:390px;font-size:14px;line-height:2.05;color:#6e786e;margin-bottom:38px}
.gallery-page .gp-scroll{display:inline-flex;align-items:center;gap:25px;text-decoration:none;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;border-bottom:1px solid #425142;padding-bottom:8px;color:#2a3f32}
.gallery-page .gp-scroll span{font-size:20px;font-weight:300;line-height:1}
.gallery-page .gp-hero-images{position:relative;height:590px;margin:0 15px 0 22px}
.gallery-page .gp-hero-main{position:absolute;inset:0 0 22px 65px;overflow:hidden;background:#57674e}
.gallery-page .gp-hero-main::after{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(0deg,rgba(22,37,27,.48),transparent);pointer-events:none}
.gallery-page .gp-hero-main img{width:100%;height:100%;object-fit:cover;object-position:center 45%;display:block}
.gallery-page .gp-hero-secondary{position:absolute;bottom:-38px;left:-16px;width:36%;height:245px;overflow:hidden;border:10px solid #f7f3e9;background:#baab91;z-index:2}
.gallery-page .gp-hero-secondary img{width:100%;height:100%;object-fit:cover;display:block}
.gallery-page .gp-hero-note{position:absolute;bottom:25px;left:42%;right:20px;z-index:1;color:white;display:flex;flex-direction:column;gap:4px}
.gallery-page .gp-hero-note span{font-size:10px;letter-spacing:.17em;text-transform:uppercase;opacity:.8}
.gallery-page .gp-hero-note strong{font-size:16px;font-family:Georgia,serif;font-style:italic;font-weight:400}
.gallery-page .gp-hero-symbol{position:absolute;top:-54px;right:-14px;color:#b5a175;font-size:75px;font-weight:300;line-height:1;z-index:1}
.gallery-page .gp-photographs{padding:105px 0 124px;background:#eeeae0}
.gallery-page .gp-section-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin:0 0 38px}
.gallery-page .gp-section-head h2{font-family:Montserrat,Arial,sans-serif;font-size:clamp(28px,3.3vw,48px);font-weight:500;letter-spacing:-.05em;margin:12px 0 0}
.gallery-page .gp-number{font-size:11px;color:#777e75;white-space:nowrap;letter-spacing:.02em}.gallery-page .gp-number b{color:#2c4031;font-size:18px;font-weight:600}
.gallery-page .gp-filter-list{display:flex;align-items:center;flex-wrap:wrap;gap:7px 24px;padding:0 0 22px;border-bottom:1px solid rgba(55,76,59,.25);margin-bottom:29px}
.gallery-page .gp-filter{display:inline-flex;gap:10px;align-items:baseline;appearance:none;border:0;background:transparent;padding:10px 0 12px;color:#7a8177;font:600 12px Montserrat,Arial,sans-serif;cursor:pointer;position:relative}
.gallery-page .gp-filter small{font:400 9px Montserrat,Arial,sans-serif;opacity:.75}.gallery-page .gp-filter:hover,.gallery-page .gp-filter.is-active{color:#293d31}
.gallery-page .gp-filter.is-active:after{content:"";position:absolute;bottom:-1px;left:0;width:100%;height:2px;background:#b59865}
.gallery-page .gp-filter:focus-visible,.gallery-page .gp-tile:focus-visible,.gallery-page .gp-viewer-close:focus-visible,.gallery-page .gp-viewer-prev:focus-visible,.gallery-page .gp-viewer-next:focus-visible{outline:3px solid #a58550;outline-offset:3px}
.gallery-page .gp-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:190px;grid-auto-flow:dense;gap:12px}
.gallery-page .gp-tile{position:relative;overflow:hidden;padding:0;border:0;border-radius:0;background:#b6b7a4;cursor:zoom-in;text-align:left;color:white;isolation:isolate;}
.gallery-page .gp-tile[hidden]{display:none!important}
.gallery-page .gp-tile--feature{grid-column:span 2;grid-row:span 2}
.gallery-page .gp-tile--wide{grid-column:span 2;grid-row:span 1}
.gallery-page .gp-tile--portrait{grid-row:span 2}
.gallery-page .gp-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transform:scale(1.001);transition:transform .65s ease}
.gallery-page .gp-tile:hover img{transform:scale(1.06)}
.gallery-page .gp-tile-shade{position:absolute;z-index:1;inset:35% 0 0;background:linear-gradient(to top,rgba(8,27,18,.66),transparent);pointer-events:none;opacity:.85;transition:opacity .3s ease}
.gallery-page .gp-tile-title{position:absolute;z-index:2;bottom:19px;left:19px;right:24px;font-size:12px;font-weight:600;line-height:1.5;letter-spacing:.015em;text-shadow:0 2px 5px rgba(0,0,0,.18)}
.gallery-page .gp-tile-zoom{position:absolute;z-index:2;right:17px;top:14px;font-size:20px;line-height:1;opacity:0;transform:translate(-3px,4px);transition:opacity .2s,transform .2s}
.gallery-page .gp-tile:hover .gp-tile-zoom{opacity:1;transform:translate(0,0)}
.gallery-page .gp-book{padding:96px 0 102px;background:#263d2f;color:#f8f1e4}
.gallery-page .gp-book-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:11%;align-items:center}
.gallery-page .gp-book .gp-kicker{color:#d9c49b}
.gallery-page .gp-book h2{font-family:Montserrat,Arial,sans-serif;font-weight:500;line-height:1.2;letter-spacing:-.055em;font-size:clamp(34px,4vw,58px);margin:15px 0 0}
.gallery-page .gp-book h2 em{font-family:Georgia,serif;color:#dcc79d;font-weight:400;font-size:1.13em}
.gallery-page .gp-book-actions p{color:#d0d9d1;line-height:2;font-size:13px;max-width:420px;margin:0 0 30px}
.gallery-page .gp-actions{display:flex;gap:12px;flex-wrap:wrap}
.gallery-page .gp-actions a{font-size:10px;letter-spacing:.07em;text-decoration:none;text-transform:uppercase;font-weight:700;padding:15px 18px;display:inline-flex;align-items:center}
.gallery-page .gp-button-light{background:#dcc79d;color:#26382d}.gallery-page .gp-button-outline{border:1px solid rgba(245,240,224,.6);color:#f5efe0}
.gallery-page .gp-button-light:hover{background:#e8d6b0}.gallery-page .gp-button-outline:hover{background:rgba(255,255,255,.12)}
.gallery-page .gp-lightbox{position:fixed;z-index:2000;inset:0;display:flex;align-items:center;justify-content:center;background:#101c16;color:white;padding:70px 90px 54px;}
.gallery-page .gp-lightbox[hidden]{display:none}
.gallery-page .gp-viewer-backdrop{position:absolute;inset:0}
.gallery-page .gp-viewer-top{position:absolute;z-index:3;top:18px;left:26px;right:25px;display:flex;justify-content:space-between;align-items:center;pointer-events:none}
.gallery-page .gp-viewer-count{letter-spacing:.08em;font-size:11px;opacity:.76}
.gallery-page .gp-viewer-close{pointer-events:auto;border:1px solid rgba(255,255,255,.4);background:transparent;color:white;width:42px;height:42px;cursor:pointer;font-size:19px;display:grid;place-items:center}
.gallery-page .gp-viewer-figure{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:0;max-width:min(1100px,100%);max-height:100%;min-height:0;pointer-events:none;gap:17px}
.gallery-page .gp-viewer-figure img{max-width:100%;max-height:calc(100vh - 178px);width:auto;height:auto;object-fit:contain;box-shadow:0 9px 40px rgba(0,0,0,.25)}
.gallery-page .gp-viewer-figure figcaption{text-align:center;color:#e7e4d9;font-size:12px;line-height:1.5}
.gallery-page .gp-viewer-prev,.gallery-page .gp-viewer-next{position:absolute;z-index:3;top:50%;transform:translateY(-50%);width:46px;height:46px;border:1px solid rgba(255,255,255,.4);background:rgba(10,20,13,.26);font-size:24px;cursor:pointer;color:white}
.gallery-page .gp-viewer-prev{left:20px}.gallery-page .gp-viewer-next{right:20px}
.gallery-page .gp-viewer-prev:hover,.gallery-page .gp-viewer-next:hover,.gallery-page .gp-viewer-close:hover{background:rgba(255,255,255,.15)}
@media(max-width:1100px){.gallery-page .gp-intro-layout{grid-template-columns:minmax(0,43fr) minmax(0,57fr)}.gallery-page .gp-hero-images{height:470px;margin:0 25px 0 0}.gallery-page .gp-hero-main{left:45px}.gallery-page .gp-hero-secondary{height:188px}.gallery-page .gp-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:180px}}
@media(max-width:820px){.gallery-page .gp-intro{padding:44px 0 86px}.gallery-page .gp-intro-layout{grid-template-columns:1fr;gap:36px}.gallery-page .gp-intro-copy{padding:0}.gallery-page .gp-breadcrumb{margin-bottom:28px}.gallery-page .gp-intro h1{max-width:590px;margin-right:0}.gallery-page .gp-hero-images{height:470px;max-width:620px;width:100%;margin-left:auto;margin-right:auto}.gallery-page .gp-hero-secondary{left:-6px}.gallery-page .gp-photographs{padding:74px 0 94px}.gallery-page .gp-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:185px;gap:10px}.gallery-page .gp-book-layout{grid-template-columns:1fr;gap:28px}}
@media(max-width:520px){.gallery-page .gp-intro{padding:30px 0 65px}.gallery-page .gp-hero-images{height:340px}.gallery-page .gp-hero-main{left:20px;right:0;bottom:14px}.gallery-page .gp-hero-secondary{height:130px;width:38%;border-width:6px;bottom:-20px}.gallery-page .gp-hero-symbol{top:-23px;font-size:46px}.gallery-page .gp-hero-note{left:45%;bottom:16px;right:12px}.gallery-page .gp-hero-note strong{font-size:13px}.gallery-page .gp-section-head{align-items:start;flex-direction:column;gap:10px}.gallery-page .gp-filter-list{gap:0 21px;}.gallery-page .gp-filter{font-size:10px}.gallery-page .gp-filter small{font-size:8px}.gallery-page .gp-grid{grid-auto-rows:134px;gap:7px}.gallery-page .gp-tile-title{font-size:10px;left:10px;bottom:10px;right:10px}.gallery-page .gp-tile-zoom{display:none}.gallery-page .gp-lightbox{padding:68px 12px 62px}.gallery-page .gp-viewer-prev,.gallery-page .gp-viewer-next{bottom:15px;top:auto;transform:none;width:40px;height:40px}.gallery-page .gp-viewer-prev{left:15px}.gallery-page .gp-viewer-next{right:15px}.gallery-page .gp-viewer-figure img{max-height:calc(100vh - 174px)}.gallery-page .gp-viewer-figure figcaption{font-size:11px;padding:0 48px}.gallery-page .gp-book{padding:68px 0}}
@media(prefers-reduced-motion:reduce){.gallery-page *{transition:none!important;scroll-behavior:auto!important}}
