/* Ulchemy — variant B (design handoff: "Install happiness")
   Palette:   royal-blue ink + warm ivory cream + saffron/gold accent
   Type:      Cormorant Garamond (display serif) + Inter (body/UI) + Geist Mono (micro)
   Structure: mobile-shell (430px) on cream backdrop for desktop — editorial / prayer-card feel
*/

:root {
  --ivory: #F4EEE2;
  --ivory-2: #ECE4D2;
  --ivory-3: #DDD1B8;
  --ink: #1C2270;
  --ink-2: #101845;
  --ink-3: #4A4F8A;
  --mute: #8B8FB3;
  --line: rgba(28, 34, 112, 0.12);
  --line-2: rgba(28, 34, 112, 0.22);
  --saffron: #E8B63A;
  --saffron-ink: #9A7512;
  --cyan: #1FA8AE;
  --crimson: #C8301F;
  --white: #FDFBF6;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 18px;
  --r-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(26,22,19,0.06);
  --shadow-md: 0 8px 24px -12px rgba(26,22,19,0.18);
  --shadow-lg: 0 24px 60px -20px rgba(26,22,19,0.25);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: var(--ink); }

.serif { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; letter-spacing: -0.01em; }
.mono { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }

/* ─────────── Mobile shell ─────────── */
.shell {
  max-width: 430px;
  margin: 0 auto;
  background: var(--ivory);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 80px -20px rgba(26,22,19,0.18);
  overflow: hidden;
}

/* ─────────── Sticky header ─────────── */
.b-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 239, 228, 0.88);
  backdrop-filter: saturate(1.2) blur(12px);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.b-header .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--ink);
  color: var(--ivory);
  display: grid; place-items: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 600;
  letter-spacing: 0.02em;
}
.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.brand-sub { font-size: 10px; color: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase; margin-top: -1px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 999px;
  padding: 10px 18px;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary { background: var(--ink); color: var(--ivory); }
.btn-primary:hover { transform: translateY(-1px); background: var(--ink-2); }
.btn-primary:active { transform: translateY(0); }
.btn-saffron { background: var(--saffron); color: var(--white); }
.btn-saffron:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: var(--ivory-2); }
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ─────────── Social proof ticker ─────────── */
.ticker-wrap {
  position: sticky; top: 58px; z-index: 40;
  background: var(--ivory-2);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.ticker {
  display: flex; gap: 24px; padding: 8px 0;
  animation: ticker 55s linear infinite;
  width: max-content;
  white-space: nowrap;
}
.ticker-item { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-3); }
.ticker-item .avatar {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--ivory-3); border: 1px solid var(--line-2);
  font-size: 9px; display: inline-grid; place-items: center;
  font-weight: 500; color: var(--ink-2);
}
.ticker-item strong { color: var(--ink); font-weight: 500; }
.ticker-item .tdot { width: 4px; height: 4px; border-radius: 50%; background: var(--saffron); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─────────── Hero ─────────── */
.hero-b {
  padding: 28px 22px 20px;
  position: relative;
  background:
    radial-gradient(ellipse 400px 200px at 80% 20%, rgba(28,34,112,0.06), transparent 70%),
    radial-gradient(ellipse 300px 200px at 0% 80%, rgba(232,182,58,0.10), transparent 70%);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  background: var(--ivory-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 3px rgba(232,182,58,0.22); }
.hero-b h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 44px;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 16px 0 12px;
  text-wrap: balance;
}
.hero-b h1 em { font-style: italic; color: var(--saffron-ink); font-weight: 500; }
.hero-b .lede {
  color: var(--ink-3);
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 18px;
  max-width: 38ch;
  text-wrap: pretty;
}

/* Hero lite-video (YouTube thumbnail until clicked) */
.hero-video {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin: 0 0 16px;
  aspect-ratio: 16/9;
  background: #101845;
  cursor: pointer;
  border: 1px solid var(--line);
}
.hero-video img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-video .play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(246,239,228,0.95); color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.4);
}
.hero-video .plabel {
  position: absolute; top: 10px; left: 12px;
  font-family: 'Geist Mono', monospace; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(246,239,228,0.85);
  background: rgba(0,0,0,0.35); padding: 3px 8px; border-radius: 3px;
}
.hero-video iframe { width: 100%; height: 100%; border: 0; display: block; }

