/* Homepage only. Original hero and shared pages retained. */
.purpose-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:32px max(6vw,24px);background:#eeeade;border-bottom:1px solid #c7c2af;gap:0}.purpose-nav a{display:flex;flex-direction:column;gap:16px;padding:24px 26px;text-decoration:none;border-right:1px solid #c7c2af;color:#183e40;transition:background .2s}.purpose-nav a:last-child{border-right:0}.purpose-nav a:hover,.purpose-nav a:focus-visible{background:#e2dfd1;outline:2px solid #8c774c;outline-offset:-2px}.purpose-nav small{font-size:11px;letter-spacing:.16em;color:#806c49}.purpose-nav strong{font-size:clamp(22px,2.2vw,32px);font-weight:400;letter-spacing:.08em}.purpose-nav span{font-size:13px}.visit-ribbon{display:flex;justify-content:flex-end;gap:32px;padding:18px 8vw;background:#eeeade;color:#244749;font-size:14px}.visit-ribbon a{color:inherit;text-underline-offset:6px}
#about{padding-top:64px;padding-bottom:56px}.about-layout{gap:5vw}.about-art-inner{background:none!important;position:relative!important;clip-path:none!important}.about-art-inner img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.art-origin{display:block;font-size:12px;line-height:1.6;color:#52605a;margin-top:12px}.about-art{overflow:visible!important}.about-writing .vertical-copy{writing-mode:horizontal-tb;line-height:2.1;font-size:16px}.about-writing .vertical-copy p{margin-bottom:12px}.temple-guide-strip{margin-top:40px}.about-bottom{display:none!important}#news{padding:42px 8vw;gap:40px}#news .section-mini-title{font-size:12px}#news h2{font-size:30px}.prayer-composition{padding-top:36px!important}.prayer-index{padding-top:40px!important}.service-entry{padding-top:28px!important;padding-bottom:28px!important}.service-entry p,.teaching-copy p,.facility-copy p{font-size:16px;line-height:2}.service-actions a{min-height:48px}.text-link{font-size:15px}.reveal{scroll-margin-top:100px}
@media(max-width:760px){.purpose-nav{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px 20px}.purpose-nav a{padding:22px 12px;gap:12px}.purpose-nav a:nth-child(2){border-right:0}.purpose-nav a:nth-child(-n+2){border-bottom:1px solid #c7c2af}.purpose-nav strong{font-size:23px}.purpose-nav small{font-size:9px}.purpose-nav span{font-size:11px}.visit-ribbon{padding:18px 24px;gap:12px 24px;justify-content:flex-start;flex-wrap:wrap;font-size:13px}.visit-ribbon>span{width:100%}#about{padding-top:40px}.about-art-inner{min-height:240px}.about-writing .vertical-copy{font-size:15px}#news{padding:32px 24px;display:block}#news .news-heading{margin-bottom:24px}}
@media(max-height:500px) and (orientation:landscape){.purpose-nav{padding:12px 24px}.purpose-nav a{padding:16px}.purpose-nav strong{font-size:22px}}

/* Mockup-aligned composition: compact editorial chapters */
.desktop-links{display:flex;gap:28px;align-items:center;margin-right:30px}.desktop-links a{color:inherit;font-size:14px;text-decoration:none;letter-spacing:.06em}.header-right .edition{display:none}.new-services{padding:72px 7vw!important;background:#173f41;color:#f4efdf}.new-section-heading{text-align:center;margin-bottom:36px}.new-section-heading>span,.new-kicker{font-size:11px;letter-spacing:.2em;color:#9c875c}.new-section-heading h2{font-size:clamp(28px,3vw,42px);font-weight:400;margin:16px 0;writing-mode:horizontal-tb}.new-section-heading p{font-size:15px;line-height:1.9}.new-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.service-picture{display:block;position:relative;aspect-ratio:1.65;overflow:hidden;border:1px solid #b4a784;color:white}.service-picture:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent,#102f34dd)}.service-picture img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.service-picture:hover img{transform:scale(1.04)}.service-picture h3{position:absolute;z-index:1;bottom:22px;left:24px;right:24px;font-weight:400;font-size:26px;display:flex;justify-content:space-between;margin:0}.new-service-grid p{font-size:14px;line-height:2;margin:20px 0 16px;color:#e2e5dc}.new-inline,.new-inline-pair a{font-size:13px;color:#f4efdf;text-decoration:none;border-bottom:1px solid #87978d;padding:8px 0;display:inline-block}.new-inline-pair{display:flex;gap:18px;flex-wrap:wrap}.new-image-note{display:block;text-align:right;font-size:11px;color:#c5cec3;margin-top:24px}.new-stay{display:grid!important;grid-template-columns:.85fr 1.4fr;gap:6vw;align-items:center;padding:72px 7vw!important;background:#f0ede3}.new-stay h2{font-size:clamp(30px,3.4vw,46px);line-height:1.6;writing-mode:horizontal-tb;margin:18px 0 24px;font-weight:400}.new-stay p{font-size:16px;line-height:2}.new-stay figure{margin:0}.new-stay figure img{width:100%;aspect-ratio:1.55;object-fit:cover;display:block}.new-stay figcaption{font-size:11px;line-height:1.7;margin-top:10px;color:#52625b}.new-button{display:flex;justify-content:space-between;gap:30px;max-width:280px;padding:18px 24px;background:#173f41;color:#fff;text-decoration:none;margin-top:28px;font-size:15px}.new-explore{display:grid;grid-template-columns:repeat(4,1fr);padding:24px 7vw 48px!important;gap:20px;background:#f0ede3}.new-explore>a{position:relative;border-top:1px solid #b5a787;padding:24px 12px;text-decoration:none;color:#193e40}.new-explore span{font-size:10px;letter-spacing:.13em;color:#766647}.new-explore h2{font-size:26px;margin:16px 0;font-weight:400}.new-explore p{font-size:12px;line-height:1.8}.new-explore b{position:absolute;right:8px;top:60px;font-weight:400}.new-facility-links{display:flex;justify-content:flex-end;gap:32px;padding:0 7vw 35px!important;background:#f0ede3;font-size:13px}.new-events{display:flex;gap:36px;align-items:center;justify-content:space-between;padding:32px 7vw!important;border-top:1px solid #bcb49c;border-bottom:1px solid #bcb49c}.new-events h2{font-size:24px;font-weight:400;margin-top:10px}.new-events p{font-size:14px;line-height:1.8}.new-events a{font-size:14px;white-space:nowrap}.new-services a:focus-visible,.new-stay a:focus-visible,.new-explore a:focus-visible{outline:3px solid #bd9b58;outline-offset:4px}#about .about-layout{display:grid;grid-template-columns:1.2fr 1fr;align-items:center}#about .about-art{height:auto;min-height:0}#about .about-art-inner{height:auto}#about .about-art-inner img{height:auto}#about .art-index,#about .art-caption,#about .offset-frame{display:none}#about .about-writing h2{writing-mode:horizontal-tb;display:block;font-size:36px;line-height:1.6;height:auto;margin:20px 0}#about .about-writing h2>span{display:block}#about .about-writing{display:block}#about .vertical-copy{height:auto;max-height:none}#about .about-lotus{display:none}#about .pattern-option{display:none}
@media(max-width:1000px){.desktop-links{gap:16px;margin-right:18px}.desktop-links a{font-size:12px}}
@media(max-width:760px){.desktop-links{display:none}.new-service-grid{grid-template-columns:1fr;gap:32px}.service-picture{aspect-ratio:2.4}.new-services{padding:42px 24px!important}.service-picture h3{font-size:24px}.new-stay{grid-template-columns:1fr;gap:28px;padding:42px 24px!important}.new-stay h2{font-size:32px}.new-explore{grid-template-columns:repeat(2,1fr);padding:12px 24px 24px!important}.new-explore h2{font-size:24px}.new-explore p{max-width:85%}.new-facility-links{padding:0 24px 28px!important;justify-content:flex-start;gap:20px}.new-events{display:block;padding:28px 24px!important}.new-events p{margin:16px 0}.new-events a{display:inline-block;padding:10px 0}#about .about-layout{grid-template-columns:1fr;gap:30px}#about .about-writing h2{font-size:30px}#about .about-art-inner{min-height:0}}

/* Isolated introduction: mockup proportions, no legacy vertical writing */
#about.intro-final{padding:48px 6%;background:#f3f0e7;overflow:visible}
#about.intro-final .intro-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:5%;align-items:center;max-width:1240px;margin:auto;padding:0}
#about.intro-final .intro-picture{margin:0;min-width:0}
#about.intro-final .intro-picture img{display:block;width:100%;height:auto;aspect-ratio:1.88;object-fit:cover;object-position:50% 61%}
#about.intro-final figcaption{font-size:11px;line-height:1.6;color:#5a655e;margin-top:8px}
#about.intro-final .intro-text{min-width:0;writing-mode:horizontal-tb}
#about.intro-final h2{font-size:clamp(26px,2.6vw,36px);font-weight:400;line-height:1.5;letter-spacing:.04em;margin:0;writing-mode:horizontal-tb}
#about.intro-final .intro-rule{display:block;width:30px;height:1px;background:#9d8050;margin:20px 0}
#about.intro-final p{font-size:15px;line-height:1.95;letter-spacing:.025em;margin:0 0 12px;writing-mode:horizontal-tb}
#about.intro-final .intro-button{display:flex;align-items:center;justify-content:space-between;gap:30px;background:#163f43;color:#fff;padding:15px 20px;font-size:14px;max-width:260px;margin-top:22px;min-height:48px}
@media(max-width:760px){#about.intro-final{padding:24px 20px 32px}#about.intro-final .intro-grid{grid-template-columns:1fr;gap:22px}#about.intro-final .intro-picture img{aspect-ratio:1.65}#about.intro-final h2{font-size:25px}#about.intro-final .intro-rule{margin:14px 0}#about.intro-final p{font-size:14px;line-height:1.9}#about.intro-final .intro-button{margin-top:18px;width:100%;max-width:none}}

/* Keep existing contents panel; reserve space only for text navigation. */
@media(min-width:761px){#site-header .header-right{padding-right:94px;gap:0}#site-header .desktop-links{margin-right:0;gap:clamp(16px,2vw,28px)}#site-header .desktop-links a{white-space:nowrap}}
@media(min-width:761px) and (max-width:1100px){#site-header .desktop-links{gap:14px}#site-header .desktop-links a{font-size:12px}}

/* Approved header navigation B: transparent, two fine ivory rules. */
@media(min-width:761px){#site-header .desktop-links{display:flex;align-items:center;justify-content:space-between;gap:clamp(20px,2.2vw,34px);padding:19px 22px;margin:0;background:transparent;border-top:1px solid rgba(243,238,227,.78);border-bottom:1px solid rgba(243,238,227,.78);min-height:64px}#site-header .desktop-links a{font-size:clamp(14px,1.2vw,18px);font-weight:400;line-height:1.5;letter-spacing:.05em;color:#f3eee3;white-space:nowrap;text-decoration:none;text-underline-offset:7px}#site-header .desktop-links a:hover,#site-header .desktop-links a:focus-visible{text-decoration:underline;text-decoration-color:#c5a66d}#site-header .header-right{padding-right:104px;gap:0}}
@media(min-width:761px) and (max-width:1100px){#site-header .desktop-links{padding:17px 14px;gap:18px}#site-header .desktop-links a{font-size:14px}#site-header .header-right{padding-right:88px}}

/* Requested soft Gaussian backdrop; text and rules remain sharp. */
@media(min-width:761px){#site-header .desktop-links{background:rgba(10,43,46,.18);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}}
@supports not ((backdrop-filter:blur(12px)) or (-webkit-backdrop-filter:blur(12px))){#site-header .desktop-links{background:rgba(10,43,46,.55)}}

@media(min-width:761px){#site-header .desktop-links{gap:0;background:rgba(10,43,46,.30);-webkit-backdrop-filter:blur(28px);backdrop-filter:blur(28px);padding:18px 6px}#site-header .desktop-links a{padding:0 clamp(18px,2vw,30px);line-height:1.7}#site-header .desktop-links a+a{border-left:1px solid rgba(243,238,227,.48)}}
@media(min-width:761px) and (max-width:1100px){#site-header .desktop-links a{padding:0 16px}}

/* Header stacking: panel above navigation, toggle above panel. */
#site-header{z-index:auto!important}#site-header .desktop-links{position:relative;z-index:40}#site-menu{z-index:100!important}#menu-toggle{z-index:110!important}
@media(min-width:1101px){#site-header .desktop-links a{font-size:19px}}
@media(min-width:761px) and (max-width:1100px){#site-header .desktop-links a{font-size:16px;padding:0 14px}}

#site-header>.wordmark{position:relative;z-index:40}

.purpose-nav a{align-items:center;text-align:center}.purpose-icon{display:block;position:relative;width:88px;height:84px;overflow:hidden;margin:0 auto 8px;flex:none}.purpose-icon img{position:absolute;max-width:none!important;width:492px!important;height:164px!important;top:-26px}.purpose-icon-1 img{left:-30px}.purpose-icon-2 img{left:-139px}.purpose-icon-3 img{left:-267px}.purpose-icon-4 img{left:-374px}.purpose-nav a small{order:2}.purpose-nav a strong{order:3}.purpose-nav a>span:not(.purpose-icon){order:4}.purpose-nav a small{display:none}.purpose-nav{background:#f7f4e9}.purpose-nav a{padding-top:24px;padding-bottom:24px}@media(max-width:760px){.purpose-icon{transform:scale(.82);margin:-6px auto 0}.purpose-nav a{gap:10px;padding:18px 10px}}

.purpose-icon-4{width:108px}

/* Approved simplified entrance navigation */
.purpose-nav a{border-right-width:1px;border-right-color:#c7c2af}
@media(max-width:760px){.purpose-nav a:nth-child(-n+2){border-bottom-width:1px;border-bottom-color:#c7c2af}}

.purpose-nav a::after{content:"";display:block;order:5;width:48px;height:3px;background:#b18a45;margin:4px auto 0;flex:none}

/* Compact entrance spacing: retain approved icons, type and rules */
.purpose-nav{padding-top:20px;padding-bottom:20px}.purpose-nav a{gap:10px;padding-top:16px;padding-bottom:16px}.purpose-icon{margin-bottom:0}.purpose-nav a::after{margin-top:6px}
@media(max-width:760px){.purpose-nav{padding-top:6px;padding-bottom:6px}.purpose-nav a{gap:6px;padding-top:12px;padding-bottom:12px}.purpose-icon{margin-top:-8px;margin-bottom:-5px}.purpose-nav a::after{margin-top:5px}}

/* Refined entrance: quiet paper, optically balanced icons and restrained type */
.purpose-nav{background-color:#f5f2e8;background-image:url("assets/entrance-paper.svg");padding-top:24px;padding-bottom:24px}
.purpose-nav a{gap:8px;padding-top:16px;padding-bottom:16px;border-right-color:rgba(133,116,80,.27)}
.purpose-nav strong{font-size:clamp(22px,1.9vw,27px);letter-spacing:.06em;line-height:1.55}
.purpose-icon{transform:scale(.85);margin:-6px auto -5px;mix-blend-mode:multiply}
.purpose-icon-3{transform:scale(.9)}
.purpose-icon-4{transform:scale(.8)}
.purpose-nav a::after{width:32px;height:2px;background:#af8a49;margin-top:7px}
@media(max-width:760px){
 .purpose-nav{padding:12px 20px}
 .purpose-nav a{gap:6px;padding:15px 8px}
 .purpose-nav strong{font-size:21px}
 .purpose-icon{transform:scale(.7);margin:-10px auto -10px}
 .purpose-icon-3{transform:scale(.74)}
 .purpose-icon-4{transform:scale(.67)}
 .purpose-nav a::after{width:28px;margin-top:6px}
 .purpose-nav a:nth-child(-n+2){border-bottom-color:rgba(133,116,80,.27)}
}

.purpose-icon img{filter:brightness(1.12)}

.purpose-nav{background-image:linear-gradient(rgba(250,248,240,.25),rgba(250,248,240,.25)),url("assets/entrance-unryu.png");background-size:auto,720px 720px;background-position:center}

/* One size smaller, keeping the approved visual proportions */
.purpose-nav{padding-top:18px;padding-bottom:18px}
.purpose-nav a{gap:7px;padding-top:12px;padding-bottom:12px}
.purpose-nav strong{font-size:clamp(20px,1.7vw,24px)}
.purpose-icon{transform:scale(.75);margin:-10px auto -9px}
.purpose-icon-3{transform:scale(.79)}
.purpose-icon-4{transform:scale(.71)}
.purpose-nav a::after{width:28px;margin-top:6px}
@media(max-width:760px){
 .purpose-nav{padding-top:9px;padding-bottom:9px}
 .purpose-nav a{gap:5px;padding-top:12px;padding-bottom:12px}
 .purpose-nav strong{font-size:19px}
 .purpose-icon{transform:scale(.62);margin:-14px auto -13px}
 .purpose-icon-3{transform:scale(.65)}
 .purpose-icon-4{transform:scale(.59)}
 .purpose-nav a::after{width:25px;margin-top:5px}
}

.new-explore{gap:0;padding:24px 7vw!important}.new-explore>a{text-align:center;border-top:0;border-right:1px solid #c7c2af;display:flex;flex-direction:column;align-items:center;padding:18px 16px}.new-explore>a:last-child{border-right:0}.new-explore h2{font-size:24px;margin:10px 0 8px;line-height:1.5}.new-explore p{font-size:13px;line-height:1.8;margin:0;max-width:100%}.new-explore>a:after{content:"";width:28px;height:2px;background:#b18a45;margin-top:14px}.new-explore .explore-icon{display:block;position:relative;overflow:hidden;width:90px;height:64px;flex:none}.explore-icon img{position:absolute;width:204px!important;max-width:none!important;height:auto;top:0;left:0}.explore-icon-0 img{width:250px!important;top:-8px;left:0}.explore-icon-2 img{left:-64px}.explore-icon-3 img{left:-126px}.explore-icon-1 img{position:static;width:90px!important;height:64px;object-fit:contain}@media(max-width:760px){.new-explore{padding:16px 20px!important}.new-explore>a{padding:18px 10px}.new-explore>a:nth-child(2){border-right:0}.new-explore>a:nth-child(-n+2){border-bottom:1px solid #c7c2af}.new-explore h2{font-size:21px}.new-explore p{font-size:12px}}

/* Isolate the omamori from adjacent sprite artwork */
.new-explore .explore-icon-2{width:48px}.explore-icon-2 img{left:-78px}

/* Deep green entrances with individually centered white icons */
.purpose-nav{background:#214b43;background-image:none;border-bottom:1px solid #41665b}
.purpose-nav a{color:#f8f6ed;border-right-color:rgba(248,246,237,.22)}
.purpose-nav .purpose-icon{width:68px;height:68px;margin:0 auto;transform:none;mix-blend-mode:normal}
.purpose-nav .purpose-icon img{position:static;width:68px!important;height:68px!important;max-width:100%!important;filter:none;object-fit:contain}
.purpose-nav a::after{background:rgba(248,246,237,.65)}
.purpose-nav a:hover,.purpose-nav a:focus-visible{background:#2b574d;outline-color:#e3ddc5}
@media(max-width:760px){.purpose-nav .purpose-icon{width:60px;height:60px}.purpose-nav .purpose-icon img{width:60px!important;height:60px!important}.purpose-nav a:nth-child(-n+2){border-bottom-color:rgba(248,246,237,.22)}}

/* Deep green entrances with individually centered white icons */
.purpose-nav{background:#214b43;background-image:none;border-bottom:1px solid #41665b}
.purpose-nav a{color:#f8f6ed;border-right-color:rgba(248,246,237,.22)}
.purpose-nav .purpose-icon{width:68px;height:68px;margin:0 auto;transform:none;mix-blend-mode:normal}
.purpose-nav .purpose-icon img{position:static;width:68px!important;height:68px!important;max-width:100%!important;filter:none;object-fit:contain}
.purpose-nav a::after{background:rgba(248,246,237,.65)}
.purpose-nav a:hover,.purpose-nav a:focus-visible{background:#2b574d;outline-color:#e3ddc5}
@media(max-width:760px){.purpose-nav .purpose-icon{width:60px;height:60px}.purpose-nav .purpose-icon img{width:60px!important;height:60px!important}.purpose-nav a:nth-child(-n+2){border-bottom-color:rgba(248,246,237,.22)}}

.purpose-nav{background-color:#173a3c;border-bottom-color:#173a3c}.purpose-nav a:hover,.purpose-nav a:focus-visible{background:#23494b}

/* Reference layout: left aligned headings with inline icons */
.purpose-nav-inline{background:#eeeade;background-image:none;padding:32px max(6vw,24px);border-bottom:1px solid #c7c2af}
.purpose-nav-inline a{display:flex;align-items:flex-start;text-align:left;gap:20px;padding:24px 26px;color:#183e40;border-right:1px solid #c7c2af}
.purpose-nav-inline a:last-child{border-right:0}
.purpose-nav-inline strong{display:flex;align-items:center;gap:10px;font-size:clamp(22px,2.2vw,32px);font-weight:400;letter-spacing:.04em;white-space:nowrap}
.purpose-nav-inline .inline-purpose-icon{width:40px;height:40px;object-fit:contain;flex:none;filter:brightness(0) saturate(100%) invert(53%) sepia(30%) saturate(618%) hue-rotate(2deg) brightness(92%) contrast(87%)}
.purpose-nav-inline .purpose-description{color:#806c49;font-size:13px;line-height:1.8}
.purpose-nav-inline a::after{display:none}
.purpose-nav-inline a:hover,.purpose-nav-inline a:focus-visible{background:#e2dfd1;outline-color:#8c774c}
@media(max-width:760px){.purpose-nav-inline{padding:12px 20px}.purpose-nav-inline a{padding:22px 10px;gap:12px}.purpose-nav-inline strong{font-size:20px;gap:4px;letter-spacing:0}.purpose-nav-inline .inline-purpose-icon{width:30px;height:30px}.purpose-nav-inline .purpose-description{font-size:11px}.purpose-nav-inline a:nth-child(2){border-right:0}.purpose-nav-inline a:nth-child(-n+2){border-bottom:1px solid #c7c2af}}

.purpose-nav-inline .inline-purpose-icon{width:48px;height:48px}.purpose-nav-inline .purpose-description>span{font-size:.75em;white-space:nowrap}
@media(max-width:760px){.purpose-nav-inline a{align-items:center;text-align:center}.purpose-nav-inline strong{justify-content:center;font-size:clamp(17px,4.5vw,20px);gap:4px}.purpose-nav-inline .inline-purpose-icon{width:36px;height:36px}.purpose-nav-inline .purpose-description{max-width:100%;text-align:center}}

/* Center every layout and tighten heading-to-description spacing by 20% */
.purpose-nav-inline a{align-items:center;text-align:center;gap:16px}
.purpose-nav-inline strong{justify-content:center}
.purpose-nav-inline .purpose-description{text-align:center;line-height:1.44}
@media(max-width:760px){.purpose-nav-inline a{gap:9.6px}}

.purpose-nav-inline a{gap:14.4px}.purpose-nav-inline .purpose-description{line-height:1.296}@media(max-width:760px){.purpose-nav-inline a{gap:8.64px}}

#site-header{align-items:center!important}#site-header .header-lockup-link{display:flex;align-items:center;margin-top:0;margin-bottom:0}#site-header .header-lockup{display:block}#opening-title h1{font-size:clamp(34px,4.6vw,72px)}

@media(min-width:1101px){#hero-fudo{translate:-4vw 0}}

/* Supplied goshuin lettering: preserve ivory and existing title position. */
#opening-title h1 .hero-calligraphy{display:block;height:8.12em;width:auto;max-width:none;object-fit:contain;margin-inline:auto}

/* Hero balance: restored wordmark, larger calligraphy, stronger Fudo. */
#opening-title h1 .hero-calligraphy{height:9.34em}
@media(min-width:1101px){
 #hero-fudo{translate:-10vw 0;opacity:.50}
 .intro-animate #hero-fudo{--intro-opacity:.50}
}
@media(min-width:761px){
 #site-header{height:166px;padding-top:0;padding-bottom:0;align-items:center!important}
 #site-header .header-right{align-items:center}
 #menu-toggle{top:83px;translate:0 -50%}
}

/* Lighter navigation glass and consistent compact-screen hero balance. */
@media(min-width:761px){#site-header .desktop-links{background:rgba(10,43,46,.20);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}}
@media(min-width:761px) and (max-width:1100px){
 #site-header{height:140px;gap:16px}
 #site-header .header-lockup{width:200px}
 #site-header .header-lockup-link{flex-shrink:0}
 #site-header .header-right{padding-right:80px;min-width:0}
 #site-header .desktop-links{padding:16px 4px}
 #site-header .desktop-links a{font-size:14px;padding:0 9px}
 #menu-toggle{top:70px}
}
@media(min-width:701px) and (max-width:1100px){#hero-fudo{translate:-8vw 0;opacity:.50}.intro-animate #hero-fudo{--intro-opacity:.50}}
@media(max-width:760px){
 #site-header{height:118px;padding-top:0;padding-bottom:0;align-items:center!important}
 #site-header .header-lockup{width:210px;max-width:calc(86vw - 76px)}
 #menu-toggle{top:59px;translate:0 -50%}
}
@media(max-width:700px){#hero-fudo{translate:-5vw 0;opacity:.50}.intro-animate #hero-fudo{--intro-opacity:.50}}

/* Increase the compact-screen calligraphy only; keep its right edge anchored. */
@media(max-width:1100px){#opening-title h1 .hero-calligraphy{height:11.2em}}

/* Compact hero: +35% lettering, Fudo's face optically centered. */
@media(max-width:1100px){
 #opening-title h1 .hero-calligraphy{height:15.12em}
 #hero-fudo{left:50%;right:auto;translate:-53.5% 0}
}

/* Quiet hero footer and a rule ending with the vertical English label. */
#opening .hero-bottom{left:0;right:0;justify-content:center}
#opening .scroll-link{gap:0}
#opening .hero-rule{display:none}
#opening .hero-side::after{content:"";position:absolute;left:7vw;top:-100px;bottom:0;width:1px;background:#e8e1c32a}
@media(max-width:700px){#opening-title h1 .hero-calligraphy{height:13.608em}}

/* Align the calligraphy's vertical axis with the 72px contents button. */
#opening-title h1{width:max-content;writing-mode:horizontal-tb;right:calc(5% + 36px);transform:translateX(50%)}
@media(max-width:700px){
 #opening-title h1{right:calc(7% + 36px)}
 #opening-title h1 .hero-calligraphy{height:12.9276em}
}

/* Simplified service cards and a clearer footer. */
#paths .new-section-heading{grid-template-columns:1fr auto}
#paths .new-section-heading h2{font-size:clamp(26px,3.2vw,44px)}
#facilities.new-facility-links{justify-content:flex-end}
#site-footer .footer-upper{display:grid;grid-template-columns:minmax(220px,.85fr) minmax(0,1.6fr) 80px;gap:40px;align-items:start;padding:32px 0 42px}
#site-footer .footer-brand-image{gap:18px;align-items:center}
#site-footer .footer-crest{width:58px;height:auto;flex-shrink:0}
.footer-wordmark{display:flex;flex-direction:column;gap:12px;width:210px;max-width:100%}
.footer-wordmark>span{font-size:14px;letter-spacing:.2em;color:var(--ivory)}
.footer-wordmark img{width:100%;height:auto}
#site-footer .footer-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;width:100%}
#site-footer .footer-nav a{display:flex;align-items:center;min-height:48px;font-size:14px;line-height:1.7;letter-spacing:.05em;border-bottom:1px solid #f3eee32b;padding:12px 0}
#site-footer .footer-nav a:hover{color:#dbc59b;border-color:#dbc59b}
#site-footer .footer-top{display:flex;flex-direction:column;align-items:center;gap:12px;writing-mode:horizontal-tb;font-size:12px;white-space:nowrap;letter-spacing:.08em}
#site-footer .footer-top span{display:grid;place-items:center;border:1px solid #f3eee370;border-radius:50%;width:50px;height:50px;font-size:23px;transition:background .2s}
#site-footer .footer-top:hover span{background:#f3eee318}
@media(max-width:1000px){#site-footer .footer-upper{grid-template-columns:1fr 70px;gap:28px}#site-footer .footer-nav{grid-column:1/-1;grid-row:2}#site-footer .footer-top{grid-column:2;grid-row:1}}
@media(max-width:600px){#site-footer .footer-upper{gap:26px 14px}.footer-wordmark{width:175px}.footer-wordmark>span{font-size:12px}#site-footer .footer-crest{width:44px}#site-footer .footer-nav{gap:0 20px}#site-footer .footer-nav a{font-size:13px}#paths .new-section-heading{display:block}#paths .new-section-heading h2{margin-top:20px}}
#site-footer .footer-brand-image{flex-direction:row;justify-content:flex-start}
#stay.new-stay figure img{height:auto;aspect-ratio:1.55;object-fit:cover;object-position:center}

/* Readable cemetery invitation and unified service title plates. */
#cemetery-guide .section-mini-title{font-size:clamp(14px,1.4vw,18px);line-height:1.8;letter-spacing:.06em}
#cemetery-guide>div>p{font-size:clamp(28px,3vw,40px)}
#cemetery-guide .cemetery-link{font-size:clamp(16px,1.6vw,21px);line-height:1.7;max-width:100%}
#cemetery-guide .cemetery-link small{font-size:13px;line-height:1.7;margin-top:9px;letter-spacing:.04em}
#paths .service-picture{isolation:isolate}
#paths .service-picture h3{position:absolute;inset:auto 0 0;margin:0;padding:24px 24px 22px;display:grid;grid-template-columns:1fr 38px;gap:8px 12px;background:linear-gradient(0deg,#0c3034ed,#0c3034b3 75%,transparent);text-shadow:0 1px 8px #071e24a0}
#paths .service-picture h3 small{grid-column:1;font-size:12px;letter-spacing:.15em;line-height:1.5;font-weight:400;color:#e1cfaa}
#paths .service-picture h3 strong{grid-column:1;font-size:clamp(24px,2.5vw,33px);letter-spacing:.09em;line-height:1.4;font-weight:400}
#paths .service-picture h3>span{grid-column:2;grid-row:1/3;align-self:center;display:grid;place-items:center;width:36px;height:36px;border:1px solid #f3eee380;border-radius:50%;font-size:18px}
#prayer-overview .service-picture img{object-position:center 58%}
@media(max-width:700px){#paths .service-picture h3{padding:22px}#cemetery-guide .cemetery-link{width:100%}}
