/* Weddings by Pixvid: one stylesheet, two moods.
   Savera (dawn): ivory, maroon and antique gold. Sandhya (dusk): warm black and gold foil.
   The mood is html[data-theme]; with no choice yet it follows the phone's light or dark setting. */

:root {
  --bg: #FBF7F0; --bg-2: #F3EADC; --surface: #FFFDF9; --surface-2: #F8F1E6;
  --ink: #241519; --ink-2: #4A3733; --muted: #6E5A54; --line: rgba(107, 20, 36, .13); --line-2: rgba(107, 20, 36, .22);
  --maroon: #6B1424; --maroon-2: #4A0C17; --gold: #A9822F; --gold-2: #D5B26A; --gold-3: #F1E2BC;
  --accent: var(--maroon); --accent-ink: #FFF7EC; --accent-hover: var(--maroon-2);
  --hl: var(--maroon);                 /* the italic word in headings */
  --glass: rgba(255, 252, 246, .66); --glass-line: rgba(255, 255, 255, .7);
  --shadow: 0 1px 2px rgba(60, 20, 20, .05), 0 12px 32px -12px rgba(60, 20, 20, .18);
  --shadow-lg: 0 2px 6px rgba(60, 20, 20, .06), 0 40px 80px -30px rgba(60, 20, 20, .35);
  --pane-shadow: 0 -24px 48px -28px rgba(60, 20, 20, .28);
  --wa: #1F8F55; --wa-ink: #fff;
  --display: 'Bodoni Moda', 'Playfair Display', Georgia, serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --deva: 'Tiro Devanagari Hindi', var(--display);
  --r: 22px; --r-sm: 14px; --gutter: clamp(16px, 4.5vw, 56px); --max: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #100A0B; --bg-2: #170F11; --surface: #1D1315; --surface-2: #24181A;
  --ink: #F6ECDD; --ink-2: #E4D5C3; --muted: #BBA898; --line: rgba(216, 181, 106, .16); --line-2: rgba(216, 181, 106, .3);
  --accent: linear-gradient(135deg, #E9CD8A, #C49A47 55%, #E4C27A); --accent-ink: #1B0F10; --accent-hover: linear-gradient(135deg, #F2DB9F, #CFA552 55%, #EFCF8A);
  --hl: #E2C27C;
  --glass: rgba(28, 17, 19, .58); --glass-line: rgba(233, 205, 138, .22);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px -14px rgba(0, 0, 0, .7);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .35), 0 40px 90px -30px rgba(0, 0, 0, .85);
  --pane-shadow: 0 -24px 60px -24px rgba(0, 0, 0, .8);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #100A0B; --bg-2: #170F11; --surface: #1D1315; --surface-2: #24181A;
    --ink: #F6ECDD; --ink-2: #E4D5C3; --muted: #BBA898; --line: rgba(216, 181, 106, .16); --line-2: rgba(216, 181, 106, .3);
    --accent: linear-gradient(135deg, #E9CD8A, #C49A47 55%, #E4C27A); --accent-ink: #1B0F10; --accent-hover: linear-gradient(135deg, #F2DB9F, #CFA552 55%, #EFCF8A);
    --hl: #E2C27C;
    --glass: rgba(28, 17, 19, .58); --glass-line: rgba(233, 205, 138, .22);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px -14px rgba(0, 0, 0, .7);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .35), 0 40px 90px -30px rgba(0, 0, 0, .85);
    --pane-shadow: 0 -24px 60px -24px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
  /* Bodoni Moda turns hairline-thin at large sizes (its 'opsz' axis follows the font size). Hold it at the sturdier
     text cut everywhere, so big headings keep readable strokes. Figtree has no such axis and is unaffected. */
  font-variation-settings: 'opsz' 14;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { font-family: 'Material Symbols Outlined'; font-weight: 400; font-style: normal; font-size: 1.25em; line-height: 1;
  display: inline-block; vertical-align: -.22em; font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; user-select: none; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.deva { font-family: var(--deva); font-weight: 400; letter-spacing: 0; }

/* type */
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 11.5px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.kicker::before { content: ''; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.kicker.center::after { content: ''; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.h1, .h2, .h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
.h1 { font-size: clamp(40px, 6.4vw, 78px); line-height: 1.02; }
.h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.06; }
.h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; }
.h1 em, .h2 em, .h3 em { font-style: italic; color: var(--hl); }
.lede { font-size: clamp(16px, 1.35vw, 18.5px); line-height: 1.6; color: var(--ink-2); max-width: 56ch; text-wrap: pretty; margin: 0; }
.muted { color: var(--muted); }
.head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); }
.head.center { text-align: center; justify-items: center; }
.head.split { grid-template-columns: 1fr auto; align-items: end; gap: 14px 32px; }
.head.split > :not(.head-actions) { grid-column: 1; }
.head-actions { grid-column: 2; grid-row: 1 / span 3; align-self: end; display: flex; gap: 10px; }
@media (max-width: 720px) { .head.split { grid-template-columns: 1fr; } .head-actions { grid-column: 1; grid-row: auto; } }

/* buttons */
.btn { --h: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 26px;
  border-radius: 999px; font: 600 15px/1 var(--body); letter-spacing: .01em; white-space: nowrap; position: relative; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s; }
.btn .icon { font-size: 20px; transition: transform .35s var(--ease); }
.btn:hover .icon.go { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 24px -12px rgba(107, 20, 36, .7); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
:root[data-theme="dark"] .btn-primary { box-shadow: 0 10px 30px -12px rgba(226, 194, 124, .55); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--ink); background: color-mix(in srgb, var(--surface) 60%, transparent); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-wa { background: var(--wa); color: var(--wa-ink); box-shadow: 0 10px 24px -12px rgba(31, 143, 85, .8); }
.btn-wa:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--hl); }
.link .icon { transition: transform .3s var(--ease); font-size: 18px; }
.link:hover .icon { transform: translateX(3px); }
.round-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; background: var(--surface);
  transition: border-color .3s, transform .3s var(--ease), opacity .3s; }