.hero-card {
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

/* Single-session card (campaign has one event) */
.session-card { display: grid; gap: 10px; }
.session-card .label { display: flex; justify-content: space-between; align-items: baseline; }
.session-card .label h4 { margin: 0; font-size: 13px; font-weight: 500; color: var(--ink); }
.session-card .label .mono { color: var(--ink-3); }
.session-tile {
  padding: 14px;
  border: 1px solid var(--ink);
  border-radius: var(--r-md);
  background: var(--ink);
  color: var(--ivory);
  display: grid; gap: 3px;
  text-align: left;
}
.session-tile .s-dow { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; }
.session-tile .s-date { font-family: 'Cormorant Garamond', serif; font-size: 28px; line-height: 1.05; margin: 1px 0 2px; font-weight: 500; }
.session-tile .s-sub { font-size: 12px; color: rgba(253,251,246,0.78); }
.session-tile .s-venue { font-size: 12px; color: rgba(253,251,246,0.92); margin-top: 6px; border-top: 1px dashed rgba(253,251,246,0.2); padding-top: 8px; }
.session-tile .s-meta { font-size: 11px; color: var(--saffron); margin-top: 6px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }

.seats-left { height: 3px; background: rgba(26,22,19,0.08); border-radius: 2px; overflow: hidden; margin-top: 10px; }
.seats-left > span { display: block; height: 100%; background: var(--saffron); border-radius: 2px; transition: width 0.6s ease; }
.seats-caption { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); margin-top: 6px; }

.price-row {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 14px 0 10px;
  border-top: 1px dashed var(--line-2);
  margin-top: 14px;
}
.price-row .p-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px; font-weight: 500;
  letter-spacing: -0.01em;
}
.price-row .p-strike { color: var(--mute); text-decoration: line-through; font-size: 15px; margin-left: 6px; font-family: 'Inter', sans-serif; font-weight: 400; }
.price-row .p-caption { font-size: 11px; color: var(--ink-3); text-align: right; }
.price-row .p-discount { font-size: 11px; color: var(--saffron-ink); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px; }

.secure-line {
  display: flex; align-items: center; justify-content: center;
  gap: 6px;
  font-size: 11px; color: var(--ink-3);
  margin-top: 10px;
}

.hero-trust {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-top: 20px;
}
.trust-card { text-align: center; padding: 10px 4px; }
.trust-card .t-num { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 500; letter-spacing: -0.01em; }
.trust-card .t-label { font-size: 10px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3); margin-top: 2px; }

.hero-countdown {
  display: flex; gap: 6px; justify-content: center;
  margin-top: 16px;
  font-family: 'Geist Mono', monospace;
}
.hero-countdown .cd-block {
  background: var(--ivory-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 6px 10px;
  text-align: center;
  min-width: 52px;
}
.hero-countdown .cd-num { font-family: 'Cormorant Garamond', serif; font-size: 20px; line-height: 1; color: var(--ink); font-weight: 500; }
.hero-countdown .cd-unit { font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-top: 2px; }

/* ─────────── Section chrome ─────────── */
section.sec { padding: 48px 22px; position: relative; }
section.sec.on-ink { background: var(--ink); color: var(--ivory); }
.sec-eyebrow { display: flex; align-items: center; gap: 8px; color: var(--ink-3); margin-bottom: 10px; }
.on-ink .sec-eyebrow { color: rgba(246,239,228,0.65); }
.sec-eyebrow::before { content: ""; display: block; width: 18px; height: 1px; background: currentColor; opacity: 0.5; }
.sec-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  text-wrap: balance;
}
.sec-title em { font-style: italic; color: var(--saffron-ink); }
.on-ink .sec-title em { color: var(--saffron); }
.sec-intro { color: var(--ink-3); margin: 0 0 24px; max-width: 44ch; text-wrap: pretty; }
.on-ink .sec-intro { color: rgba(246,239,228,0.7); }

