/* Bridal Mehendi "cinematic gold" and Ladies Tailor "flowing silk" looks (owner approved 30-Nov-2026).
   Both sites sit on near-black in light and dark mode alike (the page carries data-theme="dark" and data-cine),
   with glass cards, gradient buttons and a full-bleed hero picture with drifting sparks.
   Mehendi: Cormorant Garamond + Jost, shimmering gold. Tailor: Bodoni Moda + Manrope, wine and rose.
   Fonts are self-hosted (CSP: font-src 'self'). Long lists get no blur. Reduced motion: nothing moves. */

@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500 700; font-display: swap; src: url('fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600 800; font-display: swap; src: url('fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('fonts/jost-latin-wght-normal.woff2') format('woff2'); }
@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('fonts/bodoni-moda-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 400 800; font-display: swap; src: url('fonts/bodoni-moda-latin-500-italic.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('fonts/manrope-latin-wght-normal.woff2') format('woff2'); }

/* ---------- tokens (set on the root and on the body, so they beat the older per-app dark tokens) ---------- */
:root[data-cine='mehendi'], :root[data-cine='mehendi'][data-theme] body[data-app] {
  color-scheme: dark;
  --bg: #0D0A08; --bg-sunken: #17110C; --surface: #1B1510; --ink: #F3E7D3; --text-2: #DCCAB0; --text-3: #B8A58A;
  --line: rgba(232, 195, 122, 0.16); --line-strong: rgba(232, 195, 122, 0.32);
  --gold: #C9974A; --gold-deep: #E8C37A; --gold-tint: #2E2414;
  --accent: #E8C37A; --accent-deep: #F6DCA6; --accent-tint: #2E2414; --on-accent: #1A1209; --good: #8FD8AC;
  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
  --sans: Jost, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans', sans-serif;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 14px 34px rgba(0, 0, 0, 0.38);
  --cine-ground: radial-gradient(120% 70% at 78% 0%, #2A1A0E 0%, #0D0A08 62%);
  --cine-shade: 13, 10, 8;
  --glass: linear-gradient(160deg, rgba(255, 236, 200, 0.075), rgba(255, 236, 200, 0.035));
  --glass-line: rgba(232, 195, 122, 0.22);
  --glass-sh: inset 0 1px 0 rgba(255, 236, 200, 0.12), 0 24px 60px rgba(0, 0, 0, 0.45);
  --cine-grad: linear-gradient(135deg, #F6DCA6, #C9974A);
  --cine-glow: 0 0 40px rgba(232, 195, 122, 0.32);
  --spark: #F6DCA6;
  --btn-r: 4px;
}
:root[data-cine='tailoring'], :root[data-cine='tailoring'][data-theme] body[data-app] {
  color-scheme: dark;
  --bg: #120A0E; --bg-sunken: #1C1016; --surface: #21131A; --ink: #F6E9EE; --text-2: #E3CDD6; --text-3: #C9AAB6;
  --line: rgba(242, 167, 195, 0.16); --line-strong: rgba(242, 167, 195, 0.32);
  --gold: #D9AE4F; --gold-deep: #E9C77A; --gold-tint: #33261A;
  --accent: #F2A7C3; --accent-deep: #FFD0E0; --accent-tint: #3A1C28; --on-accent: #2A0F1A; --good: #8FD8AC;
  --serif: 'Bodoni Moda', 'Didot', Georgia, serif;
  --sans: Manrope, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans', sans-serif;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 14px 34px rgba(0, 0, 0, 0.38);
  --cine-ground: radial-gradient(120% 70% at 80% 0%, #3A1424 0%, #120A0E 62%);
  --cine-shade: 18, 10, 14;
  --glass: linear-gradient(160deg, rgba(255, 220, 235, 0.075), rgba(255, 220, 235, 0.035));
  --glass-line: rgba(242, 167, 195, 0.22);
  --glass-sh: inset 0 1px 0 rgba(255, 230, 240, 0.12), 0 24px 60px rgba(0, 0, 0, 0.45);
  --cine-grad: linear-gradient(135deg, #FFD0E0, #E48AAC);
  --cine-glow: 0 0 40px rgba(228, 138, 172, 0.36);
  --spark: #FFD0E0;
  --btn-r: 999px;
}
:root[data-cine] { background: var(--bg); }
:root[data-cine] body { background: var(--cine-ground) no-repeat, var(--bg); background-size: 100% 900px, auto; }

/* ---------- type ---------- */
:root[data-cine='mehendi'] .ma-hero h1, :root[data-cine='mehendi'] .ma-h2 { font-weight: 600; }
:root[data-cine='tailoring'] .ma-hero h1, :root[data-cine='tailoring'] .ma-h2, :root[data-cine='tailoring'] .ma-brand b { font-weight: 500; letter-spacing: -0.01em; }
:root[data-cine] .ma-eyebrow { letter-spacing: 0.3em; color: var(--accent); font-weight: 500; }
:root[data-cine='mehendi'] .ma-hero h1 em { font-style: italic; font-weight: 500;
  background: linear-gradient(90deg, #B9893A 0%, #F6DCA6 25%, #C9974A 50%, #F6DCA6 75%, #B9893A 100%); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-cine='tailoring'] .ma-hero h1 em { font-style: italic; color: var(--accent); }

/* ---------- header and tabs: glass ---------- */
:root[data-cine] .ma-top { background: rgba(var(--cine-shade), 0.62); -webkit-backdrop-filter: blur(18px) saturate(130%); backdrop-filter: blur(18px) saturate(130%); border-bottom-color: var(--glass-line); }
:root[data-cine] .ma-mono { border-color: var(--gold); color: var(--accent); }
:root[data-cine] .ma-pill { background: rgba(255, 255, 255, 0.06); border-color: var(--glass-line); color: var(--ink); }
:root[data-cine='mehendi'] .ma-logo, :root[data-cine='tailoring'] .ma-logo { filter: invert(1) hue-rotate(180deg) brightness(1.05); }

/* ---------- buttons ---------- */
:root[data-cine] .ma-btn { background: var(--cine-grad); color: var(--on-accent); border-radius: var(--btn-r); box-shadow: var(--cine-glow); letter-spacing: 0.03em; }
:root[data-cine] .ma-btn--ghost { background: rgba(255, 255, 255, 0.06); color: var(--ink); border: 1px solid var(--glass-line); box-shadow: var(--glass-sh); }
:root[data-cine] .ma-btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* ---------- glass surfaces (no blur: these can repeat in lists) ---------- */
:root[data-cine] .ma-card, :root[data-cine] .ma-x a, :root[data-cine] .qf, :root[data-cine] .mw-card {
  background: var(--glass), var(--bg); border: 1px solid var(--glass-line); box-shadow: var(--glass-sh); }
:root[data-cine] .ma-card[aria-pressed='true'] { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent) inset, var(--glass-sh); }
:root[data-cine] .ma-stitch { border-top-color: var(--glass-line); }
@media (min-width: 1024px) { :root[data-cine] .ma--home .ma-steps li { background: var(--glass), var(--bg); border-color: var(--glass-line); box-shadow: var(--glass-sh); } }

/* festival card: gold on dark brown for Mehendi (was olive), deep wine for Tailor */
:root[data-cine='mehendi'] body[data-app] .ma-fest { background: radial-gradient(120% 140% at 100% 0%, rgba(201, 151, 74, 0.55) 0%, transparent 55%), linear-gradient(135deg, #3A2614, #140E09);
  border: 1px solid var(--glass-line); box-shadow: var(--glass-sh); }
:root[data-cine='tailoring'] body[data-app] .ma-fest { background: radial-gradient(120% 140% at 100% 0%, rgba(228, 138, 172, 0.45) 0%, transparent 55%), linear-gradient(135deg, #4A1A2E, #1A0C12);
  border: 1px solid var(--glass-line); box-shadow: var(--glass-sh); }

/* dark-only details from the older theme, now always on */
:root[data-cine] .cb-card { background: linear-gradient(90deg, #2E2210 0%, #3A2012 55%, #3A1626 100%); color: #FFE3A8; }
:root[data-cine] .gw-card--locked { background: #26201C; color: #CDBFB3; box-shadow: inset 0 0 0 1px rgba(244, 237, 230, 0.16); }
:root[data-cine] .gw-card--locked .gw-card__icon { background: rgba(244, 237, 230, 0.08); }
:root[data-cine] .wg-forms { background: var(--surface); box-shadow: inset 0 0 0 1px rgba(244, 237, 230, 0.12); }
:root[data-cine] .wg-form .ma-field input, :root[data-cine] .wg-form .ma-field textarea { background: var(--surface); }
:root[data-cine] .wg-plus { color: #F6A86A; background: rgba(240, 149, 79, 0.16); }
:root[data-cine] .wg-ok { color: #8FD8AC; }
:root[data-cine] .wg-star { background: rgba(244, 237, 230, 0.08); }

/* ---------- the cinematic hero: full-bleed picture, dark veil, sparks ---------- */
.ma-hero--cine { position: relative; isolation: isolate; overflow: hidden; margin: 0 -16px; padding: 300px 20px 30px; text-align: left; }
.ma-hero--cine > .ma-heroimg { position: absolute; left: 0; right: 0; top: 0; height: 470px; margin: 0; border-radius: 0; box-shadow: none; z-index: -2; background: var(--bg); }
.ma-hero--cine > .ma-heroimg img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 74% 40%; transform-origin: 70% 45%; }
.ma-hero--cine::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 472px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(var(--cine-shade), 0.10) 0%, rgba(var(--cine-shade), 0.25) 38%, rgba(var(--cine-shade), 0.88) 72%, rgb(var(--cine-shade)) 100%); }
.ma-hero--cine .ma-logo { display: block; width: 190px; height: auto; margin: 0 0 6px -6px; }
.ma-hero--cine .ma-cta { justify-content: flex-start; }
.ma-hero--cine h1 { text-wrap: balance; }
.ma-hero--cine p { color: var(--text-2); max-width: 30em; }
.cine-sparks { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.cine-sparks i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--spark); box-shadow: 0 0 10px var(--spark); opacity: 0; }
.cine-sparks i:nth-child(1) { left: 52%; top: 58%; width: 3px; height: 3px; animation-delay: 0s; }
.cine-sparks i:nth-child(2) { left: 60%; top: 44%; width: 5px; height: 5px; animation-delay: 1.2s; }
.cine-sparks i:nth-child(3) { left: 66%; top: 62%; width: 6px; height: 6px; animation-delay: 2.4s; }
.cine-sparks i:nth-child(4) { left: 72%; top: 50%; width: 3px; height: 3px; animation-delay: 3.1s; }
.cine-sparks i:nth-child(5) { left: 78%; top: 60%; width: 5px; height: 5px; animation-delay: 0.6s; }
.cine-sparks i:nth-child(6) { left: 84%; top: 46%; width: 6px; height: 6px; animation-delay: 4.2s; }
.cine-sparks i:nth-child(7) { left: 90%; top: 56%; width: 3px; height: 3px; animation-delay: 1.8s; }
.cine-sparks i:nth-child(8) { left: 56%; top: 64%; width: 5px; height: 5px; animation-delay: 5.2s; }
.cine-sparks i:nth-child(9) { left: 94%; top: 40%; width: 6px; height: 6px; animation-delay: 2.9s; }
.cine-sparks i:nth-child(10) { left: 70%; top: 66%; width: 3px; height: 3px; animation-delay: 5.9s; }
.cine-sparks i:nth-child(11) { left: 82%; top: 64%; width: 5px; height: 5px; animation-delay: 3.7s; }
.cine-sparks i:nth-child(12) { left: 62%; top: 54%; width: 6px; height: 6px; animation-delay: 6.3s; }

@media (min-width: 760px) {
  .ma-hero--cine { margin: 20px 0 0; padding: 64px clamp(24px, 5vw, 72px); min-height: 600px; border-radius: 28px; display: flex; flex-direction: column; justify-content: center; }
  .ma-hero--cine { align-items: flex-start; text-align: left; }
  .ma-hero--cine > * { max-width: 600px; margin-left: 0; margin-right: 0; }
  .ma-hero.ma-hero--cine .ma-cta { justify-content: flex-start; }
  .ma-hero.ma-hero--cine .ma-logo { margin-left: -8px; }
  .ma-hero--cine > .ma-heroimg { inset: 0; height: auto; max-width: none; }
  .ma-hero--cine > .ma-heroimg img { object-position: 70% 50%; }
  .ma-hero--cine::before { inset: 0; height: auto;
    background: linear-gradient(90deg, rgba(var(--cine-shade), 0.96) 0%, rgba(var(--cine-shade), 0.82) 32%, rgba(var(--cine-shade), 0.25) 60%, rgba(var(--cine-shade), 0) 78%),
      linear-gradient(0deg, rgba(var(--cine-shade), 0.85) 0%, rgba(var(--cine-shade), 0) 35%); }
  .cine-sparks { max-width: none; }
  .cine-sparks i { top: auto !important; bottom: 4%; }
}
@media (min-width: 1024px) {
  .ma--home .ma-hero.ma-hero--cine { display: flex; align-items: flex-start; padding: 72px clamp(24px, 5vw, 72px); min-height: 640px; margin-top: 24px; }
  .ma--home .ma-hero--cine > .ma-heroimg { margin: 0; }
  .ma--home .ma-hero--cine .ma-heroimg img { aspect-ratio: auto; }
  .ma--home .ma-hero--cine .ma-logo { width: 260px; margin: 0 0 10px -8px; }
  .ma--home .ma-hero--cine h1 { font-size: clamp(56px, 5.6vw, 88px); line-height: 0.98; }
}

@media (prefers-reduced-motion: no-preference) {
  .ma-hero--cine > .ma-heroimg img { animation: cine-zoom 22s ease-in-out infinite alternate; will-change: transform; }
  .ma-hero--cine > :not(.ma-heroimg):not(.cine-sparks) { animation: cine-in 1.1s cubic-bezier(.2, .7, .2, 1) both; }
  .cine-sparks i { animation: cine-spark 7s linear infinite; }
  :root[data-cine='mehendi'] .ma-hero h1 em { animation: cine-shimmer 8s linear infinite; }
}
@keyframes cine-zoom { from { transform: scale(1.02); } to { transform: scale(1.10) translate(-1.5%, -1%); } }
@keyframes cine-spark { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-240px); opacity: 0; } }
@keyframes cine-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes cine-shimmer { from { background-position: -200% 0; } to { background-position: 200% 0; } }