.round-btn:hover { border-color: var(--gold); transform: translateY(-1px); }
.round-btn:disabled { opacity: .35; cursor: default; transform: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line-2);
  font: 600 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }

/* ---------- offer banner, header ---------- */
.offer { display: block; text-align: center; padding: 9px 16px; font-size: 13.5px; font-weight: 500; background: var(--maroon); color: #FBEFD9; }
.offer b { color: var(--gold-2); font-weight: 600; }
.site-head { position: sticky; top: 0; z-index: 60; transition: background .4s, box-shadow .4s, backdrop-filter .4s; }
.site-head.scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.head-row { display: flex; align-items: center; gap: 20px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(213, 178, 106, .55), 0 6px 16px -8px rgba(74, 12, 23, .7); }
.brand-name { font-family: var(--display); font-size: 21px; letter-spacing: .005em; white-space: nowrap; }
.brand-name i { color: var(--gold); padding: 0 1px; }
.nav { display: flex; gap: 6px; }
.nav a { position: relative; padding: 10px 16px; border-radius: 99px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color .3s, background .3s; }
.nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--gold) 10%, transparent); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); transform: translateX(-50%); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); place-items: center; }
@media (max-width: 860px) {
  .nav, .head-row .btn-book { display: none; }
  .menu-btn { display: grid; }
  .head-row { height: 66px; gap: 12px; }
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 19px; }
}
.sheet { position: fixed; inset: 0; z-index: 80; display: grid; align-content: start; gap: 8px; padding: 90px var(--gutter) 40px;
  background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.sheet.open { opacity: 1; visibility: visible; }
.sheet a.big { font-family: var(--display); font-size: 40px; line-height: 1.25; padding: 6px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.sheet a.big .icon { color: var(--gold); font-size: 26px; }
.sheet .btn { margin-top: 18px; }
.sheet-close { position: absolute; top: 12px; right: var(--gutter); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; }

/* ---------- layered panes: each section slides over the one before, like a page of the invitation ---------- */
.pane { position: relative; z-index: 2; background: var(--bg); border-radius: clamp(26px, 4vw, 44px) clamp(26px, 4vw, 44px) 0 0;
  margin-top: calc(-1 * clamp(26px, 4vw, 44px)); box-shadow: var(--pane-shadow); padding: clamp(64px, 9vw, 110px) 0; }
.pane.alt { background: var(--bg-2); }
.pane.tight { padding: clamp(48px, 7vw, 84px) 0; }
.pane-ornament { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 64px; height: 5px; border-radius: 9px; background: var(--line-2); }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; z-index: 1; padding: clamp(18px, 4vw, 40px) 0 clamp(80px, 10vw, 120px); overflow: clip; min-height: min(860px, calc(100svh - 76px)); display: grid; align-items: center; }
.hero-bg { position: absolute; inset: -10% 0 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(70% 60% at 78% 30%, color-mix(in srgb, var(--gold-2) 26%, transparent), transparent 70%),
    radial-gradient(50% 50% at 10% 90%, color-mix(in srgb, var(--maroon) 9%, transparent), transparent 70%); }
.hero-pattern { position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, var(--line-2) 1px, transparent 1.4px); background-size: 28px 28px;
  mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent); -webkit-mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent); }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.live-pill { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px 0 12px; border-radius: 99px; border: 1px solid var(--line-2);
  background: var(--glass); backdrop-filter: blur(8px); font-size: 13px; color: var(--ink-2); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3FBF7F; animation: livepulse 2s infinite; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(63, 191, 127, .6) } 70% { box-shadow: 0 0 0 9px rgba(63, 191, 127, 0) } 100% { box-shadow: 0 0 0 0 rgba(63, 191, 127, 0) } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 12px; font-size: 13.5px; color: var(--ink-2); }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .icon { color: var(--gold); font-size: 19px; }

/* the stage: an arch window onto the templates, with the phone in front of it */
.stage { position: relative; height: clamp(520px, 62vw, 700px); }
.arch { position: absolute; left: 8%; right: 4%; top: 0; bottom: 6%; border-radius: 999px 999px 30px 30px; overflow: hidden;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .35); background: #2a1a18; }
.arch::after { content: ''; position: absolute; inset: 10px; border-radius: inherit; border: 1px solid rgba(241, 226, 188, .55); pointer-events: none; }
.arch-art { position: absolute; inset: -6% -2%; }
.arch-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.6s ease, transform 7s linear; }
.arch-art img.on { opacity: 1; transform: scale(1); }
.arch-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(20, 8, 10, .55)); }
.arch-label { position: absolute; right: 9%; bottom: 30px; z-index: 2; color: #FBEFD9; text-align: right; white-space: nowrap;
  font: 600 11px/1 var(--body); letter-spacing: .24em; text-transform: uppercase; }
.arch-label b { display: block; font: 500 26px/1.2 var(--display); letter-spacing: 0; text-transform: none; margin-top: 8px; transition: opacity .6s; }
.arch-frame { position: absolute; left: 3%; right: -1%; top: -3%; bottom: 3%; border-radius: 999px 999px 36px 36px; border: 1px solid var(--line-2); pointer-events: none; }
.phone-card { position: absolute; left: -2%; bottom: 0; width: clamp(200px, 22vw, 270px); z-index: 3; }
.tap-hint { position: absolute; z-index: 4; right: 8%; top: 4%; display: inline-flex; gap: 6px; align-items: center; font-size: 12px; color: var(--ink-2);
  background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(8px); padding: 7px 12px; border-radius: 99px; }
