/* =====================================================================
   Bhagya Cards — Marketing site stylesheet
   Design system: cosmic indigo + saffron + gold on parchment cream.
   Patterned on the StudioCut.Video website_public stack (Alpine 3.14,
   static HTML, mesh-gradient surface, glass cards, mandala accents).
   Edit-and-go: rebuild output with `python build.py`.
   ===================================================================== */

/* ------------- Design tokens ----------------------------------------- */
:root {
  /* Brand palette — deep cosmic indigo, sacred saffron, temple gold */
  --indigo:        #1A1147;
  --indigo-2:      #2D1B69;
  --indigo-3:      #4B2E83;
  --saffron:       #FF8200;
  --saffron-2:     #FFB347;
  --gold:          #D4A017;
  --gold-2:        #F4C430;
  --vermillion:    #E63946;
  --copper:        #B87333;
  --rose:          #E8B4BC;
  --cream:         #FAF3E0;
  --ivory:         #FFF9F0;
  --parchment:     #F5E6D3;

  /* Surfaces (light theme defaults) */
  --surface-0:     #FFF9F0;
  --surface-1:     rgba(255, 249, 240, 0.55);
  --surface-2:     rgba(255, 255, 255, 0.82);
  --surface-3:     #FFFFFF;
  --glass-border:        rgba(212, 160, 23, 0.22);
  --glass-border-strong: rgba(212, 160, 23, 0.45);
  --line-1:        rgba(26, 17, 71, 0.08);
  --line-2:        rgba(26, 17, 71, 0.16);

  /* Ink */
  --ink-1:         #1A1147;
  --ink-2:         #2D2742;
  --ink-3:         #6B6580;
  --ink-muted:     #9A93AC;
  --ink-inverse:   #FFF9F0;

  /* Radius & shadow */
  --r-sm:    10px;
  --r-md:    18px;
  --r-lg:    28px;
  --r-xl:    44px;
  --r-pill:  999px;

  --sh-1: 0 1px 2px rgba(26,17,71,.04), 0 1px 1px rgba(26,17,71,.03);
  --sh-2: 0 4px 14px rgba(26,17,71,.06), 0 2px 4px rgba(26,17,71,.04);
  --sh-3: 0 20px 50px -12px rgba(26,17,71,.22), 0 8px 16px rgba(26,17,71,.10);
  --sh-glow-saffron: 0 10px 40px -10px rgba(255,130,0,.55);
  --sh-glow-gold:    0 10px 40px -10px rgba(212,160,23,.55);
  --sh-glow-indigo:  0 10px 40px -10px rgba(26,17,71,.55);

  /* Spacing scale */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  24px;
  --sp-6:  32px;
  --sp-7:  48px;
  --sp-8:  64px;
  --sp-9:  96px;
  --sp-10: 128px;

  --t-fast:   180ms cubic-bezier(.2,.7,.2,1);
  --t-normal: 320ms cubic-bezier(.2,.7,.2,1);
  --t-slow:   600ms cubic-bezier(.2,.7,.2,1);

  --container: 1240px;
  --header-h:  72px;

  /* Devanagari support */
  --font-deva: 'Tiro Devanagari Hindi', 'Tiro Devanagari Marathi',
               'Noto Serif Devanagari', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont,
               'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fraunces', 'Tiro Devanagari Hindi', Georgia, serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface-0:  #0B0820;
    --surface-1:  rgba(255,255,255,0.04);
    --surface-2:  rgba(255,255,255,0.08);
    --surface-3:  #14102E;
    --glass-border:        rgba(255,179,71,0.18);
    --glass-border-strong: rgba(255,179,71,0.30);
    --line-1: rgba(255,255,255,0.06);
    --line-2: rgba(255,255,255,0.12);
    --ink-1: #FAF3E0;
    --ink-2: #DCD5B8;
    --ink-3: #A9A28A;
    --ink-muted: #6E6852;
  }
}
[data-theme="dark"] {
  --surface-0:  #0B0820;
  --surface-1:  rgba(255,255,255,0.04);
  --surface-2:  rgba(255,255,255,0.08);
  --surface-3:  #14102E;
  --glass-border:        rgba(255,179,71,0.18);
  --glass-border-strong: rgba(255,179,71,0.30);
  --line-1: rgba(255,255,255,0.06);
  --line-2: rgba(255,255,255,0.12);
  --ink-1: #FAF3E0;
  --ink-2: #DCD5B8;
  --ink-3: #A9A28A;
  --ink-muted: #6E6852;
}

