/* Yoginini — one stylesheet, no build step.
   Palette is the crown chakra (Sahasrara): violet on a pale ground.
   Type: Cormorant Garamond for display, Figtree for text, Space Mono for labels. */

:root {
  --bg: #f5f2f8;
  --paper: #fff;
  --band: #ebe6f1;
  --ink: #1a1620;
  --muted: #605a6c;
  --muted-2: #8b8496;
  --line: #d8d0e2;
  --line-2: #c5bbd4;

  --dark: #100d17;
  --panel: #1e1730;
  --on-dark: #ece7f3;
  --on-dark-2: #b8b2c2;
  --on-dark-3: #cac4d2;
  --on-dark-4: #9d96a8;
  --on-dark-5: #7f788b;

  --purple: #5e4b9a;
  --lav: #b39ddb;
  --lav-lt: #d6cbef;
  --amber: #e0a86b;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: Figtree, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --pad: clamp(20px, 5vw, 64px);
  --wide: 1360px;
  --shell: min(100%, var(--wide));
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
body { overflow-x: hidden; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--purple); }
img, svg { max-width: 100%; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .dark :focus-visible { outline-color: var(--lav); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--dark); color: var(--on-dark); padding: 12px 18px; border-radius: 0 0 12px 0;
}
.skip:focus { left: 0; color: var(--on-dark); }

/* ── Animation ───────────────────────────────────────────────── */
@keyframes rise    { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes fadein  { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse   { 0%, 100% { transform: scale(1); opacity: .9 } 50% { transform: scale(1.5); opacity: .4 } }
@keyframes ring    { 0% { transform: scale(.6); opacity: .8 } 100% { transform: scale(2.6); opacity: 0 } }
@keyframes ticker  { from { transform: translateX(0) } to { transform: translateX(-50%) } }
@keyframes breathe { 0%, 100% { transform: scale(.82); opacity: .55 } 50% { transform: scale(1); opacity: 1 } }
@keyframes cuein   { 0% { opacity: 0; transform: translateY(8px) scale(.98) } 12% { opacity: 1; transform: none } 85% { opacity: 1 } 100% { opacity: 0; transform: translateY(-6px) } }
@keyframes drawline{ from { stroke-dashoffset: 600 } to { stroke-dashoffset: 0 } }
@keyframes cooldown{ from { width: 0 } to { width: 100% } }
@keyframes blink   { 0%, 100% { opacity: 1 } 50% { opacity: .2 } }
@keyframes bloom   { 0%, 100% { transform: scale(.6); opacity: .35 } 50% { transform: scale(1); opacity: .9 } }
@keyframes spin    { from { transform: rotate(0deg) } to { transform: rotate(360deg) } }
@keyframes petalL  { 0%, 100% { transform: rotate(-8deg)  scaleY(.85) } 50% { transform: rotate(-38deg) scaleY(1) } }
@keyframes petalR  { 0%, 100% { transform: rotate(8deg)   scaleY(.85) } 50% { transform: rotate(38deg)  scaleY(1) } }
@keyframes petalL2 { 0%, 100% { transform: rotate(-16deg) scaleY(.7); opacity: .5 } 50% { transform: rotate(-70deg) scaleY(.9); opacity: .9 } }
@keyframes petalR2 { 0%, 100% { transform: rotate(16deg)  scaleY(.7); opacity: .5 } 50% { transform: rotate(70deg)  scaleY(.9); opacity: .9 } }
@keyframes petalC  { 0%, 100% { transform: scaleY(.9) } 50% { transform: scaleY(1.06) } }
@keyframes logoBreathe { 0%, 100% { transform: scale(.7); opacity: .5 } 50% { transform: scale(1); opacity: 1 } }
@keyframes fzRing  { to { transform: rotate(360deg) } }

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

/* ── Layout ──────────────────────────────────────────────────── */
.shell { max-width: var(--wide); margin: 0 auto; padding-inline: var(--pad); }
.dark  { background: var(--dark); color: var(--on-dark); position: relative; overflow: hidden; }
.band  { background: var(--band); }
.sect  { padding-block: clamp(72px, 11vh, 140px); }
.sect-s{ padding-block: clamp(56px, 8vh, 96px); }
.glow  { position: absolute; inset: 0; pointer-events: none; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(32px, 5vw, 88px); }
.grid-2.tight { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(28px, 4vw, 64px); }
.cards  { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 18px; }
.cards-3{ display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 18px; }
.center { text-align: center; }
.middle { align-items: center; }
.bottom { align-items: end; }

/* ── Type ────────────────────────────────────────────────────── */
.kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--purple); margin: 0 0 22px;
}
.dark .kicker, .kicker.on-dark { color: var(--lav); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.012em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(44px, 6.4vw, 92px); line-height: .96; }
h2 { font-size: clamp(36px, 4.6vw, 68px); line-height: 1; }
h3 { font-size: clamp(26px, 2.4vw, 30px); line-height: 1.05; font-weight: 500; }
h2.big { font-size: clamp(40px, 5.4vw, 76px); line-height: .98; }
em.soft { font-style: italic; font-weight: 300; color: var(--purple); }
.dark em.soft { color: var(--lav-lt); }