/* ─────────── Expectations list ─────────── */
.exp-list { display: grid; gap: 0; }
.exp-item {
  display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.exp-item:first-child { border-top: 0; padding-top: 0; }
.exp-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--saffron-ink);
  line-height: 1;
  padding-top: 2px;
}
.exp-body h4 { margin: 0 0 4px; font-size: 15px; font-weight: 500; }
.exp-body p { margin: 0; color: var(--ink-3); font-size: 14px; }

/* ─────────── Video carousel (on ink) ─────────── */
.video-rail {
  display: flex; gap: 12px;
  overflow-x: auto;
  padding: 4px 22px 24px;
  margin: 0 -22px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.video-rail::-webkit-scrollbar { display: none; }
.video-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(246,239,228,0.06);
  border: 1px solid rgba(246,239,228,0.12);
  cursor: pointer;
  transition: transform 0.2s ease;
  text-align: left;
  color: var(--ivory);
  padding: 0;
  display: block;
  font: inherit;
}
.video-card:hover { transform: translateY(-2px); }
.video-thumb {
  aspect-ratio: 9/14;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2a3288, #101845);
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.85; }
.video-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, transparent 0 18px, rgba(246,239,228,0.04) 18px 19px);
  pointer-events: none;
}
.video-thumb .play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(246,239,228,0.95); color: var(--ink);
  display: grid; place-items: center;
}
.video-thumb .dur {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(0,0,0,0.5); color: #fff;
  font-family: 'Geist Mono', monospace; font-size: 10px;
  padding: 2px 6px; border-radius: 4px;
}
.video-thumb .plabel {
  position: absolute; top: 10px; left: 10px;
  font-family: 'Geist Mono', monospace; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(246,239,228,0.85);
  background: rgba(0,0,0,0.35); padding: 3px 6px; border-radius: 3px;
}
.video-meta { padding: 12px 14px; }
.video-meta .v-name { font-size: 14px; font-weight: 500; }
.video-meta .v-city { font-size: 12px; color: rgba(246,239,228,0.55); margin-top: 2px; }

/* ─────────── What is Ulchemy ─────────── */
.big-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  line-height: 1.25;
  font-style: italic;
  color: var(--ink);
  margin: 16px 0 24px;
  text-wrap: pretty;
}
.big-quote::before { content: "\201C"; color: var(--saffron); font-size: 48px; line-height: 0; vertical-align: -18px; margin-right: 4px; }

.pillars { display: grid; gap: 10px; margin-top: 20px; }
.pillar {
  display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center;
  padding: 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white);
}
.pillar-glyph {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; color: var(--saffron-ink);
}
.pillar h4 { margin: 0 0 2px; font-size: 14px; font-weight: 500; }
.pillar p { margin: 0; font-size: 13px; color: var(--ink-3); }

/* ─────────── Benefits (2x2 grid on ivory-2) ─────────── */
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.benefit {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 14px;
  min-height: 140px;
  display: flex; flex-direction: column; gap: 8px;
}
.benefit .b-glyph {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--ivory-2); border: 1px solid var(--line-2);
  display: grid; place-items: center; color: var(--saffron-ink);
}
.benefit h4 { margin: 4px 0 2px; font-size: 14px; font-weight: 500; line-height: 1.25; }
.benefit p { margin: 0; font-size: 12.5px; color: var(--ink-3); line-height: 1.45; }

