.gallery-page{background:#f4f7f6;color:var(--ink)}
.gallery-hero{position:relative;min-height:535px;display:flex;align-items:flex-end;overflow:hidden;padding:165px 7vw 82px;background:radial-gradient(circle at 80% 20%,rgba(40,185,210,.2),transparent 30%),linear-gradient(125deg,#06141e,#0a2c39 58%,#06141e);color:#fff}
.gallery-hero:after{content:"";position:absolute;right:-227px;bottom:-287px;width:813px;height:813px;background:rgba(40,185,210,.18);-webkit-mask:url("https://easternsignsfl.com/wp-content/uploads/2026/08/cropped-Eastern_Icon.png") center/contain no-repeat;mask:url("https://easternsignsfl.com/wp-content/uploads/2026/08/cropped-Eastern_Icon.png") center/contain no-repeat;filter:drop-shadow(0 0 30px rgba(40,185,210,.16));transform:rotate(0deg)}
.gallery-hero-grid{position:absolute;inset:0;opacity:.2;background-image:linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px);background-size:56px 56px;mask-image:linear-gradient(90deg,transparent,#000 42%,#000)}
.gallery-hero-content{position:relative;z-index:1;max-width:900px}
.gallery-hero h1{margin:23px 0 26px;font-family:"Barlow Condensed",sans-serif;font-size:clamp(78px,9vw,132px);font-weight:800;line-height:.8;letter-spacing:-.035em;text-transform:uppercase}
.gallery-hero h1 strong{color:var(--cyan)}
.gallery-hero-content>p:last-child{max-width:690px;margin:0;color:rgba(255,255,255,.7);font-size:16px;line-height:1.75}
.gallery-hero-meta{position:absolute;z-index:1;right:7vw;bottom:30px;display:flex;gap:28px;color:rgba(255,255,255,.55);font-size:9px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.gallery-library{padding:105px 7vw 125px}
.gallery-library-heading{max-width:780px;margin:0 auto 58px;text-align:center}
.gallery-library-heading h2{margin:22px 0 18px;font-family:"Barlow Condensed",sans-serif;font-size:clamp(58px,7vw,94px);line-height:.9;letter-spacing:-.025em;text-transform:uppercase}
.gallery-library-heading>p:last-child{max-width:610px;margin:0 auto;color:var(--muted);font-size:14px;line-height:1.8}
.gallery-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:46px 24px;max-width:1460px;margin:auto}
.gallery-category-card{min-width:0;margin:0}
.gallery-category-open{position:relative;width:100%;aspect-ratio:4/3;display:block;overflow:hidden;border:0;padding:0;background:#071923;color:#fff;cursor:pointer;text-align:left;box-shadow:0 18px 45px rgba(2,20,30,.1);isolation:isolate}
.gallery-category-image{position:absolute;inset:0;background-position:center;background-size:cover;transition:transform .65s cubic-bezier(.2,.7,.2,1),filter .35s ease}
.gallery-category-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(2,15,23,.03) 25%,rgba(2,15,23,.91) 100%)}
.gallery-category-number{position:absolute;top:20px;right:21px;color:rgba(255,255,255,.78);font:700 10px/1 "Barlow",sans-serif;letter-spacing:.14em}
.gallery-category-copy{position:absolute;z-index:2;left:25px;right:25px;bottom:24px}
.gallery-category-copy small,.gallery-category-copy strong,.gallery-category-copy em{display:block}
.gallery-category-copy small{margin-bottom:8px;color:var(--cyan);font-size:8px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.gallery-category-copy strong{font-family:"Barlow Condensed",sans-serif;font-size:clamp(28px,2.3vw,40px);line-height:.95;text-transform:uppercase}
.gallery-category-copy em{margin-top:14px;color:rgba(255,255,255,.7);font-size:9px;font-style:normal;font-weight:700;letter-spacing:.1em;text-transform:uppercase;transition:color .2s ease}
.gallery-category-copy b{display:inline-block;margin-left:6px;color:var(--cyan);font-size:15px;transition:transform .2s ease}
.gallery-category-card>p{margin:17px 2px 0;color:#60717a;font-size:12px;line-height:1.7}
.gallery-category-open:hover .gallery-category-image,.gallery-category-open:focus-visible .gallery-category-image{transform:scale(1.045);filter:saturate(1.08) contrast(1.03)}
.gallery-category-open:hover .gallery-category-copy em,.gallery-category-open:focus-visible .gallery-category-copy em{color:#fff}
.gallery-category-open:hover b,.gallery-category-open:focus-visible b{transform:translateX(5px)}
.gallery-cta{display:flex;align-items:center;justify-content:space-between;gap:50px;padding:70px 7vw;background:var(--navy2);color:#fff}
.gallery-cta span{color:var(--cyan);font-size:9px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
.gallery-cta h2{margin:10px 0 0;font-family:"Barlow Condensed",sans-serif;font-size:clamp(38px,4vw,58px);line-height:1;text-transform:uppercase}

.project-book{position:fixed;z-index:100000;inset:0;display:grid;place-items:center;padding:46px;background:rgba(1,9,14,.94);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .28s ease,visibility .28s ease}
.project-book.is-open{opacity:1;visibility:visible;pointer-events:auto}
.project-book-stage{position:relative;width:min(1320px,95vw)}
.project-book-spread{display:grid;grid-template-columns:1.16fr .84fr;min-height:min(720px,82vh);background:#fff;box-shadow:0 35px 100px rgba(0,0,0,.5);perspective:1800px}
.project-book-spread:after{content:"";position:absolute;top:0;bottom:0;left:58%;width:24px;transform:translateX(-50%);background:linear-gradient(90deg,rgba(0,0,0,.14),transparent 48%,rgba(0,0,0,.08));pointer-events:none;z-index:3}
.project-book-page{position:relative;min-width:0;overflow:hidden}
.project-book-visual-page{background:#071923}
.project-book-visual{position:absolute;inset:0;background-position:center;background-size:cover;transform-origin:right center}
.project-book-visual img{width:100%;height:100%;display:block;object-fit:cover}
.project-book-visual.page-forward{animation:book-page-forward .42s ease}
.project-book-visual.page-back{animation:book-page-back .42s ease}
@keyframes book-page-forward{0%{opacity:.55;transform:rotateY(-8deg) scale(.985)}100%{opacity:1;transform:none}}
@keyframes book-page-back{0%{opacity:.55;transform:rotateY(8deg) scale(.985)}100%{opacity:1;transform:none}}
.project-book-expand{position:absolute;z-index:2;right:21px;bottom:20px;border:1px solid rgba(255,255,255,.5);background:rgba(2,15,23,.58);padding:11px 13px;color:#fff;font:700 8px/1 "Barlow",sans-serif;letter-spacing:.11em;text-transform:uppercase;cursor:pointer;backdrop-filter:blur(8px)}
.project-book-expand span{margin-left:8px;color:var(--cyan)}
.project-book-copy-page{display:flex;flex-direction:column;justify-content:space-between;padding:62px 55px 42px;background:#f9faf9}
.project-book-label{margin:0 0 20px;color:#0f8fa8;font-size:9px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.project-book-copy-page h2{max-width:480px;margin:0;font-family:"Barlow Condensed",sans-serif;font-size:clamp(46px,4vw,68px);line-height:.88;letter-spacing:-.02em;text-transform:uppercase}
.project-book-description{max-width:440px;margin:25px 0 0;color:#697a82;font-size:13px;line-height:1.75}
.project-book-entry{padding:30px 0;border-top:1px solid #dce3e3;border-bottom:1px solid #dce3e3}
.project-book-entry>span{display:block;margin-bottom:12px;color:#8b999e;font-size:9px;font-weight:800;letter-spacing:.14em}
.project-book-entry h3{margin:0;font-family:"Barlow Condensed",sans-serif;font-size:31px;line-height:1;text-transform:uppercase}
.project-book-entry p{margin:12px 0 0;color:#65757c;font-size:12px;line-height:1.65}
.project-book-controls{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:18px;padding-top:28px}
.project-book-controls>button,.project-book-close{appearance:none;border:1px solid #cad4d5;background:transparent;color:#0a2935;cursor:pointer;transition:.2s ease}
.project-book-controls>button{width:44px;height:44px;font-size:18px}
.project-book-controls>button:hover,.project-book-controls>button:focus-visible{border-color:var(--cyan);background:var(--cyan)}
.project-book-controls>div{display:flex;justify-content:center;gap:8px}
.project-book-controls>div button{width:7px;height:7px;border:0;border-radius:50%;padding:0;background:#bec9ca;cursor:pointer;transition:.2s ease}
.project-book-controls>div button.is-active{width:25px;border-radius:6px;background:#0f8fa8}
.project-book-close{position:absolute;z-index:5;top:14px;right:14px;width:42px;height:42px;background:rgba(255,255,255,.92);font-size:27px;line-height:1}
.project-book-close:hover,.project-book-close:focus-visible{border-color:var(--cyan);background:var(--cyan)}
.gallery-fullscreen{position:fixed;z-index:100010;inset:0;display:grid;place-items:center;padding:70px;background:rgba(0,7,11,.98);opacity:0;visibility:hidden;pointer-events:none;transition:.2s ease}
.gallery-fullscreen.is-open{opacity:1;visibility:visible;pointer-events:auto}
.gallery-fullscreen>div{width:100%;height:100%;background-position:center;background-size:contain;background-repeat:no-repeat}
.gallery-fullscreen img{width:100%;height:100%;display:block;object-fit:contain}
.gallery-fullscreen>button{position:absolute;top:22px;right:24px;width:46px;height:46px;border:1px solid rgba(255,255,255,.3);background:transparent;color:#fff;font-size:29px;cursor:pointer}
body.gallery-modal-open{overflow:hidden}

@media(max-width:1050px){.gallery-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-book{padding:25px}.project-book-spread{grid-template-columns:1fr;min-height:0;max-height:92vh;overflow:auto}.project-book-spread:after{display:none}.project-book-visual-page{min-height:48vh}.project-book-copy-page{min-height:440px;padding:45px}.project-book-close{position:fixed;top:35px;right:35px}}
@media(max-width:700px){.gallery-hero{min-height:570px;padding:145px 24px 100px}.gallery-hero:after{right:-310px;bottom:-215px;width:650px;height:650px}.gallery-hero h1{font-size:75px}.gallery-hero-meta{left:24px;right:24px;bottom:27px;justify-content:space-between;gap:12px}.gallery-library{padding:78px 24px 90px}.gallery-library-heading{margin-bottom:38px}.gallery-library-heading h2{font-size:56px}.gallery-category-grid{grid-template-columns:1fr;gap:38px}.gallery-category-copy strong{font-size:36px}.gallery-cta{align-items:flex-start;flex-direction:column;padding:58px 24px}.project-book{padding:0;place-items:stretch}.project-book-stage{width:100%}.project-book-spread{max-height:100vh;height:100vh}.project-book-visual-page{min-height:44vh}.project-book-copy-page{min-height:56vh;padding:34px 27px 28px}.project-book-copy-page h2{font-size:48px}.project-book-description{margin-top:16px}.project-book-entry{padding:22px 0}.project-book-controls{padding-top:20px}.project-book-close{top:12px;right:12px}.gallery-fullscreen{padding:58px 15px 25px}}
@media(prefers-reduced-motion:reduce){.gallery-category-image,.project-book,.project-book-visual{transition:none!important;animation:none!important}}