.lede { font-size: 17px; line-height: 1.62; color: var(--muted); font-weight: 400; max-width: 56ch; text-wrap: pretty; margin: 24px 0 0; }
.dark .lede { color: var(--on-dark-2); font-weight: 300; }
p { text-wrap: pretty; }
.body { font-size: 16px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.dark .body { color: var(--on-dark-2); }
.fine { font-size: 13px; line-height: 1.55; color: var(--muted-2); }
.dark .fine { color: var(--on-dark-5); }
.mono { font-family: var(--mono); letter-spacing: .1em; }

/* ── Brand mark ──────────────────────────────────────────────── */
.wordmark {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-size: 27px; font-weight: 500; letter-spacing: .02em; line-height: 1;
}
.wordmark em { font-style: italic; font-weight: 300; color: var(--purple); }
.dark .wordmark em, .wordmark.on-dark em { color: var(--lav-lt); }

.lotus { position: relative; width: 34px; height: 30px; display: block; flex: none; }
.lotus i {
  position: absolute; left: 50%; bottom: 2px; width: 10px; height: 22px; margin-left: -5px;
  border-radius: 50% 50% 50% 50% / 70% 70% 30% 30%;
  transform-origin: 50% 100%;
}
.lotus i:nth-child(1) { background: var(--purple); opacity: .8;  animation: petalL2 6s ease-in-out infinite; }
.lotus i:nth-child(2) { background: var(--purple); opacity: .8;  animation: petalR2 6s ease-in-out infinite; }
.lotus i:nth-child(3) { background: var(--lav);    opacity: .95; animation: petalL  6s ease-in-out infinite; }
.lotus i:nth-child(4) { background: var(--lav);    opacity: .95; animation: petalR  6s ease-in-out infinite; }
.lotus i:nth-child(5) { background: var(--lav-lt);              animation: petalC  6s ease-in-out infinite; }
.lotus u {
  position: absolute; left: 50%; bottom: 0; width: 22px; height: 5px; margin-left: -11px;
  border-radius: 50%; border-top: 1px solid rgba(94, 75, 154, .55);
}
.dark .lotus u, .lotus.on-dark u { border-top-color: rgba(214, 203, 239, .8); }

.dot-mark {
  width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none;
  background: radial-gradient(circle at 40% 35%, var(--lav-lt), var(--lav) 60%, var(--purple));
  animation: logoBreathe 4s ease-in-out infinite;
}

/* ── Nav ─────────────────────────────────────────────────────── */
.nav {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px var(--pad); max-width: var(--wide); width: 100%; margin: 0 auto;
}
.nav-links { display: flex; align-items: center; gap: clamp(14px, 3vw, 36px); font-size: 14px; letter-spacing: .02em; }
.nav-links a { color: var(--on-dark-3); }
.nav-links a:hover { color: #fff; }
.nav-links a[aria-current="page"] { color: #fff; border-bottom: 1px solid var(--lav); padding-bottom: 2px; }

.nav-toggle {
  display: none; background: none; border: 1px solid rgba(236, 231, 244, .28);
  color: var(--on-dark); border-radius: 999px; padding: 9px 15px; font-size: 13px;
}
@media (max-width: 860px) {
  .nav { flex-wrap: wrap; }
  .nav-toggle { display: inline-block; }
  .nav-links {
    order: 3; width: 100%; flex-direction: column; align-items: flex-start; gap: 4px;
    max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.2, .7, .2, 1);
  }
  .nav-links a, .nav-links .btn { padding: 11px 0; width: 100%; }
  .nav-links .btn { margin-top: 8px; text-align: center; }
  .nav[data-open="true"] .nav-links { max-height: 420px; }
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; line-height: 1;
  transition: background .3s, color .3s, border-color .3s, transform .3s;
}
.btn-primary { background: var(--lav); color: var(--dark); }
.btn-primary:hover { background: #c4b3e6; color: var(--dark); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { background: var(--purple); color: var(--bg); }
.btn-ghost { background: none; border-color: var(--ink); color: var(--ink); font-weight: 500; }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-ghost-d { background: none; border-color: rgba(236, 231, 244, .28); color: var(--on-dark); font-weight: 400; padding: 10px 18px; font-size: 14px; }
.btn-ghost-d:hover { background: var(--on-dark); color: var(--dark); }
.btn-sm { padding: 10px 16px; font-size: 13px; font-weight: 500; }
.btn-block { width: 100%; }

.arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--purple); font-size: 15px; font-weight: 500; }
.arrow:hover { gap: 12px; }
.dark .arrow { color: var(--lav); }

/* ── Cards & panels ──────────────────────────────────────────── */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 24px;
  padding: 28px 26px; display: flex; flex-direction: column; gap: 14px;
}
.card-lift { transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s; }
.card-lift:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(26, 22, 32, .35); }
.card-dark { background: var(--panel); color: var(--on-dark); border: 1px solid rgba(236, 231, 244, .14); }
.card-dark .body { color: var(--on-dark-2); }

