/* Shared home navigation, identical across all eight pages. */
body > header {position:relative!important;inset:auto!important;width:100%;padding:0!important;display:block!important;background:#f3f0eb!important;color:#302a28!important;z-index:10;}
body > header nav.shell {box-sizing:border-box;max-width:1240px;width:100%;margin:auto;padding:0 6%;height:100px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:nowrap;}
body > header .logo {display:block;width:236px;height:94px;max-width:100%;object-fit:contain;}
body > header .nav-links {display:flex;align-items:center;gap:30px;flex-wrap:wrap;}
body > header nav a {font:400 11px 'DM Sans',Arial,sans-serif;letter-spacing:2px;text-transform:uppercase;text-decoration:none;color:inherit;}
body > header nav a:hover {color:#b57d66;}
body > header .menu-btn {display:none;}
body > footer {display:block!important;background:#302a28;color:#f5ede6;padding:20px 0 12px!important;}
body > footer .footer-grid {max-width:1240px;margin:auto;padding:0 6%;display:flex;align-items:center;justify-content:space-between;gap:16px;}
body > footer .footer-grid > * {min-width:0;overflow-wrap:anywhere;}
body > footer .footer-grid img {width:156px;max-height:76px;object-fit:contain;}
body > footer .footer-grid p {font-size:11px;color:#d2bfb3;margin:3px 0;line-height:1.55;}
body > footer .footer-links {display:flex;gap:22px;flex-wrap:wrap;font-size:11px;letter-spacing:1px;text-transform:uppercase;}
body > footer .footer-social {display:flex;gap:10px;}
body > footer .footer-copyright {display:block;width:100%;box-sizing:border-box;text-align:center!important;margin:10px 0 0;padding:8px 16px 12px!important;border-top:0!important;border-bottom:1px solid #ffffff20!important;font-size:11px;line-height:1.5;}
.portfolio-category {aspect-ratio:1080/1350!important;background:none!important;}
.portfolio-category img {display:block;width:100%;height:100%;object-fit:cover!important;object-position:center;transform:none!important;}
.portfolio-category::before {content:none!important;}
.portfolio-page .grid figure button {display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in;}
.portfolio-page .grid figure button:focus-visible {outline:3px solid #b57d66;outline-offset:-3px;}
.vr-viewer {position:fixed;inset:0;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#151312;color:white;overflow:hidden;}
.vr-viewer[open] {display:grid;grid-template-rows:auto minmax(0,1fr) auto;}
.vr-viewer::backdrop {background:#151312;}
.vr-tools {display:flex;align-items:center;justify-content:flex-end;gap:8px;padding: max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 12px 12px;}
.vr-tools output {margin-right:auto;font:14px Arial,sans-serif;}
.vr-viewer button {border:1px solid #ffffff70;background:#292523;color:white;border-radius:50%;width:44px;height:44px;font:24px Arial,sans-serif;cursor:pointer;flex-shrink:0;}
.vr-viewer button:disabled {opacity:.35;cursor:default;}
.vr-stage {position:relative;display:grid;place-items:center;overflow:hidden;touch-action:none;min-height:0;}
.vr-stage img {display:block;width:auto;height:auto;max-width:calc(100% - 104px);max-height:100%;object-fit:contain;user-select:none;transform-origin:center;pointer-events:none;}
.vr-stage .vr-prev,.vr-stage .vr-next {position:absolute;top:50%;transform:translateY(-50%);z-index:1;}
.vr-prev {left:8px}.vr-next {right:8px}
.vr-hint {text-align:center;padding:12px 16px max(12px,env(safe-area-inset-bottom));font:12px Arial,sans-serif;color:#d6c8bf;}
@media(max-width:850px){body > header nav.shell{height:85px;}body > header .logo{width:200px;height:80px;}body > header .nav-links{display:none;position:absolute;top:85px;left:5%;right:5%;background:white;color:#302a28;padding:25px;box-shadow:0 15px 35px #0002;flex-direction:column;gap:20px;}body > header .nav-links.show{display:flex;}body > header .menu-btn{display:block;background:none;border:0;font-size:25px;color:#302a28;}body > footer .footer-grid{flex-direction:column;text-align:center;}body > footer .footer-links,body > footer .footer-social{justify-content:center;}}
@media(max-width:540px){.vr-stage img{max-width:100%;}.vr-stage .vr-prev,.vr-stage .vr-next{background:#151312b0;}.vr-viewer button{width:42px;height:42px;}}
@media(max-width:360px){body > header .logo{width:170px;height:72px;}}
/* Full photo viewer: explicitly constrain both dimensions to the available stage. */
body > footer .footer-copyright {border:0!important;text-align:center!important;max-width:none!important;margin-inline:auto!important;}
body > footer {border:0!important;}
.vr-viewer {box-sizing:border-box;position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;max-width:100%!important;max-height:100dvh!important;margin:0!important;padding:0!important;}
.vr-viewer[open] {display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);}
.vr-tools {min-width:0;box-sizing:border-box;padding: max(12px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) 8px max(16px,env(safe-area-inset-left));}
.vr-stage {display:block;position:relative;min-width:0;min-height:0;width:100%;height:100%;}
.vr-stage img {position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;padding:8px 60px max(16px,env(safe-area-inset-bottom));box-sizing:border-box;object-fit:contain!important;object-position:center;transform:none!important;}
.vr-stage .vr-prev {left:10px;}
.vr-stage .vr-next {right:10px;}
.portfolio-page .grid figure button {cursor:pointer;}
@media(max-width:540px){.vr-stage img{padding:8px 12px max(16px,env(safe-area-inset-bottom));}.vr-stage .vr-prev{left:6px;}.vr-stage .vr-next{right:6px;}}
/* Clean photo presentation: no artificial blurred fills or coloured borders. */
.portfolio-category {aspect-ratio:4/5!important; height:auto!important; background:transparent!important;}
.portfolio-category img {width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;}
.photo-frame::before {content:none!important;display:none!important;}
.photo-frame,.about-images .photo-frame,.package-photo,.gallery-collage figure {background:transparent!important;border:0!important;}
/* Natural aspect ratios preserve the complete original photograph in grids. */
.gallery-page .grid button,.portfolio-page .grid figure,.portfolio-page .grid figure button {height:auto!important;aspect-ratio:auto!important;background:transparent!important;border:0!important;padding:0!important;}
.gallery-page .grid img,.portfolio-page .grid img {width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;}
.about-images .photo-frame {height:auto!important;}
.about-images .photo-frame img {height:auto!important;width:100%!important;}
.package-photo {height:auto!important;}
.package-photo img {height:auto!important;width:100%!important;}
.gallery-collage {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none!important;aspect-ratio:auto!important;align-items:start;}
.gallery-collage > * {grid-area:auto!important;min-width:0;}
.gallery-collage img {width:100%!important;height:auto!important;}
.vr-hint,.carousel-hint {display:none!important;}
@media(max-width:540px){.gallery-collage{gap:10px;}.collage-copy{grid-column:1/-1!important;}}

/* Unified gallery viewer and home logo alignment. */
.gallery-page .grid figure {margin:0;min-width:0;height:auto;align-self:start;}
.gallery-page .grid figure button {display:block;width:100%;padding:0;border:0;background:none;cursor:pointer;}
.gallery-page .grid figure button:focus-visible {outline:3px solid #b57d66;outline-offset:-3px;}
.vr-viewer .vr-tools button,.vr-viewer .vr-stage button {padding:0!important;margin:0!important;display:grid;place-items:center;line-height:1;}
.vr-viewer .vr-tools {justify-content:flex-end;}
body:has(#home) > header nav.shell {padding-left:4%;}
@media(max-width:850px){body:has(#home) > header nav.shell {padding-left:3%;}}
