/* =====================================================================
   CANVAS ENGINE — styles
   Every page is designed on a 1080-pixel-wide canvas and scaled to the
   phone, so what you place in the Canvas editor is exactly what guests see.
   ===================================================================== */

/* ---------- fonts (SIL Open Font License) ---------- */
@font-face { font-family: "Great Vibes"; src: url(fonts/great-vibes-latin-400-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Pinyon Script"; src: url(fonts/pinyon-script-latin-400-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Parisienne"; src: url(fonts/parisienne-latin-400-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Alex Brush"; src: url(fonts/alex-brush-latin-400-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(fonts/cormorant-garamond-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(fonts/cormorant-garamond-latin-400-italic.woff2) format("woff2"); font-style: italic; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url(fonts/playfair-display-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url(fonts/playfair-display-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url(fonts/cinzel-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url(fonts/cinzel-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Marcellus"; src: url(fonts/marcellus-latin-400-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Jost"; src: url(fonts/jost-latin-300-normal.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Jost"; src: url(fonts/jost-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jost"; src: url(fonts/jost-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(fonts/poppins-latin-300-normal.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(fonts/poppins-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(fonts/poppins-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Tiro Devanagari Hindi"; src: url(fonts/tiro-devanagari-hindi-devanagari-400-normal.woff2) format("woff2"); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; font-display: swap; }
/* more fonts (all SIL Open Font License, from Google Fonts / Fontsource) */
@font-face { font-family: "Allura"; src: url(fonts/allura-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Dancing Script"; src: url(fonts/dancing-script-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Dancing Script"; src: url(fonts/dancing-script-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sacramento"; src: url(fonts/sacramento-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Tangerine"; src: url(fonts/tangerine-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Tangerine"; src: url(fonts/tangerine-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Italianno"; src: url(fonts/italianno-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Rouge Script"; src: url(fonts/rouge-script-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Monsieur La Doulaise"; src: url(fonts/monsieur-la-doulaise-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mrs Saint Delafield"; src: url(fonts/mrs-saint-delafield-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Corinthia"; src: url(fonts/corinthia-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Petit Formal Script"; src: url(fonts/petit-formal-script-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bodoni Moda"; src: url(fonts/bodoni-moda-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bodoni Moda"; src: url(fonts/bodoni-moda-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lora"; src: url(fonts/lora-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lora"; src: url(fonts/lora-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "EB Garamond"; src: url(fonts/eb-garamond-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "EB Garamond"; src: url(fonts/eb-garamond-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Prata"; src: url(fonts/prata-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Gilda Display"; src: url(fonts/gilda-display-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cinzel Decorative"; src: url(fonts/cinzel-decorative-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cinzel Decorative"; src: url(fonts/cinzel-decorative-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Italiana"; src: url(fonts/italiana-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Forum"; src: url(fonts/forum-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; src: url(fonts/montserrat-latin-300-normal.woff2) format("woff2"); font-weight: 300; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; src: url(fonts/montserrat-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; src: url(fonts/montserrat-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Josefin Sans"; src: url(fonts/josefin-sans-latin-300-normal.woff2) format("woff2"); font-weight: 300; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Josefin Sans"; src: url(fonts/josefin-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Josefin Sans"; src: url(fonts/josefin-sans-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Raleway"; src: url(fonts/raleway-latin-300-normal.woff2) format("woff2"); font-weight: 300; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Raleway"; src: url(fonts/raleway-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Raleway"; src: url(fonts/raleway-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Yatra One"; src: url(fonts/yatra-one-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Yatra One"; src: url(fonts/yatra-one-devanagari-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: "Rozha One"; src: url(fonts/rozha-one-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Rozha One"; src: url(fonts/rozha-one-devanagari-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: "Kalam"; src: url(fonts/kalam-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Kalam"; src: url(fonts/kalam-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Kalam"; src: url(fonts/kalam-devanagari-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: "Kalam"; src: url(fonts/kalam-devanagari-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: "Amita"; src: url(fonts/amita-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Amita"; src: url(fonts/amita-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Amita"; src: url(fonts/amita-devanagari-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: "Amita"; src: url(fonts/amita-devanagari-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: "Amiri"; src: url(fonts/amiri-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Amiri"; src: url(fonts/amiri-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Amiri"; src: url(fonts/amiri-arabic-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Amiri"; src: url(fonts/amiri-arabic-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

/* ---------- colours used by the ready-made blocks (changed in the editor) ---------- */
.cv {
  --bg: #3a0a17; --gold: #d9b26a; --gold-dk: #9c7430; --gold-lt: #fff0c4;
  --paper: #fbf5ea; --paper-ink: #3b1d14; --ink: #fbeedd; --muted: #e3c9a8;
  --f-script: "Great Vibes", "Tiro Devanagari Hindi", cursive;
  --f-serif: "Cormorant Garamond", "Tiro Devanagari Hindi", Georgia, serif;
  --f-caps: "Cinzel", "Tiro Devanagari Hindi", Georgia, serif;
  --f-body: "Jost", "Tiro Devanagari Hindi", system-ui, sans-serif;
  --ease: cubic-bezier(.22,.8,.24,1);
  font-family: var(--f-body); color: var(--ink); -webkit-tap-highlight-color: transparent;
}
.cv *, .cv *::before, .cv *::after { box-sizing: border-box; }
.cv img, .cv video { display: block; max-width: none; }

/* ---------- the site (index.html only) ---------- */
body.cv-site { margin: 0; background: #1b0a0f; overflow-x: hidden; }
body.cv-site.locked { overflow: hidden; height: 100svh; }
body.cv-site #backdrop { position: fixed; inset: -40px; background: var(--bd-color, #1b0a0f) center/cover no-repeat; background-image: var(--bd-image, none); filter: blur(28px) brightness(.45); z-index: 0; }
body.cv-site #stage { position: relative; z-index: 1; width: min(100vw, 480px); margin: 0 auto; min-height: 100svh; overflow: hidden; background: var(--bg); }
@media (min-width: 520px) { body.cv-site #stage { box-shadow: 0 0 90px rgba(0,0,0,.65); } }
.pin { position: fixed; top: 0; bottom: 0; left: 50%; width: min(100vw, 480px); transform: translateX(-50%); }

/* ---------- pages & layers ---------- */
.pg { position: relative; width: 100%; overflow: hidden; }
.pg-in { position: absolute; top: 0; left: 0; width: 1080px; transform-origin: 0 0; overflow: hidden; }
.pg-bg { position: absolute; inset: 0; }
.pg-bg img, .pg-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ly { position: absolute; }
.ly-in, .ly-loop, .ly-tilt { width: 100%; height: 100%; }
.ly.auto, .ly.auto > .ly-in, .ly.auto > .ly-in > .ly-loop, .ly.auto .ly-tilt { height: auto; }
.ly-tilt { transform: translate3d(calc(var(--gx, 0) * var(--tz, 0px)), calc(var(--gy, 0) * var(--tz, 0px)), 0); }
.ly-grp { position: relative; width: 100%; height: 100%; }
.ly-hot { width: 100%; height: 100%; }
.ly.tap { cursor: pointer; }
.ly.tap.hint::after { content: ""; position: absolute; right: -14px; top: -14px; width: 54px; height: 54px; pointer-events: none; background: var(--star) center/contain no-repeat;
  filter: drop-shadow(0 0 8px rgba(255,236,180,.95)); animation: twinkle 2.6s ease-in-out infinite; }
.ly-c { width: 100%; height: 100%; }
.ly.auto .ly-c { height: auto; }
.ly-img { width: 100%; height: 100%; object-fit: contain; }
.ly-shape { width: 100%; height: 100%; }
.ly-text { white-space: pre-wrap; word-break: break-word; line-height: 1.2; }
.foil-t {
  background: linear-gradient(110deg, var(--fdk, var(--gold-dk)) 0%, var(--fmd, var(--gold)) 18%, var(--flt, var(--gold-lt)) 28%, var(--fmd, var(--gold)) 38%, var(--fdk, var(--gold-dk)) 52%, var(--fmd, var(--gold)) 68%, var(--flt, var(--gold-lt)) 80%, var(--fdk, var(--gold-dk)) 100%);
  background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent !important; -webkit-text-fill-color: transparent;
  animation: foil 7s linear infinite;
}
@keyframes foil { to { background-position: -220% center; } }
.foil-t.still { animation: none; background-position: 30% center; }
/* gradient / foil / shimmer text: the colour layer reaches past tall and slanted letters so nothing is cut off */
.ly-text.pad-t { padding: .3em .2em; margin: -.3em -.2em; }

/* ---------- entrance animations (play when the page scrolls into view) ---------- */
.pg:not(.play) .has-in { opacity: 0; }
/* "when it scrolls into view": waits until the guest reaches it */
.on-scroll:not(.seen) > .ly-in.has-in { opacity: 0; animation: none !important; }
.on-scroll:not(.seen) .ch, .on-scroll:not(.seen) .wd { animation: none !important; }
/* "after all the diyas are lit" */
.on-diyas { transition: opacity .9s ease; }
.on-diyas:not(.seen) { opacity: 0; pointer-events: none; }
.on-diyas:not(.seen) > .ly-in, .on-diyas:not(.seen) .ch, .on-diyas:not(.seen) .wd { animation: none !important; }
.cv-static .on-diyas { opacity: 1; pointer-events: auto; }
/* gold ink: the words write themselves, a little sparkle is the pen */
.pg.play .in-ink { animation: in-ink var(--d, 1s) var(--dl, 0s) both cubic-bezier(.45,.1,.35,1);
  -webkit-mask-image: linear-gradient(90deg, #000 0 46%, transparent 54% 100%); mask-image: linear-gradient(90deg, #000 0 46%, transparent 54% 100%);
  -webkit-mask-size: 230% 100%; mask-size: 230% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
@keyframes in-ink { from { -webkit-mask-position: 100% 0; mask-position: 100% 0; } to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
.pg.play .ly.ink::after { content: ""; position: absolute; top: 50%; width: 80px; height: 80px; margin: -40px 0 0 -40px; pointer-events: none; z-index: 3;
  background: var(--star) center/contain no-repeat; filter: drop-shadow(0 0 14px rgba(255,226,150,1)) drop-shadow(0 0 30px rgba(255,200,90,.8));
  animation: ink-nib var(--d, 1s) var(--dl, 0s) both cubic-bezier(.45,.1,.35,1); }
@keyframes ink-nib { 0% { left: -12%; opacity: 0; transform: scale(.5) rotate(0); } 8% { opacity: 1; } 50% { transform: scale(1.1) rotate(180deg); } 88% { opacity: 1; } 100% { left: 108%; opacity: 0; transform: scale(.4) rotate(360deg); } }
.on-scroll:not(.seen).ink::after, .on-diyas:not(.seen).ink::after { animation: none; opacity: 0; }
/* tap to reveal */
.veiled > .ly-in > .ly-loop { position: relative; }
.veiled > .ly-in > .ly-loop > :not(.veil) { filter: blur(22px) saturate(1.1); transition: filter 1.2s ease; }
.veil { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity 1s ease; background: radial-gradient(rgba(255,248,230,.35), rgba(255,248,230,.1)); }
.veil span { font: 500 44px/1.2 var(--f-caps); letter-spacing: .12em; color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.6); animation: lp-blink 1.6s ease-in-out infinite alternate; }
.ly.unveiled > .ly-in > .ly-loop > :not(.veil) { filter: none; }
.ly.unveiled .veil { opacity: 0; pointer-events: none; }
.pg.play .in-fade    { animation: in-fade    var(--d, 1s) var(--dl, 0s) both var(--ease); }
.pg.play .in-up      { animation: in-up      var(--d, 1s) var(--dl, 0s) both var(--ease); }
.pg.play .in-down    { animation: in-down    var(--d, 1s) var(--dl, 0s) both var(--ease); }
.pg.play .in-left    { animation: in-left    var(--d, 1s) var(--dl, 0s) both var(--ease); }
.pg.play .in-right   { animation: in-right   var(--d, 1s) var(--dl, 0s) both var(--ease); }
.pg.play .in-zoom    { animation: in-zoom    var(--d, 1s) var(--dl, 0s) both var(--ease); }
.pg.play .in-zoomout { animation: in-zoomout var(--d, 1s) var(--dl, 0s) both var(--ease); }
.pg.play .in-blur    { animation: in-blur    var(--d, 1s) var(--dl, 0s) both ease; }
.pg.play .in-rotate  { animation: in-rotate  var(--d, 1s) var(--dl, 0s) both var(--ease); }
.pg.play .in-draw    { animation: in-draw    var(--d, 1s) var(--dl, 0s) both cubic-bezier(.6,.1,.3,1); }
@keyframes in-fade    { from { opacity: 0; } }
@keyframes in-up      { from { opacity: 0; transform: translateY(var(--dist, 120px)); } }
@keyframes in-down    { from { opacity: 0; transform: translateY(calc(var(--dist, 120px) * -1)); } }
@keyframes in-left    { from { opacity: 0; transform: translateX(calc(var(--dist, 120px) * -1)); } }
@keyframes in-right   { from { opacity: 0; transform: translateX(var(--dist, 120px)); } }
@keyframes in-zoom    { from { opacity: 0; transform: scale(.6); } }
@keyframes in-zoomout { from { opacity: 0; transform: scale(1.4); } }
@keyframes in-blur    { from { opacity: 0; filter: blur(24px); } }
@keyframes in-rotate  { from { opacity: 0; transform: rotate(-20deg) scale(.8); } }
@keyframes in-draw    { from { clip-path: inset(-30% 100% -30% 0); } to { clip-path: inset(-30% -6% -30% 0); } }

/* ---------- looping animations (keep moving, inside a small area) ---------- */
.lp-float { animation: lp-float var(--ld, 4s) ease-in-out infinite alternate; }
.lp-drift { animation: lp-drift var(--ld, 4s) ease-in-out infinite alternate; }
.lp-sway  { animation: lp-sway  var(--ld, 4s) ease-in-out infinite alternate; transform-origin: 50% 0; }
.lp-pulse { animation: lp-pulse var(--ld, 4s) ease-in-out infinite alternate; }
.lp-spin  { animation: lp-spin  var(--ld, 4s) linear infinite; }
.lp-rise  { animation: lp-rise  var(--ld, 4s) linear infinite; }
.lp-fall  { animation: lp-fall  var(--ld, 4s) linear infinite; }
.lp-glow  { animation: lp-glow  var(--ld, 4s) ease-in-out infinite alternate; }
.lp-blink { animation: lp-blink var(--ld, 4s) ease-in-out infinite alternate; }
@keyframes lp-float { from { transform: translateY(calc(var(--ldist, 30px) * -.5)); } to { transform: translateY(calc(var(--ldist, 30px) * .5)); } }
@keyframes lp-drift { from { transform: translateX(calc(var(--ldist, 30px) * -.5)); } to { transform: translateX(calc(var(--ldist, 30px) * .5)); } }
@keyframes lp-sway  { from { transform: rotate(calc(var(--ldeg, 3deg) * -1)); } to { transform: rotate(var(--ldeg, 3deg)); } }
@keyframes lp-pulse { from { transform: scale(1); } to { transform: scale(var(--lscale, 1.05)); } }
@keyframes lp-spin  { to { transform: rotate(360deg); } }
@keyframes lp-rise  { 0% { transform: translateY(var(--ldist, 30px)); opacity: 0; } 15%, 85% { opacity: 1; } 100% { transform: translateY(calc(var(--ldist, 30px) * -1)); opacity: 0; } }
@keyframes lp-fall  { 0% { transform: translateY(calc(var(--ldist, 30px) * -1)); opacity: 0; } 15%, 85% { opacity: 1; } 100% { transform: translateY(var(--ldist, 30px)); opacity: 0; } }
@keyframes lp-glow  { from { filter: drop-shadow(0 0 0 rgba(255,214,140,0)); } to { filter: drop-shadow(0 0 var(--ldist, 30px) rgba(255,214,140,.95)); } }
@keyframes lp-blink { from { opacity: 1; } to { opacity: .35; } }

/* ---------- text: colours & letter-by-letter animations ---------- */
.ly-text .wd { white-space: nowrap; }
.ly-text.ib .ch, .ly-text.ib .wd { display: inline-block; }
.ly-text.grad { background-image: var(--tbg); -webkit-background-clip: text; background-clip: text; color: transparent !important; -webkit-text-fill-color: transparent; }
/* split letters + gold foil / gradient / shimmer: every letter carries its own colour */
.ly-text.clipt { background: none !important; animation: none; color: transparent !important; -webkit-text-fill-color: transparent; }
.ly-text.clipt .cw { background-image: var(--tbg); background-size: 100% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  padding: .3em .18em; margin: -.3em -.18em; }
.pg.play .in-type .ch        { animation: ch-show .01s calc(var(--dl, 0s) + var(--i) * var(--st, .06s)) both; }
.pg.play .in-letters .ch     { animation: ch-fade .8s calc(var(--dl, 0s) + var(--i) * var(--st, .06s)) both ease; }
.pg.play .in-lettersUp .ch   { animation: ch-up .8s calc(var(--dl, 0s) + var(--i) * var(--st, .06s)) both var(--ease); }
.pg.play .in-lettersBlur .ch { animation: ch-blur 1s calc(var(--dl, 0s) + var(--i) * var(--st, .06s)) both ease; }
.pg.play .in-lettersDrop .ch { animation: ch-drop .9s calc(var(--dl, 0s) + var(--i) * var(--st, .06s)) both cubic-bezier(.3,1.5,.5,1); }
.pg.play .in-words .wd       { animation: ch-up .9s calc(var(--dl, 0s) + var(--wi) * var(--st, .2s)) both var(--ease); }
@keyframes ch-show { from { opacity: 0; } to { opacity: 1; } }
@keyframes ch-fade { from { opacity: 0; } }
@keyframes ch-up   { from { opacity: 0; transform: translateY(.7em); } }
@keyframes ch-blur { from { opacity: 0; filter: blur(.35em); } }
@keyframes ch-drop { from { opacity: 0; transform: translateY(-.8em) scale(1.3); } }

/* text loops */
.lp-shimmer, .lp-wave, .lp-sparkle { animation: none; }
.lp-shimmer .ly-text { background-image: linear-gradient(105deg, transparent 0 38%, var(--shc, rgba(255,255,255,.95)) 50%, transparent 62% 100%), var(--tbg);
  background-size: 250% 100%, 100% 100%; background-repeat: no-repeat; background-position: 110% 0, 0 0;
  -webkit-background-clip: text; background-clip: text; color: transparent !important; -webkit-text-fill-color: transparent; animation: shimmer var(--ld, 4s) ease-in-out infinite; }
@keyframes shimmer { 0% { background-position: 110% 0, 0 0; } 65%, 100% { background-position: -10% 0, 0 0; } }
.lp-shimmer .ly-text.clipt { animation: none; }
.lp-shimmer .ly-text.clipt .cw { background-image: linear-gradient(105deg, transparent 0 38%, var(--shc, rgba(255,255,255,.95)) 50%, transparent 62% 100%), var(--tbg);
  background-size: 300% 100%, 100% 100%; background-repeat: no-repeat; background-position: 110% 0, 0 0; animation: shimmer var(--ld, 4s) ease-in-out infinite; animation-delay: calc(var(--i) * .05s); }
.lp-wave .cw { display: inline-block; animation: ch-wave var(--ld, 2.4s) ease-in-out infinite; animation-delay: calc(var(--i) * .09s); }
@keyframes ch-wave { 0%, 50%, 100% { transform: translateY(0); } 25% { transform: translateY(calc(var(--ldist, 30px) * -1)); } }
.lp-flicker { animation: lp-flicker var(--ld, 4s) linear infinite; }
@keyframes lp-flicker { 0%, 100% { opacity: 1; filter: drop-shadow(0 0 calc(var(--ldist, 30px) * .6) rgba(255,214,140,.8)); } 8% { opacity: .82; } 12% { opacity: 1; } 40% { filter: drop-shadow(0 0 var(--ldist, 30px) rgba(255,214,140,.95)); } 46% { opacity: .9; } 50% { opacity: 1; } 75% { filter: drop-shadow(0 0 calc(var(--ldist, 30px) * .4) rgba(255,214,140,.6)); } }
.lp-sparkle { position: relative; }
.lp-sparkle::before, .lp-sparkle::after { content: ""; position: absolute; inset: -12% -6%; pointer-events: none; z-index: 2;
  background-image: var(--star), var(--star), var(--star), var(--star); background-repeat: no-repeat;
  filter: drop-shadow(0 0 8px rgba(255,236,180,.95)); animation: twinkle var(--ld, 4s) ease-in-out infinite; }
.lp-sparkle::before { background-position: 6% 22%, 94% 18%, 30% 96%, 72% 4%; background-size: calc(var(--ldist, 30px) * 1.4) auto, var(--ldist, 30px) auto, calc(var(--ldist, 30px) * .9) auto, calc(var(--ldist, 30px) * 1.1) auto; }
.lp-sparkle::after { background-position: 88% 86%, 14% 78%, 52% 0, 99% 55%; background-size: var(--ldist, 30px) auto, calc(var(--ldist, 30px) * 1.3) auto, calc(var(--ldist, 30px) * .8) auto, calc(var(--ldist, 30px) * 1.2) auto; animation-delay: calc(var(--ld, 4s) * -.5); }
.cv { --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0Q11 9 20 10Q11 11 10 20Q9 11 0 10Q9 9 10 0Z' fill='%23fff6d8'/%3E%3C/svg%3E"); }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0deg); } 25% { opacity: 1; transform: scale(1) rotate(20deg); } 50% { opacity: .1; transform: scale(.6) rotate(40deg); } 75% { opacity: .9; transform: scale(.95) rotate(60deg); } }

/* editor: everything still, unless "play" is pressed */
.cv-static .ch, .cv-static .wd, .cv-static .cw, .cv-static .ly-text, .cv-static .lp-sparkle::before, .cv-static .lp-sparkle::after { animation: none !important; }
.cv-static .lp-sparkle::before, .cv-static .lp-sparkle::after { opacity: .9; }

/* editor (blocks), unless "play" is pressed */
.cv-static .ly-in, .cv-static .ly-loop, .cv-static .foil-t, .cv-static .beat, .cv-static .map-pin, .cv-static .cal-g b.on::before, .cv-static .ly.tap.hint::after { animation: none !important; }
.cv-static .has-in { opacity: 1 !important; }

/* ---------- ready-made blocks (sizes are in canvas pixels) ---------- */
.blk { font-family: var(--f-body); text-align: center; }
.blk.paper { background: var(--paper) repeat; background-image: var(--paper-img, none); color: var(--paper-ink); padding: 70px 56px; border-radius: 10px; box-shadow: 0 40px 70px -40px rgba(0,0,0,.75); position: relative; }
.blk.paper::before { content: ""; position: absolute; inset: 22px; border: 2px solid var(--gold); outline: 2px solid var(--gold); outline-offset: 8px; opacity: .55; pointer-events: none; }
.blk.glass { background: rgba(255,255,255,.07); border: 2px solid rgba(217,178,106,.55); border-radius: 28px; padding: 56px 46px; backdrop-filter: blur(8px); }
.blk.none { padding: 0; }
.blk .t-script { font: 400 110px/1.1 var(--f-script); color: var(--gold); }
.blk .t-caps { font: 600 32px/1.6 var(--f-caps); letter-spacing: .14em; text-transform: uppercase; }
.blk .t-serif { font: 600 52px/1.25 var(--f-serif); }
.blk .t-ital { font: italic 400 44px/1.4 var(--f-serif); opacity: .8; }
.blk .t-small { font-size: 36px; opacity: .8; }
.blk .rule { width: 110px; height: 2px; background: var(--gold); margin: 34px auto; opacity: .7; }
.blk .ico { width: 170px; height: 170px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); box-shadow: 0 0 0 8px var(--paper), 0 0 0 12px var(--gold); }
.blk .ico img { width: 100px; height: 100px; }
.blk .pill { display: inline-block; margin-top: 26px; padding: 10px 34px; border-radius: 99px; border: 2px solid var(--gold); font-size: 32px; opacity: .85; }
.cbtns { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; margin-top: 44px; }
.cbtn { display: inline-flex; align-items: center; justify-content: center; gap: .47em; padding: .88em 1.35em; border-radius: 99px; text-decoration: none; cursor: pointer;
  font: 500 34px/1 var(--f-body); letter-spacing: .06em; border: 3px solid var(--bb, var(--gold)); background: transparent; color: inherit; white-space: nowrap; }
.cbtn img { width: 1.3em; height: 1.3em; }
.cbtn .bic { font-size: 1.2em; line-height: 1; }
.cbtn.sh-rounded { border-radius: 26px; } .cbtn.sh-square { border-radius: 0; } .cbtn.sh-leaf { border-radius: 46px 0 46px 0; }
.cbtn.s-color { border: 0; background: var(--bf, var(--gold)); color: #fff; box-shadow: 0 14px 30px -14px rgba(0,0,0,.7); }
.cbtn.s-soft { border: 0; background: color-mix(in srgb, var(--bf, var(--gold)) 24%, transparent); }
.cbtn.s-glass { border: 2px solid rgba(255,255,255,.5); background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.cbtn.s-text { border: 0; padding: .5em .3em; text-decoration: underline; text-decoration-color: var(--bb, var(--gold)); text-underline-offset: .32em; text-decoration-thickness: 2px; }
.cbtn.s-double { outline: 2px solid var(--bb, var(--gold)); outline-offset: 7px; margin: 9px; }
.cbtn.s-icon { width: 4.4em; height: 4.4em; padding: 0; border-radius: 50% !important; background: var(--bf, transparent); }
.cbtn.s-icon img, .cbtn.s-icon .bic { width: 1.9em; height: 1.9em; font-size: 1.7em; display: grid; place-items: center; }
.cbtn.solid { border: 0; color: var(--bg); background: linear-gradient(110deg, var(--gold-dk), var(--gold) 35%, var(--gold-lt) 50%, var(--gold) 65%, var(--gold-dk)); background-size: 200% auto; animation: foil 6s linear infinite; box-shadow: 0 14px 30px -14px rgba(0,0,0,.7); }
.ly-btn { display: flex; justify-content: center; }
.ly-btn .cbtn { width: 100%; }
.ly-btn .cbtn.s-icon { width: 4.4em; }
.ly-btn .cbtn.s-double { width: calc(100% - 18px); }

/* countdown: every size is relative to the box width (cqw), so dragging a corner scales all of it */
.cdw { container-type: inline-size; width: 100%; }
.cd { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 2.7cqw; }
.cd > div { aspect-ratio: 1; border-radius: 50%; border: .34cqw solid var(--cellbd, var(--gold)); background: var(--cellbg, none); display: grid; place-content: center; position: relative; }
.cd.cellsh > div { box-shadow: 0 2cqw 3.6cqw -1.8cqw rgba(0,0,0,.65); }
.cd > div::after { content: ""; position: absolute; inset: 1.1cqw; border-radius: 50%; border: .22cqw dashed var(--cellbd, var(--gold)); opacity: .4; }
.cd.boxes > div { border-radius: 2.9cqw; aspect-ratio: auto; padding: 4cqw 0; }
.cd.boxes > div::after { border-radius: 2.2cqw; }
.cd.arch > div { border-radius: 999px 999px 1.6cqw 1.6cqw; aspect-ratio: 3 / 4; }
.cd.arch > div::after { border-radius: 999px 999px 1cqw 1cqw; }
.cd b { font: 600 calc(9.3cqw * var(--nk, 1))/1 var(--cdf, var(--f-serif)); font-variant-numeric: tabular-nums; color: var(--cdn, inherit); position: relative; text-shadow: var(--cdsh, none); }
.cd span { font: 500 calc(2.9cqw * var(--lk, 1))/1.2 var(--cdl, var(--f-body)); letter-spacing: .2em; text-transform: uppercase; opacity: .8; margin-top: .9cqw; position: relative; color: var(--cdlc, inherit); }
.cd-done { grid-column: 1 / -1; text-align: center; font: 400 10.7cqw/1.2 var(--f-script); color: var(--gold); }
.cd.flip > div, .cd.rings > div, .cd.hearts > div, .cd.minimal > div, .cd.line > div, .cd.days > div { border: 0; }
.cd.flip > div::after, .cd.rings > div::after, .cd.minimal > div::after, .cd.line > div::after, .cd.days > div::after, .cd.hearts > div::before { display: none; }
.cd.flip > div, .cd.minimal > div, .cd.line > div, .cd.days > div { background: none; }
.cd.flip > div { aspect-ratio: auto; padding: 0; display: flex; flex-direction: column; align-items: stretch; }
.cd.flip b { display: block; padding: 3.8cqw 0; border-radius: 2.4cqw; color: var(--cdn, var(--gold-lt)); background: var(--cellbg, linear-gradient(#2a0d14 50%, #1d0a10 50%));
  box-shadow: 0 2.2cqw 3.8cqw -2cqw rgba(0,0,0,.8), inset 0 0 0 .22cqw var(--cellbd, rgba(217,178,106,.35)); position: relative; overflow: hidden; }
.cd.flip b::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: .2cqw; background: rgba(0,0,0,.35); }
.cd.flip b.fl { animation: cd-flip .55s var(--ease); }
@keyframes cd-flip { from { transform: perspective(500px) rotateX(-90deg); opacity: .3; } }
.cd.flip span { margin-top: 2cqw; }
.cd.rings svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.cd.rings .rg-b { fill: none; stroke: var(--cellbd, var(--gold)); stroke-width: 3; opacity: .22; }
.cd.rings .rg-f { fill: none; stroke: var(--cellbd, var(--gold)); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .9s ease; }
.cd.hearts > div { background: none; padding-bottom: 12%; }
.cd.hearts > div::after { inset: 0; border: 0; border-radius: 0; opacity: 1; z-index: 0; background: var(--cellbg, linear-gradient(140deg, var(--gold-lt), var(--gold) 45%, var(--gold-dk)));
  -webkit-mask: var(--heart) center/100% 100% no-repeat; mask: var(--heart) center/100% 100% no-repeat; }
.cd.hearts b, .cd.hearts span { color: var(--cdn, var(--bg)); z-index: 1; }
.cd.hearts span { color: var(--cdlc, var(--bg)); }
.cd.minimal, .cd.line { display: flex; justify-content: center; align-items: flex-start; flex-wrap: wrap; }
.cd.minimal > div { aspect-ratio: auto; min-width: 16cqw; }
.cd.minimal b { font-size: calc(13.3cqw * var(--nk, 1)); }
.cd-sep { font: 600 calc(11cqw * var(--nk, 1))/1.05 var(--cdf, var(--f-serif)); opacity: .55; font-style: normal; color: var(--cdn, inherit); }
.cd.line { gap: 1.6cqw 3.8cqw; }
.cd.line > div { aspect-ratio: auto; display: flex; align-items: baseline; gap: 1.3cqw; }
.cd.line b { font-size: calc(8.4cqw * var(--nk, 1)); } .cd.line span { margin: 0; font-size: calc(3.1cqw * var(--lk, 1)); }
.cd.days { display: block; text-align: center; }
.cd.days > div { aspect-ratio: auto; }
.cd.days b { font-size: calc(31cqw * var(--nk, 1)); color: var(--cdn, var(--gold)); }
.cd.days span { font-size: calc(4.4cqw * var(--lk, 1)); letter-spacing: .32em; margin-top: 1.1cqw; white-space: nowrap; }
.cv { --heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M50 94C20 73 1 55 1 31C1 13 14 2 29 2C39 2 46 8 50 17C54 8 61 2 71 2C86 2 99 13 99 31C99 55 80 73 50 94Z'/%3E%3C/svg%3E"); }
/* card behind a block: solid colour or a gold frame (paper colour comes from --paper) */
.blk.colour { background: var(--cardbg, #3a0a17); padding: 56px 46px; border-radius: 28px; }
.blk.frame { border: 3px solid var(--cardbd, var(--gold)); outline: 2px solid var(--cardbd, var(--gold)); outline-offset: -16px; padding: 64px 52px; border-radius: 14px; }
.blk.cardsh { box-shadow: 0 40px 70px -40px rgba(0,0,0,.75); }
.blk.nosh { box-shadow: none; }

/* scratch card: any shape (the shape mask is set on each part), metallic / colour / picture cover */
.scr-w { -webkit-user-select: none; user-select: none; position: relative; width: 100%; aspect-ratio: 1; filter: drop-shadow(0 34px 40px rgba(0,0,0,.45)); container-type: inline-size; }
.scr-w.tall { aspect-ratio: 4 / 5; }
.scr { position: absolute; inset: 0; padding: 26px; background: conic-gradient(from 20deg, var(--gold-dk), var(--gold-lt), var(--gold), var(--gold-dk), var(--gold-lt), var(--gold-dk)); }
.scr.nofr { padding: 0; background: none; }
.scr-in { position: relative; width: 100%; height: 100%; background: var(--scr-u, var(--paper)) repeat; background-image: var(--paper-img, none); color: var(--scr-ink, var(--paper-ink)); display: grid; place-content: center; gap: 6px; text-align: center; overflow: hidden; }
.scr[style*="--scr-u"] .scr-in { background-image: none; }
.scr-in .m { font: 600 40px var(--f-caps); font-size: calc(7cqw * var(--k, 1) * var(--tk, 1)); letter-spacing: .3em; text-transform: uppercase; }
.scr-in .d { font: 600 170px/1 var(--f-serif); font-size: calc(29cqw * var(--k, 1) * var(--tk, 1)); color: var(--scr-num, var(--scr-ink, var(--gold-dk))); }
.scr-in .y { font: 500 34px var(--f-caps); font-size: calc(5.8cqw * var(--k, 1) * var(--tk, 1)); letter-spacing: .4em; opacity: .7; }
.scr-in .w { font: italic 400 40px var(--f-serif); font-size: calc(6.8cqw * var(--k, 1) * var(--tk, 1)); opacity: .75; }
.scr-in .big.d { font-size: calc(46cqw * var(--k, 1) * var(--tk, 1)); } .scr-in .big.m, .scr-in .big.w { font-size: calc(12cqw * var(--k, 1) * var(--tk, 1)); letter-spacing: .12em; }
.scr-in .big.y { font-size: calc(19cqw * var(--k, 1) * var(--tk, 1)); letter-spacing: .06em; opacity: 1; color: var(--scr-num, var(--scr-ink, var(--gold-dk))); }
.scr-tx { font: 400 90px/1.15 var(--f-script); font-size: calc(14cqw * var(--k, 1) * var(--tk, 1)); color: var(--gold-dk); padding: 0 12%; color: var(--scr-num, var(--scr-ink, var(--gold-dk))); }
.scr-pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scr.sh-heart { --k: .82; } .scr.sh-heart .scr-in { padding-bottom: 16%; }
.scr.sh-star, .scr.sh-diamond { --k: .6; } .scr.sh-star .scr-in { padding-top: 8%; }
.scr.sh-hexagon, .scr.sh-flower { --k: .88; }
.scr.sh-arch .scr-in { padding-top: 12%; }
.scr canvas { position: absolute; inset: 26px; width: calc(100% - 52px); height: calc(100% - 52px); touch-action: none; cursor: grab; transition: opacity 1s ease, transform 1s var(--ease), filter 1s ease; }
.scr.nofr canvas { inset: 0; width: 100%; height: 100%; }
.scr canvas.clear { opacity: 0; transform: scale(1.18); filter: blur(8px); pointer-events: none; }

/* gallery */
.galw { position: relative; width: 100%; height: 100%; }
.gal-arr { position: absolute; top: 50%; width: 96px; height: 96px; margin-top: -48px; border-radius: 50%; border: 3px solid rgba(255,240,200,.7); background: rgba(20,4,8,.45); color: #fff0c4; font-size: 64px; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); }
.gal-arr.l { left: 14px; } .gal-arr.r { right: 14px; }
.gal { cursor: grab; width: 100%; height: 100%; display: flex; gap: 36px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 9%; scrollbar-width: none; align-items: center; }
.gal::-webkit-scrollbar { display: none; }
.gal button { flex: 0 0 82%; height: 92%; scroll-snap-align: center; border: 0; padding: 18px; background: var(--paper); border-radius: 14px; box-shadow: 0 30px 50px -30px rgba(0,0,0,.85); cursor: pointer; }
.gal img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(8,2,4,.94); display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 94vw; max-height: 84vh; border-radius: 6px; }
.lb-btn { position: absolute; border: 0; background: rgba(255,255,255,.14); color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 22px; }
.lb-close { top: 16px; right: 16px; } .lb-prev { left: 10px; top: 50%; } .lb-next { right: 10px; top: 50%; }

/* rsvp (every colour and font can be changed) */
.rsvp { text-align: left; --rk: 1; }
.rsvp-t { font: 400 96px/1.1 var(--f-script); color: var(--gold); text-align: center; margin-bottom: 10px; }
.rsvp label { display: block; font: 600 calc(28px * var(--rk)) var(--rlf, var(--f-caps)); letter-spacing: .14em; text-transform: uppercase; margin: 40px 0 16px; color: var(--rl, var(--gold-dk)); }
.blk.glass .rsvp label, .blk.none .rsvp label, .blk.colour .rsvp label { color: var(--rl, var(--gold)); }
.rsvp input[type=text], .rsvp textarea { width: 100%; padding: 30px 34px; border-radius: 26px; border: 2px solid var(--rbd, rgba(176,132,60,.5)); background: var(--rib, rgba(255,255,255,.75)); font: 400 calc(44px * var(--rk)) var(--rif, var(--f-body)); color: var(--ric, #2a1a12); outline: none; }
.rsvp textarea { min-height: 190px; resize: vertical; }
.choice { display: flex; flex-wrap: wrap; gap: 20px; }
.choice label { margin: 0; font: inherit; letter-spacing: 0; text-transform: none; color: inherit !important; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-block; padding: 22px 38px; border-radius: 99px; border: 2px solid var(--rbd, rgba(176,132,60,.55)); font: 400 calc(36px * var(--rk, 1)) var(--rif, var(--f-body)); cursor: pointer; background: var(--rib, rgba(255,255,255,.4)); color: var(--ric, #2a1a12); }
.choice input:checked + span { background: var(--ron, var(--gold-dk)); border-color: var(--ron, var(--gold-dk)); color: var(--rot, #fff); }
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--rbd, rgba(176,132,60,.55)); border-radius: 99px; background: var(--rib, rgba(255,255,255,.4)); color: var(--ric, #2a1a12); }
.stepper button { width: 110px; height: 100px; border: 0; background: none; font-size: 56px; color: inherit; cursor: pointer; }
.stepper output { min-width: 80px; text-align: center; font-size: 44px; font-weight: 500; }
.rsvp .cbtn { width: 100%; margin-top: 56px; }
/* RSVP as a pop-up */
#pages .ly.rsvp-pop:not(.in-sheet) { display: none; }
.sheet { position: fixed; inset: 0; z-index: 96; pointer-events: none; }
.sheet-bg { position: absolute; inset: 0; background: rgba(10,3,6,.6); opacity: 0; transition: opacity .35s; }
.sheet-box { position: absolute; left: 50%; top: 50%; width: min(100vw - 24px, 456px); max-height: 90vh; transform: translate(-50%, -50%) scale(.85); opacity: 0; transition: transform .35s cubic-bezier(.22,.8,.24,1), opacity .3s; overflow-y: auto; overflow-x: hidden; padding: 34px 0 0; border-radius: 22px; }
.sheet.open { pointer-events: auto; } .sheet.open .sheet-bg { opacity: 1; } .sheet.open .sheet-box { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.sheet-in { transform-origin: 0 0; }
.sheet-in .ly.in-sheet { position: relative !important; left: 0 !important; top: 0 !important; transform: none !important; }
.sheet-x { position: absolute; z-index: 2; top: 4px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); font-size: 16px; cursor: pointer; }

/* calendar */
.cal-h { font: 400 100px/1.1 var(--f-script); color: var(--gold); margin-bottom: 6px; }
.cal-t { font: 600 40px/1.4 var(--f-caps); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 28px; }
.cal-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px 4px; font: 500 40px/1 var(--f-body); }
.cal-g i { font: 600 26px/1 var(--f-caps); letter-spacing: .08em; opacity: .6; font-style: normal; padding-bottom: 16px; }
.cal-g b { font-weight: 400; position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.cal-g b span { position: relative; z-index: 1; }
.cal-g b.on { color: #fff; font-weight: 700; }
.cal-g b.on::before { content: ""; position: absolute; inset: -16%; background: var(--mk, var(--gold));
  -webkit-mask: var(--mkmask) center/100% 100% no-repeat; mask: var(--mkmask) center/100% 100% no-repeat; animation: beat 1.5s ease-in-out infinite; }
.cal-g b.mk-heart::before { inset: -20% -18% -12%; }
.cal-g b.mk-ring { color: inherit; } .cal-g b.mk-ring::before { -webkit-mask: none; mask: none; background: none; border: 5px solid var(--mk, var(--gold)); border-radius: 50%; inset: -6%; }
.cal-w { margin-top: 26px; font: italic 400 42px/1.4 var(--f-serif); opacity: .85; }
.cal[data-cal] { cursor: pointer; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.12); } 30% { transform: scale(1); } 45% { transform: scale(1.08); } }

/* map */
.map-f { width: 100%; height: 100%; display: flex; flex-direction: column; gap: 34px; }
.map-f.card { background: var(--paper) repeat; background-image: var(--paper-img, none); padding: 28px; border-radius: 22px; box-shadow: 0 40px 70px -40px rgba(0,0,0,.75); }
.map-win { position: relative; flex: 1; min-height: 0; overflow: hidden; border: var(--mb, 0px) solid var(--gold); background: #e9e1cf; border-radius: 40px; box-shadow: 0 30px 60px -34px rgba(0,0,0,.7); }
.map-f.circle .map-win { border-radius: 50%; } .map-f.arch .map-win { border-radius: 999px 999px 0 0 / 46% 46% 0 0; } .map-f.square .map-win { border-radius: 0; } .map-f.card .map-win { border-radius: 12px; }
.map-win iframe, .map-pic, .map-pic img, .map-art { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.map-pic img { object-fit: cover; }
.map-art { background-color: #efe7d4; background-image:
  radial-gradient(circle at 22% 28%, #cfe1bd 0 11%, transparent 11.5%), radial-gradient(circle at 80% 76%, #cfe1bd 0 14%, transparent 14.5%),
  linear-gradient(115deg, transparent 0 62%, #bcd9e8 62% 70%, transparent 70%),
  linear-gradient(90deg, transparent 0 46%, #fff 46% 50%, transparent 50%), linear-gradient(0deg, transparent 0 57%, #fff 57% 61%, transparent 61%),
  linear-gradient(35deg, transparent 0 30%, #f2d7a0 30% 33%, transparent 33%), repeating-linear-gradient(0deg, transparent 0 60px, rgba(0,0,0,.035) 60px 62px); }
.map-pin { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -110px 0 0 -48px; background: var(--pin, #c2185b); border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  box-shadow: -6px 6px 14px rgba(0,0,0,.35); animation: pin 1.8s ease-in-out infinite; }
.map-pin::after { content: ""; position: absolute; inset: 30%; background: #fff; border-radius: 50%; }
@keyframes pin { 0%, 100% { translate: 0 0; } 50% { translate: 0 -26px; } }
.map-btn { display: flex; justify-content: center; }

/* blessings (ashirwaad) */
.wishes .chips { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin: 34px 0 10px; }
.chip { border: 2px solid var(--gold); background: rgba(255,255,255,.35); color: inherit; border-radius: 99px; padding: 16px 28px; font: 400 30px/1.25 var(--f-body); cursor: pointer; }
.chip.on { background: var(--gold); color: var(--bg); }
.wish textarea, .wish input[type=text] { width: 100%; margin-top: 24px; padding: 30px 34px; border-radius: 26px; border: 2px solid rgba(176,132,60,.5); background: rgba(255,255,255,.75); font: 400 42px var(--f-body); color: #2a1a12; outline: none; }
.wish textarea { min-height: 200px; resize: vertical; }
.wish .cbtn { width: 100%; margin-top: 40px; }
.wq { position: relative; min-height: 230px; margin: 30px 0 6px; }
.wq-i { position: absolute; inset: 0; display: grid; place-items: center; padding: 0 20px; font: italic 400 44px/1.4 var(--f-serif); opacity: 0; transition: opacity 1s ease; }
.wq-i.on { opacity: 1; }

/* scroll path (line + heart that travels while scrolling) */
.pth { display: block; width: 100%; height: 100%; overflow: visible; }
.pth-ki.beat { animation: beat 1.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }

/* ---------- opening (first screen) ---------- */
.opening { position: fixed; z-index: 80; overflow: hidden; background: var(--op-bg, #1b0a0f); }
.opening[hidden] { display: none; }
.opening .pg-in { z-index: 2; }
.op-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: var(--op-fit, cover); z-index: 1; pointer-events: none; }
.opening.shade::after { content: ""; position: absolute; inset: 0 0 auto; height: 32%; z-index: 1; pointer-events: none; background: linear-gradient(rgba(20,6,10,.6), transparent); transition: opacity .5s; }
.opening.playing::after, .opening.playing .op-layers > .ly:not(.t-video), .opening.playing .op-layers > .seal { opacity: 0; transition: opacity .5s ease; }
.opening.gone { opacity: 0; visibility: hidden; transition: opacity var(--vfade, .8s) ease, visibility 0s linear var(--vfade, .8s); }
.seal { position: absolute; z-index: 5; cursor: pointer; border: 0; padding: 0; background: none; }
.seal img, .seal video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform var(--crack, 1.1s) var(--ease), opacity var(--crack, 1.1s) ease; }
.seal video { object-fit: cover; }
.seal.circle video { border-radius: 50%; }
.seal .h1 { clip-path: polygon(0 0, 54% 0, 48% 18%, 57% 37%, 46% 55%, 56% 74%, 48% 100%, 0 100%); }
.seal .h2 { clip-path: polygon(53% 0, 100% 0, 100% 100%, 47% 100%, 55% 74%, 45% 55%, 56% 37%, 47% 18%); }
.seal::before { content: ""; position: absolute; inset: -14%; border-radius: 50%; border: 3px solid var(--gold-lt); opacity: 0; animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.75); opacity: .7; } 100% { transform: scale(1.25); opacity: 0; } }
.seal.charge { animation: charge var(--glow, .8s) ease-in both; filter: brightness(1.22) drop-shadow(0 0 40px rgba(255,214,140,.95)) drop-shadow(0 0 90px rgba(255,190,90,.6)); }
@keyframes charge { 0% { transform: scale(1); } 30% { transform: scale(1.05) rotate(-2deg); } 60% { transform: scale(1.08) rotate(2deg); } 100% { transform: scale(1.1); } }
.seal.broken::before, .seal.fading::before, .opening.playing .seal::before { display: none; }
.seal:focus { outline: none; }
.seal.hot { border-radius: 50%; }
.seal.hot::before { inset: 0; }
.seal.hot.nohint::before { display: none; }
.seal.nudge { animation: nudge .7s ease; }
.seal.hot.nudge { animation: none; box-shadow: 0 0 0 6px rgba(255,240,200,.75), 0 0 60px 20px rgba(255,214,140,.6); }
@keyframes nudge { 20% { transform: scale(1.08) rotate(-5deg); } 40% { transform: scale(1.08) rotate(5deg); } 60% { transform: scale(1.04) rotate(-3deg); } 80% { transform: scale(1.02) rotate(1deg); } }
.seal.broken .h1 { transform: translate(-70%, 40%) rotate(-38deg); opacity: 0; }
.seal.broken .h2 { transform: translate(70%, 46%) rotate(34deg); opacity: 0; }
.seal.fading { transition: transform var(--crack, 1.1s) var(--ease), opacity var(--crack, 1.1s) ease; transform: scale(1.25); opacity: 0; }
.burst { position: absolute; z-index: 4; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, rgba(255,250,230,1) 0%, rgba(255,214,140,.85) 30%, rgba(255,190,90,0) 70%); }
.burst.go { animation: burst var(--crack, 1.1s) ease-out forwards; }
@keyframes burst { 0% { transform: scale(.2); opacity: .95; } 40% { opacity: .7; } 100% { transform: scale(16); opacity: 0; } }
.skip { position: absolute; z-index: 9; right: 14px; bottom: 18px; border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.3); color: #fff; border-radius: 99px; padding: 6px 14px; font-size: 12px; letter-spacing: .1em; cursor: pointer; }

/* loader, music, petals, toast */
.loader { position: fixed; z-index: 90; display: grid; place-items: center; background: #1b0a0f; transition: opacity .7s ease, visibility .7s; color: #f3dca4; font: 500 11px "Cinzel", serif; letter-spacing: .3em; }
.loader.done { opacity: 0; visibility: hidden; }
.ld-bar { width: 140px; height: 1px; margin: 14px auto 0; background: rgba(255,255,255,.12); overflow: hidden; }
.ld-bar i { display: block; height: 100%; width: 0; background: #d9b26a; transition: width .4s ease; }
.music-btn { position: fixed; z-index: 70; bottom: 16px; right: max(16px, calc(50% - 240px + 16px)); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(217,178,106,.6); background: rgba(20,4,8,.55); backdrop-filter: blur(6px); display: grid; place-items: center; cursor: pointer; }
.music-btn[hidden] { display: none; }
.bars { display: flex; gap: 3px; align-items: flex-end; height: 16px; }
.bars i { width: 2.5px; height: 30%; background: #d9b26a; border-radius: 2px; }
.music-btn.playing .bars i { animation: eq 1s ease-in-out infinite; }
.bars i:nth-child(2) { animation-delay: .2s !important; } .bars i:nth-child(3) { animation-delay: .45s !important; }
@keyframes eq { 50% { height: 100%; } }
#petals.over-op { z-index: 85; }
#petals { position: fixed; z-index: 60; top: 0; left: 50%; width: min(100vw, 480px); height: 100%; transform: translateX(-50%); pointer-events: none; }
.toast { position: fixed; z-index: 99; left: 50%; bottom: 80px; transform: translateX(-50%); background: #fbf5ea; color: #3b1d14; padding: 10px 18px; border-radius: 99px; font: 14px system-ui; box-shadow: 0 10px 30px rgba(0,0,0,.4); }

@media (prefers-reduced-motion: reduce) {
  .cv *, .cv *::before, .cv *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* diya */
.diya { position: relative; width: 100%; height: 100%; cursor: pointer; }
.diya svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dy-bowl { fill: var(--clay, #b5562b); } .dy-shade { fill: rgba(60,15,0,.28); } .dy-rim { fill: var(--gold); } .dy-oil { fill: #6b3a10; } .dy-dots circle { fill: var(--gold-lt); }
.dy-wick { fill: #3b1d14; }
.dy-flame { transform-box: fill-box; transform-origin: 50% 100%; transform: scale(0); opacity: 0; transition: transform .6s cubic-bezier(.3,1.6,.5,1), opacity .4s; }
.dy-flame .fo { fill: var(--flame, #ffa63d); } .dy-flame .fi { fill: #fff6d0; }
.diya.lit .dy-flame { transform: scale(1); opacity: 1; animation: dy-flick 1.7s ease-in-out .6s infinite; }
@keyframes dy-flick { 0%, 100% { transform: scale(1, 1) rotate(0); } 25% { transform: scale(.94, 1.07) rotate(-2deg); } 50% { transform: scale(1.04, .95) rotate(1.5deg); } 75% { transform: scale(.97, 1.04) rotate(-1deg); } }
.dy-glow { position: absolute; left: 50%; top: 28%; width: 150%; aspect-ratio: 1; border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%) scale(0);
  background: radial-gradient(circle, rgba(255,214,140,.75) 0%, rgba(255,170,70,.32) 30%, rgba(255,150,50,0) 65%); transition: transform 1s ease; }
.diya.lit .dy-glow { transform: translate(-50%, -50%) scale(var(--glow, 1)); animation: dy-glow 2.4s ease-in-out 1s infinite alternate; }
@keyframes dy-glow { to { opacity: .75; } }
.diya:not(.lit) .dy-wick { animation: dy-ember 1.4s ease-in-out infinite alternate; }
@keyframes dy-ember { to { fill: #ff7a2e; } }
.cv-static .diya:not(.lit) .dy-wick { animation: none; }

/* then & now */
@property --p { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
.cmp { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: var(--r, 30px); border: var(--cb, 0px) solid var(--gold); touch-action: pan-y; cursor: ew-resize; -webkit-user-select: none; user-select: none; box-shadow: 0 30px 60px -34px rgba(0,0,0,.7); }
.cmp-a, .cmp-bi { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp-empty { display: grid; place-items: center; font: 600 40px var(--f-caps); color: #fff; background: #6b4d3a; } .cmp-b .cmp-empty { background: #9c7430; }
.cmp-b { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--p, 50%)); }
.cmp-h { position: absolute; top: 0; bottom: 0; left: var(--p, 50%); width: 6px; margin-left: -3px; background: #fff; box-shadow: 0 0 14px rgba(0,0,0,.4); }
.cmp-h span { position: absolute; top: 50%; left: 50%; width: 110px; height: 110px; margin: -55px; border-radius: 50%; background: #fff; color: var(--gold-dk); display: grid; place-items: center; font: 600 46px/1 system-ui; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.cmp-l { position: absolute; bottom: 26px; font: 600 30px var(--f-caps); letter-spacing: .2em; text-transform: uppercase; color: #fff; font-style: normal; background: rgba(0,0,0,.35); padding: 8px 18px; border-radius: 99px; }
.cmp-l.l { left: 26px; } .cmp-l.r { right: 26px; }
.pg.play .cmp.hint { animation: cmp-hint 2.6s ease-in-out .8s 1; }
@keyframes cmp-hint { 0%, 100% { --p: 50%; } 30% { --p: 28%; } 65% { --p: 72%; } }

/* personal message envelope */
.note-env { position: relative; width: 100%; height: 100%; cursor: pointer; }
.note-env.none { display: none; }
.ne-back, .ne-front { position: absolute; left: 0; right: 0; bottom: 0; height: 58%; border-radius: 16px; }
.ne-back { background: color-mix(in srgb, var(--env, #c9a46a) 82%, #000); }
.ne-front { background: var(--env, #c9a46a); clip-path: polygon(0 0, 50% 52%, 100% 0, 100% 100%, 0 100%); z-index: 3; box-shadow: inset 0 -8px 30px rgba(0,0,0,.15); }
.ne-letter { position: absolute; left: 6%; right: 6%; bottom: 5%; height: 50%; z-index: 2; overflow: hidden; text-align: center; border-radius: 10px; padding: 7% 6%;
  background: var(--paper) repeat; background-image: var(--paper-img, none); color: var(--paper-ink); box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: transform 1.1s var(--ease) .55s, height 1.1s var(--ease) .55s, z-index 0s 1.1s; }
.ne-letter .t-script { font: 400 84px/1.1 var(--f-script); color: var(--gold); }
.ne-msg { margin-top: 18px; font: italic 400 44px/1.45 var(--f-serif); }
.ne-sign { margin-top: 20px; font: 400 56px/1.2 var(--f-script); color: var(--gold-dk); }
.ne-flap { position: absolute; left: 0; right: 0; top: 42%; height: 34%; z-index: 4; background: color-mix(in srgb, var(--env, #c9a46a) 90%, #000); clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: 50% 0; transition: transform .7s ease, z-index 0s .35s; }
.ne-seal { position: absolute; left: 50%; top: 66%; z-index: 5; width: 130px; height: 130px; margin: -65px; border-radius: 50%; display: grid; place-items: center; font-size: 60px;
  background: radial-gradient(circle at 35% 35%, #d9455f, #8e1a2e 70%); box-shadow: 0 8px 20px rgba(0,0,0,.35); transition: opacity .4s, transform .4s; animation: beat 2s ease-in-out infinite; }
.ne-tap { position: absolute; left: 0; right: 0; bottom: -64px; text-align: center; font: 500 30px var(--f-caps); letter-spacing: .14em; opacity: .85; transition: opacity .4s; }
.note-env.open .ne-flap { transform: perspective(1400px) rotateX(180deg); z-index: 1; }
.note-env.open .ne-seal, .note-env.open .ne-tap { opacity: 0; transform: scale(.6); pointer-events: none; animation: none; }
.note-env.open .ne-letter { transform: translateY(-34%); height: 96%; z-index: 6; overflow: auto; }
.cv-static .ne-seal { animation: none; }

/* "Scroll" hint */
.scroll-hint { position: fixed; z-index: 65; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; justify-items: center; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.6);
  opacity: 0; transition: opacity .8s; pointer-events: none; font: 500 11px "Cinzel", serif; letter-spacing: .3em; }
.scroll-hint span { font-size: 30px; line-height: .7; animation: hint-bob 1.4s ease-in-out infinite; }
.scroll-hint.on { opacity: .9; } .scroll-hint.gone { opacity: 0; }
@keyframes hint-bob { 50% { transform: translateY(8px); } }

/* hanging strand (swings like a chain) */
.strand { position: relative; width: 100%; height: 100%; }
.st-img { display: block; width: 100%; height: 100%; object-fit: fill; }
.st-cv { position: absolute; display: none; pointer-events: none; }
.strand.run .st-img { visibility: hidden; }
.strand.run .st-cv { display: block; }

/* blessing pieces: write boxes, ready lines, thank-you */
.ff { display: block; width: 100%; height: 100%; outline: none; resize: none; -webkit-appearance: none; appearance: none; line-height: 1.35; }
.ff::placeholder { color: var(--ph, rgba(59,29,20,.45)); opacity: 1; }
.ff:focus { box-shadow: 0 0 0 3px rgba(217,178,106,.35); }
.ff:disabled { opacity: .6; }
.chipx { display: block; width: 100%; cursor: pointer; padding: .45em .9em; line-height: 1.3; text-align: center; transition: background .25s, color .25s, transform .2s; }
.chipx.c-outline { background: var(--cbg, rgba(255,255,255,.35)); border: 2px solid var(--cbd, var(--gold)); }
.chipx.c-filled { background: var(--cbg, var(--gold)); border: 2px solid var(--cbd, transparent); color: var(--bg); }
.chipx.c-glass { background: var(--cbg, rgba(255,255,255,.16)); border: 2px solid var(--cbd, rgba(255,255,255,.5)); backdrop-filter: blur(8px); }
.chipx.c-none { background: none; border: 0; text-decoration: underline; text-decoration-color: var(--cbd, var(--gold)); text-underline-offset: .3em; }
.chipx.on { background: var(--gold); color: var(--bg); transform: scale(1.03); }
.ly.chip-on { filter: drop-shadow(0 0 14px rgba(255,214,140,.95)); }
.on-sent { transition: opacity .9s ease; }
.on-sent:not(.seen) { opacity: 0; pointer-events: none; }
.on-sent:not(.seen) > .ly-in, .on-sent:not(.seen) .ch, .on-sent:not(.seen) .wd { animation: none !important; }
.cv-static .on-sent { opacity: 1; pointer-events: auto; }
.hide-sent { transition: opacity .8s ease; } .hide-sent.sent-gone { opacity: 0; pointer-events: none; }
.wish-thanks { padding: 60px 20px; text-align: center; font: italic 400 52px/1.4 var(--f-serif); }

/* invisible button: works when tapped, nothing shows (for your own button picture) */
.cbtn.s-invisible { opacity: 0; background: transparent; border-color: transparent; box-shadow: none; animation: none; }
.cv-static .cbtn.s-invisible, .artboard .cbtn.s-invisible { opacity: 1; background: rgba(37,99,235,.12); border: 4px dashed rgba(37,99,235,.85); color: transparent; }
.artboard .cbtn.s-invisible img, .artboard .cbtn.s-invisible .bic { visibility: hidden; }