/* ------------- Reset & globals --------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-1);
  background: var(--surface-0);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
[x-cloak] { display: none !important; }
::selection { background: var(--saffron); color: var(--ink-1); }

.skip-link {
  position: absolute; top: -100px; left: 0;
  background: var(--indigo); color: var(--ivory);
  padding: 12px 16px; z-index: 1000;
  border-radius: 0 0 var(--r-sm) 0; font-weight: 600;
}
.skip-link:focus { top: 0; outline: 2px solid var(--saffron); outline-offset: -2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Typography */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--ink-1);
}
h1 { font-size: 2.5rem;  line-height: 1.1; }
h2 { font-size: 1.875rem; line-height: 1.15; }
h3 { font-size: 1.25rem;  line-height: 1.3; font-weight: 700; }
h4 { font-size: 1.0625rem; line-height: 1.3; font-weight: 700; }
.display {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  font-weight: 700; line-height: 1.04; letter-spacing: -0.03em;
}
p { color: var(--ink-2); }
.lead { font-size: 1.125rem; line-height: 1.65; color: var(--ink-2); }
.muted { color: var(--ink-3); }
:lang(hi), :lang(mr), [lang="hi"], [lang="mr"],
[lang="hi_IN"], [lang="mr"] { font-family: var(--font-deva); }

/* Eyebrow / badge */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--indigo);
  padding: 6px 14px;
  background: var(--surface-2);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-pill);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.eyebrow--saffron { color: var(--saffron); }
.eyebrow--gold    { color: var(--copper); }

.gradient-text {
  background: linear-gradient(135deg, var(--indigo), var(--vermillion) 55%, var(--saffron));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--saffron); display: inline-block;
  position: relative;
}
.badge-dot::after {
  content: ''; position: absolute; inset: -3px;
  border-radius: 50%; background: var(--saffron);
  opacity: .35; animation: pulseDot 2.4s ease-in-out infinite;
}
@keyframes pulseDot {
  0%,100% { transform: scale(1);   opacity: .35; }
  50%     { transform: scale(1.6); opacity: 0;   }
}

/* ------------- Layout ------------------------------------------------ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 960px) { .container { padding: 0 24px; } }
@media (max-width: 640px) { .container { padding: 0 16px; } }

.section    { padding: var(--sp-9) 0; }
.section--sm{ padding: var(--sp-7) 0; }
.section--lg{ padding: var(--sp-10) 0; }
@media (max-width: 640px) {
  .section    { padding: var(--sp-7) 0; }
  .section--lg{ padding: var(--sp-8) 0; }
}
.section-head {
  text-align: center; max-width: 760px; margin: 0 auto var(--sp-7);
}
.section-head__title { margin: 16px 0 12px; }
.section-head__lede  { font-size: 1.125rem; color: var(--ink-2); }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* ------------- Mesh + sacred-geometry backdrop ----------------------- */
.mkt-mesh {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 900px 700px at 12% 5%,  rgba(212,160,23,0.20), transparent 60%),
    radial-gradient(ellipse 800px 600px at 88% 8%,  rgba(230,57,70,0.16),  transparent 60%),
    radial-gradient(ellipse 1100px 800px at 50% 105%, rgba(45,27,105,0.16), transparent 60%),
    radial-gradient(ellipse 700px 600px at 100% 60%, rgba(255,179,71,0.18), transparent 60%),
    var(--surface-0);
}
[data-theme="dark"] .mkt-mesh {
  background:
    radial-gradient(ellipse 900px 700px at 12% 5%,  rgba(212,160,23,0.16), transparent 60%),
    radial-gradient(ellipse 800px 600px at 88% 8%,  rgba(230,57,70,0.14),  transparent 60%),
    radial-gradient(ellipse 1100px 800px at 50% 105%, rgba(255,179,71,0.10), transparent 60%),
    var(--surface-0);
}
.mkt-mandala-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: .12; overflow: hidden;
}
.mkt-mandala-bg svg {
  position: absolute; top: 50%; left: 50%;
  width: min(1100px, 110vw); height: auto;
  transform: translate(-50%, -50%);
  animation: spin 120s linear infinite;
}
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .mkt-mandala-bg svg { animation: none; }
}

/* ------------- Header ------------------------------------------------ */
.mkt-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  background: rgba(255, 249, 240, 0.72);
  border-bottom: 1px solid var(--line-1);
  transition: background var(--t-fast), border-color var(--t-fast);
}
[data-theme="dark"] .mkt-header { background: rgba(11, 8, 32, 0.7); }
.mkt-header__inner {
  height: var(--header-h); max-width: var(--container);
  margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; gap: 32px;
}
@media (max-width: 960px) { .mkt-header__inner { padding: 0 24px; } }
@media (max-width: 640px) { .mkt-header__inner { padding: 0 16px; gap: 16px; } }

