/* LEVN festival decor — pure CSS (pseudo-elements + inline SVG), so it never touches the
   page's DOM, never blocks clicks, and costs ~5 KB. Follows <html data-theme="…">. */

/* hooks: both sites have a sticky <header>; the announcement bar has class .levn-ann */
header { position: sticky; }
.levn-ann { position: relative; }

/* ---------------- FESTIVE / DIWALI ---------------- */
/* marigold + mango-leaf toran hanging under the header */
[data-theme="festive"] header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -20px; height: 22px; pointer-events: none; z-index: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='22' viewBox='0 0 72 22'%3E%3Cpath d='M0 2 Q18 7 36 2 T72 2' fill='none' stroke='%23b8741a' stroke-width='1.2'/%3E%3Cg%3E%3Ccircle cx='9' cy='9' r='6' fill='%23f08a24'/%3E%3Ccircle cx='9' cy='9' r='3.2' fill='%23f9b934'/%3E%3Ccircle cx='9' cy='9' r='1.2' fill='%23c25e0c'/%3E%3C/g%3E%3Cpath d='M27 5 C30 9 30 15 27 20 C24 15 24 9 27 5Z' fill='%233f7d3a'/%3E%3Cpath d='M27 6 L27 19' stroke='%23295c26' stroke-width='.6'/%3E%3Cg%3E%3Ccircle cx='45' cy='9' r='6' fill='%23f9b934'/%3E%3Ccircle cx='45' cy='9' r='3.2' fill='%23f08a24'/%3E%3Ccircle cx='45' cy='9' r='1.2' fill='%23c25e0c'/%3E%3C/g%3E%3Cpath d='M63 5 C66 9 66 15 63 20 C60 15 60 9 63 5Z' fill='%234a8f43'/%3E%3Cpath d='M63 6 L63 19' stroke='%23295c26' stroke-width='.6'/%3E%3C/svg%3E") repeat-x left top / 72px 22px;
  filter: drop-shadow(0 2px 2px rgb(0 0 0 / .12));
}
/* diyas either side of the announcement bar */
[data-theme="festive"] .levn-ann::before,
[data-theme="festive"] .levn-ann::after {
  content: ""; display: inline-block; width: 18px; height: 18px; vertical-align: -3px; margin: 0 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 C14.5 5.5 15 8 12 11 C9 8 9.5 5.5 12 2Z' fill='%23ffc94a'/%3E%3Cpath d='M12 5 C13.2 7 13.3 8.4 12 10 C10.7 8.4 10.8 7 12 5Z' fill='%23fff3b0'/%3E%3Cpath d='M3 13 H21 C20 18 16.5 21 12 21 C7.5 21 4 18 3 13Z' fill='%23e07b24'/%3E%3Cpath d='M3 13 H21' stroke='%23ffd27a' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: levn-flicker 2.4s ease-in-out infinite alternate;
}
.levn-ann::after { animation-delay: .8s; }
@keyframes levn-flicker { 0% { filter: brightness(1); transform: translateY(0); } 50% { filter: brightness(1.25); } 100% { filter: brightness(.92); transform: translateY(-.5px); } }
/* faint rangoli behind hero (main site) */
[data-theme="festive"] .hero { position: relative; overflow: hidden; }
[data-theme="festive"] .hero::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -170px; top: -150px; opacity: .10; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%237a1f2b' stroke-width='2'%3E%3Ccircle cx='100' cy='100' r='20'/%3E%3Ccircle cx='100' cy='100' r='44'/%3E%3Ccircle cx='100' cy='100' r='78' stroke-dasharray='4 6'/%3E%3C/g%3E%3Cg fill='%23b8741a'%3E%3Cpath id='p' d='M100 30 C112 50 112 62 100 74 C88 62 88 50 100 30Z'/%3E%3Cuse href='%23p' transform='rotate(45 100 100)'/%3E%3Cuse href='%23p' transform='rotate(90 100 100)'/%3E%3Cuse href='%23p' transform='rotate(135 100 100)'/%3E%3Cuse href='%23p' transform='rotate(180 100 100)'/%3E%3Cuse href='%23p' transform='rotate(225 100 100)'/%3E%3Cuse href='%23p' transform='rotate(270 100 100)'/%3E%3Cuse href='%23p' transform='rotate(315 100 100)'/%3E%3C/g%3E%3Ccircle cx='100' cy='100' r='8' fill='%237a1f2b'/%3E%3C/svg%3E") center / contain no-repeat;
}
[data-theme="festive"] .hero > * { position: relative; }

