/* Shared page geometry: spacious on a desktop, readable on an ultrawide. */
:root{--site-width:2400px;--site-gutter:clamp(20px,4vw,110px);--site-content:min(calc(100% - 2 * var(--site-gutter)),var(--site-width))}
html{min-height:100%;scroll-padding-top:110px}
body:has(#nijio-header){display:flex;flex-direction:column;min-height:100svh;margin:0}
body:has(#nijio-header)>main{flex:1 0 auto;min-width:0}
body:has(#nijio-header)>.nx-header-spacer{flex-shrink:0}
body:has(#nijio-header)>.nx-footer{margin-top:auto;flex-shrink:0;width:100%;clear:both;padding-left:max(var(--site-gutter),calc((100% - var(--site-width))/2));padding-right:max(var(--site-gutter),calc((100% - var(--site-width))/2))}
body:has(#nijio-header)>script,body:has(#nijio-header)>style{display:none}
body:has(#nijio-header)>main.nj-home{margin:0;width:100%;max-width:none}
#nijio-header .nx-header{max-width:none;padding-left:max(var(--site-gutter),calc((100vw - 2600px)/2));padding-right:max(var(--site-gutter),calc((100vw - 2600px)/2))}
body.client-portal-page #main-content,body.gallery-page #main-content{width:var(--site-content);max-width:var(--site-width)!important;padding-left:0!important;padding-right:0!important;margin-left:auto;margin-right:auto}
body.booking-schedule-page main.nx-booking-workspace{max-width:var(--site-width);width:var(--site-content);grid-template-columns:clamp(250px,19vw,360px) minmax(0,1fr);gap:clamp(28px,4vw,85px);margin-left:auto;margin-right:auto;padding-left:0;padding-right:0;min-height:calc(100svh - 180px)}
body.location-booking-page .nx-choice-heading,body.location-booking-page .nx-session-choice{max-width:var(--site-width);width:var(--site-content);margin-left:auto;margin-right:auto;padding-left:0;padding-right:0}
body.location-booking-page #main-content{width:100%}
body.contact-page main,.nx-updates-page main,.nx-voucher-page main{max-width:var(--site-width);width:100%}
.nx-contact-layout,.nx-updates-feed,.studio-calendar-page .studio-calendar-shell{max-width:var(--site-width)!important}
body.terms-page>.max-w-7xl{max-width:var(--site-width);width:var(--site-content);flex:1 0 auto}
.nx-footer-top img{object-fit:contain;height:auto}
.nx-footer{position:relative;z-index:1}
/* A gallery belongs to the photographs, with practical details always in view. */
body.gallery-page #main-content{padding-top:32px!important;padding-bottom:80px!important;gap:0}
.gallery-page #gallery-heading.nj-gallery-opening{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5%;padding:35px 4%!important;border:0;border-radius:22px;background:var(--nx-soft);margin:0 0 24px;overflow:hidden}
.gallery-page #gallery-heading.nj-gallery-opening.has-cover{grid-template-columns:minmax(0,1fr) minmax(240px,32%)}
.nj-gallery-opening-copy{padding:8px 0 12px;min-width:0}
.nj-gallery-back{display:block;font-size:12px;color:var(--nx-muted);margin-bottom:30px;width:max-content;min-height:30px}
.nj-gallery-status{display:flex;align-items:center;gap:8px;color:var(--nx-purple);font-size:12px;margin-bottom:15px}
.nj-gallery-status i{width:7px;height:7px;border-radius:50%;background:var(--nx-purple)}
.gallery-page #gallery-heading.nj-gallery-opening h1{font-size:clamp(42px,5vw,110px)!important;line-height:1.02;font-weight:500;letter-spacing:-.055em;overflow-wrap:anywhere}
.nj-gallery-series{font-size:clamp(17px,1.3vw,28px);color:var(--nx-purple);margin:12px 0}
.nj-gallery-meta{color:var(--nx-muted);font-size:12px;line-height:1.8;margin-top:14px}
.nj-gallery-opening-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:26px}
.nj-gallery-opening-actions .nx-button{font-size:13px;padding:13px 20px}
.nj-gallery-opening-actions .nx-link{font-size:13px}
.nj-gallery-cover{position:relative;min-width:0;margin:0;align-self:stretch;min-height:300px;max-height:450px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.nj-gallery-cover img{height:100%;width:100%;max-height:405px;object-fit:contain;border-radius:8px}
.nj-gallery-cover figcaption{font-size:10px;color:var(--nx-muted);padding-top:12px;text-align:center}
.nj-gallery-mascot{width:120px;height:auto;object-fit:contain}
.gallery-page .nx-gallery-jump{margin:8px 0 0;border-bottom:1px solid var(--nx-line);padding:5px 0 12px;gap:24px;flex-wrap:wrap}
.gallery-page .nx-gallery-jump a{min-height:40px;display:inline-flex;align-items:center;font-size:13px}
.gallery-page .nj-gallery-intro{margin:15px 0!important}
.gallery-page .gallery-guide{border-radius:16px!important;background:var(--nx-surface)!important;margin-bottom:24px!important}
.gallery-page .gallery-guide>header{padding:18px 22px!important}
.gallery-page .gallery-guide>header>span:first-child{display:none}
.gallery-page .gallery-guide strong{font-weight:600}
.gallery-page .gallery-guide>div{border-color:var(--nx-line)!important}
.gallery-page .gallery-guide>div:last-child{background:var(--nx-soft)!important}
.gallery-page .nx-gallery-package{padding:24px!important;border-radius:16px!important;margin-bottom:28px;background:var(--nx-soft)!important}
.gallery-page .nx-gallery-package>header{display:flex;gap:24px;justify-content:space-between;align-items:center;margin-bottom:18px}
.gallery-page .nx-gallery-package>header h2{font-size:22px!important}
.gallery-page .nx-gallery-package>header p{max-width:40ch;font-size:12px;color:var(--nx-muted);margin:0}
.gallery-page .nx-gallery-price-grid{gap:0;background:var(--nx-surface);border:1px solid var(--nx-line);border-radius:12px;overflow:hidden}
.gallery-page .nx-gallery-price-grid article{padding:20px 24px!important;border:0!important;border-right:1px solid var(--nx-line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.gallery-page .nx-gallery-price-grid article:last-child{border-right:0!important}
.gallery-page .nx-gallery-price-grid strong{font-size:clamp(25px,2vw,42px)}
.gallery-page .nx-gallery-price-grid article>span{font-size:12px}
.gallery-page .nx-gallery-price-grid article>p{font-size:11px;line-height:1.5}
body.gallery-page #main-content .photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,2.2vw,50px);align-items:start;margin-bottom:35px}
body.gallery-page #main-content .photo-card{border-radius:12px!important;box-shadow:none;background:var(--nx-surface)!important;overflow:hidden;transition:border-color .2s,box-shadow .2s}
body.gallery-page #main-content .photo-img-wrap{aspect-ratio:4/5;height:auto!important;min-height:0!important;max-height:none!important;background:var(--nx-soft)!important;padding:12px}
body.gallery-page #main-content .photo-img-wrap img{position:relative;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;object-position:center;opacity:1}
.gallery-page .nj-photo-label{display:flex;justify-content:space-between;align-items:center;font-size:11px;padding:16px 18px 0;color:var(--nx-muted)}
.gallery-page .card-footer{padding:14px 18px 18px!important;border:0!important;min-height:60px;background:var(--nx-surface)!important}
.gallery-page .tier-btn{min-height:42px;border-radius:8px;font-weight:500;font-size:13px}
.gallery-page .sel-badge{width:42px;height:42px;top:20px;right:20px}
.gallery-page .photo-card.is-selected,.gallery-page .photo-card.is-vfx{box-shadow:0 0 0 2px var(--nx-purple)!important}
.gallery-page .sticky-bar{top:86px!important;background:color-mix(in srgb,var(--nx-paper) 94%,transparent)!important;color:var(--nx-ink);border:0;border-bottom:1px solid var(--nx-line);box-shadow:none!important;padding:12px 0}
.gallery-page .sticky-bar>div{max-width:var(--site-width);width:var(--site-content);padding:0!important}
.gallery-page #count-circle{height:43px;width:43px;min-width:43px;background:var(--nx-soft);color:var(--nx-purple);border:1px solid var(--nx-line)}
.gallery-page #count-headline{font-weight:500;font-size:14px}
.gallery-page #photo-grid,.gallery-page #gallery-editing,.gallery-page #gallery-prices,.gallery-page #finished-section{scroll-margin-top:190px}
.gallery-page .nx-editing-studio{border:1px solid var(--nx-line)!important;border-radius:22px!important;background:var(--nx-surface)!important;padding:32px!important;box-shadow:none!important;margin-bottom:25px}
.gallery-page .nx-photo-journey{margin-top:24px;border-color:var(--nx-line);background:var(--nx-soft)}
.gallery-page .nx-delivered{background:var(--nx-purple)!important;border-radius:20px;padding:35px!important}
.gallery-page .nx-delivered a{color:#512782!important;box-shadow:none!important;font-size:15px}
.gallery-page .nx-delivered h2{color:white!important}
.gallery-page .nx-delivered p{color:#efe6ff!important}
.gallery-page .nx-delivered .w-16{display:none}
.gallery-page .section-hd-text h2{font-size:clamp(30px,3vw,60px)!important}
@media(min-width:1900px){body.booking-schedule-page .nx-booking-content :is(#packageWorkspace,#timePanel,#cartPanel),body.booking-schedule-page .nx-booking-content #coModal.inline-checkout{max-width:1500px!important}body.booking-schedule-page .studio-stage-message,body.booking-schedule-page .nx-cart-feedback{max-width:1500px}body.location-booking-page #locationForm{max-width:1500px}.nx-work-grid{gap:70px 40px}.nx-work-caption{font-size:15px}.nx-header nav a,.nx-header-actions a{font-size:15px}.gallery-page .gallery-guide p{font-size:15px}.gallery-page .nx-gallery-price-grid article>span{font-size:15px}.gallery-page .nx-gallery-price-grid article>p{font-size:13px}.gallery-page .nj-gallery-cover{max-height:540px}.gallery-page .nj-gallery-cover img{max-height:500px}.gallery-page .nj-gallery-meta,.gallery-page .nj-gallery-status{font-size:15px}}
@media(min-width:2600px){body.gallery-page #main-content .photo-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1000px){body.booking-schedule-page main.nx-booking-workspace{grid-template-columns:1fr;gap:0}.gallery-page #gallery-heading.nj-gallery-opening.has-cover{grid-template-columns:minmax(0,1fr) 32%}.gallery-page .nj-gallery-cover{min-height:230px}.gallery-page .nj-gallery-opening-actions{gap:14px}body.gallery-page #main-content .photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-page .nx-gallery-price-grid article{padding:16px!important}.gallery-page .nx-gallery-package>header{display:block}.gallery-page .nx-gallery-package>header p{max-width:none;margin-top:8px}}
@media(max-width:650px){:root{--site-gutter:20px}.nx-footer{padding-bottom:100px}.nx-footer-top,.nx-footer-bottom{align-items:start;flex-direction:column;gap:20px}.nx-footer-bottom p{text-align:left}.gallery-page #gallery-heading.nj-gallery-opening{padding:24px!important;gap:0}.gallery-page #gallery-heading.nj-gallery-opening.has-cover{grid-template-columns:1fr}.gallery-page .nj-gallery-back{margin-bottom:15px}.gallery-page .nj-gallery-cover{display:none}.gallery-page .nj-gallery-mascot{display:none}.gallery-page #gallery-heading.nj-gallery-opening h1{font-size:46px!important}.gallery-page .nj-gallery-meta{font-size:11px}.gallery-page .nj-gallery-opening-actions{margin-top:20px}.gallery-page .nj-gallery-opening-actions .nx-button{font-size:12px}.gallery-page .nx-gallery-jump{gap:4px 18px}.gallery-page .gallery-guide>div.grid{grid-template-columns:1fr 1fr;padding:18px!important;gap:18px}.gallery-page .gallery-guide>div.grid>div{display:block}.gallery-page .nijio-step-number{display:inline-flex;margin-bottom:10px}.gallery-page .gallery-guide p{font-size:12px}.gallery-page .nx-gallery-package{padding:20px!important}.gallery-page .nx-gallery-price-grid{grid-template-columns:1fr 1fr!important}.gallery-page .nx-gallery-price-grid article{padding:15px!important;border-bottom:1px solid var(--nx-line)!important}.gallery-page .nx-gallery-price-grid article:nth-child(even){border-right:0!important}body.gallery-page #main-content .photo-grid{grid-template-columns:1fr!important;gap:25px}.gallery-page .sticky-bar{position:fixed!important;bottom:10px!important;top:auto!important;left:12px!important;right:12px!important;width:auto!important;max-width:none!important;padding:12px!important;border:1px solid var(--nx-line)!important}.gallery-page .sticky-bar>div{width:100%}.gallery-page #count-circle{display:none}.gallery-page #count-headline{font-size:12px}.gallery-page #count-subline{font-size:10px}.gallery-page #top-lock-btn{font-size:12px;padding:12px 14px}.gallery-page #cost-pill{font-size:10px;padding:5px 8px}.gallery-page #sticky-bar>div>div>div:first-child{flex-wrap:wrap;gap:5px}.gallery-page #photo-grid,.gallery-page #gallery-editing,.gallery-page #gallery-prices,.gallery-page #finished-section{scroll-margin-top:100px}.gallery-page .nx-editing-studio{padding:22px!important}.gallery-page .nx-delivered{padding:25px!important}.gallery-page .nx-delivered a{font-size:13px;padding:14px 20px}.gallery-page .nx-delivered h2{font-size:28px!important}}
@media(prefers-reduced-motion:reduce){.gallery-page .photo-card{transition:none!important}}
/* Keep the useful status beside the gallery identity, instead of adding another banner. */
.nj-gallery-estimate{margin-top:18px;font-size:12px;line-height:1.5;color:var(--nx-muted)}
.nj-gallery-estimate>strong{color:var(--nx-ink);margin-left:8px;font-weight:600}
.nj-gallery-estimate>p{font-size:11px;max-width:48ch;margin-top:5px}
.gallery-page #gallery-heading.nj-gallery-opening{padding-top:25px!important;padding-bottom:25px!important}
.gallery-page .nj-gallery-back{margin-bottom:16px}
.gallery-page .nj-gallery-cover{min-height:220px;max-height:350px}
.gallery-page .nj-gallery-cover img{max-height:315px}
.gallery-page .nx-gallery-jump a{border:0!important;background:transparent!important;border-radius:0;padding:0!important;color:var(--nx-purple)!important;text-decoration:underline;text-underline-offset:5px}
.gallery-page .nx-gallery-price-grid article{padding:15px 20px!important}
.gallery-page .nx-gallery-package{margin-top:0!important;margin-bottom:25px!important;padding:20px!important}
.gallery-page .nx-gallery-package>header{margin-bottom:10px}
.gallery-page .nx-gallery-price-grid article strong{margin:6px 0;font-size:28px!important}
.gallery-page .gallery-guide{border:0!important;border-top:1px solid var(--nx-line)!important;border-bottom:1px solid var(--nx-line)!important;border-radius:0!important;background:transparent!important;margin-top:0!important}
.gallery-page .gallery-guide>header{padding:14px 0!important}
.gallery-page .gallery-guide>div.grid{padding:15px 0!important}
.gallery-page .gallery-guide>div:last-child{padding-left:0!important;padding-right:0!important;background:transparent!important}
.gallery-page .gallery-guide>header strong{font-size:16px!important}
.gallery-page .gallery-guide p{font-size:12px;line-height:1.6}
.gallery-page .gallery-guide .nijio-step-number{background:transparent;border:0;color:var(--nx-purple);font-size:17px;width:20px;min-width:20px;height:25px}
body.gallery-page #main-content .photo-img-wrap{aspect-ratio:auto!important;padding:0!important;display:block}
body.gallery-page #main-content .photo-img-wrap img{height:auto!important;width:100%!important;display:block}
.gallery-page .photo-card .tier-btn.active-std{background:var(--nx-purple)!important;color:white!important;border-color:var(--nx-purple)!important}
.gallery-page .photo-card .tier-row{background:var(--nx-soft)!important;border:1px solid var(--nx-line)!important;border-radius:10px;padding:3px}
.gallery-page .photo-card .tier-btn{color:var(--nx-muted);border:0}
.gallery-page .photo-card .card-footer>p{font-size:13px;color:var(--nx-purple)!important;min-height:35px;display:flex;align-items:center;justify-content:center}
.gallery-page .photo-card .sel-badge{top:12px;right:12px}
@media(max-width:650px){.gallery-page .gallery-guide>div.grid{padding:15px 0!important}.gallery-page .nx-gallery-package>header h2{font-size:20px!important}.gallery-page .nx-gallery-price-grid article{padding:12px!important}.gallery-page .nx-gallery-price-grid article strong{font-size:23px!important}}
body.studio-calendar-page main.studio-calendar-main{width:var(--site-content);max-width:var(--site-width);padding-left:0;padding-right:0}
body.contact-page main.nx-contact-layout{width:var(--site-content);max-width:var(--site-width);margin-left:auto;margin-right:auto;padding-left:0;padding-right:0}
@media(min-width:1800px){body.booking-schedule-page #mainGrid{max-width:1500px}.studio-calendar-heading p:last-child{font-size:19px}.studio-day-schedule{font-size:16px}}
/* A single visual language for photo decisions, instead of mixed success/error colours. */
.gallery-page #count-circle.count-ok{color:var(--nx-purple)!important;border-color:var(--nx-purple)!important;background:var(--nx-soft)!important}
.gallery-page .card-footer .tier-btn.active-vfx{background:var(--nx-purple)!important;color:white!important}
.gallery-page :is(.vfx-note,#album-feedback){background:var(--nx-paper)!important;color:var(--nx-ink)!important;border-color:var(--nx-line)!important;border-radius:10px}
.gallery-page :is(button,a,input,textarea):focus-visible{outline:3px solid var(--nx-purple);outline-offset:4px}
.nj-home-access .nx-access-help{border:0;padding-top:5px}
.nj-home-access form>.nx-check{margin:2px 0!important}
.nj-home-access form>.nx-button{height:52px!important;min-height:52px!important;gap:12px}
#forgotModal .modal-box{background:var(--nx-surface)!important;border:1px solid var(--nx-line)!important;color:var(--nx-ink)!important;border-radius:22px!important;box-shadow:0 24px 80px #0003}
#forgotModal .modal-box :is(h3,label,strong){color:var(--nx-ink)!important;font-weight:500}
#forgotModal .modal-box :is(p,.mt-5){color:var(--nx-muted)!important}
#forgotModal .modal-box>.mt-5{background:var(--nx-soft)!important;border-color:var(--nx-line)!important}
#forgotModal .modal-box>.mt-5 a{color:var(--nx-purple)!important}
#forgotModal input{background:var(--nx-paper)!important;border-color:var(--nx-line)!important;color:var(--nx-ink)!important;border-radius:12px!important}
#forgotModal input:focus{outline:3px solid color-mix(in srgb,var(--nx-purple) 35%,transparent)!important;outline-offset:2px}
#forgotModal input::placeholder{color:var(--nx-muted)!important}
#forgotModal button[aria-label]{color:var(--nx-ink)!important;background:var(--nx-soft)!important;border-color:var(--nx-line)!important;min-width:40px;min-height:40px}
#forgotBtn{background:var(--nx-accent)!important;color:white!important;border-radius:12px!important;font-weight:500!important;min-height:52px}
#forgotModal .modal-box h3{letter-spacing:-.03em;font-size:28px}
body:has(#nijio-header)>main{animation:none;transform:none;opacity:1}
.nj-home .nj-home-board .nx-conventions,.gallery-page .nx-delivered{background:var(--nx-accent)!important}
.gallery-page .photo-card .tier-btn:is(.active-std,.active-vfx){background:var(--nx-accent)!important;color:white!important}
.client-portal-page .card{border-radius:18px!important;border-color:var(--nx-line)!important;box-shadow:none!important;background:var(--nx-surface)}
.client-portal-page :is(h2,h3){font-weight:500!important;letter-spacing:-.025em}
.client-portal-page #main-content button:not(.nx-link):not([data-journey-pause]){font-weight:500;min-height:40px;border-radius:10px}
.client-portal-page .nx-client-gallery a.bg-brand-primary{background:var(--nx-accent)!important;color:white!important;box-shadow:none!important}
@media(min-width:1500px){.client-portal-page .nj-account-layout{grid-template-columns:minmax(0,1fr) clamp(360px,24vw,520px);gap:32px}.client-portal-page .nj-account-layout>.lg\:col-span-2{grid-column:span 1}.client-portal-page .nx-account-welcome h1{font-size:clamp(64px,4.5vw,105px)}.client-portal-page .nx-account-welcome p{font-size:18px;max-width:50ch}.client-portal-page .card .text-xs{font-size:13px;line-height:1.6}.client-portal-page .card .text-sm{font-size:15px;line-height:1.6}.client-portal-page .nx-journey-scene p{font-size:14px}.client-portal-page #main-content h2{font-size:28px}}
.gallery-page .nj-photo-select{width:100%;min-height:44px;display:flex;align-items:center;justify-content:center;gap:6px;background:var(--nx-soft);color:var(--nx-purple);border:1px solid var(--nx-line);border-radius:10px;font-size:13px;font-weight:500;transition:background .2s}
.gallery-page .nj-photo-select:hover{background:var(--nx-paper)}
.gallery-page .nj-confirmed-count{font-size:13px;color:var(--nx-purple);margin:0 0 24px}
body.gallery-page #main-content .photo-grid.nj-masonry{grid-auto-rows:4px;row-gap:0;align-items:start}
body.gallery-page #main-content .photo-grid.nj-masonry>.photo-card{align-self:start}