.mkt-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.125rem;
  letter-spacing: -0.02em; color: var(--ink-1);
}
.mkt-brand__mark {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold-2), var(--saffron) 65%, var(--vermillion));
  color: var(--indigo); flex-shrink: 0;
  box-shadow: var(--sh-glow-saffron);
}
.mkt-brand__mark svg { width: 22px; height: 22px; }
.mkt-brand em { color: var(--vermillion); font-style: normal; }
.mkt-brand__logo { height: 40px; width: auto; display: block; }
[data-theme="dark"] .mkt-brand__logo { filter: brightness(0) invert(1); }

.mkt-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
@media (max-width: 960px) { .mkt-nav { display: none; } }
.mkt-nav__item { position: relative; }
.mkt-nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 14px; font-size: 0.9375rem; font-weight: 500;
  color: var(--ink-2); border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.mkt-nav__link:hover { color: var(--ink-1); background: var(--surface-1); }
.mkt-nav__link:focus-visible { outline: 2px solid var(--saffron); outline-offset: 2px; }
.mkt-nav__link[aria-current="page"] { color: var(--indigo); font-weight: 600; }
.mkt-nav__link svg { width: 12px; height: 12px; opacity: .55; transition: transform var(--t-fast); }
.mkt-nav__item[data-open="true"] .mkt-nav__link svg { transform: rotate(180deg); }

.mkt-nav__dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 320px; background: var(--surface-3);
  border: 1px solid var(--line-1);
  border-radius: var(--r-md); box-shadow: var(--sh-3);
  padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
  z-index: 10;
}
.mkt-nav__item[data-open="true"] .mkt-nav__dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.mkt-nav__drop-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 12px; border-radius: var(--r-sm);
  transition: background var(--t-fast);
}
.mkt-nav__drop-item:hover { background: var(--surface-1); }
.mkt-nav__drop-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm); background: var(--surface-1);
  color: var(--saffron); border: 1px solid var(--glass-border);
}
.mkt-nav__drop-icon svg { width: 16px; height: 16px; }
.mkt-nav__drop-title { display: block; font-size: 0.9375rem; font-weight: 600; color: var(--ink-1); }
.mkt-nav__drop-desc  { display: block; font-size: 0.8125rem; color: var(--ink-3); margin-top: 2px; }

.mkt-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.mkt-theme-toggle, .mkt-lang-toggle {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm); color: var(--ink-3);
  transition: background var(--t-fast), color var(--t-fast);
}
.mkt-theme-toggle:hover, .mkt-lang-toggle:hover {
  background: var(--surface-1); color: var(--ink-1);
}
.mkt-theme-toggle svg, .mkt-lang-toggle svg { width: 18px; height: 18px; }
.mkt-lang-pop {
  position: absolute; top: 100%; right: 0; min-width: 160px;
  background: var(--surface-3); border: 1px solid var(--line-1);
  border-radius: var(--r-md); box-shadow: var(--sh-3); padding: 6px;
  margin-top: 6px;
}
.mkt-lang-pop a {
  display: block; padding: 8px 12px;
  border-radius: var(--r-sm); font-size: 0.9375rem; color: var(--ink-2);
}
.mkt-lang-pop a:hover { background: var(--surface-1); color: var(--ink-1); }
.mkt-lang-pop a[aria-current="true"] { color: var(--saffron); font-weight: 600; }

.mkt-mobile-toggle {
  display: none; width: 40px; height: 40px;
  border-radius: var(--r-sm); color: var(--ink-2);
}
@media (max-width: 960px) {
  .mkt-mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
}
.mkt-mobile-toggle svg { width: 22px; height: 22px; }

.mkt-mobile-menu {
  display: none; position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--surface-0); padding: 24px;
  overflow-y: auto; border-top: 1px solid var(--line-1);
}
@media (max-width: 960px) { .mkt-mobile-menu { display: block; } }
.mkt-mobile-menu__group { margin-bottom: 24px; }
.mkt-mobile-menu__label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px;
}
.mkt-mobile-menu__link {
  display: block; padding: 12px 0; font-size: 1.0625rem;
  color: var(--ink-1); border-bottom: 1px solid var(--line-1);
}
.mkt-mobile-menu__actions {
  display: flex; flex-direction: column; gap: 12px; margin-top: 24px;
}