/* ---------------- WINTER / CHRISTMAS ---------------- */
/* pine garland with fairy lights hanging under the header */
[data-theme="winter"] header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -26px; height: 30px; pointer-events: none; z-index: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='30' viewBox='0 0 120 30'%3E%0A%3Cpath d='M0 4 Q30 16 60 4 T120 4' fill='none' stroke='%232f5b44' stroke-width='7' stroke-linecap='round'/%3E%0A%3Cg stroke='%233d7556' stroke-width='1.3' stroke-linecap='round'%3E%0A%3Cpath d='M4 5 l3 -4M10 7 l2 5M16 9 l4 -3M22 11 l1 5M28 11 l4 3M34 11 l-1 -5M40 10 l3 5M46 8 l-2 -5M52 6 l3 4M58 5 l-1 -4M64 5 l3 4M70 7 l-2 5M76 9 l4 -3M82 11 l1 5M88 11 l4 3M94 11 l-1 -5M100 10 l3 5M106 8 l-2 -5M112 6 l3 4M118 5 l-1 -4'/%3E%3C/g%3E%0A%3Cg stroke='%23244a36' stroke-width='1' stroke-linecap='round'%3E%0A%3Cpath d='M7 3 l-3 -2M13 9 l-3 3M19 10 l3 3M25 12 l-3 3M31 12 l2 -4M37 11 l3 -3M43 9 l-4 3M49 7 l3 -4M55 5 l-3 -3M67 6 l-3 -3M73 9 l3 3M79 10 l-3 3M85 12 l3 3M91 12 l-2 -4M97 11 l-3 -3M103 9 l4 3M109 7 l-3 -4M115 5 l3 -3'/%3E%3C/g%3E%0A%3Cg%3E%3Crect x='13.5' y='12' width='3' height='2.5' rx='.5' fill='%238a7a5a'/%3E%3Cellipse cx='15' cy='19' rx='3.4' ry='4.8' fill='%23e53935'/%3E%3Cellipse cx='14' cy='17.5' rx='1' ry='1.6' fill='%23ffcdd2' opacity='.8'/%3E%3C/g%3E%0A%3Cg%3E%3Crect x='43.5' y='11' width='3' height='2.5' rx='.5' fill='%238a7a5a'/%3E%3Cellipse cx='45' cy='18' rx='3.4' ry='4.8' fill='%23fbc02d'/%3E%3Cellipse cx='44' cy='16.5' rx='1' ry='1.6' fill='%23fff9c4' opacity='.8'/%3E%3C/g%3E%0A%3Cg%3E%3Crect x='73.5' y='12' width='3' height='2.5' rx='.5' fill='%238a7a5a'/%3E%3Cellipse cx='75' cy='19' rx='3.4' ry='4.8' fill='%2343a047'/%3E%3Cellipse cx='74' cy='17.5' rx='1' ry='1.6' fill='%23c8e6c9' opacity='.8'/%3E%3C/g%3E%0A%3Cg%3E%3Crect x='103.5' y='11' width='3' height='2.5' rx='.5' fill='%238a7a5a'/%3E%3Cellipse cx='105' cy='18' rx='3.4' ry='4.8' fill='%231e88e5'/%3E%3Cellipse cx='104' cy='16.5' rx='1' ry='1.6' fill='%23bbdefb' opacity='.8'/%3E%3C/g%3E%0A%3Ccircle cx='30' cy='12' r='2.3' fill='%23b3262d'/%3E%3Ccircle cx='90' cy='12' r='2.3' fill='%23d4a63a'/%3E%0A%3C/svg%3E") repeat-x left top / 120px 30px;
  filter: drop-shadow(0 2px 2px rgb(0 0 0 / .14));
  animation: levn-twinkle 1.8s steps(2, jump-none) infinite alternate;
}
@keyframes levn-twinkle { from { filter: drop-shadow(0 2px 2px rgb(0 0 0 / .14)) brightness(1); } to { filter: drop-shadow(0 0 4px rgb(255 214 120 / .75)) brightness(1.18) saturate(1.2); } }
/* holly either side of the announcement bar */
[data-theme="winter"] .levn-ann::before,
[data-theme="winter"] .levn-ann::after {
  content: ""; display: inline-block; width: 26px; height: 19px; vertical-align: -4px; margin: 0 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 20'%3E%0A%3Cpath d='M13 11 C10 10 9 7 6 7 C7 5 5 3 3 3 C4 1 2 0 1 0 C4 -0.5 9 1 13 6 Z' transform='translate(0 4)' fill='%234f9a6a'/%3E%0A%3Cpath d='M15 11 C18 10 19 7 22 7 C21 5 23 3 25 3 C24 1 26 0 27 0 C24 -0.5 19 1 15 6 Z' transform='translate(0 4)' fill='%233f8a5a'/%3E%0A%3Ccircle cx='12' cy='14' r='2.6' fill='%23ff4b4b'/%3E%3Ccircle cx='16.5' cy='14.5' r='2.6' fill='%23e53935'/%3E%3Ccircle cx='14.2' cy='11' r='2.6' fill='%23ff6b6b'/%3E%0A%3Ccircle cx='11.3' cy='13.2' r='.8' fill='%23fff' opacity='.7'/%3E%3Ccircle cx='13.5' cy='10.2' r='.8' fill='%23fff' opacity='.7'/%3E%3C/svg%3E") center / contain no-repeat;
}
[data-theme="winter"] .levn-ann::after { transform: scaleX(-1); }
/* snowfall: big flakes drift in front, small ones fall slower behind */
[data-theme="winter"] body::after,
[data-theme="winter"] body::before {
  content: ""; position: fixed; inset: -340px 0 0 0; pointer-events: none; z-index: 45;
}
[data-theme="winter"] body::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='340'%3E%3Cdefs%3E%3Cfilter id='s'%3E%3CfeDropShadow dx='0' dy='0' stdDeviation='.6' flood-color='%237f9bb5' flood-opacity='.9'/%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23s)'%3E%3Cg stroke='%23ffffff' stroke-width='1.1' stroke-linecap='round' fill='none'%3E%3Cpath d='M40 60 L40 53' transform='rotate(0 40 60)'/%3E%3Cpath d='M40 56.15 l-2.0 -1.8 M40 56.15 l2.0 -1.8' transform='rotate(0 40 60)'/%3E%3Cpath d='M40 60 L40 53' transform='rotate(60 40 60)'/%3E%3Cpath d='M40 56.15 l-2.0 -1.8 M40 56.15 l2.0 -1.8' transform='rotate(60 40 60)'/%3E%3Cpath d='M40 60 L40 53' transform='rotate(120 40 60)'/%3E%3Cpath d='M40 56.15 l-2.0 -1.8 M40 56.15 l2.0 -1.8' transform='rotate(120 40 60)'/%3E%3Cpath d='M40 60 L40 53' transform='rotate(180 40 60)'/%3E%3Cpath d='M40 56.15 l-2.0 -1.8 M40 56.15 l2.0 -1.8' transform='rotate(180 40 60)'/%3E%3Cpath d='M40 60 L40 53' transform='rotate(240 40 60)'/%3E%3Cpath d='M40 56.15 l-2.0 -1.8 M40 56.15 l2.0 -1.8' transform='rotate(240 40 60)'/%3E%3Cpath d='M40 60 L40 53' transform='rotate(300 40 60)'/%3E%3Cpath d='M40 56.15 l-2.0 -1.8 M40 56.15 l2.0 -1.8' transform='rotate(300 40 60)'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-width='1.1' stroke-linecap='round' fill='none'%3E%3Cpath d='M250 30 L250 24' transform='rotate(0 250 30)'/%3E%3Cpath d='M250 26.7 l-1.7 -1.5 M250 26.7 l1.7 -1.5' transform='rotate(0 250 30)'/%3E%3Cpath d='M250 30 L250 24' transform='rotate(60 250 30)'/%3E%3Cpath d='M250 26.7 l-1.7 -1.5 M250 26.7 l1.7 -1.5' transform='rotate(60 250 30)'/%3E%3Cpath d='M250 30 L250 24' transform='rotate(120 250 30)'/%3E%3Cpath d='M250 26.7 l-1.7 -1.5 M250 26.7 l1.7 -1.5' transform='rotate(120 250 30)'/%3E%3Cpath d='M250 30 L250 24' transform='rotate(180 250 30)'/%3E%3Cpath d='M250 26.7 l-1.7 -1.5 M250 26.7 l1.7 -1.5' transform='rotate(180 250 30)'/%3E%3Cpath d='M250 30 L250 24' transform='rotate(240 250 30)'/%3E%3Cpath d='M250 26.7 l-1.7 -1.5 M250 26.7 l1.7 -1.5' transform='rotate(240 250 30)'/%3E%3Cpath d='M250 30 L250 24' transform='rotate(300 250 30)'/%3E%3Cpath d='M250 26.7 l-1.7 -1.5 M250 26.7 l1.7 -1.5' transform='rotate(300 250 30)'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-width='1.1' stroke-linecap='round' fill='none'%3E%3Cpath d='M170 200 L170 192' transform='rotate(0 170 200)'/%3E%3Cpath d='M170 195.6 l-2.2 -2.0 M170 195.6 l2.2 -2.0' transform='rotate(0 170 200)'/%3E%3Cpath d='M170 200 L170 192' transform='rotate(60 170 200)'/%3E%3Cpath d='M170 195.6 l-2.2 -2.0 M170 195.6 l2.2 -2.0' transform='rotate(60 170 200)'/%3E%3Cpath d='M170 200 L170 192' transform='rotate(120 170 200)'/%3E%3Cpath d='M170 195.6 l-2.2 -2.0 M170 195.6 l2.2 -2.0' transform='rotate(120 170 200)'/%3E%3Cpath d='M170 200 L170 192' transform='rotate(180 170 200)'/%3E%3Cpath d='M170 195.6 l-2.2 -2.0 M170 195.6 l2.2 -2.0' transform='rotate(180 170 200)'/%3E%3Cpath d='M170 200 L170 192' transform='rotate(240 170 200)'/%3E%3Cpath d='M170 195.6 l-2.2 -2.0 M170 195.6 l2.2 -2.0' transform='rotate(240 170 200)'/%3E%3Cpath d='M170 200 L170 192' transform='rotate(300 170 200)'/%3E%3Cpath d='M170 195.6 l-2.2 -2.0 M170 195.6 l2.2 -2.0' transform='rotate(300 170 200)'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-width='1.1' stroke-linecap='round' fill='none'%3E%3Cpath d='M300 260 L300 254.5' transform='rotate(0 300 260)'/%3E%3Cpath d='M300 256.975 l-1.5 -1.4 M300 256.975 l1.5 -1.4' transform='rotate(0 300 260)'/%3E%3Cpath d='M300 260 L300 254.5' transform='rotate(60 300 260)'/%3E%3Cpath d='M300 256.975 l-1.5 -1.4 M300 256.975 l1.5 -1.4' transform='rotate(60 300 260)'/%3E%3Cpath d='M300 260 L300 254.5' transform='rotate(120 300 260)'/%3E%3Cpath d='M300 256.975 l-1.5 -1.4 M300 256.975 l1.5 -1.4' transform='rotate(120 300 260)'/%3E%3Cpath d='M300 260 L300 254.5' transform='rotate(180 300 260)'/%3E%3Cpath d='M300 256.975 l-1.5 -1.4 M300 256.975 l1.5 -1.4' transform='rotate(180 300 260)'/%3E%3Cpath d='M300 260 L300 254.5' transform='rotate(240 300 260)'/%3E%3Cpath d='M300 256.975 l-1.5 -1.4 M300 256.975 l1.5 -1.4' transform='rotate(240 300 260)'/%3E%3Cpath d='M300 260 L300 254.5' transform='rotate(300 300 260)'/%3E%3Cpath d='M300 256.975 l-1.5 -1.4 M300 256.975 l1.5 -1.4' transform='rotate(300 300 260)'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-width='1.1' stroke-linecap='round' fill='none'%3E%3Cpath d='M80 290 L80 284' transform='rotate(0 80 290)'/%3E%3Cpath d='M80 286.7 l-1.7 -1.5 M80 286.7 l1.7 -1.5' transform='rotate(0 80 290)'/%3E%3Cpath d='M80 290 L80 284' transform='rotate(60 80 290)'/%3E%3Cpath d='M80 286.7 l-1.7 -1.5 M80 286.7 l1.7 -1.5' transform='rotate(60 80 290)'/%3E%3Cpath d='M80 290 L80 284' transform='rotate(120 80 290)'/%3E%3Cpath d='M80 286.7 l-1.7 -1.5 M80 286.7 l1.7 -1.5' transform='rotate(120 80 290)'/%3E%3Cpath d='M80 290 L80 284' transform='rotate(180 80 290)'/%3E%3Cpath d='M80 286.7 l-1.7 -1.5 M80 286.7 l1.7 -1.5' transform='rotate(180 80 290)'/%3E%3Cpath d='M80 290 L80 284' transform='rotate(240 80 290)'/%3E%3Cpath d='M80 286.7 l-1.7 -1.5 M80 286.7 l1.7 -1.5' transform='rotate(240 80 290)'/%3E%3Cpath d='M80 290 L80 284' transform='rotate(300 80 290)'/%3E%3Cpath d='M80 286.7 l-1.7 -1.5 M80 286.7 l1.7 -1.5' transform='rotate(300 80 290)'/%3E%3C/g%3E%3Ccircle cx='130' cy='110' r='2.2' fill='%23fff'/%3E%3Ccircle cx='210' cy='120' r='1.8' fill='%23fff'/%3E%3Ccircle cx='20' cy='180' r='2' fill='%23fff'/%3E%3Ccircle cx='320' cy='150' r='2.4' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E");
  opacity: .8; animation: levn-snow-near 22s linear infinite;
}
[data-theme="winter"] body::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cdefs%3E%3Cfilter id='s'%3E%3CfeDropShadow dx='0' dy='0' stdDeviation='.6' flood-color='%237f9bb5' flood-opacity='.9'/%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23s)'%3E%3Cg stroke='%23ffffff' stroke-width='1.1' stroke-linecap='round' fill='none'%3E%3Cpath d='M60 40 L60 36' transform='rotate(0 60 40)'/%3E%3Cpath d='M60 37.8 l-1.1 -1.0 M60 37.8 l1.1 -1.0' transform='rotate(0 60 40)'/%3E%3Cpath d='M60 40 L60 36' transform='rotate(60 60 40)'/%3E%3Cpath d='M60 37.8 l-1.1 -1.0 M60 37.8 l1.1 -1.0' transform='rotate(60 60 40)'/%3E%3Cpath d='M60 40 L60 36' transform='rotate(120 60 40)'/%3E%3Cpath d='M60 37.8 l-1.1 -1.0 M60 37.8 l1.1 -1.0' transform='rotate(120 60 40)'/%3E%3Cpath d='M60 40 L60 36' transform='rotate(180 60 40)'/%3E%3Cpath d='M60 37.8 l-1.1 -1.0 M60 37.8 l1.1 -1.0' transform='rotate(180 60 40)'/%3E%3Cpath d='M60 40 L60 36' transform='rotate(240 60 40)'/%3E%3Cpath d='M60 37.8 l-1.1 -1.0 M60 37.8 l1.1 -1.0' transform='rotate(240 60 40)'/%3E%3Cpath d='M60 40 L60 36' transform='rotate(300 60 40)'/%3E%3Cpath d='M60 37.8 l-1.1 -1.0 M60 37.8 l1.1 -1.0' transform='rotate(300 60 40)'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-width='1.1' stroke-linecap='round' fill='none'%3E%3Cpath d='M190 150 L190 146.5' transform='rotate(0 190 150)'/%3E%3Cpath d='M190 148.075 l-1.0 -0.9 M190 148.075 l1.0 -0.9' transform='rotate(0 190 150)'/%3E%3Cpath d='M190 150 L190 146.5' transform='rotate(60 190 150)'/%3E%3Cpath d='M190 148.075 l-1.0 -0.9 M190 148.075 l1.0 -0.9' transform='rotate(60 190 150)'/%3E%3Cpath d='M190 150 L190 146.5' transform='rotate(120 190 150)'/%3E%3Cpath d='M190 148.075 l-1.0 -0.9 M190 148.075 l1.0 -0.9' transform='rotate(120 190 150)'/%3E%3Cpath d='M190 150 L190 146.5' transform='rotate(180 190 150)'/%3E%3Cpath d='M190 148.075 l-1.0 -0.9 M190 148.075 l1.0 -0.9' transform='rotate(180 190 150)'/%3E%3Cpath d='M190 150 L190 146.5' transform='rotate(240 190 150)'/%3E%3Cpath d='M190 148.075 l-1.0 -0.9 M190 148.075 l1.0 -0.9' transform='rotate(240 190 150)'/%3E%3Cpath d='M190 150 L190 146.5' transform='rotate(300 190 150)'/%3E%3Cpath d='M190 148.075 l-1.0 -0.9 M190 148.075 l1.0 -0.9' transform='rotate(300 190 150)'/%3E%3C/g%3E%3Ccircle cx='20' cy='100' r='1.4' fill='%23fff'/%3E%3Ccircle cx='120' cy='20' r='1.6' fill='%23fff'/%3E%3Ccircle cx='150' cy='90' r='1.2' fill='%23fff'/%3E%3Ccircle cx='90' cy='200' r='1.5' fill='%23fff'/%3E%3Ccircle cx='220' cy='60' r='1.3' fill='%23fff'/%3E%3Ccircle cx='40' cy='170' r='1.2' fill='%23fff'/%3E%3Ccircle cx='200' cy='220' r='1.6' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E");
  opacity: .6; animation: levn-snow-far 34s linear infinite;
}
@keyframes levn-snow-near { from { background-position: 0 0; } to { background-position: 60px 340px; } }
@keyframes levn-snow-far { from { background-position: 0 0; } to { background-position: -30px 240px; } }
/* a large faint snowflake behind the hero (main site) */
[data-theme="winter"] .hero { position: relative; overflow: hidden; }
[data-theme="winter"] .hero::before {
  content: ""; position: absolute; width: 440px; height: 440px; left: -190px; top: -170px; opacity: .045; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg stroke='%232f5b44' stroke-width='3' stroke-linecap='round' fill='none'%3E%3Cg transform='rotate(0 100 100)'%3E%3Cpath d='M100 100 V12'/%3E%3Cpath d='M100 40 l-16 -14 M100 40 l16 -14 M100 64 l-12 -10 M100 64 l12 -10'/%3E%3Ccircle cx='100' cy='12' r='4'/%3E%3C/g%3E%3Cg transform='rotate(60 100 100)'%3E%3Cpath d='M100 100 V12'/%3E%3Cpath d='M100 40 l-16 -14 M100 40 l16 -14 M100 64 l-12 -10 M100 64 l12 -10'/%3E%3Ccircle cx='100' cy='12' r='4'/%3E%3C/g%3E%3Cg transform='rotate(120 100 100)'%3E%3Cpath d='M100 100 V12'/%3E%3Cpath d='M100 40 l-16 -14 M100 40 l16 -14 M100 64 l-12 -10 M100 64 l12 -10'/%3E%3Ccircle cx='100' cy='12' r='4'/%3E%3C/g%3E%3Cg transform='rotate(180 100 100)'%3E%3Cpath d='M100 100 V12'/%3E%3Cpath d='M100 40 l-16 -14 M100 40 l16 -14 M100 64 l-12 -10 M100 64 l12 -10'/%3E%3Ccircle cx='100' cy='12' r='4'/%3E%3C/g%3E%3Cg transform='rotate(240 100 100)'%3E%3Cpath d='M100 100 V12'/%3E%3Cpath d='M100 40 l-16 -14 M100 40 l16 -14 M100 64 l-12 -10 M100 64 l12 -10'/%3E%3Ccircle cx='100' cy='12' r='4'/%3E%3C/g%3E%3Cg transform='rotate(300 100 100)'%3E%3Cpath d='M100 100 V12'/%3E%3Cpath d='M100 40 l-16 -14 M100 40 l16 -14 M100 64 l-12 -10 M100 64 l12 -10'/%3E%3Ccircle cx='100' cy='12' r='4'/%3E%3C/g%3E%3Ccircle cx='100' cy='100' r='14'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  animation: levn-spin 120s linear infinite;
}
[data-theme="winter"] .hero > * { position: relative; }
@keyframes levn-spin { to { transform: rotate(360deg); } }
/* snowdrift along the top of the footer */
[data-theme="winter"] footer { position: relative; }
[data-theme="winter"] footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -15px; height: 22px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='22' viewBox='0 0 160 22'%3E%3Cpath d='M0 22 V12 C14 4 26 4 38 10 C50 2 66 0 80 8 C94 2 108 3 120 11 C132 4 148 4 160 12 V22 Z' fill='%23ffffff'/%3E%3Cpath d='M0 12 C14 4 26 4 38 10 C50 2 66 0 80 8 C94 2 108 3 120 11 C132 4 148 4 160 12' fill='none' stroke='%23d7e2ec' stroke-width='1.5'/%3E%3C/svg%3E") repeat-x left bottom / 160px 22px;
}

