body[data-manual-page="0"] main,body[data-manual-page="0"] #international-guide,body[data-manual-page="0"] footer,body[data-manual-page="1"] .hero{display:none!important}
.manual-pages{display:flex;align-items:center;justify-content:center;gap:16px;color:#ead5a4;grid-column:1/-1;min-height:52px;padding:5px 12px;background:transparent;font-family:inherit}
.manual-pages button{display:grid;place-items:center;flex:none;width:40px;height:40px;padding:0;border:1px solid #e7d2a46b;border-radius:50%;background:transparent;color:inherit;font:32px/1 Georgia,serif;cursor:pointer}
.manual-pages button:disabled{opacity:.3;cursor:default}.manual-pages button:focus-visible{outline:2px solid #f5e6bc;outline-offset:3px}
.manual-dots{display:flex;align-items:center;gap:8px}.manual-dots button{width:7px;height:7px;border:0;background:#ead5a466;transition:width .2s;border-radius:8px}.manual-dots button[aria-current="page"]{width:28px;background:#ead5a4}
.manual-label{font-size:14px;white-space:nowrap;min-width:86px;text-align:center}
body.entering .manual-pages{visibility:hidden}
@media(min-width:761px){.manual-pages{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);z-index:40;background:#102c25e8;border:1px solid #ead5a45c;border-radius:36px;padding:8px 18px}}
.manual-pages button.manual-prev:not(:disabled),.manual-pages button.manual-next:not(:disabled){border-color:#e6c77f;color:#ffe3a0;animation:manual-arrow-glow 3.2s ease-in-out infinite;box-shadow:0 0 8px #e8c67830,inset 0 0 7px #e8c67812;text-shadow:0 0 7px #f3cc7d70}
@keyframes manual-arrow-glow{0%,100%{box-shadow:0 0 5px #e8c67825,inset 0 0 5px #e8c6780d;text-shadow:0 0 4px #f3cc7d50}50%{box-shadow:0 0 15px #e8c67865,inset 0 0 9px #e8c67825;text-shadow:0 0 10px #ffe3a0a0}}
@media(prefers-reduced-motion:reduce){.manual-pages button.manual-prev:not(:disabled),.manual-pages button.manual-next:not(:disabled){animation:none}}

body[data-manual-page="0"] .sound-credit{display:none!important}
body[data-manual-page="0"]{padding-bottom:0!important;min-height:0!important}
.page-scroll[hidden]{display:none!important}

body.homepage-moving .business-hours{visibility:hidden!important;opacity:0!important;pointer-events:none}
/* Continue the footer's green through the space behind the fixed controls. */
body[data-manual-page="2"]{background-color:var(--forest,#202b21)!important;padding-bottom:calc(var(--action-bar-height,80px) + 56px)!important}
body[data-manual-page="2"] #records-main{background:var(--paper,#f4f0e5)}
body[data-manual-page="2"] footer{margin-bottom:0!important;padding-bottom:8px!important;box-shadow:0 220px 0 var(--forest,#202b21)}
.page-scroll{top:40svh!important;bottom:calc(var(--action-bar-height,140px) + 12px)!important;height:auto!important;transform:none!important}

/* The page navigation floats independently: no full-width panel or backdrop. */
nav.manual-pages{position:fixed!important;left:50%!important;right:auto!important;bottom:calc(var(--action-bar-height,80px) + 10px)!important;transform:translateX(-50%)!important;z-index:101!important;width:max-content!important;max-width:calc(100vw - 24px)!important;min-height:48px!important;padding:4px 8px!important;background:none!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;pointer-events:auto}
nav.manual-pages::before,nav.manual-pages::after{content:none!important;display:none!important}
.manual-pages .manual-label{text-shadow:0 1px 3px #15291dcc}
/* The introduction uses only its own reading menu. */
body[data-manual-page="1"] .site-header{display:none!important}
body[data-manual-page="1"]{--site-header-height:0px}
body[data-manual-page="1"] #main .section-shortcuts{position:sticky!important;top:0!important;z-index:80;background:#f4efe4!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;margin-top:0!important;box-shadow:none!important}

body[data-manual-page="2"] .site-header,body[data-manual-page="2"] .hero,body[data-manual-page="2"] #main,body[data-manual-page="2"] #international-guide,body[data-manual-page="2"]:has(.records-page-panel) footer{display:none!important}
body[data-manual-page="2"]:has(.records-page-panel){overflow:hidden!important;padding-bottom:0!important}
body[data-manual-page="2"]:has(.records-page-panel)>.page-scroll,body[data-manual-page="2"]:has(.records-page-panel) .business-hours{display:none!important}
.records-page-panel{position:fixed;inset:0 0 auto;width:100%;height:calc(100dvh - var(--action-bar-height,80px));border:0;background:#f4efe4;z-index:78}
.records-page-panel[hidden]{display:none!important}
body.records-embedded .mobile-actions,body.records-embedded .manual-pages{display:none!important}
body.records-embedded{padding-bottom:64px!important}
body.records-embedded .page-scroll{bottom:12px!important}

/* Keep the opening menu compact after removing its separate logo row. */
html[data-site-language] body[data-manual-page="0"] .site-header{display:flex!important;flex-direction:row!important;align-items:center!important;grid-template-columns:none!important;grid-template-rows:none!important;gap:0!important;height:auto!important;min-height:0!important;padding:6px max(12px,env(safe-area-inset-right)) 6px max(12px,env(safe-area-inset-left))!important}
html[data-site-language] body[data-manual-page="0"] .site-header nav{grid-row:auto!important;margin:0!important}

/* Hide the bottom controls during movement; reveal them gently from below. */
.mobile-actions,nav.manual-pages{translate:0 0;opacity:1;transition:translate .65s cubic-bezier(.22,.61,.36,1),opacity .5s ease!important}
body.homepage-moving .mobile-actions,body.homepage-moving nav.manual-pages{translate:0 calc(var(--action-bar-height,80px) + 100px);opacity:0!important;pointer-events:none!important;transition:none!important}
@media(prefers-reduced-motion:reduce){.mobile-actions,nav.manual-pages{transition:opacity .15s linear!important}}

/* One 50% green panel spans both the page arrows and opening hours. */
.mobile-actions>.business-hours{padding:48px 12px 4px!important;background:rgb(16 39 31 / 50%)!important}
body:has(.mobile-actions>.business-hours):not([data-manual-page="2"]) nav.manual-pages{bottom:calc(var(--action-bar-height,80px) + 28px)!important}

/* Fit the complete portrait courtyard so both roof tips stay inside the screen. */
@media(max-aspect-ratio:999999/1000000){body[data-manual-page="0"] .hero{height:calc(100vw * 1672 / 941)!important;min-height:0!important;max-height:none!important}body[data-manual-page="0"] .hero-art .courtyard-scene{width:100%!important;aspect-ratio:941/1672!important;transform:translateX(-50%)!important}}

@media(max-aspect-ratio:999999/1000000){body[data-manual-page="0"] .hero-copy{padding-top:clamp(76px,20vw,96px)!important}body[data-manual-page="0"] .hero-heading{width:100%;align-self:center;text-align:center}body[data-manual-page="0"] .hero-heading h1{margin-top:8px!important}}

/* Anchor the heading in the sky independently of the invitation grid. */
@media(max-aspect-ratio:999999/1000000){body[data-manual-page="0"] .hero .hero-heading{position:absolute!important;top:clamp(68px,18vw,84px)!important;left:0!important;right:0!important;width:100%!important;margin:0!important;align-items:center!important;justify-content:flex-start!important;transform:none!important}body[data-manual-page="0"] .hero .hero-heading h1{margin:5px auto 0!important}}

/* Original photograph, clipped in the browser: no generated or retouched face. */
.grandmother-original-room{display:none}
@media(max-aspect-ratio:999999/1000000){.courtyard-scene .grandmother-original-room{display:block;position:absolute;left:44.1%;top:46.1%;width:12%;height:6.1%;z-index:3;overflow:hidden;background:linear-gradient(90deg,#b47736,#d79a51 45%,#c58b45);box-shadow:inset 0 -5px 2px #6b411e}.grandmother-original-room svg{position:absolute;bottom:0;left:14%;width:72%;height:92%;display:block}}
/* The first-visit message rises from the viewport bottom once, then yields to input. */
body .hero .hero-invitation{position:fixed!important;left:50%!important;bottom:calc(var(--action-bar-height,80px) + 88px)!important;top:auto!important;margin:0!important;width:min(390px,calc(100vw - 32px))!important;max-height:65dvh;overflow:auto;z-index:90!important;opacity:0!important;visibility:hidden;pointer-events:none;transform:translate(-50%,calc(100dvh + 100%))!important;transition:transform 1.15s cubic-bezier(.22,.61,.36,1),opacity .8s ease,visibility 0s linear .8s!important}
body.invitation-arrived[data-manual-page="0"] .hero .hero-invitation{opacity:1!important;visibility:visible;pointer-events:auto;transform:translate(-50%,0)!important;transition:transform 1.15s cubic-bezier(.22,.61,.36,1),opacity .8s ease,visibility 0s!important}
body.invitation-dismissed .hero .hero-invitation{opacity:0!important;visibility:hidden;pointer-events:none;transform:translate(-50%,24px)!important;transition:transform .4s ease,opacity .3s ease,visibility 0s linear .4s!important}
@media(prefers-reduced-motion:reduce){body .hero .hero-invitation{transition:opacity .15s ease!important;transform:translate(-50%,0)!important}}
/* Keep the photographed deity inside the recessed room, without a flat backdrop. */
@media(max-aspect-ratio:999999/1000000){
 .courtyard-scene .grandmother-original-room{left:44.1%;top:46.1%;width:12%;height:6.1%;background:none;box-shadow:none;overflow:visible}
 .grandmother-original-room::before{content:"";position:absolute;left:22%;bottom:-7%;width:56%;height:5%;background:#1d1009bb;border-radius:50%;filter:blur(1.6px)}
 .grandmother-original-room svg{left:17%;width:66%;height:85%;bottom:-10%;filter:drop-shadow(.7px .7px .6px #2a170a88)}
}

/* Preserve the original one-bay entrance and fit the interior behind its open doors. */
.shrine-room-inset{display:none}
@media(max-aspect-ratio:999999/1000000){
 .courtyard-scene .shrine-room-inset{display:block;position:absolute;left:46.65%;top:46.83%;width:6.5%;height:5.1%;z-index:2;overflow:hidden;clip-path:polygon(2% 1%,97% 1%,98% 91%,90% 100%,5% 100%,0 91%)}
 .shrine-room-inset>svg{display:block;width:100%;height:100%}
 .courtyard-scene .grandmother-original-room{left:46.65%;top:46.83%;width:6.5%;height:5.1%;pointer-events:none}
 .grandmother-original-room svg{left:18%;width:64%;height:60%;bottom:20.5%;filter:drop-shadow(.4px .6px .4px #27180999)}
 .grandmother-original-room::before{left:23%;bottom:20%;width:54%;height:3%;filter:blur(.6px);background:#23100788}
}
/* Fill the viewport while the bottom controls are out of view. */
body[data-manual-page="2"]:has(.records-page-panel) .records-page-panel{transition:height .65s cubic-bezier(.22,.61,.36,1)}
body.homepage-moving[data-manual-page="2"] .records-page-panel{height:100dvh!important;transition:none!important}
@media(prefers-reduced-motion:reduce){body[data-manual-page="2"]:has(.records-page-panel) .records-page-panel{transition:none}}

/* Never reserve an empty strip beneath the gallery; controls float over full-height content. */
body[data-manual-page="2"]:has(.records-page-panel) .records-page-panel{height:100dvh!important;transition:none!important}
body.records-embedded{padding-bottom:calc(180px + env(safe-area-inset-bottom))!important}

/* One consistent 50% green backdrop across arrows, hours and reservation controls. */
body .mobile-actions{background:rgb(16 39 31 / 50%)!important;background-image:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.mobile-actions>.business-hours{background:rgb(16 39 31 / 50%)!important}
body[data-manual-page="2"]:has(.records-page-panel) .mobile-actions>.business-hours{display:block!important}
body:has(.mobile-actions>.business-hours) nav.manual-pages{bottom:calc(var(--action-bar-height,80px) + 28px)!important}

/* Match the inserted shrine's focus and warm ambient light to the surrounding architecture. */
@media(max-aspect-ratio:999999/1000000){
 .courtyard-scene .shrine-room-inset{filter:blur(.26px) brightness(.9) saturate(.87)}
 .grandmother-original-room svg{filter:blur(.20px) brightness(.94) saturate(.92) drop-shadow(.35px .55px .55px #27180999)}
}
/* A single painted layer prevents a seam or doubled opacity between the two rows. */
body .mobile-actions{isolation:isolate;background:transparent!important;background-image:none!important;border-top:0!important;box-shadow:none!important}
body .mobile-actions::before{content:"";position:absolute;inset:calc(-1 * var(--footer-upper-height,80px)) 0 0;z-index:-1;background:rgb(16 39 31 / 50%);pointer-events:none}
body .mobile-actions>.business-hours{background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important}
/* Carry the footer green through the final scroll clearance, with no ivory body strip. */
body[data-manual-page="1"],body[data-manual-page="2"],body.records-embedded{background-color:#202b21!important}
body[data-manual-page="1"] #main,body.records-embedded #records-main{background:var(--paper,#f4efe4)}
body.records-embedded{padding-bottom:0!important}
body.records-embedded footer{background:#202b21!important;margin-bottom:0!important;padding-bottom:calc(180px + env(safe-area-inset-bottom))!important}
body[data-manual-page="1"] footer,body[data-manual-page="2"] footer{background:#202b21!important}
/* Reduce only the seated figure by about ten percent, keeping the cushion contact point. */
@media(max-aspect-ratio:999999/1000000){.grandmother-original-room svg{left:21%;width:58%;height:54%;bottom:20.5%}}

/* Keep the scroll canvas and footer clearance the same green, including overscroll. */
html:has(body[data-manual-page]),html:has(body.records-embedded){background:#202b21!important}
body[data-manual-page="1"],body[data-manual-page="2"],body.records-embedded{background:#202b21!important}
body.records-embedded footer,body[data-manual-page="1"] footer,body[data-manual-page="2"] footer{background:#202b21!important;box-shadow:0 240px 0 #202b21!important}
/* A quiet floating section menu, with the same movement lifecycle as the bottom dock. */
html[data-site-language] body[data-manual-page="1"] #main .section-shortcuts{
 position:sticky!important;top:max(8px,env(safe-area-inset-top))!important;z-index:80;
 width:min(760px,calc(100% - 24px));margin:10px auto 18px!important;
 display:flex;flex-wrap:nowrap;gap:3px;padding:5px!important;
 background:linear-gradient(145deg,#20372ff5,#122a23f5)!important;
 border:1px solid #d5bd8266!important;border-radius:14px;
 box-shadow:0 5px 18px #14241b20,inset 0 1px 0 #f5e8c20d!important;
 translate:0 0;opacity:1;visibility:visible;
 transition:translate .85s cubic-bezier(.22,.61,.36,1),opacity .7s ease,visibility 0s!important;
}
html[data-site-language] body[data-manual-page="1"] #main .section-shortcuts a{
 position:relative;flex:1 1 0;min-width:0;min-height:44px;padding:8px 4px!important;
 color:#eee2c4!important;font-size:clamp(13px,3.6vw,16px);font-weight:500;letter-spacing:.015em;
 border:0!important;border-radius:9px;text-align:center;white-space:nowrap;line-height:1.4;
 transition:background .2s ease,color .2s ease!important;
}
html[data-site-language] body[data-manual-page="1"] #main .section-shortcuts a+a::before{content:"";position:absolute;left:-2px;top:32%;height:36%;width:1px;background:#d8c18b30}
html[data-site-language] body[data-manual-page="1"] #main .section-shortcuts a:hover,
html[data-site-language] body[data-manual-page="1"] #main .section-shortcuts a:focus-visible{background:#ddc6891a!important;color:#fff0cc!important}
html[data-site-language] body[data-manual-page="1"] #main .section-shortcuts a:focus-visible{outline:1px solid #e6ca83;outline-offset:-2px}
html[data-site-language] body.homepage-moving[data-manual-page="1"] #main .section-shortcuts{translate:0 calc(-100% - 24px);opacity:0;visibility:hidden;pointer-events:none;transition:none!important}
@media(prefers-reduced-motion:reduce){html[data-site-language] body[data-manual-page="1"] #main .section-shortcuts{translate:none!important;transition:opacity .15s ease!important}}

/* Desktop uses the same navigation and reservation dock as the mobile pages. */
@media(min-width:701px){
 html[data-site-language] body[data-manual-page="0"] .site-header{justify-content:center!important;position:fixed;top:0;left:0;right:0;z-index:100;padding-block:8px!important;background:linear-gradient(180deg,#10231ce8,#10231c80)}
 html[data-site-language] body[data-manual-page="0"] .site-header nav{justify-content:center;width:max-content;max-width:calc(100vw - 32px)}
 body[data-manual-page] .mobile-actions{display:grid;position:fixed;bottom:0;left:50%;right:auto;transform:translateX(-50%);width:min(560px,100%);z-index:100;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr) 48px;gap:8px;padding:8px 14px calc(8px + env(safe-area-inset-bottom));color:#f4e4be}
 body[data-manual-page] .mobile-actions>a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 12px;border:1px solid #c5b18b77;border-radius:10px;font-size:16px;line-height:1.5;text-align:center}
 body[data-manual-page] .mobile-actions>.mobile-book{background:var(--metal);color:#30220a;font-weight:700;border-color:#ead7a6}
 body[data-manual-page] .mobile-actions>.mobile-call{background:#10271fd9;color:#fff0d0}
 body[data-manual-page] .mobile-actions>.mobile-top{padding:0;width:48px;border-radius:50%;background:transparent;color:#f4e4be}
 body[data-manual-page] .mobile-actions>.mobile-top svg{width:22px;height:22px}
 body[data-manual-page] .mobile-actions>.booking-app-help{grid-column:1/-1;margin:0;font-size:13px}
 body[data-manual-page] .mobile-actions>.business-hours{display:block!important;font-size:15px}
 body[data-manual-page] .desktop-hours{display:none!important}
 body.entering .mobile-actions,body.viewer-open .mobile-actions,body.records-embedded .mobile-actions{display:none!important}
 html:not([data-site-template="B"]) body[data-manual-page="0"] .hero .hero-heading{position:absolute!important;top:76px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:240px!important;align-items:center!important;text-align:center!important;margin:0!important}
 html:not([data-site-template="B"]) body[data-manual-page="0"] .hero .hero-heading h1{width:210px!important;margin:6px auto 0!important}
 html:not([data-site-template="B"]) body[data-manual-page="0"] .hero .hero-heading .eyebrow{justify-content:center;font-size:16px}
 html:not([data-site-template="B"]) body[data-manual-page="0"] .hero{min-height:100svh!important;height:100svh!important;max-height:none!important}
 body[data-manual-page="0"] .site-header{translate:0 0;opacity:1;transition:translate .65s ease,opacity .5s ease!important}
 body.homepage-moving[data-manual-page="0"] .site-header{translate:0 -110%;opacity:0;pointer-events:none;transition:none!important}
 body[data-manual-page="1"] footer{padding-bottom:calc(var(--action-bar-height,80px) + 150px)}
}
/* Match the portrait interior and original seated figure to the landscape doorway. */
@media(min-aspect-ratio:1/1){
 .courtyard-scene .shrine-room-inset,.courtyard-scene .grandmother-original-room{display:block;position:absolute;left:48.25%;top:51.7%;width:3.5%;height:8.7%;pointer-events:none}
 .courtyard-scene .shrine-room-inset{z-index:2;overflow:hidden;clip-path:polygon(2% 1%,97% 1%,98% 91%,90% 100%,5% 100%,0 91%);filter:blur(.26px) brightness(.9) saturate(.87)}
 .courtyard-scene .shrine-room-inset>svg{display:block;width:100%;height:100%}
 .courtyard-scene .grandmother-original-room{z-index:3;background:none;box-shadow:none;overflow:visible}
 .grandmother-original-room svg{position:absolute;left:21%;width:58%;height:54%;bottom:20.5%;display:block;filter:blur(.20px) brightness(.94) saturate(.92) drop-shadow(.35px .55px .55px #27180999)}
}
@media(prefers-reduced-motion:reduce){body[data-manual-page="0"] .site-header{transition:none!important}}
/* The opening page must not mark Activities as the current screen. */
body[data-manual-page="0"] .site-header nav a.activity-menu-link{background:transparent!important;color:#fff1d2!important}
body[data-manual-page="0"] .site-header nav a.activity-menu-link:hover{background:#ffffff15!important}

/* Equal, centered booking and phone controls on every homepage panel. */
html[data-site-language] body[data-manual-page] .mobile-actions{
 grid-template-columns:minmax(0,1fr) minmax(0,1fr) 40px!important;
 align-items:center!important;justify-content:center!important;gap:8px!important;
 box-sizing:border-box!important;
}
html[data-site-language] body[data-manual-page] .mobile-actions>a.mobile-book,
html[data-site-language] body[data-manual-page] .mobile-actions>a.mobile-call{
 display:flex!important;align-items:center!important;justify-content:center!important;
 grid-column:auto!important;grid-row:auto!important;width:100%!important;min-width:0!important;
 height:54px!important;min-height:54px!important;box-sizing:border-box!important;
 margin:0!important;padding:10px 8px!important;border-radius:14px!important;
 font-size:clamp(14px,4vw,17px)!important;font-weight:700!important;line-height:1.35!important;
 text-align:center!important;white-space:nowrap!important;
}
html[data-site-language] body[data-manual-page] .mobile-actions>a.mobile-top{
 grid-column:3!important;grid-row:auto!important;width:40px!important;height:40px!important;
 min-height:40px!important;padding:0!important;margin:0!important;align-self:center!important;
}
html[data-site-language] body[data-manual-page] .mobile-actions>a.mobile-book .button-label{width:100%;text-align:center;white-space:nowrap}
html[data-site-language] body[data-manual-page] .mobile-actions>.business-hours,
html[data-site-language] body[data-manual-page] .mobile-actions>.booking-app-help{grid-column:1/-1!important}