/* ------------- Buttons ----------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 22px;
  border-radius: var(--r-pill);
  font-weight: 600; font-size: 0.9375rem; white-space: nowrap;
  transition: transform var(--t-fast), box-shadow var(--t-fast),
              background var(--t-fast), color var(--t-fast),
              border-color var(--t-fast);
  border: 1.5px solid transparent; position: relative; isolation: isolate;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; }
.btn svg { width: 16px; height: 16px; }
.btn--primary {
  background: linear-gradient(135deg, var(--saffron), var(--vermillion));
  color: var(--ivory); box-shadow: var(--sh-glow-saffron);
}
.btn--primary:hover { box-shadow: var(--sh-glow-saffron), var(--sh-2); }
.btn--indigo {
  background: var(--indigo); color: var(--ivory);
  box-shadow: var(--sh-glow-indigo);
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: var(--indigo); box-shadow: var(--sh-glow-gold);
}
.btn--ghost {
  background: var(--surface-1); color: var(--ink-1);
  border-color: var(--glass-border);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.btn--outline {
  background: transparent; color: var(--ink-1);
  border-color: var(--line-2);
}
.btn--sm { padding: 8px 14px; font-size: 0.8125rem; }
.btn--lg { padding: 16px 28px; font-size: 1rem; }

/* Magnetic CTA (animated via JS) */
.btn--magnetic { transition: transform .25s cubic-bezier(.2,.7,.2,1); }

/* ------------- Glass card ------------------------------------------- */
.glass {
  background: var(--surface-2);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: var(--sh-2);
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.glass:hover { box-shadow: var(--sh-3); }
.glass--lg { border-radius: var(--r-lg); }
.glass--gold { border-color: var(--gold); }

.card {
  display: block;
  background: var(--surface-3); border: 1px solid var(--line-1);
  border-radius: var(--r-md); padding: 24px;
  box-shadow: var(--sh-1); transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--sh-2); border-color: var(--glass-border-strong); }
.card__title { margin: 0 0 8px; font-size: 1.125rem; }
.card__text  { color: var(--ink-3); font-size: 0.9375rem; line-height: 1.55; }

/* Product card */
.product-card {
  display: flex; flex-direction: column;
  background: var(--surface-3); border: 1px solid var(--line-1);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-1); transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.product-card__media {
  aspect-ratio: 4/5; overflow: hidden; position: relative;
  background: linear-gradient(135deg, var(--cream), var(--parchment));
}
.product-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow);
}
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__body { padding: 20px 22px 24px; }
.product-card__deity {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--saffron); margin-bottom: 6px;
}
.product-card__title { font-family: var(--font-display); font-size: 1.25rem; margin: 0 0 8px; }
.product-card__intent {
  display: inline-flex; gap: 4px; flex-wrap: wrap; margin-top: 8px;
}
.product-card__intent span {
  font-size: 0.75rem; padding: 3px 10px;
  background: var(--surface-1); border: 1px solid var(--glass-border);
  border-radius: var(--r-pill); color: var(--ink-3);
}
.product-card__price {
  margin-top: 14px; display: flex; align-items: baseline; justify-content: space-between;
}
.product-card__price strong { font-size: 1.125rem; color: var(--ink-1); }
.product-card__price small { color: var(--ink-3); font-size: 0.8125rem; }

/* ------------- Hero -------------------------------------------------- */
.hero { padding: 96px 0 64px; text-align: center; position: relative; }
@media (max-width: 640px) { .hero { padding: 64px 0 48px; } }
.hero__title { margin: 24px auto 20px; max-width: 920px; }
.hero__lede {
  font-size: 1.25rem; color: var(--ink-2);
  max-width: 720px; margin: 0 auto 32px; line-height: 1.6;
}
@media (max-width: 640px) { .hero__lede { font-size: 1.0625rem; } }
.hero__actions {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap; margin-bottom: 40px;
}
.hero__trust {
  display: flex; align-items: center; justify-content: center;
  gap: 24px; flex-wrap: wrap; font-size: 0.8125rem; color: var(--ink-3);
}
.hero__trust strong { color: var(--ink-1); font-weight: 700; }

/* Hero canvas (mandala) */
.hero__canvas-wrap {
  position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
}
#hero-mandala {
  position: absolute; top: 50%; left: 50%;
  width: min(960px, 95vw); height: min(960px, 95vw);
  transform: translate(-50%, -50%);
  opacity: .35;
}

/* Decorative mandala accent on PDP / about heroes (§13.6) — a smaller,
   corner-anchored sibling of the home hero canvas, animated by the same
   marketing.js:initMandala (IntersectionObserver + reduced-motion gated). */
.mandala-accent {
  position: absolute; z-index: 0; pointer-events: none;
  width: clamp(260px, 38vw, 520px); aspect-ratio: 1; opacity: .2;
}
.mandala-accent canvas { width: 100%; height: 100%; }
.hero--accented { position: relative; overflow: hidden; }
.hero--accented .mandala-accent { top: -14%; right: -8%; }
.hero--accented > .container { position: relative; z-index: 1; }
.pdp { position: relative; }
.pdp > .mandala-accent { top: -7%; right: -6%; }
.pdp > *:not(.mandala-accent) { position: relative; z-index: 1; }
@media (max-width: 640px) { .mandala-accent { opacity: .12; } }

