:root{--ink:#1d2b26;--muted:#5c665f;--teal:#0c3b2e;--teal2:#14532d;--gold:#b8912a;--gold2:#c9a227;--bg:#fef9e9;--card:#f2f3db;--line:#ddd3a8;--radius:16px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--ink);background:var(--bg);line-height:1.65}h1,h2,h3{font-family:Fraunces,Georgia,serif;line-height:1.08;color:var(--teal);margin:.35em 0;font-weight:700}h1{font-size:clamp(2.4rem,5.5vw,4.2rem)}h2{font-size:clamp(1.6rem,3vw,2.3rem);margin-top:1.6em}h3{font-size:1.25rem}a{color:var(--teal2)}.skip{position:absolute;left:-999px}.skip:focus{left:1rem;top:1rem;background:#fff;padding:.6rem 1rem;z-index:99}.wrap{max-width:1240px;margin:0 auto;padding:0 24px}header.site{position:sticky;top:0;background:#fef9e9;border-bottom:1px solid var(--line);z-index:50}.header-in{display:flex;align-items:center;gap:1.4rem;padding:.65rem 0}.logo{display:flex;align-items:center;gap:.55rem;text-decoration:none;color:var(--teal);font-weight:700;font-size:1.45rem;font-family:Fraunces,Georgia,serif;white-space:nowrap}.logo b{color:var(--gold);font-weight:700}.logo img{width:44px;height:44px}nav.main{display:flex;flex-wrap:wrap;gap:1.15rem;margin-left:1.2rem;padding-left:1.4rem;border-left:1px solid var(--line)}nav.main a{color:var(--ink);text-decoration:none;font-size:.98rem;font-weight:500}.explore{margin-left:auto;background:var(--teal);color:#fff!important;padding:.65rem 1.3rem;border-radius:999px;font-weight:700;text-decoration:none;white-space:nowrap}.hero-home{display:grid;grid-template-columns:1.05fr .95fr;gap:2rem;align-items:center;padding:2.6rem 0 0}.hero-home .lead{font-size:1.25rem;color:#33413a;max-width:540px;font-family:Fraunces,Georgia,serif}.pill{display:inline-block;border:1.5px solid var(--gold);color:#6d5710;padding:.35rem 1rem;border-radius:999px;font-size:.82rem;letter-spacing:.12em;font-weight:600;background:#fffdf4}.btnrow{display:flex;gap:1rem;flex-wrap:wrap;margin-top:1.4rem}.btn-dark{background:var(--teal);color:#fff;padding:.9rem 1.7rem;border-radius:999px;font-weight:700;text-decoration:none}.btn-light{background:transparent;color:var(--teal);padding:.9rem 1.7rem;border-radius:999px;font-weight:700;text-decoration:none;border:1.5px solid var(--gold)}.hero-img{width:100%;height:auto;border-radius:12px;display:block}.trust{display:grid;grid-template-columns:1fr 1fr 1fr;text-align:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:2rem;padding:1rem 0;font-size:1.05rem}.trust div+div{border-left:1px solid var(--line)}.trust .ic{display:inline-flex;width:42px;height:42px;border-radius:50%;background:#e7ead0;align-items:center;justify-content:center;margin-right:.5rem;vertical-align:middle;font-size:1.1rem}.section-head{text-align:center;margin-top:2.2rem}.section-head h2{display:flex;align-items:center;gap:1rem;justify-content:center}.section-head h2:before,.section-head h2:after{content:"";height:2px;width:90px;background:var(--gold);display:inline-block}.section-head p{font-family:Fraunces,Georgia,serif;font-size:1.15rem;color:#33413a;margin:.2rem}.answer{background:#fff;border:2px solid var(--gold2);border-radius:var(--radius);padding:1.1rem 1.3rem;margin:1.4rem 0}.answer strong{color:var(--teal)}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.1rem;margin:1.5rem 0}.grid4{grid-template-columns:repeat(4,1fr)}.card{background:var(--card);border:1px solid var(--gold);border-radius:var(--radius);padding:1.4rem 1.2rem;text-decoration:none;color:var(--ink);display:block;text-align:center}.card:hover{box-shadow:0 10px 30px rgba(12,59,46,.10)}.card .icon{font-size:2rem}.card h3{margin:.4rem 0}.card .open{color:var(--teal);font-weight:700;border-bottom:2px solid var(--gold);text-decoration:none}.calc{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.4rem;margin:1.5rem 0}label{display:block;font-weight:600;margin:.8rem 0 .25rem}input,select{width:100%;padding:.75rem;border:1px solid #cfc7a8;border-radius:10px;font-size:1rem;background:#fff}.row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}button,.btn{background:var(--teal);color:#fff;border:0;padding:.85rem 1.4rem;border-radius:999px;font-weight:700;cursor:pointer;font-size:1rem;margin-top:1rem;display:inline-block;text-decoration:none}.result{background:#eef7f2;border:1px solid #bfe3cf;border-radius:12px;padding:1rem 1.2rem;margin-top:1.2rem;font-size:1.05rem}.result:empty{display:none}table{width:100%;border-collapse:collapse;margin:1rem 0}th,td{border:1px solid var(--line);padding:.6rem;text-align:left}th{background:#faf3d7}details{background:#fff;border:1px solid var(--line);border-radius:12px;padding:.9rem 1.1rem;margin:.6rem 0}summary{font-weight:700;cursor:pointer;color:var(--teal)}.locbar{background:var(--card);border:1px solid var(--gold);border-radius:999px;display:flex;align-items:center;gap:1rem;padding:.7rem .8rem .7rem 1.4rem;margin:1.6rem auto;max-width:980px;flex-wrap:wrap}.locbar strong{font-family:Fraunces,Georgia,serif;color:var(--teal);font-size:1.1rem}.locbar input{flex:1;border:0;border-radius:999px;padding:.8rem 1.1rem;min-width:200px}.locbar button{margin:0}footer.site{background:var(--teal);color:#eaf3f0;margin-top:3rem;padding:2.5rem 0}footer.site a{color:#f3d97b}.small{font-size:.9rem;color:var(--muted)}footer .small{color:#bcd}.breadcrumb{font-size:.9rem;color:var(--muted);padding-top:1rem}.compass{width:220px;height:220px;border-radius:50%;border:8px solid var(--teal);margin:1rem auto;position:relative;background:#fff}.needle{position:absolute;left:50%;top:50%;width:4px;height:90px;background:var(--gold2);transform-origin:50% 100%;margin-left:-2px;margin-top:-90px}.sources{background:#fff;border:1px solid var(--line);border-radius:12px;padding:1rem 1.3rem}@media(max-width:900px){.hero-home{grid-template-columns:1fr}.grid4{grid-template-columns:repeat(2,1fr)}nav.main{display:none}.trust{grid-template-columns:1fr}.trust div+div{border-left:0}}@media(max-width:560px){.grid4{grid-template-columns:1fr}}.logo-text{font-family:Fraunces,Georgia,serif;letter-spacing:.01em}nav.main a{font-family:Fraunces,Georgia,serif;font-size:1.07rem;color:#22312b;font-weight:500}nav.main{gap:1.3rem}.explore{font-family:Inter,system-ui,sans-serif;font-size:.98rem}.hero-full{position:relative;width:100vw;left:50%;transform:translateX(-50%);background:url('/assets/hero-main.jpg') center/cover no-repeat;border-bottom:1px solid var(--line)}.hero-text{max-width:1240px;margin:0 auto;padding:2.6rem 24px 9rem}.hero-text .inner{max-width:580px}.hero-full h1{font-size:clamp(3rem,5.4vw,4.7rem);color:#0a3a2a;margin:.55em 0 .4em}.hero-full .lead{font-family:Fraunces,Georgia,serif;font-size:1.32rem;line-height:1.5;color:#26332d;max-width:530px}.hero-full .pill{background:rgba(255,253,244,.85)}.trust{margin-top:0;border-top:0}.ic img{width:24px;height:24px;display:block}.tool-icon{width:56px;height:56px}.card .tool-icon{margin:0 auto}.pin-ic{display:inline-flex;width:42px;height:42px;border-radius:50%;background:#e9ecd2;align-items:center;justify-content:center;flex:none}.pin-ic img{width:22px;height:22px}.locbar input{background:#fff}@media(max-width:900px){.hero-text{padding:2rem 20px 11rem}.hero-full{background-position:62% center}}.card{padding:1.15rem 1.1rem}.hero-text{padding-bottom:7.5rem}.wrap{max-width:1500px}header.site{border-bottom:1px solid #d8c690}.header-in{padding:.85rem 0;gap:1.6rem}.logo img{width:58px;height:58px}.logo{font-size:2rem}nav.main{gap:1.7rem;margin-left:1.4rem;padding-left:1.9rem}nav.main a{font-size:1.28rem}.explore{padding:.85rem 1.7rem;font-size:1.06rem}.hero-text{max-width:1500px;padding:2.5rem 24px 4.4rem}.hero-text .inner{max-width:650px}.hero-full h1{font-size:clamp(3.4rem,5.6vw,5.9rem);line-height:1.03}.hero-full .lead{font-size:1.45rem;max-width:575px}.hero-full .pill{font-size:.92rem;padding:.5rem 1.15rem}.btn-dark,.btn-light{padding:1rem 1.95rem;font-size:1.07rem}.trust{font-size:1.13rem;padding:1.2rem 0}.trust .ic{width:52px;height:52px}.ic img{width:27px;height:27px}.section-head h2:before,.section-head h2:after{width:150px}.section-head p{font-size:1.32rem}.card{padding:1.5rem 1.2rem 1.6rem}.card h3{font-size:1.55rem}.tool-icon{width:60px;height:60px}.locbar strong{font-size:1.45rem}.locwrap{position:relative}.skyline{position:absolute;bottom:-12px;width:250px;opacity:.55;z-index:0;pointer-events:none}.skyline.left{left:-78px}.skyline.right{right:-78px;transform:scaleX(-1)}.locbar{position:relative;z-index:1}@media(max-width:900px){.skyline{display:none}}.hero-full{background-position:center top}.hero-text{padding:1.9rem 24px 1.4rem}.hero-full h1{margin:.38em 0 .3em}.hero-full .lead{margin:.35em 0}.btnrow{margin-top:1.1rem}.hero-text{padding-top:1.6rem;padding-bottom:3rem}.hero-full h1{font-size:clamp(3.2rem,5.2vw,5.5rem)}.hero-full{background:#fef9e9;overflow:hidden}.hero-bg{position:absolute;top:0;right:0;height:100%;width:auto;max-width:none;z-index:0;-webkit-mask-image:linear-gradient(to right,transparent 0,#000 14%);mask-image:linear-gradient(to right,transparent 0,#000 14%)}.hero-text{position:relative;z-index:1}@media(max-width:900px){.hero-bg{opacity:.45;right:-260px}}.hero-full{background:url('/assets/hero-main.jpg') center/cover no-repeat}.hero-bg{display:none}.wrap{max-width:1460px}.header-in{gap:1.1rem;padding:.6rem 0}.logo img{width:46px;height:46px}.logo{font-size:1.55rem}nav.main{gap:1.05rem;margin-left:.9rem;padding-left:1.1rem;flex-wrap:nowrap;white-space:nowrap}nav.main a{font-size:1.02rem}.explore{padding:.62rem 1.25rem;font-size:.95rem;margin-left:auto}.hero-text{padding:2.6rem 24px 3rem}.hero-text .inner{max-width:800px}.hero-full h1{font-size:clamp(2.9rem,4.3vw,4.7rem);line-height:1.05}.hero-full .lead{font-size:1.22rem;max-width:560px}.hero-full .pill{font-size:.8rem;padding:.42rem 1rem}.btn-dark,.btn-light{padding:.8rem 1.55rem;font-size:1rem}.trust{font-size:1rem;padding:.9rem 0}.trust .ic{width:44px;height:44px}.ic img{width:22px;height:22px}section.block{padding:2.6rem 0}.section-head h2{font-size:2.35rem}.section-head h2:before,.section-head h2:after{width:110px}.section-head p{font-size:1.12rem}.card{padding:1.25rem 1.05rem 1.35rem}.card h3{font-size:1.32rem}.tool-icon{width:50px;height:50px}.card p{font-size:.95rem}.card .open{font-size:.95rem}.locbar strong{font-size:1.25rem}article h1{font-size:clamp(2rem,3.4vw,2.9rem)}footer.site{font-size:.95rem}@media(max-width:1240px){nav.main{gap:.8rem}nav.main a{font-size:.95rem}.logo{font-size:1.4rem}}@media(max-width:900px){.hero-full{background-position:76% center}.btn-light{background:rgba(254,249,233,.92)}}.hero-full h1{font-family:'Playfair Display','Fraunces',Georgia,serif;font-weight:600;letter-spacing:-.01em}
/* ===== v16 mobile layout: de-boxed (desktop unchanged) ===== */
section[id]{scroll-margin-top:84px}
@media (max-width:900px){
 .wrap{padding:0 16px}
 .hero-text{padding:1.7rem 16px 2.1rem}
 .hero-full h1{font-size:2.5rem}
 .hero-full .lead{font-size:1.08rem;line-height:1.5}
 .btnrow{gap:.7rem;margin-top:1rem}
 .btn-dark,.btn-light{padding:.8rem 1.3rem;font-size:.98rem}
 .trust{grid-template-columns:repeat(3,1fr);font-size:.78rem;line-height:1.35;padding:.75rem 0;gap:.35rem}
 .trust div+div{border-left:1px solid var(--line)}
 .trust .ic{width:34px;height:34px;margin-right:.25rem}
 .trust .ic img{width:19px;height:19px}
 section.block{padding:1.7rem 0}
 .section-head{margin-top:1.4rem}
 .section-head h2{font-size:1.8rem}
 .section-head h2:before,.section-head h2:after{display:none}
 .section-head p{font-size:1rem}
 .grid:has(> a.card){grid-template-columns:1fr 1fr;gap:.8rem;margin:1.1rem 0}
 .grid:has(> a.card) .card{padding:.95rem .65rem 1.05rem;border-radius:14px}
 .grid:has(> a.card) .card h3{font-size:1.04rem;margin:.3rem 0 .2rem}
 .grid:has(> a.card) .card p{font-size:.83rem;line-height:1.45;margin:.2rem 0 .45rem}
 .grid:has(> a.card) .tool-icon{width:40px;height:40px}
 .grid:has(> a.card) .card .open{font-size:.87rem}
 .card{padding:1.05rem 1rem 1.15rem}
 .answer{padding:1rem 1.05rem;margin:1.1rem 0}
 .calc{padding:1.05rem;margin:1.1rem 0}
 #prayer-tool .row{grid-template-columns:1fr 1fr;gap:.8rem}
 #prayer-tool label{margin:.45rem 0 .2rem;font-size:.94rem}
 #prayer-tool .row > div:has(> select){grid-column:1/-1}
 input,select{padding:.68rem}
 .locbar{border-radius:20px;padding:.95rem 1rem;gap:.7rem;margin:1.2rem auto}
 .locbar strong{font-size:1.12rem;flex:1}
 .locbar input{min-width:0;flex:1 1 100%}
 .locbar button{width:100%;margin:0}
 table{font-size:.93rem}
 th,td{padding:.48rem}
 details{padding:.8rem .95rem}
 footer.site{padding:2rem 0;margin-top:2.2rem}
}
@media (max-width:380px){
 .hero-full h1{font-size:2.25rem}
 .grid:has(> a.card) .card p{display:none}
 .grid:has(> a.card) .card h3{font-size:.98rem}
}

/* ===== v17 mobile hero: complete panorama, buttons on solid cream ===== */
@media (max-width:900px){
 .hero-full{background:var(--bg);display:flex;flex-direction:column}
 .hero-text{padding:1.6rem 16px 1.3rem}
 .hero-full::after{content:"";display:block;width:100%;aspect-ratio:1058/700;background:url('/assets/hero-mobile.jpg') center/cover no-repeat}
}

@media (max-width:1240px){.locwrap{overflow:hidden}}

/* ===== v17 small-phone header: fits 360px, nothing off-screen ===== */
@media (max-width:480px){
 .header-in{gap:.5rem;padding:.55rem 0}
 .logo{font-size:1.08rem;gap:.4rem;min-width:0}
 .logo img{width:33px;height:33px}
 .explore{padding:.52rem .85rem;font-size:.85rem;flex:none}
}

/* ===== v18 mobile: flat calculators (no fixed box) + trust strip tidy ===== */
@media (max-width:900px){
 .calc{background:transparent;border:0;border-radius:0;padding:.2rem 0 0}
 #prayer-tool .result{border:0}
 .trust{align-items:stretch}
 .trust>div{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:.35rem;text-align:center;padding:0 .25rem}
 .trust .ic{margin:0}
}

/* ===== v19 mobile: compact content tables (festival calendar, date guides) ===== */
@media (max-width:900px){
 table{font-size:.87rem;line-height:1.35}
 th,td{padding:.5rem .55rem}
 .result table{font-size:.95rem;line-height:1.45}
 .result table th,.result table td{padding:.55rem .7rem}
}