.rows { display: grid; gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.rows > * { background: var(--paper); }
.row-kv { padding: 24px 26px; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: baseline; }
.row-kv .k { font-size: 16px; font-weight: 500; }
.row-kv .k small { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; font-weight: 400; }
.row-kv .v { font-family: var(--serif); font-size: 36px; line-height: 1; }
.row-kv .v.accent { color: var(--purple); }

.tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 9px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted);
}
.pill {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  display: inline-flex; align-items: center; gap: 7px;
}
.pill .led { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 2s infinite; flex: none; }

.note {
  border-left: 2px solid var(--lav); padding: 4px 0 4px 18px; margin: 26px 0 0;
  font-size: 14px; line-height: 1.6; color: var(--muted);
}
.dark .note { color: var(--on-dark-2); border-left-color: var(--purple); }
.note strong { color: var(--ink); font-weight: 600; }
.dark .note strong { color: var(--on-dark); }

/* ── Numbered / lettered lists ───────────────────────────────── */
.steps { display: grid; gap: 28px; }
.step-n { font-family: var(--serif); font-size: 28px; font-style: italic; color: var(--purple); line-height: 1; }
.dark .step-n { color: var(--lav); }
.step h3 { margin-bottom: 6px; }
.step-row { display: flex; gap: 14px; }
.step-row h4 { font-size: 16px; font-weight: 500; margin: 0 0 4px; font-family: var(--sans); }

.dashed { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; line-height: 1.5; }
.dashed li { display: flex; gap: 12px; }
.dashed li::before { content: "—"; color: var(--purple); flex: none; }
.dark .dashed { color: var(--on-dark-3); }
.dark .dashed li::before { color: var(--lav); }