/* ------------- Forms ------------------------------------------------- */
.field { display: block; margin-bottom: 16px; }
.field__label {
  display: block; font-size: 0.875rem; font-weight: 600;
  color: var(--ink-2); margin-bottom: 6px;
}
.field__input, .field__textarea, .field__select {
  width: 100%; padding: 12px 16px;
  background: var(--surface-3);
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-sm);
  font: inherit; color: var(--ink-1);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field__input:focus, .field__textarea:focus, .field__select:focus {
  outline: none; border-color: var(--saffron);
  box-shadow: 0 0 0 4px rgba(255,130,0,.15);
}
.field__textarea { min-height: 140px; resize: vertical; }
.field__error {
  display: block; font-size: 0.8125rem; color: var(--vermillion); margin-top: 4px;
}
.field__error[hidden] { display: none; }
.field__input[aria-invalid="true"],
.field__textarea[aria-invalid="true"] {
  border-color: var(--vermillion);
  box-shadow: 0 0 0 4px rgba(230,57,70,.12);
}
/* Honeypot — visually hidden but present in the DOM for bots to fill */
.field--honeypot {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden;
}

/* ------------- FAQ accordion ---------------------------------------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--surface-3); border: 1px solid var(--line-1);
  border-radius: var(--r-md); overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.faq__item[data-open="true"] { border-color: var(--glass-border-strong); box-shadow: var(--sh-2); }
.faq__trigger {
  width: 100%; padding: 20px 24px; display: flex;
  align-items: center; justify-content: space-between;
  text-align: left; font-size: 1.0625rem; font-weight: 600;
  color: var(--ink-1); transition: background var(--t-fast);
}
.faq__trigger:hover { background: var(--surface-1); }
.faq__trigger svg {
  width: 18px; height: 18px; transition: transform var(--t-normal);
  color: var(--saffron); flex-shrink: 0;
}
.faq__item[data-open="true"] .faq__trigger svg { transform: rotate(45deg); }
.faq__panel {
  padding: 0 24px 24px; color: var(--ink-2); font-size: 0.9375rem; line-height: 1.65;
}

/* ------------- Testimonial ------------------------------------------ */
.testimonial {
  background: var(--surface-3);
  border: 1px solid var(--line-1);
  border-radius: var(--r-lg); padding: 28px;
  box-shadow: var(--sh-2); position: relative;
}
.testimonial::before {
  content: '“'; position: absolute; top: -16px; left: 20px;
  font-family: var(--font-display); font-size: 5rem;
  color: var(--gold); line-height: 1;
}
.testimonial__quote {
  font-size: 1.0625rem; line-height: 1.7; color: var(--ink-2);
  margin-bottom: 18px;
}
.testimonial__author {
  display: flex; align-items: center; gap: 12px;
}
.testimonial__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-2), var(--saffron));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--indigo);
}
.testimonial__name { font-weight: 600; color: var(--ink-1); }
.testimonial__role { font-size: 0.8125rem; color: var(--ink-3); }

/* ------------- Blog -------------------------------------------------- */
.blog-card { display: block; height: 100%; }
.blog-card .product-card__media { aspect-ratio: 16/10; }
.blog-card__meta {
  font-size: 0.75rem; color: var(--ink-3); margin-bottom: 6px;
}
.blog-card__title {
  font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700;
  color: var(--ink-1); margin: 0 0 8px; line-height: 1.3;
}
.blog-card__excerpt { color: var(--ink-3); font-size: 0.9375rem; line-height: 1.55; }
.blog-card__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.blog-card__tags span {
  font-size: 0.6875rem; padding: 3px 10px;
  background: var(--surface-1); border: 1px solid var(--glass-border);
  border-radius: var(--r-pill); color: var(--ink-3); letter-spacing: .05em;
  text-transform: uppercase; font-weight: 600;
}

/* Blog filter chips */
.chip-row {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 32px; justify-content: center;
}
.chip {
  padding: 8px 16px; border-radius: var(--r-pill);
  border: 1.5px solid var(--line-2); background: var(--surface-1);
  font-size: 0.875rem; font-weight: 500; color: var(--ink-2);
  cursor: pointer; transition: all var(--t-fast);
}
.chip:hover { border-color: var(--glass-border-strong); color: var(--ink-1); }
.chip[aria-pressed="true"] {
  background: var(--indigo); color: var(--ivory); border-color: var(--indigo);
}

