/* Standalone behavior for the preserved original layout. */
html {scroll-behavior:smooth}body{margin:0}#wm-loading-animation{display:none!important}
.header-title-logo img{max-height:68px!important;margin-top:0!important}
.header-display-desktop .header-actions-action--social{display:none!important}
.mobile-only{display:none!important}.rebeccagrace-overlay{visibility:hidden!important}
.header-menu-nav-folder-content{justify-content:flex-start}.social-grid{margin-left:-5px!important}.sub-menu{margin-left:0}
.gallery-slideshow-item{transition:opacity 600ms ease!important}
.gallery-slideshow-item[data-active="false"]{opacity:0!important;pointer-events:none!important}
.gallery-slideshow-item[data-active="true"]{opacity:1!important;z-index:1}
.gallery-slideshow-controls{z-index:5;position:relative}
.gallery-strips-item{margin:0}.gallery-strips-item img{display:block;width:100%;height:auto}
.gallery-strips-wrapper{display:block!important}.gallery-strips-item-wrapper{position:relative!important;width:100%;height:auto!important}
[data-animation-role="image"]{min-height:0!important}
.video-overlay{position:fixed;inset:0;background:rgba(0,0,0,.92);z-index:10000;display:flex;align-items:center;justify-content:center}.video-overlay iframe{width:85vw;height:80vh;border:0}.video-overlay button{position:absolute;right:20px;top:10px;color:white;border:0;background:none;font-size:38px;cursor:pointer}
@media(max-width:767px){.mobile-only{display:block!important}.header-title-logo img{max-height:65px!important}.gallery-strips-item{padding-bottom:10px}.gallery-strips-wrapper{padding:0 4vw}}
.gallery-slideshow-item{visibility:visible!important;transition:opacity 400ms cubic-bezier(.2,.6,.3,1)!important}.gallery-slideshow-item-src,.gallery-slideshow-item-img{opacity:1!important}.gallery-slideshow-controls{position:absolute}
.gallery-strips-item-wrapper{opacity:1!important}
.gallery-slideshow-item img{display:block!important}
@media(min-width:768px){.header-menu-nav-folder-content{top:110px!important}}
.fluid-image-container img{height:auto!important}
@media(max-width:767px){.gallery-strips-item{padding-bottom:16px}.gallery-strips-wrapper{padding:0}}
/* Desktop entry screen: preserve the rendered logo size and center it on both axes. */
@media(min-width:768px){
 body.desktop-splash-centered .sqs-block-image-figure{position:fixed!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:var(--splash-original-width)!important;margin:0!important;z-index:1}
 body.desktop-splash-centered{overflow:hidden}
}
@media(max-width:767px){.desktop-contact-item{display:none!important}}
/* Contact uses the same field layout and delivery workflow as ARCH PRO PIXELS. */
.ori-contact-page{padding-top:calc(var(--header-height,105px) + 35px);padding-bottom:50px}
.ori-contact{width:70.5%;max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:10%;font-family:Heebo,Arial,sans-serif;font-size:17px;line-height:1.5;color:#5e5e5e}
.ori-contact *{box-sizing:border-box}.ori-contact p{margin:0 0 28px}.ori-contact-copy a{text-decoration:underline;text-underline-offset:3px}
.ori-contact form{display:grid;grid-template-columns:1fr 1fr;gap:45px 20px}
.ori-field{display:flex;flex-direction:column;gap:8px;color:#666}.ori-wide{grid-column:1/-1}
.ori-field input,.ori-field textarea{font:inherit;border:0;border-bottom:1px solid #aaa;background:transparent;border-radius:0;outline-offset:5px;width:100%;padding:6px 2px;color:#222}
.ori-field textarea{height:65px;resize:vertical}.ori-submit{font:inherit;grid-column:1/-1;height:56px;border:2px solid #888;background:white;font-size:14px;cursor:pointer;color:#222}
.ori-submit:hover{background:#252525;color:white}.ori-submit:disabled{opacity:.55;cursor:wait}
.ori-contact .ori-form-note{grid-column:1/-1;font-size:13px;margin:0}.ori-form-note:empty{display:none}.ori-form-note.error{color:#9b3c33}
.ori-contact-trap{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}

/* Align the first desktop category with the visible top edge of the gallery photo. */
@media(min-width:768px){body.desktop-gallery-menu-aligned .header-menu-nav-folder-content{top:calc(var(--desktop-photo-top) - 41px)!important}}

/* Match the 42px category gap before the desktop social icons. */
@media(min-width:768px){.header-menu-nav-wrapper>.social-grid{margin-top:21px!important}}
@media(max-width:767px){.desktop-art-item{display:none!important}}
.ori-empty-art{min-height:75vh;padding-top:var(--header-height,105px)}

/* Desktop clear spacing: 25px between categories and before the social row. */
@media(min-width:768px){
 .header-menu-nav-wrapper>.header-menu-nav-item--collection>a{margin-top:12.5px!important;margin-bottom:12.5px!important}
 .header-menu-nav-wrapper>.header-menu-nav-item--collection:first-child>a{margin-top:21px!important}
 .header-menu-nav-wrapper>.social-grid{margin-top:12.5px!important}
}

/* WhatsApp uses the same monochrome 20px icon size as the other social links. */
.ori-contact-wa{display:none!important}
@media(min-width:768px){
 .social-grid a[href="https://wa.me/972502261111"],.ori-contact-wa{display:inline-flex!important;visibility:inherit!important;align-items:center;justify-content:center;flex-shrink:0;min-width:20px;width:20px!important;height:20px!important;line-height:20px;text-decoration:none!important;color:#1a1a1a}
 .social-grid a[href="https://wa.me/972502261111"] svg{display:none!important}
 .social-grid a[href="https://wa.me/972502261111"]::before,.ori-contact-wa::before{content:"\f232";font-family:FontAwesome;font-size:20px;line-height:20px;visibility:inherit!important}
}

/* Three social icons on the first row; a 28px WhatsApp centered under Instagram. */
@media(min-width:768px){
 #header .header-menu-nav-wrapper>.social-grid{display:grid!important;grid-template-columns:repeat(3,20px);gap:25px 20px!important;justify-content:start;align-items:start}
 #header .social-grid a[href="https://wa.me/972502261111"]{grid-column:2;justify-self:center;width:28px!important;min-width:28px;height:28px!important;line-height:28px;overflow:visible}
 #header .social-grid a[href="https://wa.me/972502261111"]::before{font-size:28px!important;line-height:28px!important}
}
.ori-contact-details p{margin:0 0 12px}.ori-contact-details a{text-decoration:underline;text-underline-offset:3px}
.ori-contact-social{display:grid;grid-template-columns:repeat(4,20px);gap:25px 20px;justify-content:start;margin-top:20px}
.ori-contact-social a{display:flex;align-items:center;justify-content:center;width:20px;height:20px;line-height:20px;color:#635f5f;text-decoration:none!important;font-size:20px}
.ori-contact-social a[href="https://wa.me/972502261111"]{grid-column:auto;justify-self:center;width:20px;height:20px;line-height:20px;visibility:visible;overflow:visible}
.ori-contact-social a[href="https://wa.me/972502261111"]::before{font-size:20px;line-height:20px;visibility:inherit!important}

@media(min-width:768px){.ori-about-contact-mobile,.ori-contact-mobile-original{display:none!important}}
@media(max-width:767px){.ori-contact-details{display:none!important}}

/* Contact desktop colors darkened 30% toward black, preserving layout and icon sizes. */
@media(min-width:768px){
 .ori-contact{color:#424242}
 .ori-contact-details>p>a{color:#4b4c50}
 .ori-contact .ori-field{color:#474747}
 .ori-contact .ori-field input,.ori-contact .ori-field textarea,.ori-contact .ori-submit{color:#181818}
 .ori-contact .ori-submit:hover{color:#fff}
 .ori-contact-social a{color:#454343}
}

/* Desktop About signature, matching the supplied reference. */
.ori-about-signature{display:none}
@media(min-width:768px){.ori-about-signature{display:block;width:170px;height:auto;margin:58px 0 0;}}

/* Desktop menu has no social icons; Contact retains the requested left-to-right order. */
@media(min-width:768px){#header .header-menu-nav-wrapper>.social-grid,#header .header-menu-actions-action--social{display:none!important}.ori-contact-social{direction:ltr}}

@media(max-width:767px){#header .header-display-mobile .header-burger{transform:translateY(var(--mobile-burger-offset,0px))}}

/* Slightly larger and heavier mobile category navigation. */
@media(max-width:767px){#header .header-menu-nav-item--collection a{font-size:18px!important;font-weight:600!important}}

/* Mobile header, social links, About signature and Contact. */
@media(max-width:767px){
 #header .header-display-mobile .header-burger{transform:translate(var(--mobile-burger-x,0px),var(--mobile-burger-offset,0px))}
 #header .header-display-mobile .burger-inner>div{background-color:#000!important}
 #header .header-menu-nav-wrapper>.social-grid{display:flex!important;direction:ltr;justify-content:center;align-items:center;gap:20px}
 #header .social-grid a{width:24px!important;height:24px!important;line-height:24px!important;display:inline-flex;align-items:center;justify-content:center;margin:0!important}
 #header .social-grid a svg{width:24px!important;height:24px!important}
 #header .social-grid a[href="https://wa.me/972502261111"] svg{display:none!important}
 #header .social-grid a[href="https://wa.me/972502261111"]::before{content:"\f232";font-family:FontAwesome;font-size:24px;line-height:24px}
 #header .mobile-only a[href^="tel:"]{font-size:18px!important}
 .ori-about-contact-mobile{display:none!important}
 .ori-about-signature{display:block;width:170px;height:auto;margin:32px 0 0}
 .desktop-contact-item{display:block!important}
 .ori-contact-page{padding-top:calc(var(--header-height,140px) + 24px);padding-bottom:40px}
 .ori-contact{width:calc(100% - 40px);display:block;font-size:17px;color:#424242}
 .ori-contact-details{display:block!important}
 .ori-contact-mobile-original{display:none!important}
 .ori-contact form{margin-top:36px;gap:28px 16px}
 .ori-contact-social{grid-template-columns:repeat(4,24px);direction:ltr;gap:20px}
 .ori-contact-social a,.ori-contact-social a[href="https://wa.me/972502261111"]{width:24px;height:24px;line-height:24px;font-size:24px;color:#454343}
 .ori-contact-social a[href="https://wa.me/972502261111"]::before{content:"\f232";font-family:FontAwesome;font-size:24px;line-height:24px}
 .ori-contact-details a[href^="tel:"]{font-size:18px}
}

@media(max-width:767px){
 #header .social-grid a svg{display:none!important}
 #header .social-grid a::before{font-family:FontAwesome;font-size:24px;line-height:24px}
 #header .social-grid a[href*="facebook.com"]::before{content:"\f09a"}
 #header .social-grid a[href*="linkedin.com"]::before{content:"\f0e1"}
 #header .social-grid a[href*="instagram.com"]::before{content:"\f16d"}
}

@media(max-width:767px){.ori-contact>.ori-contact-details{margin-top:36px}}

/* Compact mobile Contact, keeping all fields and contact links accessible. */
@media(max-width:767px){
 .ori-contact-page{padding-top:calc(var(--header-height,140px) + 8px);padding-bottom:12px}
 .ori-contact{font-size:16px;line-height:1.4}
 .ori-contact-copy>p{margin-bottom:12px}
 .ori-contact form{margin-top:12px;gap:12px 16px}
 .ori-contact .ori-field{gap:3px}
 .ori-contact .ori-field input{height:29px;padding:2px}
 .ori-contact .ori-field textarea{height:45px;min-height:36px;padding:2px}
 .ori-contact .ori-submit{height:40px}
 .ori-contact>.ori-contact-details{margin-top:16px}
 .ori-contact-details p{margin:0 0 6px}
 .ori-contact-social{margin-top:10px}
}
@media(max-width:767px) and (max-height:720px){
 .ori-contact-page{padding-top:calc(var(--header-height,140px) + 4px);padding-bottom:8px}
 .ori-contact-copy>p{font-size:14px;margin-bottom:8px}
 .ori-contact form{margin-top:8px;gap:8px 14px}
 .ori-contact .ori-field{gap:1px;font-size:15px}
 .ori-contact .ori-field input{height:25px}
 .ori-contact .ori-field textarea{height:36px}
 .ori-contact .ori-submit{height:36px}
 .ori-contact>.ori-contact-details{margin-top:12px}
 .ori-contact-social{margin-top:8px}
}

@media(max-width:767px){.ori-contact .ori-field input,.ori-contact .ori-field textarea{font-size:16px}}

@media(max-width:767px){
 .ori-contact>.ori-contact-details{margin-top:26px}
 .ori-contact-details p{margin-bottom:10px}
 .ori-contact-social{margin-top:14px;column-gap:24px}
}

@media(max-width:767px){
 .ori-contact form{margin-top:22px}
 .ori-contact-details p{margin-bottom:18px}
 .ori-contact-social{margin-top:22px}
}

@media(max-width:767px){
 .ori-contact form{margin-top:36px}
 .ori-contact{font-weight:500}
 .ori-contact .ori-submit{font-weight:500}
}

/* iPad galleries fit the available viewport and reserve a white bottom strip. */
html.ipad-gallery .ipad-gallery-page{overflow:hidden;background:#fff}
html.ipad-gallery .ipad-gallery-page #page{padding-top:var(--header-height,120px)!important;padding-bottom:32px!important;background:#fff}
html.ipad-gallery .ipad-gallery-page .gallery-section:has(.gallery-strips){display:none!important}
html.ipad-gallery .ipad-gallery-page .gallery-section:has(.gallery-slideshow){display:block!important;min-height:0!important;padding:0!important}
html.ipad-gallery .ipad-gallery-page .gallery-slideshow{height:calc(100vh - var(--header-height,120px) - 32px)!important;height:calc(100dvh - var(--header-height,120px) - 32px)!important;min-height:0!important;max-height:none!important;padding:0 3vw!important}
html.ipad-gallery .ipad-gallery-page .gallery-slideshow-wrapper{height:100%!important;min-height:0!important}
html.ipad-gallery .ipad-gallery-page .gallery-slideshow-item-wrapper,
html.ipad-gallery .ipad-gallery-page .gallery-slideshow-item-src,
html.ipad-gallery .ipad-gallery-page .gallery-slideshow-item-img{width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important}
html.ipad-gallery .ipad-gallery-page .gallery-slideshow-item img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;max-width:100%!important;max-height:100%!important}

html.ipad-gallery .ipad-gallery-page .header-menu-nav-folder-content{transform:translateY(var(--ipad-menu-shift,0px))!important}

html.ipad-gallery #header .header-menu{width:var(--ipad-menu-width,200px)!important}
html.ipad-gallery #header .header-menu-nav-item--collection a{white-space:nowrap}

/* Desktop category font, excluding the dedicated iPad presentation. */
@media(min-width:768px){html:not(.ipad-gallery) #header .header-menu-nav-item--collection a{font-size:15px!important;font-weight:500!important}}

@media(min-width:768px){html:not(.ipad-gallery) #header .header-menu-nav-item--collection a{color:#505050!important}}

/* Phone landscape only: use an explicit viewport frame, independent of the
   legacy gallery's auto-height content wrappers. Navigation overlays the image. */
html.phone-landscape{overflow:hidden;--phone-header:env(safe-area-inset-top,0px);--phone-tools:0px}
html.phone-landscape body{overflow:hidden}
html.phone-landscape body.client-gallery{--phone-tools:0px;--client-tools-size:0px}
html.phone-landscape .gallery-section:has(.gallery-strips),html.phone-landscape #footer-sections{display:none!important}
html.phone-landscape .gallery-section:has(.gallery-slideshow){display:block!important;min-height:0!important;padding:0!important}
html.phone-landscape .gallery-section:has(.gallery-slideshow) .content-wrapper,html.phone-landscape .gallery-section:has(.gallery-slideshow) .content,html.phone-landscape .gallery-section:has(.gallery-slideshow) .gallery{transform:none!important;overflow:visible!important}
html.phone-landscape body .gallery-slideshow,html.phone-landscape body.client-gallery-ready .gallery-slideshow{position:fixed!important;top:calc(var(--phone-visible-top,0px) + var(--phone-header))!important;left:0!important;right:0!important;bottom:auto!important;display:flex!important;width:100%!important;height:max(1px,calc(var(--phone-visible-height,100dvh) - var(--phone-header) - var(--phone-tools)))!important;min-height:0!important;max-width:none!important;max-height:none!important;margin:0!important;padding:8px env(safe-area-inset-right,0px) calc(8px + env(safe-area-inset-bottom,0px)) env(safe-area-inset-left,0px)!important;box-sizing:border-box;z-index:1}
html.phone-landscape body.client-gallery .gallery-slideshow{padding-bottom:calc(8px + env(safe-area-inset-bottom,0px))!important}
html.phone-landscape .gallery-slideshow-wrapper,html.phone-landscape .gallery-slideshow-list,html.phone-landscape .gallery-slideshow-item-wrapper,html.phone-landscape .gallery-slideshow-item-src,html.phone-landscape .gallery-slideshow-item-img{width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;padding:0!important;margin:0!important;transform:none!important}
html.phone-landscape .gallery-slideshow-item img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;transform:none!important}
html.phone-landscape .gallery-slideshow-image-link{display:block;width:100%;height:100%}
html.phone-landscape .gallery-slideshow-control-prev,html.phone-landscape .gallery-slideshow-control-next{position:fixed!important;top:calc(var(--phone-visible-top,0px) + var(--phone-header) + (var(--phone-visible-height,100dvh) - var(--phone-header) - var(--phone-tools))/2)!important;transform:translateY(-50%)!important}
html.phone-landscape .gallery-slideshow-control-prev{left:env(safe-area-inset-left,0px)!important}
html.phone-landscape .gallery-slideshow-control-next{right:env(safe-area-inset-right,0px)!important}
html.phone-landscape .gallery-slideshow-control-btn{min-width:44px!important;min-height:44px!important;padding:8px!important}
html.phone-landscape body.client-gallery .gallery-tools{top:calc(var(--phone-visible-top,0px) + var(--phone-visible-height,100dvh) - env(safe-area-inset-bottom,0px) - 52px)!important;left:auto!important;right:calc(env(safe-area-inset-right,0px) + 8px)!important;width:auto!important;height:44px!important;bottom:auto!important;padding:0!important;background:transparent!important;pointer-events:none}
html.phone-landscape .gallery-tools #gallery-caption{display:flex!important;position:fixed!important;left:calc(env(safe-area-inset-left,0px) + 8px)!important;right:auto!important;top:calc(var(--phone-visible-top,0px) + var(--phone-visible-height,100dvh) - env(safe-area-inset-bottom,0px) - 52px)!important;height:44px!important;max-width:none!important;align-items:center;justify-content:center;transform:none!important;padding:0 10px;background:rgba(255,255,255,.85);color:#333;font:14px Heebo,Arial,sans-serif;direction:ltr;pointer-events:none}
html.phone-landscape .gallery-tools #drive-download{height:44px!important;transform:none!important;pointer-events:auto}

/* Landscape phone galleries: no branding band; retain a 44px menu target. */
html.phone-landscape #header{height:0!important;min-height:0!important;background:transparent!important;overflow:visible!important}
html.phone-landscape #header .header-announcement-bar-wrapper{height:0!important;min-height:0!important;padding:0!important;background:transparent!important;overflow:visible!important}
html.phone-landscape #header .header-title-nav-wrapper,html.phone-landscape #header .header-title,html.phone-landscape #header .header-mobile-logo,html.phone-landscape #header .header-title-logo{display:none!important}
html.phone-landscape #header .header-burger{position:fixed!important;left:calc(env(safe-area-inset-left,0px) + 6px)!important;right:auto!important;top:calc(var(--phone-visible-top,0px) + env(safe-area-inset-top,0px) + 6px)!important;bottom:auto!important;width:44px!important;height:44px!important;margin:0!important;transform:none!important;display:flex!important;align-items:center;justify-content:center;z-index:1100;background:rgba(255,255,255,.85);border-radius:3px}
html.phone-landscape #header .header-burger-btn{width:44px!important;height:44px!important;padding:10px!important}
html.phone-landscape #header .burger-box{width:24px!important;height:24px!important}
html.phone-landscape #header .header-menu{top:var(--phone-visible-top,0px)!important;height:var(--phone-visible-height,100dvh)!important;overflow-y:auto!important}
html.phone-landscape #header .header-menu-nav-folder-content{top:56px!important;transform:none!important;padding-bottom:24px}