/* ─────────── Agenda (3-hour schedule, replaces Day 1/Day 2 tabs) ─────────── */
.day-list {
  display: grid; gap: 1px;
  background: var(--line); border-radius: var(--r-md);
  overflow: hidden; border: 1px solid var(--line);
}
.day-row {
  display: grid; grid-template-columns: 72px 1fr; background: var(--white);
  padding: 14px; gap: 14px;
}
.day-row .time { font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--ink-3); padding-top: 2px; }
.day-row h4 { margin: 0 0 2px; font-size: 14px; font-weight: 500; }
.day-row p { margin: 0; font-size: 12.5px; color: var(--ink-3); }

/* ─────────── Guru section ─────────── */
.guru-card { display: grid; gap: 18px; }
.guru-portrait {
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #2a3288 0%, #4058B0 55%, #8AA8D8 100%);
}
.guru-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.guru-portrait::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.55) 100%),
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(246,239,228,0.04) 22px 23px);
  pointer-events: none;
}
.guru-portrait .p-label {
  position: absolute; left: 14px; bottom: 14px;
  font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(246,239,228,0.9);
  z-index: 2;
}
.guru-meta .g-name { font-family: 'Cormorant Garamond', serif; font-size: 32px; line-height: 1.05; margin: 0 0 4px; font-weight: 500; }
.guru-meta .g-title { color: var(--ink-3); font-size: 13px; margin-bottom: 14px; }
.guru-bullets { display: grid; gap: 10px; margin: 0; padding: 0; }
.guru-bullets li {
  list-style: none; padding-left: 22px; position: relative; font-size: 13.5px; color: var(--ink-2);
}
.guru-bullets li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 1px; background: var(--saffron);
}

/* ─────────── Pull quote (editorial) ─────────── */
.pullquote {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  margin: 28px 0 0;
}
.pullquote blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; line-height: 1.3; font-style: italic;
  color: var(--ink);
  margin: 0 0 14px;
  text-wrap: pretty;
}
.pullquote blockquote mark { background: rgba(232,182,58,0.28); color: var(--ink); padding: 0 3px; }
.pullquote figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--ink-3); }
.pullquote figcaption .who { color: var(--ink); font-weight: 500; font-size: 13px; }

/* ─────────── FAQ ─────────── */
.faq-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; padding: 18px 0;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  background: none; border: 0; cursor: pointer;
  font: inherit; color: inherit; font-size: 15px; font-weight: 500;
}
.faq-q .icon {
  width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2);
  flex: 0 0 auto; display: grid; place-items: center; color: var(--ink-3);
  transition: transform 0.2s ease, background 0.2s ease;
}
.faq-item.open .faq-q .icon { transform: rotate(45deg); background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  color: var(--ink-3); font-size: 14px;
}
.faq-item.open .faq-a { max-height: 500px; padding-bottom: 18px; }
.faq-a a { color: var(--ink); }