/* Article body */
.article-shell {
  display: grid; grid-template-columns: 1fr minmax(0, 720px) 1fr;
  gap: 24px; padding: 32px 0 64px;
}
@media (max-width: 960px) {
  .article-shell { grid-template-columns: 1fr; padding-left: 16px; padding-right: 16px; }
}
.article-shell > main { grid-column: 2; }
.article-shell > aside { display: none; }
.article-shell > aside.is-visible { display: block; }
.article-hero { padding: 48px 0 24px; text-align: center; }
.article-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  margin: 18px auto 18px; max-width: 880px; line-height: 1.1;
}
.article-meta {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; font-size: 0.875rem; color: var(--ink-3); flex-wrap: wrap;
}
.article-meta strong { color: var(--ink-2); }
.article-body { font-size: 1.0625rem; line-height: 1.78; color: var(--ink-2); }
.article-body h2 {
  font-size: 1.75rem; margin: 40px 0 16px;
  padding-top: 16px; border-top: 2px solid var(--gold);
  display: inline-block; padding-right: 32px;
}
.article-body h3 { font-size: 1.25rem; margin: 28px 0 12px; }
.article-body p  { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px 22px; }
.article-body li { margin-bottom: 8px; }
.article-body a  { color: var(--vermillion); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body a:hover { color: var(--saffron); }
.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 8px 0 8px 20px; margin: 24px 0;
  font-style: italic; color: var(--ink-2);
  background: linear-gradient(90deg, rgba(212,160,23,0.06), transparent);
}
.article-body img {
  border-radius: var(--r-md); margin: 24px auto;
  box-shadow: var(--sh-2);
}
.article-body figure { margin: 24px 0; }
.article-body figcaption { text-align: center; font-size: 0.8125rem; color: var(--ink-3); margin-top: 8px; }
.article-body code {
  background: var(--surface-1); padding: 2px 6px;
  border-radius: 4px; font-size: 0.875em;
}

.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0; }
.tag-row a {
  font-size: 0.8125rem; padding: 4px 12px;
  background: var(--surface-1); border: 1px solid var(--glass-border);
  border-radius: var(--r-pill); color: var(--ink-3);
}

.article-breadcrumb {
  font-size: 0.8125rem; color: var(--ink-muted); margin-bottom: 16px;
}
.article-breadcrumb a { color: var(--ink-3); }
.article-breadcrumb a:hover { color: var(--ink-1); }

.related {
  margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line-1);
}
.related h3 { font-size: 1.25rem; margin-bottom: 20px; }

.share-row {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 0; border-top: 1px solid var(--line-1);
  border-bottom: 1px solid var(--line-1); margin: 32px 0;
}
.share-row strong { font-size: 0.875rem; color: var(--ink-2); margin-right: 8px; }
.share-row a {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-1); border: 1px solid var(--glass-border);
  color: var(--ink-2); transition: all var(--t-fast);
}
.share-row a:hover { background: var(--indigo); color: var(--ivory); transform: translateY(-2px); }
.share-row svg { width: 16px; height: 16px; }

/* ------------- PDP --------------------------------------------------- */
.pdp {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 56px; padding: 48px 0;
}
@media (max-width: 960px) { .pdp { grid-template-columns: 1fr; gap: 32px; } }
.pdp__gallery {
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
.pdp__main-image {
  border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 4/5; background: var(--cream);
  box-shadow: var(--sh-3); border: 1px solid var(--glass-border);
}
.pdp__main-image img { width:100%; height:100%; object-fit: cover; }
.pdp__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pdp__thumbs button {
  padding: 0; border: 1.5px solid var(--line-1); border-radius: var(--r-sm);
  overflow: hidden; cursor: pointer; background: var(--surface-3);
  transition: border-color var(--t-fast);
}
.pdp__thumbs button:hover { border-color: var(--saffron); }
.pdp__thumbs button[aria-current="true"] { border-color: var(--saffron); }
.pdp__thumbs button:focus-visible { outline: 2px solid var(--saffron); outline-offset: 2px; }
.pdp__thumbs img {
  aspect-ratio: 1/1; object-fit: cover; width: 100%;
  border-radius: calc(var(--r-sm) - 2px);
}

.pdp__deity {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--saffron); margin-bottom: 6px;
}
.pdp__title { font-size: clamp(2rem, 4vw, 2.75rem); margin: 4px 0 10px; }
.pdp__lede  { font-size: 1.0625rem; color: var(--ink-2); margin-bottom: 18px; }
.pdp__rating { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 0.9375rem; color: var(--ink-3); }
.pdp__rating strong { color: var(--ink-1); }
.pdp__price-row {
  display: flex; align-items: baseline; gap: 12px; margin: 24px 0;
}
.pdp__price { font-size: 2rem; font-weight: 700; color: var(--ink-1); font-family: var(--font-display); }
.pdp__price-old { font-size: 1.0625rem; color: var(--ink-muted); text-decoration: line-through; }
.pdp__save {
  background: var(--gold-2); color: var(--indigo);
  padding: 4px 10px; border-radius: var(--r-pill);
  font-size: 0.75rem; font-weight: 700;
}
.pdp__price-row { flex-wrap: wrap; }
.currency-select { margin-left: auto; }
.currency-select select {
  font: inherit; font-size: 0.8125rem; font-weight: 600;
  padding: 6px 10px; border-radius: var(--r-pill);
  border: 1.5px solid var(--glass-border); background: var(--surface-2);
  color: var(--ink-1); cursor: pointer;
}
.currency-select select:focus-visible {
  outline: 2px solid var(--saffron); outline-offset: 2px;
}
.price-approx {
  display: block; font-size: 0.875rem; color: var(--ink-3);
  font-weight: 600; margin: -8px 0 4px;
}
.product-card__price .price-approx { display: inline-block; margin: 4px 0 0; }
.pdp__qty {
  display: inline-flex; align-items: center; gap: 0;
  border: 1.5px solid var(--line-2); border-radius: var(--r-pill);
  margin-right: 12px;
}
.pdp__qty button {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2);
}
.pdp__qty input {
  width: 44px; text-align: center; border: none; background: transparent;
  font: inherit; color: var(--ink-1);
}
.pdp__feature-list {
  list-style: none; padding: 0; margin: 24px 0;
}
.pdp__feature-list li {
  display: flex; gap: 10px; padding: 8px 0;
  font-size: 0.9375rem; color: var(--ink-2);
}
.pdp__feature-list svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }

