:root {
  --morning: linear-gradient(140deg, #ffe3bf, #ffeecf 45%, #f4f5ff);
  --afternoon: linear-gradient(140deg, #cde8ff, #fdf8df 52%, #f0faff);
  --evening: linear-gradient(140deg, #ffc48e, #b086c8 55%, #6d6db4);
  --night: linear-gradient(140deg, #0d2b59, #1f3d7f 45%, #2f4f94);
}
html { overflow-y: scroll; }
body { background: #faf8f5; }
.navbar .navbar-brand { margin-right: 0; min-width: 188px; display: inline-flex; align-items: center; }
.site-logo-crop { width: 188px; height: 40px; overflow: hidden; display: inline-block; flex: 0 0 188px; }
.site-logo { width: 184px; height: 40px; object-fit: cover; object-position: left center; display: block; transform: translateX(-4px) scale(1.02); transform-origin: left center; }
.landing-hero { min-height: 78vh; background: linear-gradient(135deg, #fff9f1, #e8f4ff); }
.glass-card { background: rgba(255,255,255,.7); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.6); }
.latest-showcase { background: linear-gradient(145deg, rgba(255,255,255,.84), rgba(250,252,255,.9)); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 16px 34px rgba(30,41,59,.08); max-height: 520px; overflow-y: auto; }
.latest-card { display: grid; grid-template-columns: 110px 1fr; gap: .95rem; align-items: center; background: rgba(255,255,255,.92); border: 1px solid rgba(148,163,184,.25); border-radius: 16px; padding: .8rem; }
.latest-primary-photo { width: 110px; height: 110px; object-fit: cover; border-radius: 12px; box-shadow: 0 8px 18px rgba(15,23,42,.18); }
.latest-kicker { color: #6b7280; font-size: .92rem; }
.latest-copy p, .latest-copy h3 { line-height: 1.35; }
.latest-meta-line { font-size: .92rem; line-height: 1.3; }
.latest-meta-date { font-size: 1rem; font-weight: 600; letter-spacing: .01em; }
.latest-bridge-line { margin-bottom: .1rem !important; line-height: 1.15; }
.latest-bridge-date { margin-top: 0; line-height: 1.1; }
.sanctuary-form { background: linear-gradient(160deg, #fff9f2, #f8fbff); }
.mural-thumb { object-fit: cover; height: 180px; }
.mural-scene { min-height: calc(100vh - 64px); position: relative; overflow: hidden; }
.mural-scene.ambience-morning { background: var(--morning); }
.mural-scene.ambience-afternoon { background: var(--afternoon); }
.mural-scene.ambience-evening { background: var(--evening); }
.mural-scene.ambience-night { background: var(--night); }
.sanctuary-wrap { width: 100%; }
.sanctuary-inner { max-width: 1080px; }
.portrait-sanctuary { background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.9); backdrop-filter: blur(5px); box-shadow: 0 20px 50px rgba(40,52,90,.12); }
.portrait-frame { width: min(90vw, 420px); padding: 14px; border-radius: 24px; background: rgba(255,255,255,.58); border: 1px solid rgba(255,255,255,.92); box-shadow: inset 0 0 30px rgba(255,255,255,.6), 0 20px 36px rgba(30,30,40,.18); }
.main-photo { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 18px; box-shadow: 0 0 30px rgba(255,242,195,.8); }
.mural-title { color: #111111; }
.mural-body { color: #1f2937; }
.mural-subtle { color: #374151; }
.visibility-badge { font-size: .85rem; padding: .4rem .8rem; border-radius: 999px; color: #334155; background: rgba(255,255,255,.72); border: 1px solid rgba(148,163,184,.35); }
.remembrance-banner { background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,246,225,.95)); border: 1px solid rgba(251,191,36,.35); color: #92400e; border-radius: 14px; padding: .75rem 1rem; }
.gallery-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; max-height: 430px; overflow: auto; padding-right: .2rem; }
.gallery-thumb-btn { border: 2px solid transparent; border-radius: 14px; padding: 0; background: transparent; }
.gallery-thumb-btn.active { border-color: #0f172a; box-shadow: 0 0 0 2px rgba(15,23,42,.15); }
.gallery-thumb { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 12px; display: block; }
.timeline-card { background: rgba(255,255,255,.8); border: 1px solid rgba(148,163,184,.25); }
.altar-wrap { background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.86); }
.candle-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.candle { width: 20px; height: 70px; background: #fff6dd; border-radius: 8px; position: relative; box-shadow: 0 0 14px rgba(255,210,120,.48); }
.candle::before { content: ''; position: absolute; left: 50%; top: -13px; width: 10px; height: 16px; transform: translateX(-50%); background: radial-gradient(circle at 50% 70%, #ffec9e, #ff9f1c 68%, rgba(255,159,28,.2)); border-radius: 60% 60% 50% 50%; animation: flicker 1.5s infinite ease-in-out; }
.mural-scene.ambience-night .candle { box-shadow: 0 0 22px rgba(255,196,94,.95); }
.mural-scene.ambience-night .candle::before { animation-duration: 1.2s; }
@keyframes flicker { 0%,100% { transform: translateX(-50%) scale(1); opacity: .92; } 50% { transform: translateX(-50%) scale(1.14); opacity: 1; } }
.flower-bed { min-height: 46px; display: flex; gap: .4rem; justify-content: center; flex-wrap: wrap; }
.flower { font-size: 1.35rem; display: inline-block; animation: bloom .35s ease-out; }
@keyframes bloom { from { transform: scale(.5); opacity: .2; } to { transform: scale(1); opacity: 1; } }
.particles { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.45) 1px, transparent 1px); background-size: 28px 28px; animation: drift 28s linear infinite; opacity: .35; }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-28px); } }
.weather-overlay { position: absolute; inset: 0; pointer-events: none; opacity: .16; }
.weather-clear { background: radial-gradient(circle at 20% 12%, #fff9cf 0, transparent 30%); opacity: .35; }
.weather-clouds { background: repeating-linear-gradient(45deg, rgba(255,255,255,.6) 0 2px, transparent 2px 12px); }
.weather-rain { background: repeating-linear-gradient(110deg, rgba(197,222,255,.8) 0 2px, transparent 2px 10px); animation: rain 1s linear infinite; }
@keyframes rain { from { background-position: 0 0; } to { background-position: 0 24px; } }
.weather-mist { background: radial-gradient(circle at 70% 30%, rgba(255,255,255,.7), transparent 60%); }
.memory-wall { background: rgba(255,255,255,.86); border: 1px solid rgba(255,255,255,.95); }
.wall-message { background: rgba(255,255,255,.94); border-radius: 12px; padding: .75rem .9rem; border: 1px solid rgba(148,163,184,.2); }
@media (max-width: 991px) {
  .sanctuary-inner { padding-left: 1rem; padding-right: 1rem; }
  .latest-card { grid-template-columns: 1fr; }
  .latest-primary-photo { width: 100%; height: 230px; }
}