/* ---------------- MONSOON ---------------- */
[data-theme="monsoon"] header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: 16px; pointer-events: none; z-index: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='16' viewBox='0 0 80 16'%3E%3Cpath d='M0 2 Q20 6 40 2 T80 2' fill='none' stroke='%234f7a55' stroke-width='1'/%3E%3Cpath d='M14 4 C19 6 20 11 16 14 C12 11 11 7 14 4Z' fill='%235e9a62'/%3E%3Cpath d='M34 3 C30 6 30 10 33 12 C37 10 37 6 34 3Z' fill='%23477f4c'/%3E%3Cpath d='M56 4 C61 6 62 11 58 14 C54 11 53 7 56 4Z' fill='%236aa86d'/%3E%3Cpath d='M74 3 C70 6 70 10 73 12 C77 10 77 6 74 3Z' fill='%23477f4c'/%3E%3C/svg%3E") repeat-x left top / 80px 16px;
}
[data-theme="monsoon"] body::after {
  content: ""; position: fixed; inset: -160px 0 0 0; pointer-events: none; z-index: 45; opacity: .28;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cg stroke='%237aa3b8' stroke-width='1.2' stroke-linecap='round'%3E%3Cpath d='M20 10 l-3 12'/%3E%3Cpath d='M90 50 l-3 12'/%3E%3Cpath d='M140 20 l-3 12'/%3E%3Cpath d='M50 110 l-3 12'/%3E%3Cpath d='M120 130 l-3 12'/%3E%3C/g%3E%3C/svg%3E");
  animation: levn-rain 5s linear infinite;
}
@keyframes levn-rain { from { background-position: 0 0; } to { background-position: -40px 160px; } }

/* respect people who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  [data-theme] body::after, [data-theme] body::before { display: none; }
  [data-theme] .hero::before { animation: none !important; }
  .levn-ann::before, .levn-ann::after, [data-theme] header::after { animation: none !important; }
}
/* keep decor off printed pages */
@media print { header::after, body::after, body::before, footer::before, .hero::before, .levn-ann::before, .levn-ann::after { display: none !important; } }

/* room under the hanging decor so it never touches the first line of content */
[data-theme="festive"] main, [data-theme="monsoon"] main { padding-top: 12px; }
[data-theme="winter"] main { padding-top: 18px; }
