:root { color:#552e21; background:#fbf4e6; color-scheme:light; font-family:Georgia,'Times New Roman',serif; --text-relief:0 -1px 0 #fffdf4, 0 1px 0 #ad7e5b, 0 2px 2px #6b3e2430; }
* { box-sizing:border-box; }
body { margin:0; text-shadow:var(--text-relief); background:radial-gradient(ellipse at 50% 20rem,#fffaf1,transparent 36rem),linear-gradient(#f5e5ca,#fdf7ec 54rem); }
main { width:min(100% - 2rem,62rem); margin:auto; text-align:center; }
header { padding-top:clamp(1.2rem,5vw,2.7rem); }
.ornament { display:flex; align-items:center; justify-content:center; gap:1rem; color:#895529; font-size:1.4rem; font-family:'Noto Sans Devanagari','Nirmala UI',Mangal,sans-serif; }
.ornament::before,.ornament::after { content:''; height:1px; width:min(17vw,5rem); background:#b58447; }
h1,h2 { font-weight:600; letter-spacing:-.02em; text-shadow:0 -1px 0 #fffdf4, 0 1px 0 #a8744b, 0 2px 0 #bb8b65, 0 3px 4px #6b3e2445; }
h1 { font-size:clamp(1.9rem,6vw,3.55rem); line-height:1.06; margin:.52rem 0 1.6rem; }
h2 { font-size:clamp(1.6rem,4vw,2.35rem); margin:.45rem 0; }
.frame { width:min(100%,26rem); margin:auto; padding:7px; border-radius:45% 45% 1rem 1rem / 25% 25% 1rem 1rem; background:linear-gradient(125deg,#8f5427,#dbab53 16%,#fff1b3 31%,#bb8132 48%,#a76b28 71%,#f6d688 90%,#9a5927); border:1px solid #996227; box-shadow:inset 0 0 0 2px #f7e0a0,0 13px 28px #66371829; }
.portrait { aspect-ratio:1080/1320; position:relative; overflow:hidden; isolation:isolate; perspective:650px; border:1px solid #7f4921; border-radius:inherit; background:#e3b85e; }
.portrait img { display:block; width:100%; height:auto; }
#deity,#petals { position:absolute; inset:0; pointer-events:none; }
#deity { transform-origin:51% 61%; opacity:0; }
#deity img { clip-path:polygon(45% 0,62% 0,65% 5%,69% 11%,72% 20%,71% 26%,70% 28%,75% 27%,80% 31%,84% 36%,89% 42%,94% 50%,95% 57%,87% 64%,81% 68%,73% 72%,66% 75%,57% 76%,45% 75%,35% 73%,27% 74%,17% 76%,13% 73%,14% 65%,13% 58%,14% 48%,16% 40%,21% 36%,25% 34%,27% 29%,34% 27%,39% 28%,40% 23%,39% 20%,40% 13%,43% 6%); }
#petals { overflow:hidden; }
.petal { position:absolute; top:0; left:0; object-fit:contain; }
.petal.ivory { filter:grayscale(1) brightness(2.4) sepia(.12); }
button { font:inherit; color:inherit; text-shadow:inherit; cursor:pointer; }
button:disabled { cursor:wait; opacity:.7; }
.primary { border:1px solid #813d28; border-radius:.65rem; min-height:3rem; padding:.65rem 1.2rem; color:#fff8e8; background:#793821; text-shadow:0 -1px 0 #fff9e34d, 0 1px 0 #431f14, 0 2px 2px #35160ecc; box-shadow:inset 0 1px #ffffff38,0 3px 8px #6e351626; font-size:1.08rem; }
.primary:hover:not(:disabled) { background:#602b19; }
#offer { margin-top:1.2rem; min-width:12rem; }
#offer span { margin-right:.4rem; }
.status { min-height:1.4rem; margin:.6rem 0; line-height:1.45; }
.gallery { margin:1.3rem 0 3rem; }
.gallery>p { margin:.45rem 0 1.4rem; }
.photos { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.75rem; }
.photo { border:1px solid #ad7b39; border-radius:.7rem; padding:4px; background:#f5e4c5; overflow:hidden; }
.gallery-photo,.lightbox-photo { display:block; overflow:hidden; aspect-ratio:1080/1320; }
.gallery-photo { border-radius:.43rem; }
.gallery-photo img,.lightbox-photo img { display:block; width:100%; height:auto; }
.photo:hover { background:#c18a44; }
.address-tile {
  display:grid;
  place-content:center;
  min-height:7rem;
  padding:.5rem;
  border:1px solid #ad7b39;
  border-radius:.7rem;
  background:#f5e4c5;
  font-size:clamp(1rem,2.2vw,1.35rem);
  font-style:normal;
  line-height:1.5;
}
footer { text-align:center; padding:1.15rem; border-top:1px solid #dbc097; background:#f1e1c7; }
a { color:inherit; text-underline-offset:3px; }
:focus-visible { outline:3px solid #99552c; outline-offset:4px; }
dialog { width:min(100% - 2rem,27rem); max-height:calc(100% - 2rem); border:1px solid #a7743d; border-radius:1rem; padding:1.6rem 1.2rem 1rem; color:#552e21; background:#fff9ec; box-shadow:0 16px 55px #2d170c55; }
dialog::backdrop { background:#27150ed0; }
dialog h2 { padding-right:2rem; }
dialog p { line-height:1.45; margin:.7rem 0; overflow-wrap:anywhere; }
dialog label { display:block; font-weight:bold; margin:.8rem 0 .3rem; }
dialog input { width:100%; padding:.7rem; border:1px solid #a17953; border-radius:.4rem; background:#fffdf8; color:#552e21; font:1rem system-ui,sans-serif; text-shadow:inherit; }
dialog .primary { width:100%; margin-top:.8rem; }
.privacy { font-size:.87rem; }
.close,.controls button { border:1px solid #b68953; background:#fff9ec; min-height:2.65rem; border-radius:.55rem; padding:0 .7rem; }
.close { position:absolute; top:.6rem; right:.6rem; font-size:1.35rem; width:2.65rem; border-radius:50%; }
.controls { display:flex; justify-content:center; gap:.65rem; margin:.75rem 0 0; }
#lightbox { width:fit-content; max-width:calc(100% - 2rem); padding:.65rem; text-align:center; }
.lightbox-photo { width:min(86vw,57vh); border-radius:.55rem; margin:auto; }
@media(max-width:620px) { .photos { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.55rem; } }