/* ── Accordion ───────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font-size: 19px; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--purple); }
.faq summary .plus {
  font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--purple);
  transition: transform .4s; flex: none;
}
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq .answer { margin: 0 0 26px; font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 70ch; }

/* ── Forms ───────────────────────────────────────────────────── */
.form { display: grid; gap: 12px; }
.form input, .form textarea, .form select {
  padding: 15px 18px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); font-size: 15px; outline: none; width: 100%;
}
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--purple); }
.form label { font-size: 14px; color: var(--muted); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-dark {
  padding: 32px; border: 1px solid rgba(236, 231, 244, .16); border-radius: 24px;
  background: rgba(236, 231, 244, .03);
}
.form-dark input, .form-dark textarea, .form-dark select {
  border-color: rgba(236, 231, 244, .2); background: rgba(236, 231, 244, .05); color: var(--on-dark);
}
.form-dark input::placeholder, .form-dark textarea::placeholder { color: var(--on-dark-5); }
.form-dark input:focus, .form-dark textarea:focus, .form-dark select:focus { border-color: var(--lav); }
.form-dark label { color: var(--on-dark-2); }

.form-msg { font-size: 14px; line-height: 1.55; margin: 4px 0 0; }
.form-msg[data-tone="ok"]   { color: var(--purple); }
.form-msg[data-tone="err"]  { color: #b4553f; }
.dark .form-msg[data-tone="ok"]  { color: var(--lav); }
.dark .form-msg[data-tone="err"] { color: #e0a86b; }

/* ── Modal sheet ─────────────────────────────────────────────── */
.sheet[hidden] { display: none !important; }
.sheet {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(16, 13, 23, .72); backdrop-filter: blur(10px);
  display: grid; place-items: center; padding: 20px; animation: fadein .3s both;
}
.sheet-card {
  width: min(440px, 100%); background: var(--dark); color: var(--on-dark);
  border: 1px solid rgba(236, 231, 244, .14); border-radius: 28px;
  padding: 36px 32px 30px; display: grid; gap: 12px; position: relative;
  animation: rise .5s cubic-bezier(.2, .7, .2, 1) both;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
  max-height: 92vh; overflow-y: auto;
}
.sheet-close {
  position: absolute; top: 14px; right: 16px; background: none; border: 0;
  color: var(--on-dark-5); font-size: 24px; line-height: 1; padding: 4px 8px;
}
.sheet-close:hover { color: #fff; }
.sheet-title { font-family: var(--serif); font-size: 36px; line-height: 1; margin: 0 0 6px; }
.sheet-title em { font-style: italic; font-weight: 300; color: var(--lav-lt); }

/* ── Ticker ──────────────────────────────────────────────────── */
.ticker { overflow: hidden; border-top: 1px solid rgba(236, 231, 244, .1); border-bottom: 1px solid rgba(236, 231, 244, .1); }
.ticker-track { display: flex; width: max-content; animation: ticker 46s linear infinite; }
.ticker-track span {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--on-dark-5); padding: 14px 22px; white-space: nowrap;
}
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ── Footer ──────────────────────────────────────────────────── */
.foot { background: var(--dark); color: var(--on-dark); }
.foot-cta { padding: clamp(64px, 10vh, 110px) var(--pad) 0; max-width: var(--wide); margin: 0 auto; text-align: center; }
.foot-bar {
  max-width: var(--wide); margin: 0 auto;
  padding: 28px var(--pad) 40px; margin-top: clamp(48px, 8vh, 92px);
  border-top: 1px solid rgba(236, 231, 244, .12);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px;
  font-size: 13px; color: var(--on-dark-5);
}
.foot-bar a:hover { color: #fff; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.foot-mark { font-family: var(--serif); font-size: 22px; color: var(--on-dark); display: inline-flex; align-items: center; gap: 9px; }
.foot-mark em { font-style: italic; font-weight: 300; color: var(--lav-lt); }
.foot-legal { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; display: grid; gap: 8px; justify-items: start; }

/* Factory Zero credit: the ring is the FZ mark, rotating slowly. */
.fz-credit { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; }
.fz-credit a { display: inline-flex; align-items: center; gap: 7px; color: inherit; }
.fz-credit a:hover { color: #ff5a36; }
.fz-ring { flex: none; transform-origin: 50% 50%; animation: fzRing 12s linear infinite; }

/* ── Reveal on scroll ────────────────────────────────────────── */
[data-reveal] { opacity: 1; }
.js [data-reveal] { opacity: 0; transform: translateY(26px); }
.js [data-reveal].shown {
  opacity: 1; transform: none;
  transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
}