.pdp__trust {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line-1);
}
.pdp__trust div {
  text-align: center; padding: 12px; font-size: 0.8125rem; color: var(--ink-3);
}
.pdp__trust strong { display: block; color: var(--ink-1); margin-bottom: 4px; font-size: 0.875rem; }

/* PDP tabs */
.pdp-tabs { margin-top: 64px; }
.pdp-tabs__nav {
  display: flex; gap: 4px; border-bottom: 1px solid var(--line-1);
  margin-bottom: 24px; overflow-x: auto;
}
.pdp-tabs__nav button {
  padding: 14px 20px; font-size: 0.9375rem; font-weight: 600;
  color: var(--ink-3); border-bottom: 2px solid transparent;
  white-space: nowrap; transition: all var(--t-fast);
}
.pdp-tabs__nav button[aria-selected="true"] { color: var(--indigo); border-color: var(--saffron); }

/* ------------- Quiz / picker ---------------------------------------- */
.quiz { background: var(--surface-3); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--sh-2); border: 1px solid var(--line-1); }
.quiz__progress { display: flex; gap: 4px; margin-bottom: 24px; }
.quiz__progress span {
  flex: 1; height: 4px; background: var(--line-1); border-radius: var(--r-pill);
}
.quiz__progress span.is-done { background: linear-gradient(90deg, var(--gold-2), var(--saffron)); }
.quiz__options { display: grid; gap: 12px; }
.quiz__options label {
  display: block; padding: 16px 20px; border-radius: var(--r-md);
  border: 1.5px solid var(--line-2); cursor: pointer;
  transition: all var(--t-fast);
}
.quiz__options label:hover { border-color: var(--glass-border-strong); }
.quiz__options input { display: none; }
.quiz__options input:checked + label,
.quiz__options label.is-selected {
  border-color: var(--saffron); background: rgba(255,130,0,0.06);
}

/* ------------- Footer ----------------------------------------------- */
.mkt-footer {
  background: var(--indigo);
  color: rgba(255,249,240,0.86);
  padding: var(--sp-9) 0 var(--sp-6); margin-top: 64px;
  position: relative; overflow: hidden;
}
.mkt-footer::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 700px 400px at 90% 0%, rgba(255,130,0,0.12), transparent 60%),
    radial-gradient(ellipse 600px 400px at 5% 100%, rgba(212,160,23,0.10), transparent 60%);
}
.mkt-footer__grid {
  display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px;
  position: relative;
}
@media (max-width: 960px) { .mkt-footer__grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 640px) { .mkt-footer__grid { grid-template-columns: 1fr; } }
.mkt-footer__brand-block { max-width: 360px; }
.mkt-footer__brand { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--ivory); margin-bottom: 12px; }
.mkt-footer__desc  { font-size: 0.9375rem; line-height: 1.6; color: rgba(255,249,240,0.7); margin-bottom: 16px; }
.mkt-footer__social { display: flex; gap: 8px; }
.mkt-footer__social a {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06); color: var(--ivory);
  transition: all var(--t-fast); border: 1px solid rgba(255,255,255,0.1);
}
.mkt-footer__social a:hover { background: var(--saffron); border-color: var(--saffron); transform: translateY(-2px); }
.mkt-footer__col h4 {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-2); margin-bottom: 14px;
  font-family: var(--font-sans);
}
.mkt-footer__col a {
  display: block; padding: 5px 0; font-size: 0.9375rem;
  color: rgba(255,249,240,0.78); transition: color var(--t-fast);
}
.mkt-footer__col a:hover { color: var(--saffron); }
.mkt-footer__bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 0.8125rem; color: rgba(255,249,240,0.55);
  position: relative;
}
.mkt-footer__bottom a { color: rgba(255,249,240,0.65); margin-left: 16px; }
.mkt-footer__bottom a:hover { color: var(--saffron); }