@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: 18px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { justify-items: center; text-align: center; }
  .hero-copy .lede { margin-inline: auto; }
  .hero-cta, .hero-trust { justify-content: center; }
  .stage { height: 480px; max-width: 460px; width: 100%; margin: 6px auto 0; }
  .arch { left: 14%; right: 0; }
  .phone-card { left: 0; width: 210px; }
  .arch-label { display: none; }
}
@media (max-width: 420px) {
  .stage { height: 440px; }
  .phone-card { width: 170px; }
}

/* petals (tap anywhere in the hero) */
.petal { position: absolute; z-index: 5; width: 14px; height: 18px; pointer-events: none; border-radius: 80% 0 80% 0;
  background: radial-gradient(circle at 30% 30%, #FFC24D, #F08A1C 70%); animation: petal var(--t, 1.8s) cubic-bezier(.25, .6, .35, 1) forwards; }
.petal.r { background: radial-gradient(circle at 30% 30%, #FF8A8A, #C9273F 70%); }
@keyframes petal { 0% { transform: translate(0, 0) rotate(0); opacity: 0 } 10% { opacity: 1 } 35% { transform: translate(calc(var(--dx) * .5), var(--up)) rotate(calc(var(--r) * .3)) } 85% { opacity: 1 } 100% { transform: translate(var(--dx), var(--fall)) rotate(var(--r)); opacity: 0 } }

/* ---------- devices ---------- */
.phone { position: relative; aspect-ratio: 9 / 19.2; border-radius: 15% / 7.1%; padding: 3.2%; background: linear-gradient(145deg, #2b2326, #0f0b0c);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .12), 0 0 0 1px rgba(0, 0, 0, .5), var(--shadow-lg); }
.phone::before { content: ''; position: absolute; top: 3.6%; left: 50%; width: 30%; height: 3.3%; transform: translateX(-50%); background: #000; border-radius: 99px; z-index: 2; }
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 12% / 5.6%; overflow: hidden; background: #140c0d; }
.phone .screen video, .phone .screen img { width: 100%; height: 100%; object-fit: cover; }
.media-card { position: relative; overflow: hidden; border-radius: var(--r); background: #1a1012; box-shadow: var(--shadow-lg); }
.media-card video, .media-card img { width: 100%; height: 100%; object-fit: cover; }
.sample-mark { position: absolute; z-index: 3; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 99px;
  font: 600 9.5px/1 var(--body); letter-spacing: .18em; color: rgba(255, 255, 255, .92); background: rgba(20, 10, 12, .45); backdrop-filter: blur(6px); pointer-events: none; }
.sample-mark .icon { font-size: 12px; }
video { -webkit-touch-callout: none; }

/* ---------- stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; box-shadow: var(--shadow); }
.stat { padding: 22px 24px; display: grid; gap: 4px; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 20%; bottom: 20%; width: 1px; background: var(--line); }
.stat b { font: 500 30px/1.1 var(--display); color: var(--hl); }
.stat b.inf { font: 300 34px/1 var(--body); }
.stat b.inf small { font: 500 15px/1 var(--body); letter-spacing: .02em; vertical-align: middle; color: var(--ink-2); }
.stat span { font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3)::before { display: none; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } .stat b { font-size: 26px; } }

/* ---------- unlimited edits ---------- */
.edits { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.edits-copy { display: grid; gap: 18px; justify-items: start; }
.compare { display: grid; gap: 10px; margin-top: 8px; width: 100%; max-width: 460px; }
.compare div { display: flex; gap: 12px; align-items: center; font-size: 14.5px; color: var(--ink-2); }
.compare .icon { font-size: 20px; }
.compare .no { color: #B4535B; } .compare .yes { color: #2E9E66; }
.log { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.log-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line);
  font: 600 11.5px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.log-head .live { display: inline-flex; align-items: center; gap: 8px; color: #2E9E66; letter-spacing: .1em; }
.log-list { list-style: none; margin: 0; padding: 6px 0; position: relative; }
.log-list::before { content: ''; position: absolute; left: 29px; top: 26px; bottom: 26px; width: 1px; background: var(--line-2); }
.log-item { display: grid; grid-template-columns: 20px 1fr auto; gap: 16px; align-items: start; padding: 12px 20px; position: relative; }
.log-item .dot { width: 9px; height: 9px; margin: 6px 0 0 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--surface); position: relative; z-index: 1; }
.log-item.new .dot { background: #3FBF7F; }
.log-item small { display: block; font-size: 12px; color: var(--muted); }
.log-item b { display: block; font-weight: 500; font-size: 15px; }
.log-item .tag { font-size: 11px; font-weight: 600; letter-spacing: .06em; padding: 4px 9px; border-radius: 99px; color: var(--ink-2); background: var(--surface-2); white-space: nowrap; }
.log-item.flash { animation: flash 1.6s var(--ease); }
@keyframes flash { 0% { background: color-mix(in srgb, #3FBF7F 18%, transparent) } 100% { background: transparent } }
.log-foot { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-top: 1px solid var(--line); background: var(--surface-2); font-size: 14px; color: var(--ink-2); }
.log-foot b { font: 500 30px/1 var(--display); color: var(--hl); }
@media (max-width: 860px) { .edits { grid-template-columns: 1fr; } }

/* ---------- carousels ---------- */
.rail { display: grid; grid-auto-flow: column; gap: clamp(14px, 2vw, 22px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding: 6px var(--gutter) 26px; margin: 0 calc(-1 * var(--gutter)); scroll-padding-inline: var(--gutter); }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 1300px) { .rail { padding-inline: calc((100vw - var(--max)) / 2); margin-inline: calc(-1 * (100vw - var(--max)) / 2); scroll-padding-inline: calc((100vw - var(--max)) / 2); } }

/* moments */
.moments .rail { grid-auto-columns: clamp(190px, 21vw, 238px); }
.moment { display: grid; gap: 14px; }
.moment .phone { width: 100%; }
.ripple-badge { position: absolute; z-index: 3; right: 10px; bottom: 10px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: rgba(20, 10, 12, .45); backdrop-filter: blur(6px); }
.moment .verb { font: 600 11px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.moment h3 { font: 500 20px/1.2 var(--display); margin: 6px 0 6px; text-wrap: balance; }
.moment a.link { font-size: 13.5px; }

/* the collection: cards of glass over the template's own art */
.collection { position: relative; z-index: 2; overflow: clip; padding: clamp(70px, 9vw, 110px) 0; color: #FBEFD9;
  border-radius: clamp(26px, 4vw, 44px) clamp(26px, 4vw, 44px) 0 0; margin-top: calc(-1 * clamp(26px, 4vw, 44px)); background: #1a0f10; box-shadow: var(--pane-shadow); }
.backdrop { position: absolute; inset: 0; z-index: -1; }
.backdrop img { position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover; opacity: 0; transition: opacity 1.1s ease; filter: saturate(1.08); }
.backdrop img.on { opacity: 1; }
.backdrop::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 8, 10, .72), rgba(16, 8, 10, .35) 40%, rgba(16, 8, 10, .82)); }
.collection .kicker { color: #E9CD8A; }
.collection .h2 em { color: #E9CD8A; }
.collection .lede { color: rgba(251, 239, 217, .82); }
.collection .round-btn { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); color: #fff; backdrop-filter: blur(8px); }
.collection .rail { grid-auto-columns: clamp(270px, 30vw, 340px); }
.glass { position: relative; border-radius: 26px; overflow: hidden; background: rgba(28, 16, 18, .38); border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
  transition: transform .5s var(--ease), border-color .5s; }
.glass::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .14) 45%, transparent 60%); background-size: 260% 100%; background-position: 120% 0; transition: background-position 1.2s var(--ease); }
.glass:hover::before { background-position: -40% 0; }
.glass:hover, .glass.active { border-color: rgba(233, 205, 138, .5); }
.glass:hover { transform: translateY(-4px); }

/* template card (used in the collection and on the Templates page) */
.tcard { display: grid; color: inherit; }
.tcard-media { position: relative; aspect-ratio: 4 / 4; overflow: hidden; margin: 10px 10px 0; border-radius: 999px 999px 18px 18px; background: #2a1a18; }
.tcard-media img, .tcard-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s; }
.tcard-media video { opacity: 0; }
.tcard.playing .tcard-media video { opacity: 1; }
.tcard:hover .tcard-media img { transform: scale(1.04); }
.tcard-media::after { content: ''; position: absolute; inset: 8px; border-radius: inherit; border: 1px solid rgba(241, 226, 188, .45); pointer-events: none; }
.tcard-badge { position: absolute; z-index: 2; top: 18px; left: 50%; transform: translateX(-50%); padding: 6px 12px; border-radius: 99px; font: 600 10.5px/1 var(--body);
  letter-spacing: .14em; text-transform: uppercase; color: #3a2210; background: linear-gradient(135deg, #F3DFA8, #D7B060); }
.tcard-idx { position: absolute; z-index: 2; bottom: 14px; left: 50%; transform: translateX(-50%); font: 500 13px/1 var(--display); letter-spacing: .2em; color: rgba(255, 255, 255, .85); }
.tcard-body { padding: 18px 20px 20px; display: grid; gap: 8px; }
.tcard-tags { display: flex; gap: 8px; flex-wrap: wrap; font: 600 10.5px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.collection .tcard-tags { color: #E9CD8A; }
.tcard-name { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font: 500 26px/1.15 var(--display); margin: 0; }
.tcard-name .deva { font-size: 16px; color: var(--gold); }
.collection .tcard-name .deva { color: #E9CD8A; }
.tcard-mood { font-size: 14px; line-height: 1.5; color: var(--ink-2); margin: 0; min-height: 3em; }
.collection .tcard-mood { color: rgba(251, 239, 217, .78); }
.tcard-surprise { display: flex; align-items: center; gap: 6px; margin: -2px 0 0; font: italic 500 15px/1.3 var(--display); color: var(--gold); }
.tcard-surprise .icon { font-size: 17px; font-style: normal; }
.tcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price b { font: 600 22px/1 var(--body); letter-spacing: -.01em; }
.price s { font-size: 14px; color: var(--muted); }
.collection .price s { color: rgba(251, 239, 217, .55); }
.tcard .price .off { display: none; }
.price .off { font-size: 11.5px; font-weight: 700; color: #2E9E66; background: color-mix(in srgb, #3FBF7F 14%, transparent); padding: 3px 7px; border-radius: 99px; }
.collection .btn-primary { background: linear-gradient(135deg, #E9CD8A, #C49A47 55%, #E4C27A); color: #1B0F10; }

/* ---------- every screen ---------- */
.screens { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.devices { position: relative; padding: 0 9% 8% 0; }
.devices .laptop { aspect-ratio: 4 / 5; border-radius: var(--r); }
.devices .phone-l { position: absolute; right: 0; bottom: 0; width: 36%; aspect-ratio: 9 / 16; border-radius: 18px; border: 4px solid var(--bg); }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.custom-fit { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; margin-top: 18px; padding: 16px 18px; border-radius: var(--r);
  background: linear-gradient(120deg, color-mix(in srgb, var(--gold) 12%, var(--surface)), var(--surface)); border: 1px solid color-mix(in srgb, var(--gold) 34%, transparent);
  color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), border-color .3s; }
.custom-fit:hover { transform: translateY(-2px); border-color: var(--gold); }
.custom-fit > .icon:first-child { font-size: 28px; color: var(--hl); }
.custom-fit b { display: block; font-size: 16px; font-weight: 600; }
.custom-fit small { color: var(--ink-2); font-size: 13.5px; }
.custom-fit > .icon:last-child { color: var(--gold); }
.feature { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 500; }
.feature .icon { color: var(--gold); font-size: 20px; }
@media (max-width: 860px) { .screens { grid-template-columns: 1fr; } .devices { max-width: 520px; margin: 0 auto; } }
@media (max-width: 420px) { .features { grid-template-columns: 1fr; } }

/* ---------- how it works: cards that stack as you scroll ---------- */
.steps { display: grid; gap: 18px; }

.step { position: sticky; top: calc(96px + var(--i) * 14px); display: grid; grid-template-columns: auto 1fr auto; gap: clamp(16px, 3vw, 36px); align-items: center;
  padding: clamp(22px, 3vw, 34px) clamp(22px, 3.4vw, 40px); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.step-n { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font: 400 30px/1 var(--deva); color: var(--hl); border: 1px solid var(--line-2);
  background: radial-gradient(circle at 30% 30%, var(--surface), var(--surface-2)); }
.step h3 { font: 500 clamp(22px, 2.4vw, 28px)/1.2 var(--display); margin: 0 0 6px; }
.step p { margin: 0; color: var(--ink-2); font-size: 16.5px; line-height: 1.6; max-width: 60ch; }
.step .icon.big { font-size: 40px; color: var(--gold); opacity: .8; }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps .step { position: relative; top: 0; grid-template-columns: 1fr; align-content: start; gap: 18px; padding: 28px 26px; }
  .steps .step .icon.big { position: absolute; top: 28px; right: 26px; font-size: 30px; }
  .steps .step h3 { font-size: 23px; }
}
@media (max-width: 640px) { .step { grid-template-columns: auto 1fr; top: calc(84px + var(--i) * 10px); } .step .icon.big { display: none; } .step-n { width: 52px; height: 52px; font-size: 24px; } }

/* ---------- testimonials ---------- */
.reviews .rail { grid-auto-columns: clamp(280px, 34vw, 380px); }
.review { position: relative; display: grid; gap: 16px; align-content: start; padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.review .q { font: 700 64px/1 Georgia, 'Times New Roman', serif; color: var(--gold); height: 34px; margin-top: -4px; }
.review blockquote { margin: 0; font: 500 20px/1.5 var(--display); color: var(--ink); text-wrap: pretty; }
.review .who { display: flex; gap: 12px; align-items: center; margin-top: auto; padding-top: 8px; }
.review .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 14px; color: var(--accent-ink); background: var(--accent); }
.review .who b { display: block; font-weight: 600; font-size: 14.5px; }
.review .who small { color: var(--ink-2); font-size: 13px; }
.review .stars { color: var(--gold); letter-spacing: 2px; font-size: 14px; }
.review .ribbon { position: absolute; top: 16px; right: 16px; font: 600 9.5px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 99px; padding: 5px 9px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; margin-inline: auto; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 22px; font-weight: 600; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--gold); transition: transform .35s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--ink-2); max-width: 70ch; }

/* ---------- final call ---------- */
.finale { position: relative; text-align: center; overflow: clip; }
.finale-card { position: relative; display: grid; justify-items: center; gap: 18px; padding: clamp(48px, 7vw, 84px) clamp(20px, 5vw, 64px); border-radius: 300px 300px var(--r) var(--r);
  background: radial-gradient(90% 80% at 50% 0%, color-mix(in srgb, var(--gold-2) 22%, var(--surface)), var(--surface)); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); max-width: 860px; margin: 0 auto; }
.finale-card::before { content: ''; position: absolute; inset: 12px; border-radius: inherit; border: 1px solid var(--line); pointer-events: none; }
.finale-card .mono { width: 76px; height: 76px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(213, 178, 106, .6), var(--shadow); }
.finale-card .deva { color: var(--gold); font-size: 20px; }
.finale .hero-cta { justify-content: center; }

/* ---------- footer ---------- */
.foot { position: relative; z-index: 3; background: #160C0E; color: #E9DCCB; padding: clamp(56px, 7vw, 84px) 0 96px;
  border-radius: clamp(26px, 4vw, 44px) clamp(26px, 4vw, 44px) 0 0; margin-top: calc(-1 * clamp(26px, 4vw, 44px)); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot .brand-name { color: #FBEFD9; }
.foot p { color: #B9A797; font-size: 14.5px; margin: 14px 0 0; max-width: 34ch; }
.foot h4 { font: 600 11px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: #D5B26A; margin: 6px 0 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.foot ul a { color: #E9DCCB; opacity: .85; display: inline-flex; gap: 8px; align-items: center; }
.foot ul a:hover { opacity: 1; color: #F1E2BC; }
.foot ul .icon { color: #D5B26A; font-size: 18px; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(233, 205, 138, .14); font-size: 13px; color: #9A897C; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- floating: WhatsApp and the Savera / Sandhya switch ---------- */
.fab-wa { position: fixed; z-index: 70; right: 18px; bottom: 18px; height: 56px; padding: 0 20px 0 16px; border-radius: 99px; display: inline-flex; gap: 10px; align-items: center;
  background: var(--wa); color: #fff; font-weight: 600; font-size: 15px; box-shadow: 0 14px 30px -10px rgba(31, 143, 85, .7); transition: transform .35s var(--ease), padding .35s var(--ease); }
.fab-wa svg { width: 26px; height: 26px; flex: none; }
.fab-wa:hover { transform: translateY(-2px); }
.mood { position: fixed; z-index: 70; left: 18px; bottom: 18px; display: flex; padding: 4px; gap: 2px; border-radius: 99px; background: var(--glass); border: 1px solid var(--line-2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); }
.mood button { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 99px; font-size: 13px; font-weight: 600; color: var(--ink-2); transition: background .35s, color .35s; }
.mood button .icon { font-size: 18px; }
.mood button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
@media (max-width: 640px) {
  .fab-wa { right: 14px; bottom: 14px; width: 54px; height: 54px; padding: 0; justify-content: center; }
  .fab-wa span { display: none; }
  .mood { left: 14px; bottom: 14px; }
  .mood button { padding: 0 11px; height: 38px; }
  .mood button .lbl { display: none; }
  body.has-bar .fab-wa, body.has-bar .mood { bottom: 88px; }
}

/* ---------- page heads (Templates, Contact, policies) ---------- */
.page-head { position: relative; z-index: 1; padding: clamp(36px, 6vw, 72px) 0 clamp(72px, 9vw, 110px); overflow: clip; }
.page-head .head { margin: 0; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.crumbs .icon { font-size: 16px; }

/* Templates page */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { height: 42px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; color: var(--ink-2); background: var(--surface); transition: all .3s var(--ease); }
.filters button:hover { border-color: var(--gold); color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.filters button span { opacity: .6; font-weight: 500; margin-left: 4px; }
/* Templates grid: one still background (a changing, pinned full-screen picture behind a tall grid flickered as you
   scrolled). Warm night, with a soft maroon and gold glow and a faint dotted pattern. */
/* Templates grid: one still background, Dev Deepawali on the ghats, fading into the night below (it scrolls with the
   page: a pinned or changing picture behind a tall grid made Chrome flicker). */
.gallery { position: relative; background: #0d0a12; }
.gallery::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: max(150vw, 1500px); max-height: 100%; pointer-events: none;
  background: linear-gradient(180deg, rgba(13, 10, 18, .55), rgba(13, 10, 18, .35) 30%, rgba(13, 10, 18, .7) 75%, #0d0a12),
              url(/img/art/varanasi-night.webp) center top / cover no-repeat; }
.gallery > .wrap { position: relative; }
.grid-t { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 26px); }
.grid-t .tcard[hidden], [data-db][hidden], [data-db-show][hidden] { display: none !important; }
@media (max-width: 1000px) { .grid-t { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-t { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
.tcard-actions { display: flex; gap: 8px; }
.helper { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 24px 28px; border-radius: var(--r); margin-top: clamp(32px, 5vw, 56px);
  background: rgba(28, 16, 18, .5); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(16px); color: #FBEFD9; }
.helper .icon.big { font-size: 34px; color: #E9CD8A; }
.helper b { font: 500 22px/1.2 var(--display); display: block; }
.helper small { color: rgba(251, 239, 217, .75); font-size: 14px; }
@media (max-width: 640px) { .helper { grid-template-columns: 1fr; text-align: center; justify-items: center; } }

/* preview modal */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(10, 5, 6, .78); backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-inner { position: relative; display: grid; grid-template-columns: auto 300px; gap: 28px; align-items: center; color: #FBEFD9; max-height: 100%; }
.modal .phone { height: min(76svh, 640px); width: auto; }
.modal-close { position: absolute; top: -8px; right: -8px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; }
.modal h3 { font: 500 34px/1.1 var(--display); margin: 8px 0 10px; }
.modal p { color: rgba(251, 239, 217, .8); margin: 0 0 22px; }
@media (max-width: 720px) { .modal-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 16px; } .modal .phone { height: 66svh; } .modal-text p { display: none; } .modal-close { top: 0; right: 0; } }

/* Template detail */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.viewer { position: sticky; top: 92px; display: grid; gap: 16px; justify-items: center; }
.viewer-stage { position: relative; width: 100%; height: min(72svh, 660px); min-height: 520px; display: grid; place-items: center; border-radius: 999px 999px 30px 30px; overflow: hidden; }
.viewer-stage .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(2px) saturate(1.05); transform: scale(1.08); }
.viewer-stage::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 45%, rgba(16, 8, 10, .1), rgba(16, 8, 10, .6)); }
.viewer-stage .frame-line { position: absolute; inset: 10px; z-index: 2; border-radius: inherit; border: 1px solid rgba(241, 226, 188, .5); pointer-events: none; }
.view { position: relative; z-index: 1; display: none; }
.view.on { display: block; animation: fadein .5s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: scale(.98) } to { opacity: 1; transform: none } }
.view-phone { height: 88%; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); }
.view-laptop { width: 82%; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); }
.view-both { width: 88%; height: 84%; }
.view-both .a { position: absolute; left: 0; top: 0; width: 72%; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); }
.view-both .b { position: absolute; right: 0; bottom: 0; width: 36%; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); border: 3px solid rgba(255, 255, 255, .85); }
.view video { width: 100%; height: 100%; object-fit: cover; }
.seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.seg button { display: inline-flex; gap: 6px; align-items: center; height: 40px; padding: 0 16px; border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: all .3s; }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.viewer-tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.sound-btn { display: inline-flex; gap: 8px; align-items: center; height: 50px; padding: 0 20px; border-radius: 99px; font-size: 14px; font-weight: 600;
  background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); color: var(--ink); transition: all .3s; }
.sound-btn .icon { color: var(--gold); }
.sound-btn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.sound-btn[aria-pressed="true"] .icon { color: inherit; animation: beat 1.1s ease-in-out infinite; }
@keyframes beat { 50% { transform: scale(1.18); } }
.lock-note { display: inline-flex; gap: 6px; align-items: center; font-size: 12.5px; color: var(--muted); }
.lock-note .icon { font-size: 16px; color: var(--gold); }
.info { display: grid; gap: 22px; padding-top: 8px; }
.info .native { font: 400 30px/1 var(--deva); color: var(--gold); }
.price-box { display: grid; gap: 14px; padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.price-box .price b { font-size: 34px; }
.price-box .row { display: flex; gap: 10px; flex-wrap: wrap; }
.price-box .row .btn { flex: 1 1 200px; }
.price-box small { color: var(--muted); font-size: 13px; display: flex; gap: 6px; align-items: center; }
.highlights { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: h; }
.highlights li { counter-increment: h; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.highlights li::before { content: counter(h, devanagari); font: 400 22px/1 var(--deva); color: var(--gold); }
.mini-features { display: flex; flex-wrap: wrap; gap: 8px; }
.mini-features span { display: inline-flex; gap: 6px; align-items: center; padding: 8px 12px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; }
.mini-features .icon { color: var(--gold); font-size: 17px; }
.buybar { position: fixed; z-index: 75; left: 0; right: 0; bottom: 0; display: none; align-items: center; gap: 12px; justify-content: space-between; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
.buybar .price b { font-size: 20px; }
.buybar small { display: block; font-size: 12px; color: var(--muted); }
@media (max-width: 900px) {
  .detail { grid-template-columns: 1fr; }
  .viewer { position: relative; top: 0; }
  .viewer-stage { min-height: 0; height: 560px; max-width: 460px; }
  .buybar { display: flex; }
}

/* Book page */
.book { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.stepper { display: flex; gap: 8px; align-items: center; margin-bottom: 26px; flex-wrap: wrap; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.stepper span { display: inline-flex; gap: 8px; align-items: center; }
.stepper i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); font-size: 12px; }
.stepper .on { color: var(--ink); }
.stepper .on i { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.stepper .done i { background: color-mix(in srgb, #3FBF7F 18%, transparent); color: #2E9E66; border-color: transparent; }
.stepper .bar { width: 28px; height: 1px; background: var(--line-2); }
.form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 34px); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .two { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field label em { font-style: normal; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 15px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg);
  color: var(--ink); font: 400 16px/1.4 var(--body); transition: border-color .25s, box-shadow .25s; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 18%, transparent); }
.field .pre { display: flex; }
.field .pre span { display: grid; place-items: center; padding: 0 14px; border: 1px solid var(--line-2); border-right: 0; border-radius: 14px 0 0 14px; background: var(--surface-2); color: var(--ink-2); font-weight: 600; }
.field .pre input { border-radius: 0 14px 14px 0; }
.field .err { display: none; font-size: 12.5px; color: #C0414F; }
.field.bad input, .field.bad select { border-color: #C0414F; }
.field.bad .err { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--maroon); flex: none; }
.check a { color: var(--hl); text-decoration: underline; text-underline-offset: 3px; }
.privacy-note { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.privacy-note .icon { color: #2E9E66; font-size: 18px; }
.summary { position: sticky; top: 92px; display: grid; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.summary-art { position: relative; height: 220px; }
.summary-art img { width: 100%; height: 100%; object-fit: cover; }
.summary-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(16, 8, 10, .75)); }
.summary-art h3 { position: absolute; z-index: 1; left: 22px; bottom: 16px; margin: 0; color: #FBEFD9; font: 500 28px/1.1 var(--display); }
.summary-body { padding: 20px 22px 22px; display: grid; gap: 12px; }
.summary-body .line { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--ink-2); }
.summary-body .total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--line); }
.summary-body .total b { font-size: 26px; }
.summary-body ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.summary-body li { display: flex; gap: 8px; align-items: center; }
.summary-body li .icon { color: #2E9E66; font-size: 18px; }
.summary-body .change { font-size: 13.5px; }
.done-card { display: none; text-align: center; justify-items: center; gap: 14px; padding: clamp(32px, 5vw, 56px) clamp(22px, 4vw, 40px); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.done-card.show { display: grid; }
.done-card .tick { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, #3FBF7F 16%, transparent); color: #2E9E66; }
.done-card .tick .icon { font-size: 40px; }
.next { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 10px; text-align: left; counter-reset: n; max-width: 420px; }
.next li { counter-increment: n; display: grid; grid-template-columns: 30px 1fr; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.next li::before { content: counter(n); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; border: 1px solid var(--line-2); color: var(--hl); }
@media (max-width: 900px) { .book { grid-template-columns: 1fr; } .summary { position: relative; top: 0; order: -1; } .summary-art { height: 150px; } }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.ways { display: grid; gap: 14px; }
.way { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 20px 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .35s var(--ease), border-color .35s; }
.way:hover { transform: translateY(-2px); border-color: var(--line-2); }
.way .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--surface-2); color: var(--hl); }
.way .ic .icon { font-size: 26px; }
.way.wa .ic { background: var(--wa); color: #fff; }
.way.wa .ic svg { width: 28px; height: 28px; }
.way b { display: block; font-size: 17px; font-weight: 600; }
.way small { color: var(--muted); font-size: 13.5px; word-break: break-word; }
.way > .icon { color: var(--gold); }
.way.wa { background: linear-gradient(120deg, color-mix(in srgb, var(--wa) 10%, var(--surface)), var(--surface)); border-color: color-mix(in srgb, var(--wa) 30%, transparent); }
.hours { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--ink-2); padding: 4px 4px 0; }
.hours .icon { color: var(--gold); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* policies */
.prose { max-width: 760px; margin: 0 auto; font-size: 16.5px; line-height: 1.75; color: var(--ink-2); }
.prose h2 { font: 500 28px/1.2 var(--display); color: var(--ink); margin: 40px 0 10px; }
.prose p, .prose li { text-wrap: pretty; }
.prose a { color: var(--hl); text-decoration: underline; text-underline-offset: 3px; }
.prose .updated { font-size: 14px; color: var(--muted); }

/* 404 */
.lost { min-height: 70svh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.lost .h1 { font-size: clamp(54px, 10vw, 120px); }
.lost .hero-cta { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .step { position: relative; top: 0; }
}

/* ---------- your own domain ---------- */
.domain-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.domain-visual { position: relative; padding: 0 0 70px; }
.browser { border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.b-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.b-bar .dots { display: flex; gap: 6px; flex: none; }
.b-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.b-url { flex: 1; min-width: 0; display: flex; align-items: center; gap: 2px; height: 38px; padding: 0 14px; border-radius: 99px; background: var(--bg);
  border: 1px solid var(--line); font-size: 15px; white-space: nowrap; overflow: hidden; }
.b-url .icon { color: #2E9E66; font-size: 17px; margin-right: 6px; }
.b-url b { font-weight: 600; color: var(--ink); }
.caret { width: 2px; height: 18px; margin-left: 1px; background: var(--hl); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0 } }
.b-body { position: relative; aspect-ratio: 16 / 9.5; overflow: hidden; }
.b-body img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.b-body::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 8, 10, .55), rgba(20, 8, 10, .1) 55%, rgba(20, 8, 10, .45)); }
.b-names { position: absolute; z-index: 1; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; color: #FBEFD9; padding-bottom: 12%; }
.b-names b { font: 500 clamp(26px, 3.4vw, 40px)/1.05 var(--display); }
.b-names i { font: italic 500 clamp(20px, 2.4vw, 28px)/1.1 var(--display); color: #F1E2BC; }
.wa-bubble { position: absolute; right: -2%; bottom: 0; width: min(300px, 70%); padding: 6px 6px 8px; border-radius: 14px 14px 4px 14px; background: #DCF8C6; color: #111;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .45); font-size: 13px; }
.wa-card { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: center; padding: 6px; border-radius: 10px; background: rgba(255, 255, 255, .7); }
.wa-card img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; }
.wa-card b { display: block; font-size: 13.5px; }
.wa-card small { color: #4b5b4b; font-size: 12px; word-break: break-all; }
.wa-link { display: block; padding: 6px 6px 0; color: #1A6FB0; text-decoration: underline; word-break: break-all; }
.wa-time { display: block; text-align: right; font-size: 11px; color: #6b7b6b; padding-right: 4px; }
.domain .btn { margin-top: 6px; }
@media (max-width: 860px) { .domain-grid { grid-template-columns: 1fr; } .domain-visual { max-width: 560px; width: 100%; margin: 0 auto; } }
@media (max-width: 480px) { .b-url { font-size: 13px; } .wa-bubble { right: 0; width: 84%; } }

/* ---------- fully customised ---------- */
.custom-card .tcard-media { background: #F6EEDF; }
.custom-card .tcard-media img { object-position: center 40%; }
.custom-card { border-color: rgba(233, 205, 138, .45); }
.price small.from { font-size: 12.5px; color: var(--muted); align-self: center; text-transform: lowercase; letter-spacing: .02em; }
.collection .price small.from { color: rgba(251, 239, 217, .7); }
.custom-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.custom-hero .price-box .price b { font-size: 34px; }
.custom-art { position: relative; aspect-ratio: 1; border-radius: 999px 999px 30px 30px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line-2); }
.custom-art img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.perk { display: grid; gap: 8px; align-content: start; padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.perk .icon { font-size: 30px; color: var(--gold); }
.perk b { font: 500 21px/1.2 var(--display); }
.perk span:not(.icon) { color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .custom-hero { grid-template-columns: 1fr; } .custom-art { max-width: 420px; width: 100%; margin: 0 auto; } .perks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .perks { grid-template-columns: 1fr; } }

/* No live blur where it flickers: blurring a backdrop that is changing behind cards while the page scrolls makes
   browsers repaint every frame (Safari on phones most of all). On the Templates grid and on touch screens the glass
   is a solid tint instead; the dashboard rail on desktop keeps the real blur. */
.gallery .glass { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(24, 13, 15, .74); }
@media (hover: none) {
  .glass, .helper, .live-pill, .mood, .tap-hint { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .glass { background: rgba(24, 13, 15, .74); }
  .mood { background: var(--surface); }
  .site-head.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
}

/* while the page scrolls, cards do not react to the mouse pointer resting over them (site.js: html.is-scrolling) */
.is-scrolling .tcard, .is-scrolling .moment, .is-scrolling .way { pointer-events: none; }

/* Chrome redraws a backdrop blur on every frame of a scroll, and on a busy page it falls behind: parts of the page
   blink out (Safari copes). Nothing that moves with the page, or sits over it while it scrolls, uses blur; solid
   tints instead. Only the full-screen menu and the preview, which never scroll, keep it. */
.btn-ghost, .site-head.scrolled, .live-pill, .tap-hint, .sample-mark, .ripple-badge, .collection .round-btn,
.glass, .mood, .helper, .buybar { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.btn-ghost { background: color-mix(in srgb, var(--surface) 88%, transparent); }
.collection .btn-ghost { background: rgba(255, 255, 255, .1); color: #FBEFD9; border-color: rgba(255, 255, 255, .3); }
.site-head.scrolled { background: color-mix(in srgb, var(--bg) 96%, transparent); }
.glass { background: rgba(24, 13, 15, .78); }
.live-pill, .tap-hint, .mood { background: var(--surface); }
.sample-mark, .ripple-badge { background: rgba(20, 10, 12, .62); }
.collection .round-btn { background: rgba(255, 255, 255, .14); }
.helper { background: rgba(24, 13, 15, .82); }
.buybar { background: var(--bg); }