/* ─────────── Sticky CTA bar ─────────── */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  display: flex; justify-content: center;
  pointer-events: none;
}
.sticky-cta-inner {
  pointer-events: auto;
  width: 100%; max-width: 430px;
  background: rgba(16,24,69,0.96);
  backdrop-filter: blur(10px);
  color: var(--ivory);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  display: flex; gap: 12px; align-items: center;
  border-top: 1px solid rgba(246,239,228,0.1);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.sticky-cta.visible .sticky-cta-inner { transform: translateY(0); }
.sticky-cta-left { flex: 1; display: grid; gap: 2px; min-width: 0; }
.sticky-cta-left .sc-price { font-family: 'Cormorant Garamond', serif; font-size: 22px; line-height: 1; }
.sticky-cta-left .sc-meta { font-size: 11px; color: rgba(246,239,228,0.65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-cta-btn {
  background: var(--saffron); color: var(--white);
  border: 0; padding: 12px 18px; border-radius: 999px;
  font: inherit; font-weight: 500; cursor: pointer;
  font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none;
}

/* ─────────── Toast (recent reservations) ─────────── */
.b-toast {
  position: fixed; bottom: 80px; left: 16px; z-index: 55;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 10px 12px 10px 14px;
  display: flex; align-items: center; gap: 10px;
  font-size: 12px;
  color: var(--ink-2);
  max-width: 280px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.b-toast.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.b-toast .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 3px rgba(232,182,58,0.25); }
.b-toast strong { color: var(--ink); font-weight: 500; }
.b-toast .tclose { background: none; border: 0; color: var(--ink-3); cursor: pointer; padding: 0 2px; margin-left: 4px; font-size: 16px; line-height: 1; }

/* ─────────── Modal (registration + exit-intent) ─────────── */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(16,24,69,0.5);
  backdrop-filter: blur(6px);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal {
  width: 100%; max-width: 430px;
  background: var(--ivory);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: 22px 22px 24px;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
}
.modal-backdrop.open .modal { transform: translateY(0); }
.modal .close {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--ivory-2); border: 1px solid var(--line);
  display: grid; place-items: center; cursor: pointer;
  color: var(--ink);
}
.modal h3 { font-family: 'Cormorant Garamond', serif; font-size: 26px; margin: 4px 0 4px; font-weight: 500; letter-spacing: -0.01em; }
.modal .m-sub { color: var(--ink-3); font-size: 13px; margin: 0 0 20px; }

.stepper { display: flex; gap: 4px; margin: 4px 0 20px; }
.stepper span { flex: 1; height: 3px; background: var(--ivory-3); border-radius: 2px; overflow: hidden; }
.stepper span.done { background: var(--ink); }
.stepper span.active { background: var(--saffron); }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field select {
  border: 1px solid var(--line-2);
  background: var(--white);
  padding: 14px;
  border-radius: var(--r-md);
  font: inherit; font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}
.field input:focus, .field select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(26,22,19,0.08);
}
.field .hint { font-size: 11px; color: var(--ink-3); }
.field-err { color: var(--crimson); font-size: 12px; }

.phone-row { display: grid; grid-template-columns: 88px 1fr; gap: 8px; }

.sum-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.sum-row:last-child { border-bottom: 0; }
.sum-row .label { color: var(--ink-3); }
.sum-total { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 500; }

.success { text-align: center; padding: 20px 10px 10px; }
.success .check {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--ink); color: var(--ivory);
  display: grid; place-items: center; margin: 0 auto 16px;
}
.success h3 { margin: 0 0 8px; }
.success p { color: var(--ink-3); margin: 0 0 16px; }
.success .confirm-box {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 14px; text-align: left; font-size: 13px; margin-bottom: 14px;
}
.success .confirm-box .cb-row { display: flex; justify-content: space-between; padding: 4px 0; }
.success .confirm-box .cb-row .label { color: var(--ink-3); }

.form-error {
  background: rgba(200,48,31,0.08);
  border: 1px solid rgba(200,48,31,0.25);
  color: var(--crimson);
  padding: 10px 12px;
  border-radius: var(--r-sm);
  font-size: 13px;
  margin-top: 10px;
}

/* ─────────── Video modal (YouTube) ─────────── */
.vmodal {
  position: fixed; inset: 0; z-index: 110;
  display: grid; place-items: center;
  background: rgba(16,24,69,0.82);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 20px;
}
.vmodal.open { opacity: 1; pointer-events: auto; }
.vmodal-frame {
  position: relative; width: 100%; max-width: 1000px;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.vmodal-frame > #vmodalPlayer { position: absolute; inset: 0; }
.vmodal-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.vmodal-close {
  position: absolute; top: -14px; right: -14px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ivory); color: var(--ink);
  border: 0; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
}

