/* Cut-paper hill edge where two dark sections meet */
.cut-top{position:relative;z-index:1}
.cut-top::before,.cut-top::after{content:"";position:absolute;left:0;right:0;height:52px;pointer-events:none;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0,60 L0,34 C120,10 240,8 360,26 C480,44 600,46 720,30 C840,14 960,6 1080,22 C1200,38 1320,42 1440,24 L1440,60 Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0,60 L0,34 C120,10 240,8 360,26 C480,44 600,46 720,30 C840,14 960,6 1080,22 C1200,38 1320,42 1440,24 L1440,60 Z'/%3E%3C/svg%3E") center/100% 100% no-repeat}
.cut-top::before{top:-54px;background:var(--gold);opacity:.7}
.cut-top::after{top:-51px;background:var(--edge,var(--lapis))}
@media (max-width:620px){.cut-top::before,.cut-top::after{height:30px}.cut-top::before{top:-31.5px}.cut-top::after{top:-29px}}

/* Site footer (shared by every page) */
.site-footer{background:var(--lapis-deep);color:var(--text-dim);padding:4.5rem 0 2rem;margin-top:0;font-size:.95rem;--edge:var(--lapis-deep)}
.foot-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:2.5rem 2rem}
.foot-logo{display:inline-flex;align-items:center;gap:.75rem;text-decoration:none;font:400 1.35rem/1 var(--serif);color:var(--parchment)}
.foot-logo img{width:44px;height:44px}
.foot-brand p{margin:1rem 0 0;max-width:22rem;line-height:1.55}
.foot-col h2{font:400 1.1rem/1.2 var(--serif);color:var(--gold-pale);margin:.35rem 0 1rem}
.foot-col ul{list-style:none;margin:0;padding:0;display:grid;gap:.65rem}
.foot-col a{color:var(--text-dim);text-decoration:none;display:inline-flex;align-items:center;gap:.55rem}
.foot-col a:hover{color:var(--parchment);text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:.25em}
.foot-col svg{width:18px;height:18px;fill:var(--gold);flex:none}
.foot-col a.link-ico-sm{vertical-align:top}
.foot-col svg.ico-sm{width:14px;height:14px}
.foot-prayer{margin-top:3.5rem;padding:2.2rem 0;border-top:1px solid rgba(217,169,59,.35);border-bottom:1px solid rgba(217,169,59,.35);text-align:center}
.foot-prayer svg{width:18px;height:24px;fill:var(--gold);display:block;margin:0 auto .9rem}
.foot-prayer p{font:400 clamp(1.15rem,2.2vw,1.45rem)/1.4 var(--serif);color:var(--parchment);margin:0}
.foot-base{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding-top:1.4rem;font-size:.85rem}
.foot-base a{color:var(--gold-pale);text-decoration:none;font-weight:600}
.foot-base a:hover{text-decoration:underline}
@media (max-width:860px){.foot-grid{grid-template-columns:1fr 1fr}.foot-brand{grid-column:1/-1}}
@media (max-width:420px){.site-footer{padding-top:3.5rem}}
@media (max-width:340px){.foot-grid{grid-template-columns:1fr}}

/* Phone menu (Robert, Nov 1): three gold lines beside Shop on phones; opens a panel with the menu links. Built by js/menu.js */
.menu-li{display:none}
.has-menu{position:relative}
.menu-btn{display:grid;place-items:center;align-content:center;gap:5px;width:44px;height:44px;margin:-2px 0;padding:0;border:0;border-radius:10px;background:transparent;cursor:pointer}
.menu-btn span{display:block;width:24px;height:2.5px;border-radius:2px;background:var(--gold,#d9a93b);transition:transform .2s,opacity .2s}
.menu-btn:hover{background:rgba(217,169,59,.12)}
.menu-btn:focus-visible{outline:2px solid var(--gold-pale,#f1cf74);outline-offset:2px}
.menu-open .menu-btn span:nth-child(1){transform:translateY(7.5px) rotate(45deg)}
.menu-open .menu-btn span:nth-child(2){opacity:0}
.menu-open .menu-btn span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg)}
.phone-menu{position:absolute;top:100%;left:-1rem;right:-1rem;z-index:60;background:#14204a;border-top:1px solid rgba(217,169,59,.3);border-bottom:2px solid var(--gold,#d9a93b);box-shadow:0 14px 28px rgba(5,10,30,.45)}
.phone-menu[hidden]{display:none}
.nav .phone-menu ul{display:block;list-style:none;margin:0;padding:.35rem 0 .6rem}
.phone-menu li+li{border-top:1px solid rgba(217,169,59,.14)}
.phone-menu a{display:flex;align-items:center;min-height:48px;padding:0 1.5rem;font:600 1.05rem/1.2 "Figtree",system-ui,sans-serif;color:#f2e8d2;text-decoration:none}
.phone-menu a:hover,.phone-menu a:focus-visible{background:rgba(217,169,59,.1);color:#f1cf74}
.phone-menu a:focus-visible{outline:2px solid #f1cf74;outline-offset:-2px}
.phone-menu a[aria-current="page"]{color:#f1cf74}
@media (max-width:640px){.menu-li{display:block}.nav ul{gap:.4rem}}
@media (min-width:641px){.phone-menu{display:none!important}}
@media (prefers-reduced-motion:reduce){.menu-btn span{transition:none}}
/* Narrow phones: keep "Sacred Wonder" on one line next to the menu button and Shop */
@media (max-width:640px){.brand{white-space:nowrap}}
@media (max-width:400px){.nav{gap:.6rem}.brand{font-size:1.05rem;gap:.5rem}.nav .btn{padding:.6rem .95rem}}
@media (max-width:340px){.brand{font-size:.92rem;gap:.45rem}.nav .btn{padding:.6rem .8rem}.nav ul{gap:.3rem}}

/* Skip link (Nov 2026): hidden until a keyboard user tabs to it, then shown at the top left */
.skip-link{position:absolute;left:1rem;top:-4rem;z-index:100;background:var(--gold,#d9a93b);color:var(--ink,#1b2a55);font:600 1rem/1 "Figtree",system-ui,sans-serif;padding:.85rem 1.1rem;border-radius:999px;text-decoration:none;transition:top .15s}
.skip-link:focus{top:1rem;outline:3px solid var(--parchment,#f2e8d2);outline-offset:2px}
@media (prefers-reduced-motion:reduce){.skip-link{transition:none}}
main:focus{outline:none}
