/* Memorial guide only: restrained washi, deep teal and gold. */
.page-memorial-guide{--guide-line:#163f4330;--guide-gold:#8b6936;background:#eeeade}
.page-memorial-guide main{max-width:none;margin-inline:auto}
.guide-hero{position:relative;isolation:isolate;overflow:hidden;background:#163f43;color:#f6f0e3;padding:65px max(7%,calc((100% - 1120px)/2)) 75px;min-height:370px}
.guide-hero:after{content:'';position:absolute;z-index:-1;inset:0;background:url('assets/lotus-pattern.svg') right 10% center/470px no-repeat;opacity:.16;pointer-events:none}
.guide-kicker{font-size:11px;letter-spacing:.18em;color:var(--guide-gold);margin:0 0 17px}
.guide-hero .guide-kicker{color:#ddc591}
.guide-hero h1{font-weight:400;letter-spacing:.12em;font-size:clamp(37px,4.5vw,63px);line-height:1.65;margin:0 0 24px}
.guide-hero p:last-child{font-size:14px;line-height:2.3;letter-spacing:.08em;margin:0;max-width:640px}
.guide-jumps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0 max(7%,calc((100% - 1120px)/2));border-bottom:1px solid var(--guide-line);background:#e5e3d7}
.guide-jumps a{display:flex;align-items:center;gap:10px;padding:23px 8px;font-size:12px;line-height:1.8;min-width:0}
.guide-jumps small{color:var(--guide-gold);font:11px Georgia,serif}.guide-jumps span{margin-left:auto;color:var(--guide-gold)}
.guide-section{padding:68px max(7%,calc((100% - 1120px)/2));scroll-margin-top:24px}
.guide-intro{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:9%}
.guide-section h2{font-size:clamp(27px,3vw,39px);line-height:1.8;letter-spacing:.07em;font-weight:400;margin:14px 0 25px}
.guide-section h3{font-weight:400;font-size:23px;line-height:1.8;letter-spacing:.06em;margin:0 0 14px}
.guide-section p{font-size:14px;line-height:2.2;letter-spacing:.035em;margin:0 0 18px;overflow-wrap:anywhere}
.guide-section p.guide-kicker{font-size:11px;line-height:1.8;margin-bottom:14px}
.guide-label{display:inline-block;border:1px solid #8b69364a;border-radius:5px;padding:5px 14px;color:#715329;font-size:11px;line-height:1.8;letter-spacing:.08em}
.guide-copy{min-width:0}.guide-copy p:last-child{margin-bottom:0}
.guide-joint{display:flex;align-items:center;justify-content:center;gap:27px;margin:0 max(7%,calc((100% - 1120px)/2));height:55px}
.guide-joint:before,.guide-joint:after{content:'';height:1px;background:#ab8d4d55;flex:1}.guide-joint img{width:47px;height:47px;object-fit:contain;opacity:.7}
.guide-table-intro{max-width:790px}.guide-year-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:35px;margin-top:32px}
.guide-year{border:1px solid var(--guide-line);background:#f7f3e980;padding:26px 30px 17px;min-width:0}
.guide-year h3{font-size:30px;margin:0 0 16px;display:flex;gap:14px;align-items:baseline;flex-wrap:wrap}.guide-year h3 small{font-size:12px;color:var(--guide-gold)}
.guide-year table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.8}.guide-year th,.guide-year td{text-align:left;border-bottom:1px solid var(--guide-line);padding:10px 2px;font-weight:400}.guide-year thead th{font-size:11px;color:#636b60}.guide-year tbody td{font-variant-numeric:tabular-nums;letter-spacing:.08em}.guide-year tbody tr:last-child>*{border:0}
.guide-section p.guide-note{font-size:12px;line-height:2;color:#586963;margin-top:21px;max-width:850px}
.guide-buddhas{background:#e4e5d9}.guide-buddha-intro{max-width:810px}.guide-trial-note{border-left:2px solid #a88c56;padding:13px 20px;margin:30px 0;background:#f7f3e966}.guide-trial-note p{font-size:12px;margin:0}
.guide-apply{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8%;background:#163f43;color:#f6f0e3}.guide-apply .guide-label{color:#e0c58c;border-color:#d1b67c66}.guide-apply .guide-actions{display:grid;align-content:center;gap:15px}.guide-button{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:61px;padding:16px 22px;border:1px solid #d1b67c88;font-size:14px;line-height:1.8}.guide-button:first-child{background:#eee7d4;color:#163f43}.guide-apply p.guide-note{color:#d4d8cd;font-size:11px;margin:0}.guide-footer{padding:35px 7%;font-size:12px;line-height:2;display:flex;flex-wrap:wrap;gap:20px;justify-content:space-between}.guide-footer p{margin:0}.guide-sources{margin-top:36px;border-top:1px solid var(--guide-line);padding-top:18px;font-size:11px;line-height:2}.guide-sources summary{cursor:pointer}.guide-sources a{text-decoration:underline;text-underline-offset:4px}.guide-sources ul{padding-left:20px}
.page-memorial-guide a:focus-visible,.page-memorial-guide summary:focus-visible{outline:2px solid #a37f36;outline-offset:5px}.guide-jumps a:hover,.guide-button:hover{background:#baa77226}
@media(max-width:700px){.guide-hero{padding:40px 7% 48px;min-height:0}.guide-hero:after{background-size:330px;background-position:right -90px center}.guide-hero h1{font-size:37px}.guide-hero p:last-child{font-size:13px}.guide-jumps{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-jumps a{padding:16px 5px;font-size:11px}.guide-jumps a:nth-child(-n+2){border-bottom:1px solid var(--guide-line)}.guide-section{padding:45px 7%}.guide-intro,.guide-apply{grid-template-columns:1fr;gap:22px}.guide-section h2{font-size:28px;line-height:1.7;margin:15px 0 22px}.guide-section p{font-size:14px;line-height:2.1}.guide-year-pair{gap:15px}.guide-year{padding:17px 12px 10px}.guide-year h3{font-size:24px;gap:4px}.guide-year h3 small{font-size:10px}.guide-year table{font-size:12px}.guide-year th,.guide-year td{padding:10px 0}.guide-joint{gap:18px;height:40px}.guide-joint img{width:35px;height:35px}.guide-apply .guide-actions{gap:14px}}
@media(max-width:360px){.guide-year-pair{grid-template-columns:1fr}.guide-hero h1{font-size:33px}}
/* Single-year navigation requested after the initial paired-table study. */
.guide-year-single{width:100%;max-width:900px;margin:30px auto 0}.guide-year-controls{display:grid;grid-template-columns:46px minmax(0,1fr) 46px;gap:15px;align-items:center}.guide-year-controls h3{justify-content:center;text-align:center;font-size:27px;line-height:1.6;margin:0;letter-spacing:.04em}.guide-year-controls button{width:46px;height:46px;border:1px solid var(--guide-line);border-radius:50%;background:transparent;color:#163f43;font-size:14px;cursor:pointer}.guide-year-controls button:hover{background:#163f4310}.guide-year-controls button:disabled{opacity:.35;cursor:default}.guide-year-status{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:18px 0 20px;font-size:11px;color:#586963}.guide-year-status button{font:inherit;color:#163f43;background:transparent;border:0;border-bottom:1px solid var(--guide-line);padding:8px 0;cursor:pointer}.guide-year-status button:disabled{opacity:.5}.page-memorial-guide button:focus-visible{outline:2px solid #a37f36;outline-offset:4px}
@media(max-width:700px){.guide-year-single .guide-year{padding:20px 18px 12px}.guide-year-controls{grid-template-columns:40px minmax(0,1fr) 40px;gap:7px}.guide-year-controls button{width:40px;height:40px}.guide-year-controls h3{font-size:20px}.guide-year-single table{font-size:14px}.guide-year-single th,.guide-year-single td{padding:11px 1px}}
.guide-hero:after{filter:brightness(0) invert(1);opacity:.10}


.guide-joint img{filter:brightness(0) saturate(100%) invert(62%) sepia(22%) saturate(626%) hue-rotate(3deg) brightness(94%) contrast(86%)}

/* Thirteen paired illustrations and descriptions: two editorial columns, one on mobile. */
.guide-illustrated-buddhas{list-style:none;padding:0;margin:36px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 48px}
.guide-illustrated-buddhas>li{min-width:0;border-top:1px solid var(--guide-line);padding-top:22px}
.guide-buddha-figure{margin:0;min-width:0}
.guide-buddha-period{display:flex;align-items:center;gap:12px;margin-bottom:18px;min-width:0}
.guide-buddha-number{font:18px/1.8 Georgia,serif;color:var(--guide-gold)}
.guide-buddha-period .guide-label{font-size:16px;font-weight:500;line-height:1.65;letter-spacing:.02em;padding:6px 12px;border:1px solid #735a32;border-radius:5px;background:#735a32;color:#fff;min-width:0;max-width:100%;overflow-wrap:anywhere}.guide-buddha-number{flex-shrink:0}
.guide-buddha-art{display:flex;align-items:center;justify-content:center;min-width:0;background:linear-gradient(180deg,#f5f0e380,#f5f0e300);padding:12px 15px;box-shadow:inset 0 0 0 2px #ac956480}
.guide-buddha-art img{display:block;width:min(100%,260px);height:auto;aspect-ratio:2/3;object-fit:contain;max-height:390px}
.guide-buddha-figure figcaption{padding-top:22px}
.guide-buddha-figure h3{font-size:25px;line-height:1.6;margin:0 0 4px}
.guide-buddha-figure p.guide-reading{font-size:11px;line-height:1.8;letter-spacing:.06em;color:#586963;margin:0 0 14px}
.guide-buddha-figure figcaption>p:not(.guide-reading){font-size:14px;line-height:2.1;margin:0}
@media(max-width:700px){.guide-illustrated-buddhas{grid-template-columns:1fr;gap:36px;margin-top:28px}.guide-illustrated-buddhas>li{padding-top:20px}.guide-buddha-art{padding:12px 0}.guide-buddha-art img{width:min(100%,280px);max-height:420px}.guide-buddha-figure figcaption{padding-top:18px}.guide-buddha-figure h3{font-size:25px}}

/* Era labels retain the existing two columns; long transition years wrap within the cell. */
.guide-year table{table-layout:fixed}.guide-year thead th:first-child{width:33%}
.guide-death-western{display:inline-block;margin-right:13px;white-space:nowrap}
.guide-death-era{display:inline-flex;flex-wrap:wrap;gap:0 2px;max-width:100%;vertical-align:middle;font-size:11px;line-height:1.8;letter-spacing:.01em;color:#586963}
.guide-death-era>span{display:inline-block;white-space:nowrap}
.guide-death-era-transition{font-size:10px}
@media(max-width:700px){.guide-year thead th:first-child{width:31%}.guide-year-single table thead th{font-size:10px;letter-spacing:0}.guide-death-western{margin-right:8px}.guide-death-era{font-size:11px}}
@media(max-width:440px){.guide-death-era{display:flex;font-size:10px;gap:0}.guide-death-western{margin-right:0}.guide-death-era-transition{font-size:9px}}

/* Deity stays within the existing anniversary column, preserving the era column width. */
.guide-year-deity{display:block;font-size:12px;line-height:1.65;letter-spacing:0;color:#735a32;margin-top:3px;overflow-wrap:anywhere}@media(max-width:700px){.guide-year-deity{font-size:11px}}

/* Mantra reads as a separate recitation line, with natural wrapping. */
.guide-mantra{margin:18px 0 0;padding-top:14px;border-top:1px solid var(--guide-line)}.guide-mantra dt{font-size:11px;letter-spacing:.12em;color:#735a32;margin:0 0 6px}.guide-mantra dd{margin:0;font-size:14px;line-height:1.9;letter-spacing:.04em;color:#163f43;overflow-wrap:anywhere}.guide-mantra dd span{display:inline}

/* Edition79: centered content blocks, unchanged left-aligned prose. */
.guide-anniversary-layout{width:100%;max-width:900px;margin-inline:auto;min-width:0}
.guide-table-intro,.guide-anniversary-layout>.guide-note{max-width:none}
.guide-buddha-intro{max-width:none}
.guide-illustrated-buddhas{max-width:1120px;margin-inline:auto}
.guide-buddha-period,.guide-buddha-art,.guide-buddha-figure figcaption{width:100%;max-width:380px;margin-left:auto;margin-right:auto;box-sizing:border-box}
.guide-year thead th:first-child{width:44%}
.guide-year tbody th{padding-left:12px;padding-right:18px}
.guide-year tbody td{padding-left:18px;padding-right:12px}
.guide-year thead th:first-child{padding-left:12px}
.guide-year thead th:last-child{padding-left:18px}
.guide-death-western{display:block;margin-right:0}
.guide-death-era{display:flex}
@media(max-width:700px){
 .guide-year-single .guide-year{padding:20px 16px 12px}
 .guide-year thead th:first-child{width:46%}
 .guide-year tbody th,.guide-year thead th:first-child{padding-left:0;padding-right:10px}
 .guide-year tbody td,.guide-year thead th:last-child{padding-left:10px;padding-right:0}
 .guide-death-era{font-size:11px;line-height:1.75}
 .guide-death-era-transition{font-size:10px}
 .guide-buddha-period,.guide-buddha-art,.guide-buddha-figure figcaption{max-width:100%}
}

/* Edition80: three aligned columns; no forced stacking of deity or ordinary era. */
.guide-year-single table{font-size:18px;line-height:1.8}
.guide-year-single table thead th{font-size:13px}
.guide-year-single table thead th:first-child{width:23%}
.guide-year-single table thead th:nth-child(2){width:25%}
.guide-year-single table th,.guide-year-single table td{padding:13px 6px;vertical-align:middle;letter-spacing:0}
.guide-year-deity{display:inline;font-size:inherit;line-height:inherit;margin:0;letter-spacing:0}
.guide-death-western{display:inline-block;margin-right:12px;vertical-align:middle}
.guide-death-era{display:inline-flex;font-size:15px;line-height:1.7;gap:0 2px;vertical-align:middle}
.guide-death-era-transition{font-size:14px}
@media(max-width:700px){
 .guide-year-single .guide-year{padding:16px 8px 10px}
 .guide-year-single table{font-size:clamp(12px,3.4vw,14px);line-height:1.7}
 .guide-year-single table thead th{font-size:10px;line-height:1.6}
 .guide-year-single table thead th:first-child{width:25%}
 .guide-year-single table thead th:nth-child(2){width:27%}
 .guide-year-single table th,.guide-year-single table td{padding:10px 1px;letter-spacing:0}
 .guide-year-deity{font-size:inherit}
 .guide-death-western{margin-right:4px}
 .guide-death-era{display:inline-flex;font-size:clamp(10px,2.8vw,12px);line-height:1.7;gap:0}
 .guide-death-era-transition{font-size:10px}
}

/* Edition81: era first, Western year in full-width parentheses. */
.guide-death-era{font-size:inherit}
.guide-death-era-transition{font-size:15px}
.guide-death-western{font-size:15px;margin:0;letter-spacing:0}
@media(max-width:700px){.guide-death-era{font-size:inherit}.guide-death-era-transition{font-size:10px}.guide-death-western{font-size:clamp(10px,2.8vw,12px);margin:0}}

/* Edition82: ordinary guest-hall dining information before application. */
.guide-meal{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:8%;background:#eeeade;border-top:1px solid var(--guide-line)}
.guide-meal-copy{min-width:0;align-self:center;border-left:1px solid #a88c5666;padding-left:30px}
.guide-meal-capacity{display:inline-block;margin-bottom:14px;padding:5px 13px;border-radius:5px;background:#735a32;color:#fff;font-size:14px;line-height:1.7;letter-spacing:.04em}
.guide-meal-copy p{margin:0}
@media(max-width:700px){.guide-meal{grid-template-columns:1fr;gap:10px}.guide-meal-copy{padding-left:18px}.guide-meal h2{margin-bottom:12px}}

/* Approved gold-pigment lotus painting, confined to the memorial hero. */
.page-memorial-guide .guide-hero{min-height:490px;display:flex;align-items:center;padding-top:85px;padding-bottom:85px}
.page-memorial-guide .guide-hero::after{content:none}
.page-memorial-guide .guide-hero-art{position:absolute;inset:0;z-index:-1;pointer-events:none;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 25%,#000 100%);mask-image:linear-gradient(90deg,transparent 0%,#000 25%,#000 100%)}
.page-memorial-guide .guide-hero-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.page-memorial-guide .guide-hero-copy{position:relative;width:50%;text-shadow:0 2px 12px #082a2e}
@media(min-width:701px) and (max-width:1000px){.page-memorial-guide .guide-hero-copy{width:55%}.page-memorial-guide .guide-hero h1{font-size:clamp(33px,4.4vw,44px)}}
@media(max-width:700px){
 .page-memorial-guide .guide-hero{min-height:480px;padding:38px 7% 220px;align-items:flex-start}
 .page-memorial-guide .guide-hero-copy{width:100%}
 .page-memorial-guide .guide-hero h1{font-size:clamp(29px,8.5vw,37px)}
 .page-memorial-guide .guide-hero-art{inset:24% 0 0;opacity:.77;-webkit-mask-image:linear-gradient(180deg,transparent,#000 45%);mask-image:linear-gradient(180deg,transparent,#000 45%)}
 .page-memorial-guide .guide-hero-art img{object-position:75% center}
}

/* Memorial guide: quiet gold-outline application links and an incense vignette. */
.page-memorial-guide .guide-hero-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:480px;margin-top:32px;text-shadow:none}
.page-memorial-guide .guide-hero-actions a{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:58px;padding:14px 18px;border:1px solid #d8c087b3;background:#123b408c;color:#f1dfb3;font-size:15px;line-height:1.7;letter-spacing:.04em;transition:background .2s,border-color .2s}
.page-memorial-guide .guide-hero-actions a span{font-size:17px;color:#d8c087}
.page-memorial-guide .guide-hero-actions a:hover{background:#123b40e8;border-color:#edd6a0}
.page-memorial-guide .guide-hero-actions a:focus-visible{outline:2px solid #edd6a0;outline-offset:4px}
.page-memorial-guide .guide-incense-art{width:min(100%,280px);margin:18px 0 0;mask-image:radial-gradient(ellipse at 50% 52%,#000 43%,#000d 52%,transparent 72%);-webkit-mask-image:radial-gradient(ellipse at 50% 52%,#000 43%,#000d 52%,transparent 72%)}
.page-memorial-guide .guide-incense-art img{display:block;width:100%;height:auto}
@media(min-width:701px) and (max-width:1000px){.page-memorial-guide .guide-hero-actions{grid-template-columns:1fr;max-width:265px;gap:12px;margin-top:24px}.page-memorial-guide .guide-hero-actions a{min-height:52px;font-size:14px}}
@media(max-width:700px){.page-memorial-guide .guide-hero-actions{gap:10px;margin-top:24px}.page-memorial-guide .guide-hero-actions a{min-height:52px;padding:12px 10px;font-size:13px;letter-spacing:0;gap:5px}.page-memorial-guide .guide-hero-actions a span{font-size:14px}.page-memorial-guide .guide-incense-art{width:min(75%,250px);margin:8px auto 0}}
@media(max-width:360px){.page-memorial-guide .guide-hero-actions{grid-template-columns:1fr;max-width:245px;gap:10px}.page-memorial-guide .guide-hero-actions a{font-size:14px;padding-inline:15px}}

/* Four annotated body watermarks only; cropped at the section edges. */
.page-memorial-guide :is(#meaning,#anniversaries,#thirteen-buddhas){position:relative;isolation:isolate;overflow:clip}
.page-memorial-guide :is(#meaning,#anniversaries,#thirteen-buddhas)::before,
.page-memorial-guide #thirteen-buddhas::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:url('assets/floral-line-fill.webp');background-repeat:no-repeat;opacity:.035}
.page-memorial-guide #meaning::before{background-size:620px;background-position:calc(100% + 265px) -95px}
.page-memorial-guide #anniversaries::before{background-size:660px;background-position:-340px 75px;opacity:.032}
.page-memorial-guide #thirteen-buddhas::before{background-size:700px;background-position:calc(100% + 310px) -120px;opacity:.032}
.page-memorial-guide #thirteen-buddhas::after{background-size:650px;background-position:calc(100% + 245px) calc(100% - 160px);opacity:.035}
@media(max-width:700px){
 .page-memorial-guide #meaning::before{background-size:430px;background-position:calc(100% + 245px) -35px;opacity:.03}
 .page-memorial-guide #anniversaries::before{background-size:460px;background-position:-305px 90px;opacity:.028}
 .page-memorial-guide #thirteen-buddhas::before{background-size:470px;background-position:calc(100% + 290px) -70px;opacity:.028}
 .page-memorial-guide #thirteen-buddhas::after{background-size:450px;background-position:calc(100% + 255px) calc(100% - 200px);opacity:.03}
}