/* ─────────── Final CTA ─────────── */
.final-cta { text-align: center; padding-top: 56px; padding-bottom: 80px; }
.final-cta .rule { width: 40px; height: 1px; background: var(--saffron); margin: 0 auto 20px; }
.final-cta h2 { text-align: center; margin: 0 auto 16px; max-width: 14ch; }
.final-cta p { color: rgba(246,239,228,0.72); max-width: 38ch; margin: 0 auto 24px; text-wrap: pretty; }
.final-cta .meta {
  display: flex; justify-content: center; gap: 16px; margin-top: 24px;
  font-size: 11px; color: rgba(246,239,228,0.6);
  letter-spacing: 0.06em; text-transform: uppercase;
  flex-wrap: wrap;
}

/* ─────────── Footer ─────────── */
footer.b-footer {
  padding: 40px 22px calc(100px + env(safe-area-inset-bottom, 0px));
  font-size: 12px; color: var(--ink-3);
  border-top: 1px solid var(--line);
}
.b-footer .f-brand { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.b-footer .f-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
.b-footer a { color: var(--ink-2); text-decoration: none; }
.b-footer .f-copy { font-size: 10px; color: var(--mute); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 8px; }

/* ─────────── Utility animations ─────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.reveal { animation: fadeUp 0.6s ease both; }

/* ─────────── Tablet: shell-on-cream aesthetic (phone-frame) ─────────── */
@media (min-width: 720px) {
  body { background: #E7DCC6; padding: 24px 0 40px; }
  .shell { border-radius: 28px; overflow: hidden; min-height: unset; box-shadow: 0 24px 80px -24px rgba(16,24,69,0.3); }
  .b-header { top: 0; }
  .sticky-cta-inner { border-radius: 28px 28px 0 0; }
  .modal { border-radius: var(--r-xl); margin: auto 0 24px; max-width: 430px; }
  .modal-backdrop { align-items: center; padding: 20px; }
}

/* ─────────── Desktop: widen shell so the page does not feel like a phone preview ─────────── */
@media (min-width: 1024px) {
  .shell { max-width: 1080px; border-radius: 32px; box-shadow: 0 32px 96px -32px rgba(16,24,69,0.32); }
  .b-header { padding: 18px 40px; }
  .hero-b { padding: 56px 64px 40px; }
  .hero-b h1 { font-size: clamp(2.4rem, 4vw, 3.6rem); }
  .hero-b .lede { font-size: 17px; max-width: 640px; }
  .hero-video, .hero-card { margin-left: 64px; margin-right: 64px; width: auto; }
  .b-section { padding-left: 64px; padding-right: 64px; }
  .b-footer, .ticker, .sticky-cta-inner { padding-left: 40px; padding-right: 40px; }
  .sticky-cta-inner { max-width: 1080px; margin: 0 auto; }
  /* Modal centers without taking the full shell width */
  .modal { max-width: 480px; }
}

/* ─────────── Wide desktop polish ─────────── */
@media (min-width: 1180px) {
  .hero-b .lede { max-width: 720px; }
  .hero-video { max-width: 820px; }
}

/* ─────────── Reduced motion ─────────── */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .ticker { animation: none; }
}

/* ─────────── Tier toggle (Full | Advance) ─────────── */
.tier-toggle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin: 6px 0 12px;
}
.tier-opt {
  appearance: none; background: var(--white); border: 1.5px solid var(--line);
  border-radius: 10px; padding: 12px 14px; cursor: pointer;
  display: flex; flex-direction: column; gap: 4px; align-items: flex-start;
  text-align: left; color: var(--ink-3);
  transition: border-color .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.tier-opt:hover { border-color: var(--line-2); }
.tier-opt.is-active {
  border-color: var(--saffron); background: rgba(232, 182, 58, 0.08);
  color: var(--ink); box-shadow: 0 0 0 2px rgba(232, 182, 58, 0.18);
}
.tier-opt__lead { font-size: 13px; font-weight: 500; }
.tier-opt__amt  { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600; color: var(--ink); }

/* Advance slider panel */
.tier-advance {
  background: rgba(232, 182, 58, 0.06);
  border: 1px dashed var(--line-2);
  border-radius: 10px; padding: 14px; margin: 0 0 14px;
}
.tier-advance__label { display: block; font-size: 12px; color: var(--ink-3); margin-bottom: 8px; font-weight: 500; }
.tier-advance__row   { display: flex; gap: 12px; align-items: center; }
.tier-advance__row input[type="range"] { flex: 1; height: 4px; -webkit-appearance: none; appearance: none; background: var(--line-2); border-radius: 2px; outline: none; }
.tier-advance__row input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--saffron); border: 2px solid var(--white); box-shadow: 0 1px 4px rgba(0,0,0,0.2); cursor: pointer; }
.tier-advance__row input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--saffron); border: 0; box-shadow: 0 1px 4px rgba(0,0,0,0.2); cursor: pointer; }
.tier-advance__numwrap { display: flex; align-items: center; background: var(--white); border: 1.5px solid var(--line); border-radius: 8px; padding: 4px 10px; min-width: 110px; }
.tier-advance__rs { color: var(--ink-3); font-size: 14px; margin-right: 4px; }
.tier-advance__numwrap input { border: 0; outline: 0; background: transparent; font: inherit; font-weight: 600; color: var(--ink); width: 90px; padding: 6px 0; }
.tier-advance__numwrap input::-webkit-outer-spin-button,
.tier-advance__numwrap input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tier-advance__hint { font-size: 11px; color: var(--ink-3); margin-top: 8px; line-height: 1.4; }
.tier-advance__balance { font-size: 13px; color: var(--ink); margin-top: 6px; }
.tier-advance__balance strong { color: var(--saffron-ink); }

