/* One grid for both inner pages. Surfaces span the viewport; only content is inset. */
body:is([data-page=culture],[data-page=volunteer]){--page-inset:max(6.5%,calc((100% - 1440px)/2));margin:0;background:var(--paper)}
body:is([data-page=culture],[data-page=volunteer]) main{width:100%;max-width:none;margin:0;padding-inline:0}
.linkma-inner-hero,.volunteer-page .volunteer-hero{max-width:none;padding-inline:var(--page-inset);box-sizing:border-box}
.culture-v12 .culture-reading-layout,.culture-v12 .culture-article{width:100%;max-width:none;margin:0;padding:0}
.culture-v12 .culture-wayfinding{width:100%;margin:0;padding:0 var(--page-inset);box-sizing:border-box;background:var(--brand-pale);backdrop-filter:none;border-color:var(--line)}
.culture-v12 .culture-contents{background:transparent;border:0;padding:0}
.culture-v12 .culture-contents ol{max-width:none;margin-inline:-16px;justify-content:space-between;gap:12px}
.culture-v12 .culture-chapter,.culture-v12 #mazu-person{width:100%;padding:0;min-height:0;box-sizing:border-box}
.culture-v12 .culture-chapter-inner{position:relative;margin-inline:var(--page-inset);padding-block:64px}
.culture-v12 #mazu-person .culture-chapter-inner{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);column-gap:7%;align-items:start}
.culture-v12 #mazu-person .culture-chapter-inner>*{grid-column:1}
.culture-v12 #mazu-person .culture-chapter-inner>.culture-person-photo{position:static;grid-column:2;grid-row:1/span 12;width:100%;margin:0}
.volunteer-page .volunteer-local-nav{box-sizing:border-box;padding-inline:var(--page-inset);justify-content:space-between;background:var(--brand-pale)}
.volunteer-page .volunteer-local-nav a:first-child{margin-left:-16px}.volunteer-page .volunteer-local-nav a:last-child{margin-right:-16px}
.volunteer-page :is(.volunteer-contributions,.volunteer-section,.volunteer-application){width:100%;max-width:none;margin-inline:0;padding-inline:var(--page-inset);box-sizing:border-box}
.hero-motion-art{display:block;width:100%;height:auto;aspect-ratio:1;overflow:visible;grid-column:2;grid-row:1;max-height:590px;mix-blend-mode:normal}
.linkma-hero-art .hero-motion-art{max-height:none}
.hero-motion-art .motion-cloud{animation:inner-cloud-drift 12s ease-in-out infinite alternate;transform-box:view-box}
.hero-motion-art .motion-cloud:nth-of-type(even){animation-duration:15s;animation-delay:-5s}
.hero-motion-art .motion-bird{animation:inner-bird-glide 7s ease-in-out infinite alternate;transform-box:view-box}
.hero-motion-art .motion-bird:nth-of-type(even){animation-delay:-3s;animation-duration:9s}
.hero-motion-art .dragon-head{transform-origin:25% 78%;animation:inner-dragon-look 9s cubic-bezier(.45,0,.55,1) infinite}
.hero-motion-art .dragon-tail{transform-origin:87% 87%;animation:inner-dragon-tail 6.7s ease-in-out infinite alternate}
.hero-motion-art[data-paused] *{animation-play-state:paused!important}
@keyframes inner-cloud-drift{from{transform:translate(-3px,0)}to{transform:translate(6px,-3px)}}
@keyframes inner-bird-glide{from{transform:translate(-4px,3px) rotate(-.4deg)}to{transform:translate(5px,-4px) rotate(.5deg)}}
@keyframes inner-dragon-look{0%,100%{transform:rotate(0)}28%{transform:rotate(-.65deg)}58%{transform:rotate(.5deg)}78%{transform:rotate(.15deg)}}
@keyframes inner-dragon-tail{from{transform:rotate(-.8deg)}to{transform:rotate(.9deg)}}
@media(max-width:900px){body:is([data-page=culture],[data-page=volunteer]){--page-inset:6%}.culture-v12 .culture-contents ol{margin:0;gap:4px 12px}.culture-v12 .culture-contents a{justify-content:flex-start}.culture-v12 #mazu-person .culture-chapter-inner{display:block}.culture-v12 #mazu-person .culture-person-photo{max-width:560px;margin:24px 0}.hero-motion-art{grid-column:1;grid-row:2;max-width:560px;max-height:none;margin:auto}.culture-v12 .culture-chapter-inner{padding-block:42px}}
@media(max-width:600px){.volunteer-page .volunteer-local-nav{gap:6px 12px;justify-content:flex-start}.volunteer-page .volunteer-local-nav a:first-child,.volunteer-page .volunteer-local-nav a:last-child{margin:0}.volunteer-page .volunteer-local-nav a{padding-inline:0!important}.culture-v12 .culture-contents ol{grid-template-columns:repeat(2,minmax(0,1fr))}.culture-v12 .culture-contents a{padding-inline:0!important}.culture-v12 .culture-chapter h2{font-size:28px}}
@media(prefers-reduced-motion:reduce){.hero-motion-art *{animation:none!important}}

/* Seam-safe internal deformation: joints remain registered to the waves. */
.hero-motion-art :is(.dragon-head,.dragon-tail){animation:none;transform:none}

.linkma-hero-art .hero-motion-art{max-height:590px}

/* Sky motion has a visible travel distance; the dragon is never segmented. */
.hero-motion-art .motion-cloud{animation:inner-cloud-travel 9s ease-in-out infinite alternate;animation-delay:calc(var(--sky-index) * -2.7s);transform-box:view-box}
.hero-motion-art .motion-cloud[style*="1"]{animation-duration:11s}
.hero-motion-art .motion-cloud[style*="2"]{animation-duration:10s}
.hero-motion-art .motion-bird{animation:inner-bird-flight 6s ease-in-out infinite alternate;animation-delay:calc(var(--sky-index) * -3s);transform-box:view-box}
.hero-motion-art .motion-bird[style*="1"]{animation-duration:7.5s}
@keyframes inner-cloud-travel{0%{transform:translate(-80px,8px)}50%{transform:translate(0,-15px)}100%{transform:translate(95px,2px)}}
@keyframes inner-bird-flight{0%{transform:translate(-100px,18px) rotate(-3deg)}50%{transform:translate(5px,-25px) rotate(0deg)}100%{transform:translate(125px,-8px) rotate(3deg)}}
@media(max-width:900px){.hero-motion-art .cloud-placement-0{transform:translate(-260px,130px)}.hero-motion-art .cloud-placement-1{transform:translate(40px,-25px)}}
@media(prefers-reduced-motion:reduce){.hero-motion-art .motion-cloud,.hero-motion-art .motion-bird{animation:none}}

/* Keep all clouds beside the illustration; birds fly in a lower, separate lane. */
@media(max-width:900px){.hero-motion-art .cloud-placement-0{transform:translate(-180px,-25px)}.hero-motion-art .cloud-placement-1{transform:translate(370px,10px)}.hero-motion-art .bird-placement-0{transform:translate(100px,220px)}.hero-motion-art .bird-placement-1{transform:translate(-60px,310px)}}

/* Use the homepage navigation tokens and button weight on both inner pages. */
body:is([data-page=culture],[data-page=volunteer]) .site-header nav a{border-width:var(--ui-stroke)}
body:is([data-page=culture],[data-page=volunteer]) .site-header nav a:hover{background:var(--ui-pale-hover);border-color:transparent}
body:is([data-page=culture],[data-page=volunteer]) .site-header nav a[aria-current]{background:var(--ui-yellow);border-color:var(--ui-gold);box-shadow:0 3px 0 var(--ui-gold)}
body:is([data-page=culture],[data-page=volunteer]) .primary-button,body:is([data-page=culture],[data-page=volunteer]) .primary-button span{font-weight:700!important}
.interest-control{position:relative;min-width:0}
.interest-control select[hidden]{display:none!important}
body[data-page=volunteer] .interest-trigger{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:52px;padding:12px 16px;border:1px solid var(--brand-edge);border-radius:6px;background:var(--brand-field);color:#332c21;text-align:left;font:inherit;cursor:pointer}
.interest-trigger .language-chevron{flex:0 0 16px;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;transition:transform 180ms}
.interest-trigger[aria-expanded=true] .language-chevron{transform:rotate(180deg)}
body[data-page=volunteer] .interest-trigger:hover{border-color:var(--ui-gold)}
body[data-page=volunteer] .interest-trigger:focus-visible{outline:2px solid var(--ui-gold);outline-offset:2px;background:#fff}
.interest-menu{width:100%;min-width:0;max-height:320px;overflow-y:auto;overscroll-behavior:contain}
.interest-menu[hidden]{display:none}
.interest-menu button .interest-option-label{visibility:visible;flex:1;min-width:0}
.interest-menu button:focus-visible{outline:2px solid var(--ui-gold);outline-offset:-2px;background:var(--ui-pale-hover)}