/* ------------- Newsletter strip ------------------------------------- */
.newsletter {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-3) 100%);
  color: var(--ivory); border-radius: var(--r-lg);
  padding: 48px 56px; position: relative; overflow: hidden;
}
.newsletter::after {
  content: ''; position: absolute; inset: 0; opacity: .12;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='50' cy='50' r='40' fill='none' stroke='%23FFB347' stroke-width='.5'/><circle cx='50' cy='50' r='28' fill='none' stroke='%23FFB347' stroke-width='.5'/><circle cx='50' cy='50' r='16' fill='none' stroke='%23FFB347' stroke-width='.5'/></svg>") center / 480px no-repeat;
  pointer-events: none;
}
.newsletter h3 { color: var(--ivory); font-size: 1.625rem; margin-bottom: 8px; }
.newsletter p  { color: rgba(255,249,240,0.8); margin-bottom: 20px; }
.newsletter form { display: flex; gap: 8px; max-width: 480px; }
.newsletter input {
  flex: 1; padding: 14px 18px;
  background: rgba(255,255,255,0.08); border: 1.5px solid rgba(255,179,71,0.3);
  color: var(--ivory); border-radius: var(--r-pill);
  font: inherit;
}
.newsletter input::placeholder { color: rgba(255,249,240,0.5); }
.newsletter input:focus {
  outline: none; border-color: var(--saffron);
  background: rgba(255,255,255,0.12);
}

/* ------------- Reveal on scroll -------------------------------------- */
.reveal-init {
  opacity: 0; transform: translateY(24px);
  transition: opacity 600ms cubic-bezier(.2,.7,.2,1),
              transform 600ms cubic-bezier(.2,.7,.2,1);
}
.reveal-init.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal-init { opacity: 1; transform: none; }
}

/* Stagger helpers (kids of [data-stagger] get a delay) */
[data-stagger] > .reveal-init:nth-child(1) { transition-delay: 0ms; }
[data-stagger] > .reveal-init:nth-child(2) { transition-delay: 80ms; }
[data-stagger] > .reveal-init:nth-child(3) { transition-delay: 160ms; }
[data-stagger] > .reveal-init:nth-child(4) { transition-delay: 240ms; }
[data-stagger] > .reveal-init:nth-child(5) { transition-delay: 320ms; }
[data-stagger] > .reveal-init:nth-child(6) { transition-delay: 400ms; }

/* ------------- Help shell (re-usable) ------------------------------- */
.help-shell {
  display: grid; grid-template-columns: 264px 1fr;
  gap: var(--sp-7); align-items: start;
  padding-top: var(--sp-7); padding-bottom: var(--sp-9);
}
@media (max-width: 960px) {
  .help-shell { grid-template-columns: 1fr; gap: var(--sp-5); }
}
.help-sidebar { position: sticky; top: calc(var(--header-h) + 16px); }
@media (max-width: 960px) { .help-sidebar { position: static; } }
.help-sidebar__home {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8125rem; color: var(--ink-3); margin-bottom: 16px;
}
.help-sidebar__group { margin-bottom: 20px; }
.help-sidebar__group-label {
  font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 8px;
}
.help-sidebar__link {
  display: block; padding: 7px 10px; border-radius: var(--r-sm);
  font-size: 0.9375rem; color: var(--ink-2);
  transition: background var(--t-fast), color var(--t-fast);
}
.help-sidebar__link:hover { background: var(--surface-1); color: var(--ink-1); }
.help-sidebar__link--active { background: var(--surface-1); color: var(--indigo); font-weight: 600; }

.help-callout {
  background: var(--surface-1); border-left: 3px solid var(--saffron);
  padding: 14px 18px; border-radius: var(--r-sm); margin: 18px 0;
}
.help-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.9375rem; }
.help-table th, .help-table td {
  text-align: left; padding: 10px 12px;
  border-bottom: 1px solid var(--line-1);
}
.help-table th { font-weight: 600; color: var(--ink-1); background: var(--surface-1); }

/* ------------- Misc utility classes --------------------------------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }

/* Print: tame backgrounds */
@media print {
  .mkt-mesh, .mkt-mandala-bg, .hero__canvas-wrap, .mandala-accent, .mkt-header, .mkt-footer { display: none !important; }
  body { background: white; color: black; }
}