/* Step-2 review balance row */
.sum-row .sum-now      { font-weight: 600; color: var(--ink); }
.sum-row .sum-balance  { color: var(--saffron-ink); font-weight: 500; }

@media (max-width: 380px) {
  .tier-toggle { grid-template-columns: 1fr; }
  .tier-advance__row { flex-direction: column; align-items: stretch; }
  .tier-advance__numwrap { width: 100%; }
}

/* ─────────── Disclaimer + consent gate (Step 2 of regModal) ─────────── */
.disclaimer-box { border: 1px solid var(--line); border-radius: 10px; background: var(--ivory-2, #faf8f3); padding: 12px 14px; margin-bottom: 14px; }
.disclaimer-head { font-weight: 600; font-size: 13px; color: var(--ink); margin-bottom: 8px; letter-spacing: 0.01em; }
.disclaimer-body { max-height: 180px; overflow-y: auto; font-size: 12.5px; line-height: 1.55; color: var(--ink-2); border: 1px solid var(--line); border-radius: 6px; background: var(--white); padding: 10px 12px; margin-bottom: 10px; }
.disclaimer-body p { margin: 0 0 8px; }
.disclaimer-body p:last-child { margin-bottom: 0; }
.disclaimer-consent { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--ink); cursor: pointer; padding: 4px 2px; line-height: 1.45; }
.disclaimer-consent input[type="checkbox"] { flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--saffron); cursor: pointer; }
.disclaimer-consent .f-linkbtn { background: none; border: 0; padding: 0; color: var(--saffron-ink); text-decoration: underline; font: inherit; cursor: pointer; }
.disclaimer-consent .f-linkbtn:hover { opacity: 0.85; }

/* Disabled Pay button visual */
.btn-saffron[disabled] { opacity: 0.5; cursor: not-allowed; filter: grayscale(0.2); }

/* ─────────── Per-program theme overrides ───────────
   Each program declared in config/programs.php may override the saffron
   accent below. Add a new block matching `body[data-program="<key>"]` to
   theme a new program — no other CSS edits needed. */
body[data-program="dhaarana"] {
  --saffron:     #3a4ea8;
  --saffron-ink: #2a3a85;
}
