/* spelltogetexback.com homepage "Candlelit Salon" (theme 1.7.0).
   One dark room lit by gold. Front page only, loaded after site.css.
   Motion uses transform/opacity/clip-path; honours reduced motion and the site motion toggle. */

.lx {
  --lx-bg: #0B0A09; --lx-bg-2: #12100E;
  --lx-gold: #C8A15A; --lx-gold-hi: #E9CF95; --lx-gold-lo: #8B6A32;
  --lx-text: #F1EADF; --lx-soft: #BDB2A1;
  --lx-hair: rgba(200, 161, 90, 0.22); --lx-hair-2: rgba(200, 161, 90, 0.12);
  --lx-ease: cubic-bezier(0.22, 1, 0.36, 1); --lx-ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --lx-gold-grad: linear-gradient(100deg, #A9823F 0%, #E9CF95 38%, #C8A15A 62%, #F3DEAE 100%);
  --lx-ink: #17120A;
  background: var(--lx-bg); color: var(--lx-text); overflow-x: clip; position: relative;
}
.lx::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.lx > * { position: relative; z-index: 1; }

/* ---------- type ---------- */
.lx-h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4.4rem); line-height: 1.02; letter-spacing: -0.012em; margin: 0 0 28px; color: var(--lx-text); text-wrap: balance; }
.lx-h2 em, .lx-hero__title em, .lx-proof dd { background: var(--lx-gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lx-h2 em { font-style: italic; padding-right: 0.06em; }
.lx-h2--xl { font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.6rem); }
.lx-h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem); line-height: 1.1; margin: 0 0 14px; color: var(--lx-text); }
.lx p { color: var(--lx-soft); }
.lx-lede { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); max-width: 36rem; }
.lx .lx-big { font-family: var(--font-display); font-size: clamp(1.4rem, 1.1rem + 0.9vw, 1.85rem); line-height: 1.38; color: var(--lx-text); }
.lx-link, .lx p a { color: var(--lx-gold-hi); text-decoration: underline; text-decoration-color: rgba(233, 207, 149, 0.4); text-underline-offset: 0.25em; transition: text-decoration-color 0.3s; }
.lx-link:hover, .lx p a:hover { text-decoration-color: var(--lx-gold-hi); }
.lx-caption { margin-top: 14px; font-size: 0.8125rem; letter-spacing: 0.04em; color: rgba(189, 178, 161, 0.75); }

/* ornament: hairline, gold diamond, hairline */
.lx-mark { display: flex; align-items: center; gap: 14px; width: 132px; margin-bottom: 26px; position: relative; }
.lx-mark::before, .lx-mark::after { content: ""; height: 1px; flex: 1; }
.lx-mark::before { background: linear-gradient(90deg, transparent, var(--lx-gold)); transform-origin: right; }
.lx-mark::after { background: linear-gradient(90deg, var(--lx-gold), transparent); transform-origin: left; }
.lx-mark { background: linear-gradient(var(--lx-gold), var(--lx-gold)) center / 6px 6px no-repeat; }
.lx-center .lx-mark { margin-inline: auto; }

/* ghost link */
.lx-ghost { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lx-gold-hi); text-decoration: none; }
.lx-ghost span { position: relative; }
.lx-ghost span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0.25); transform-origin: left; opacity: 0.6; transition: transform 0.5s var(--lx-ease), opacity 0.3s; }
.lx-ghost:hover span::after, .lx-ghost:focus-visible span::after { transform: scaleX(1); opacity: 1; }
.lx-ghost svg { width: 18px; height: 18px; transition: transform 0.45s var(--lx-ease); }
.lx-ghost:hover svg { transform: translateX(6px); }

/* buttons: gold sheen sweep, pill shape, magnetic (home.js) */
.lx .btn { position: relative; overflow: hidden; isolation: isolate; border-radius: 999px; padding-inline: 28px; }
.lx .btn--gold { background: var(--lx-gold-grad); background-size: 180% 100%; color: var(--lx-ink); box-shadow: 0 0 0 1px rgba(243, 222, 174, 0.35) inset, 0 18px 40px -18px rgba(200, 161, 90, 0.65); transition: background-position 0.8s var(--lx-ease), box-shadow 0.4s var(--lx-ease); }
.lx .btn--gold::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.9s var(--lx-ease); }
.lx .btn--gold:hover { background-position: 100% 0; box-shadow: 0 0 0 1px rgba(243, 222, 174, 0.5) inset, 0 22px 50px -16px rgba(200, 161, 90, 0.8); }
.lx .btn--gold:hover::after { transform: translateX(120%); }
.lx .btn--line { border: 1px solid var(--lx-hair); color: var(--lx-gold-hi); background: rgba(23, 20, 15, 0.35); backdrop-filter: blur(6px); }
.lx .btn--line:hover { border-color: var(--lx-gold); background: rgba(200, 161, 90, 0.1); }

.lx-section { padding-block: clamp(96px, 12vw, 176px); }
.lx-center { text-align: center; max-width: 52rem; margin: 0 auto clamp(48px, 7vw, 88px); }

/* ---------- reveal system (home.js adds .is-in) ---------- */
.js .lx [data-lx] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 1.1s var(--lx-ease), transform 1.1s var(--lx-ease); transition-delay: calc(var(--d, 0) * 120ms); }
.js .lx [data-lx].is-in { opacity: 1; transform: none; }
.js .lx [data-lx="clip"] { opacity: 1; transform: none; clip-path: inset(12% 10% 12% 10%); transition: clip-path 1.5s var(--lx-ease-io); }
.js .lx [data-lx="clip"].is-in { clip-path: inset(0); }
.js .lx [data-lx="clip"] img { scale: 1.18; transition: scale 1.8s var(--lx-ease); }
.js .lx [data-lx="clip"].is-in img { scale: 1; }
.js .lx .lx-mark::before, .js .lx .lx-mark::after { transform: scaleX(0); transition: transform 1.2s var(--lx-ease) 0.15s; }
.js .lx .lx-mark.is-in::before, .js .lx .lx-mark.is-in::after { transform: scaleX(1); }

/* ---------- 1. hero ---------- */
.lx-hero { min-height: 100svh; display: grid; align-items: end; background: var(--lx-bg); overflow: clip; isolation: isolate; }
.lx-hero__media { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.lx-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 22%; transform-origin: 66% 34%; animation: lx-open 2.8s var(--lx-ease) both, lx-breathe 28s ease-in-out 2.8s infinite alternate; }
.lx-hero__shade { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: linear-gradient(90deg, rgba(11,10,9,.96) 0%, rgba(11,10,9,.78) 30%, rgba(11,10,9,.18) 62%, rgba(11,10,9,.35) 100%),
    linear-gradient(to top, var(--lx-bg) 0%, rgba(11,10,9,.55) 26%, rgba(11,10,9,0) 52%),
    linear-gradient(to bottom, rgba(11,10,9,.7) 0%, rgba(11,10,9,0) 22%); }
.lx-hero__glow { position: absolute; z-index: -1; width: 46vmax; height: 46vmax; left: calc(var(--mx, 64) * 1%); top: calc(var(--my, 40) * 1%); translate: -50% -50%; border-radius: 50%; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(circle, rgba(255,196,110,.55) 0%, rgba(255,170,80,.18) 34%, transparent 66%); transition: left 1.2s var(--lx-ease), top 1.2s var(--lx-ease); animation: lx-flicker 6s ease-in-out infinite; }
.lx-hero .hero__embers { inset: 0 0 0 40%; z-index: -1; }
@media (min-width: 1024px) {
  .lx-hero__media { left: 34%; }
  .lx-hero__media img { object-position: 50% 18%; }
  .lx-hero__shade { background:
    linear-gradient(90deg, var(--lx-bg) 0%, var(--lx-bg) 34%, rgba(11,10,9,.72) 44%, rgba(11,10,9,.08) 64%, rgba(11,10,9,.3) 100%),
    linear-gradient(to top, var(--lx-bg) 0%, rgba(11,10,9,.45) 22%, rgba(11,10,9,0) 45%),
    linear-gradient(to bottom, rgba(11,10,9,.7) 0%, rgba(11,10,9,0) 22%); }
}
.lx-frame { position: absolute; inset: calc(var(--header-h) + 8px) clamp(12px, 2vw, 24px) clamp(12px, 2vw, 24px); border: 1px solid rgba(200,161,90,.16); pointer-events: none; animation: lx-frame 2s var(--lx-ease) 0.6s both; }
.lx-hero__inner { display: grid; gap: 40px; align-items: end; padding-block: calc(var(--header-h) + clamp(40px, 8vh, 96px)) clamp(64px, 10vh, 120px); }
@media (min-width: 1024px) { .lx-hero__inner { grid-template-columns: minmax(0, 1fr) 300px; } }
.lx-hero__copy { max-width: 40rem; }
.lx-hero__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(3rem, min(1.6rem + 5.6vw, 12.5vh), 7rem); line-height: 0.94; letter-spacing: -0.02em; margin: 0 0 32px; color: var(--lx-text); }
.lx-line { display: block; overflow: clip; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.lx-line > span { display: inline-block; animation: lx-rise 1.4s var(--lx-ease) both; }
.lx-line:nth-child(1) > span { animation-delay: 0.35s; }
.lx-line:nth-child(2) > span { animation-delay: 0.5s; }
.lx-line:nth-child(3) > span { animation-delay: 0.65s; }
.lx-hero__title em { background-size: 200% 100%; animation: lx-sheen 7s ease-in-out 2s infinite; padding-right: 0.08em; }
.lx .lx-hero__lede { font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem); line-height: 1.7; color: rgba(241,234,223,.86); max-width: 34rem; margin-bottom: 40px; animation: lx-up 1.2s var(--lx-ease) 0.95s both; }
.lx-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; animation: lx-up 1.2s var(--lx-ease) 1.1s both; }
.lx-hero__card { position: relative; padding: 22px; border: 1px solid var(--lx-hair); border-radius: 18px; background: rgba(18,16,14,.5); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); animation: lx-up 1.2s var(--lx-ease) 1.35s both; }
.lx .lx-hero__card p { font-size: 0.875rem; line-height: 1.6; margin: 0 0 14px; padding-right: 18px; color: rgba(241,234,223,.8); }
.lx-hero__card a { font-family: var(--font-display); font-size: 1.45rem; color: var(--lx-gold-hi); text-decoration: none; }
.lx-hero__card a:hover { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.lx-pulse { position: absolute; top: 22px; right: 22px; width: 9px; height: 9px; border-radius: 50%; background: #7FD69A; animation: lx-ping 2.4s var(--lx-ease) infinite; }
@media (max-width: 1023px) { .lx-hero__card { display: none; } }
.lx-scroll { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; width: 26px; height: 44px; border: 1px solid rgba(233,207,149,.45); border-radius: 20px; display: none; z-index: 2; animation: lx-fade 1s ease 2s both; }
.lx-scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--lx-gold-hi); animation: lx-wheel 2s var(--lx-ease) infinite; }
@media (min-width: 1024px) and (min-height: 700px) { .lx-scroll { display: block; } }
@media (max-width: 760px) {
  .lx-hero__media img { object-position: 64% 20%; }
  .lx-hero__shade { background: linear-gradient(to top, var(--lx-bg) 0%, rgba(11,10,9,.9) 40%, rgba(11,10,9,.2) 72%, rgba(11,10,9,.55) 100%); }
  .lx-hero__inner { padding-top: 44svh; padding-bottom: 56px; }
  .lx-frame { display: none; }
  .lx-hero .hero__embers { inset: 0; }
  .lx-hero__actions .btn { width: 100%; justify-content: center; }
}

/* ---------- 2. proof: count-up numbers + ticker ---------- */
.lx-proof { padding-top: clamp(56px, 7vw, 96px); background: linear-gradient(to bottom, var(--lx-bg), var(--lx-bg-2)); }
.lx-proof__nums { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; }
.lx-proof__item { text-align: center; padding: 8px 12px 40px; position: relative; }
.lx-proof__item + .lx-proof__item::before { content: ""; position: absolute; left: 0; top: 12%; height: 60%; width: 1px; background: linear-gradient(to bottom, transparent, var(--lx-hair), transparent); }
.lx-proof dd { margin: 0; font-family: var(--font-display); font-weight: 300; font-size: clamp(3rem, 1.6rem + 5vw, 6.2rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; }
.lx-proof dd sup { font-size: 0.45em; vertical-align: 0.9em; margin-left: 0.04em; }
.lx-proof dt { margin-top: 14px; font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--lx-soft); }
@media (max-width: 560px) { .lx-proof__item { padding-inline: 4px; } .lx-proof dt { font-size: 0.625rem; letter-spacing: 0.12em; } }
.lx-ticker { display: flex; overflow: hidden; border-block: 1px solid var(--lx-hair-2); padding-block: 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.lx-ticker__track { display: flex; flex: none; margin: 0; padding: 0; list-style: none; animation: lx-marquee 48s linear infinite; }
.lx-ticker:hover .lx-ticker__track { animation-play-state: paused; }
.lx-ticker li { display: flex; align-items: center; white-space: nowrap; font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lx-soft); }
.lx-ticker li b { font-family: var(--font-display); font-style: italic; font-weight: 500; text-transform: none; letter-spacing: 0.01em; font-size: 1.5rem; color: var(--lx-gold-hi); margin-right: 12px; }
.lx-ticker li::after { content: ""; width: 6px; height: 6px; margin-inline: clamp(28px, 4vw, 56px); background: var(--lx-gold); transform: rotate(45deg); opacity: 0.7; }

/* ---------- 3. intro: arched portrait + rotating seal ---------- */
.lx-intro { background: var(--lx-bg-2); }
.lx-intro__grid { display: grid; gap: clamp(56px, 8vw, 120px); align-items: center; }
@media (min-width: 900px) { .lx-intro__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.lx-intro__fig { position: relative; margin: 0; max-width: 520px; width: 100%; justify-self: center; }
.lx-intro__img { overflow: hidden; border-radius: 999px 999px 6px 6px; aspect-ratio: 900 / 1206; box-shadow: 0 50px 90px -40px rgba(0,0,0,.9); }
.lx-intro__img > div, .lx-arch > div { height: 100%; }
.lx-intro__img img, .lx-arch img { width: 100%; height: 114%; margin-top: -7%; object-fit: cover; }
.lx-seal { position: absolute; right: -36px; bottom: 64px; width: 150px; height: 150px; z-index: 2; border-radius: 50%; background: radial-gradient(circle, #17140F 0 60%, transparent 61%); filter: drop-shadow(0 14px 24px rgba(0,0,0,.6)); }
.lx-seal text { font-family: var(--font-body); font-size: 13px; letter-spacing: 3px; text-transform: uppercase; fill: var(--lx-gold-hi); }
.lx-seal__ring { transform-origin: 100px 100px; animation: lx-spin 30s linear infinite; }
.lx-seal__flame { fill: var(--lx-gold); transform-origin: 100px 120px; animation: lx-flame 2.6s ease-in-out infinite; }
@media (max-width: 600px) { .lx-seal { right: -4px; width: 112px; height: 112px; bottom: 44px; } }
.lx-intro__text p { max-width: 38rem; }

/* ---------- 4. services: sticky heading + stacking cards ---------- */
.lx-services { background: var(--lx-bg); }
.lx-services__grid { display: grid; gap: 56px; }
@media (min-width: 1024px) {
  .lx-services__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
  .lx-sticky { position: sticky; top: calc(var(--header-h) + 56px); }
  .lx-services__head, .lx-faq__head { align-self: stretch; }
}
.lx-services__head .lx-lede, .lx-faq__head .lx-lede { margin-bottom: 32px; }
.lx-stack { display: grid; gap: 32px; }
.lx-card { position: relative; border: 1px solid var(--lx-hair); border-radius: 22px; background: linear-gradient(160deg, #1C1812 0%, #120F0C 70%); overflow: hidden; box-shadow: 0 -18px 50px -30px rgba(0,0,0,.9), 0 40px 80px -50px #000; transition: border-color 0.5s var(--lx-ease); }
@media (min-width: 1024px) { .lx-card { position: sticky; top: calc(var(--header-h) + 40px + var(--i) * 28px); } }
.lx-card:hover { border-color: rgba(200,161,90,.45); }
.lx-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(600px circle at var(--cx, 50%) var(--cy, 0%), rgba(233,207,149,.1), transparent 45%); opacity: 0; transition: opacity 0.4s; }
.lx-card:hover::after { opacity: 1; }
.lx-card__media { display: block; aspect-ratio: 16 / 8; overflow: hidden; }
.lx-card__media img { width: 100%; height: 100%; object-fit: cover; scale: 1.02; filter: saturate(.92) brightness(.92); transition: scale 1.6s var(--lx-ease), filter 0.8s; }
.lx-card:hover .lx-card__media img { scale: 1.08; filter: none; }
.lx-card__body { position: relative; padding: clamp(26px, 3vw, 40px); }
.lx-card__body p { margin-bottom: 18px; }
.lx-card__num { position: absolute; right: clamp(22px, 3vw, 36px); top: -0.62em; font-family: var(--font-display); font-style: italic; font-size: clamp(4rem, 3rem + 3vw, 6rem); line-height: 1; color: rgba(11,10,9,.35); -webkit-text-stroke: 1px rgba(233,207,149,.7); pointer-events: none; }
.lx-rituals .ritual-index { margin-top: clamp(72px, 9vw, 120px); padding-top: 40px; border-top: 1px solid var(--lx-hair-2); text-align: center; }
.lx-rituals .ritual-index .h-sub { font-family: var(--font-display); font-weight: 400; font-style: italic; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); color: var(--lx-text); }
.lx-rituals .ritual-index ul { columns: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.lx-rituals .ritual-index a { display: inline-flex; padding: 9px 18px; border: 1px solid var(--lx-hair); border-radius: 999px; font-size: 0.875rem; color: var(--lx-soft); transition: color .3s, border-color .3s, background-color .3s, transform .4s var(--lx-ease); }
.lx-rituals .ritual-index a:hover { color: var(--lx-ink); background: var(--lx-gold-hi); border-color: var(--lx-gold-hi); text-decoration: none; transform: translateY(-2px); }

/* ---------- 5. quote band: parallax + words light up on scroll ---------- */
.lx-quote { min-height: min(92vh, 860px); display: grid; place-items: center; overflow: clip; isolation: isolate; background: var(--lx-bg); }
.lx-quote__media { position: absolute; inset: -14% 0; z-index: -2; }
.lx-quote__media img { width: 100%; height: 100%; object-fit: cover; }
.lx-quote::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(11,10,9,.5) 0%, rgba(11,10,9,.88) 72%), linear-gradient(to bottom, var(--lx-bg) 0%, transparent 18%, transparent 82%, var(--lx-bg) 100%); }
.lx-quote__inner { text-align: center; padding-block: 120px; }
.lx-quote blockquote { margin: 0 auto; max-width: 62rem; }
.lx-quote blockquote::before { content: "\201C"; display: block; font-family: var(--font-display); font-size: 7rem; line-height: 0.6; color: var(--lx-gold); margin-bottom: 20px; }
.lx .lx-quote p { font-family: var(--font-display); font-size: clamp(2rem, 1.2rem + 3.4vw, 4.4rem); line-height: 1.12; letter-spacing: -0.01em; color: var(--lx-text); margin: 0 0 32px; text-wrap: balance; }
.lx-quote p .w { opacity: 0.16; transition: opacity 0.5s linear; }
.lx-quote p .w.on { opacity: 1; }
.lx-quote cite { font-style: normal; font-size: 0.8125rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--lx-gold-hi); }
.lx-quote cite::before { content: ""; display: inline-block; width: 40px; height: 1px; background: var(--lx-gold); vertical-align: middle; margin-right: 16px; }

/* ---------- 6. process: gold line draws with scroll ---------- */
.lx-process { background: var(--lx-bg); }
.lx-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 48px; position: relative; --p: 0; }
.lx-steps::before, .lx-steps::after { content: ""; position: absolute; background: var(--lx-hair-2); }
@media (min-width: 900px) {
  .lx-steps { grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 64px); }
  .lx-steps::before, .lx-steps::after { left: 36px; right: 36px; top: 36px; height: 1px; }
  .lx-steps::after { background: linear-gradient(90deg, var(--lx-gold-lo), var(--lx-gold-hi)); transform: scaleX(var(--p)); transform-origin: left; }
}
@media (max-width: 899px) {
  .lx-steps { padding-left: 72px; }
  .lx-steps::before, .lx-steps::after { left: 26px; top: 0; bottom: 0; width: 1px; }
  .lx-steps::after { background: linear-gradient(to bottom, var(--lx-gold-lo), var(--lx-gold-hi)); transform: scaleY(var(--p)); transform-origin: top; }
  .lx .lx-step__dot { position: absolute; left: -72px; top: 0; width: 52px; height: 52px; font-size: 1.1rem; }
  .lx-step .lx-h3 { padding-top: 10px; }
}
.lx-step { position: relative; }
.lx-step__dot { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; margin-bottom: 30px; border: 1px solid var(--lx-hair); background: var(--lx-bg); font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: var(--lx-soft); position: relative; z-index: 1; transition: color .6s, border-color .6s, background-color .6s, box-shadow .8s var(--lx-ease); }
.lx-step.is-lit .lx-step__dot { color: var(--lx-ink); background: var(--lx-gold-hi); border-color: var(--lx-gold-hi); box-shadow: 0 0 0 8px rgba(200,161,90,.1), 0 0 40px rgba(233,207,149,.45); }
.lx-process__foot { margin-top: clamp(56px, 7vw, 88px); padding-top: 40px; border-top: 1px solid var(--lx-hair-2); display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.lx .lx-process__foot p { max-width: 40rem; margin: 0; font-size: 0.9375rem; }

/* ---------- 7. materials plaque ---------- */
.lx-materials { background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(200,161,90,.08), transparent 70%), var(--lx-bg-2); }
.lx-plaque { position: relative; max-width: 58rem; margin: 0 auto; text-align: center; padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 88px); border: 1px solid var(--lx-hair); }
.lx-plaque::before, .lx-plaque::after, .lx-plaque__corner::before, .lx-plaque__corner::after { content: ""; position: absolute; width: 28px; height: 28px; border: 1px solid var(--lx-gold); }
.lx-plaque::before { top: -6px; left: -6px; border-right: 0; border-bottom: 0; }
.lx-plaque::after { bottom: -6px; right: -6px; border-left: 0; border-top: 0; }
.lx-plaque__corner::before { top: -6px; right: -6px; border-left: 0; border-bottom: 0; }
.lx-plaque__corner::after { bottom: -6px; left: -6px; border-right: 0; border-top: 0; }
.lx-plaque p { margin-inline: auto; max-width: 42rem; }
.lx .lx-plaque__policy { font-family: var(--font-display); font-size: clamp(1.3rem, 1.05rem + .8vw, 1.75rem); line-height: 1.45; color: var(--lx-text); }

/* ---------- 8. library: tabs ---------- */
.lx-library { background: var(--lx-bg); }
.lx-library__head { display: flex; flex-wrap: wrap; gap: 32px; align-items: end; justify-content: space-between; margin-bottom: clamp(40px, 5vw, 64px); }
.lx-library__head > div:first-child { max-width: 40rem; }
.lx-tabs { position: relative; display: inline-flex; padding: 5px; border: 1px solid var(--lx-hair); border-radius: 999px; background: rgba(23,20,15,.7); }
.lx-tabs[hidden] { display: none; }
.lx-tabs button { position: relative; z-index: 1; min-height: 44px; padding: 10px 26px; border: 0; background: none; cursor: pointer; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lx-soft); transition: color .4s; }
.lx-tabs button[aria-selected="true"] { color: var(--lx-ink); }
.lx-tabs__pill { position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--lx-gold-grad); transition: transform .55s var(--lx-ease), width .55s var(--lx-ease); }
.lx-panels { display: grid; gap: 56px; }
@media (min-width: 900px) { .lx-panels { grid-template-columns: 1fr 1fr; gap: 64px; } }
.lx-panels.is-tabbed { display: block; }
.lx-panels.is-tabbed .lx-panel__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lx-panel[hidden] { display: none; }
.lx-panel.is-entering { animation: lx-up .7s var(--lx-ease) both; }
.lx-panel__title { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 1.8rem; color: var(--lx-gold-hi); margin-bottom: 12px; }
.lx-entries { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--lx-hair-2); }
.lx-entry a { display: grid; grid-template-columns: 96px minmax(0, 1fr) 20px; gap: 22px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--lx-hair-2); text-decoration: none; color: inherit; position: relative; }
.lx-entry img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; filter: saturate(.8) brightness(.85); transition: filter .6s, scale .8s var(--lx-ease); }
.lx-entry__text { display: grid; gap: 6px; }
.lx-entry__title { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.18; color: var(--lx-text); transition: color .3s; }
.lx-entry__desc { font-size: 0.875rem; line-height: 1.55; color: var(--lx-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lx-entry svg { width: 18px; height: 18px; color: var(--lx-gold); transition: transform .45s var(--lx-ease), opacity .4s; }
.lx-entry a:hover .lx-entry__title { color: var(--lx-gold-hi); }
.lx-entry a:hover img { filter: none; scale: 1.04; }
.lx-entry a:hover svg { transform: translateX(6px); }
@media (min-width: 900px) {
  .lx-panels.is-tabbed .lx-entries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; border-top: 0; }
  .lx-panels.is-tabbed .lx-entry a { grid-template-columns: 1fr; gap: 18px; padding: 0 0 22px; border: 0; align-items: start; }
  .lx-panels.is-tabbed .lx-entry img { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 16px; }
  .lx-panels.is-tabbed .lx-entry svg { position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; padding: 11px; border-radius: 50%; background: rgba(11,10,9,.6); backdrop-filter: blur(6px); opacity: 0; transform: translateY(6px); }
  .lx-panels.is-tabbed .lx-entry a:hover svg { opacity: 1; transform: none; }
  .lx-panels.is-tabbed .lx-entry__title { font-size: 1.55rem; }
}

/* ---------- 9. area ---------- */
.lx-area { background: var(--lx-bg-2); }
.lx-area__grid { display: grid; gap: clamp(56px, 8vw, 120px); align-items: center; }
@media (min-width: 900px) { .lx-area__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.lx-area__fig { margin: 0; justify-self: center; max-width: 440px; width: 100%; }
.lx-arch { overflow: hidden; border-radius: 999px 999px 8px 8px; aspect-ratio: 900 / 1206; position: relative; }
.lx-arch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--lx-hair); pointer-events: none; }

/* ---------- 10. faq accordion (height animated by home.js) ---------- */
.lx-faq { background: var(--lx-bg); }
.lx-faq__grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .lx-faq__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 112px); align-items: start; } }
.lx .lx-accordion { border-top: 1px solid var(--lx-hair-2); }
.lx details.faq-item { border-bottom: 1px solid var(--lx-hair-2); overflow: hidden; }
.lx details.faq-item summary { padding: 28px 4px; align-items: center; }
.lx details.faq-item summary h4, .lx details.faq-item summary h3 { color: var(--lx-text); font-weight: 400; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.85rem); }
.lx details.faq-item summary:hover h4, .lx details.faq-item[open] summary h4, .lx details.faq-item summary:hover h3, .lx details.faq-item[open] summary h3 { color: var(--lx-gold-hi); }
.lx details.faq-item .faq-icon { width: 40px; height: 40px; border-color: var(--lx-hair); transition: transform .5s var(--lx-ease), background-color .4s, border-color .4s; }
.lx details.faq-item .faq-icon::before, .lx details.faq-item .faq-icon::after { background: var(--lx-gold-hi); }
.lx details.faq-item[open] .faq-icon { background: var(--lx-gold-hi); border-color: var(--lx-gold-hi); transform: rotate(180deg); }
.lx details.faq-item[open] .faq-icon::before, .lx details.faq-item[open] .faq-icon::after { background: var(--lx-ink); }
.lx .faq-answer { padding: 0 64px 28px 4px; }
.lx .faq-answer .text-link { color: var(--lx-gold-hi); }

/* ---------- 11. closing CTA ---------- */
.lx-cta { overflow: clip; isolation: isolate; text-align: center; padding-block: clamp(110px, 14vw, 200px); background: var(--lx-bg); border-top: 1px solid var(--lx-hair-2); }
.lx-cta__glow { position: absolute; z-index: -1; left: 50%; top: 42%; width: min(1100px, 140vw); aspect-ratio: 1.6; translate: -50% -50%; background: radial-gradient(ellipse, rgba(200,161,90,.2) 0%, rgba(160,100,40,.08) 38%, transparent 68%); animation: lx-flicker 7s ease-in-out infinite; pointer-events: none; }
.lx-cta__inner { display: flex; flex-direction: column; align-items: center; }
.lx-cta__inner .lx-lede { margin: 0 auto 40px; }
.lx-cta__portrait { position: relative; width: 168px; height: 168px; margin: 0 0 44px; }
.lx-cta__portrait img { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid var(--lx-bg); }
.lx-ring { position: absolute; inset: -6px; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 20%, var(--lx-gold-hi) 35%, var(--lx-gold-lo) 50%, transparent 65% 100%); animation: lx-spin 6s linear infinite; }
.lx-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 16px; margin-bottom: 36px; }
.lx-cta__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 0.9375rem; color: var(--lx-soft); }
.lx-cta__contact a { color: var(--lx-gold-hi); }
@media (max-width: 560px) { .lx-cta__actions .btn { width: 100%; justify-content: center; } }

/* scroll progress hairline (inserted by home.js) */
.lx-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; transform: scaleX(var(--sp, 0)); transform-origin: left; background: linear-gradient(90deg, #8B6A32, #E9CF95); }

/* ---------- keyframes ---------- */
@keyframes lx-open { from { transform: scale(1.16); filter: brightness(.4) blur(6px); } to { transform: scale(1.04); filter: none; } }
@keyframes lx-breathe { from { transform: scale(1.04); } to { transform: scale(1.1) translate3d(-1.4%, -.8%, 0); } }
@keyframes lx-fade { from { opacity: 0; } }
@keyframes lx-rise { from { transform: translate3d(0, 108%, 0) rotate(2deg); } }
@keyframes lx-up { from { opacity: 0; transform: translate3d(0, 24px, 0); } }
@keyframes lx-frame { from { opacity: 0; transform: scale(1.03); } }
@keyframes lx-sheen { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
@keyframes lx-flicker { 0%, 100% { opacity: .85; } 18% { opacity: .7; } 33% { opacity: .95; } 52% { opacity: .75; } 71% { opacity: 1; } 86% { opacity: .8; } }
@keyframes lx-ping { 0% { box-shadow: 0 0 0 0 rgba(127,214,154,.55); } 70%, 100% { box-shadow: 0 0 0 12px rgba(127,214,154,0); } }
@keyframes lx-wheel { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes lx-marquee { to { transform: translateX(-100%); } }
@keyframes lx-spin { to { transform: rotate(360deg); } }
@keyframes lx-flame { 0%, 100% { transform: none; } 30% { transform: scale(.94, 1.06) skewX(-2deg); } 60% { transform: scale(1.04, .97) skewX(2deg); } }

.lx-hero.is-offscreen .lx-hero__media img, .lx-hero.is-offscreen .lx-hero__glow, .lx-hero.is-offscreen .lx-hero__title em { animation-play-state: paused; }

/* ---------- reduced motion + site motion toggle ---------- */
@media (prefers-reduced-motion: reduce) {
  .lx *, .lx *::before, .lx *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .lx [data-lx], .js .lx [data-lx="clip"] { opacity: 1; transform: none; clip-path: none; }
  .js .lx [data-lx="clip"] img { scale: 1; }
  .js .lx .lx-mark::before, .js .lx .lx-mark::after { transform: none; }
  .lx-quote p .w { opacity: 1; }
  .lx-ticker { overflow-x: auto; }
  .lx-progress { display: none; }
}
html[data-motion="off"] .lx [data-lx] { opacity: 1; transform: none; clip-path: none; }
html[data-motion="off"] .lx [data-lx="clip"] img { scale: 1; }
html[data-motion="off"] .lx .lx-mark::before, html[data-motion="off"] .lx .lx-mark::after { transform: none; }
html[data-motion="off"] .lx-quote p .w { opacity: 1; }
html[data-motion="off"] .lx-progress { display: none; }

/* unslop polish pass for spelltogetexback.com home (theme ste-obsidian 1.7.0)
   Loads after home.css. Palette, type families and layout are unchanged.
   Method: unslop by @heydamir (CC BY 4.0). */

/* ---- 2 Color: gradients, glows, washes out ---- */
.lx .btn--gold,
.lx .btn--gold:hover { background: var(--lx-gold); background-size: auto; box-shadow: none; }
.lx .btn--gold:hover { background: var(--lx-gold-hi); }
.lx .btn--gold::after { display: none; }
.lx-proof { background: var(--lx-bg-2); }
.lx-proof__item + .lx-proof__item::before { background: var(--lx-hair-2); }
.lx-materials { background: var(--lx-bg-2); }
.lx-cta__glow, .lx-hero__glow, .hero__embers { display: none; }
.lx-card { background: #15120E; box-shadow: none; }
.lx-card::after { display: none; }
.lx-hero__card { background: #14110E; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.lx-hero__title em { background: none; -webkit-text-fill-color: currentColor; color: var(--lx-gold-hi); animation: none; }
.lx-ring { background: none; border: 1px solid var(--lx-hair); animation: none; inset: -8px; }
.lx-seal { filter: none; }

/* ---- 4/5 Type: sentence case, small text never negative or shouting ---- */
.brand__sub, .site-menu a.nav-link, .btn, .link-arrow, .lx-ghost, .lx-proof dt,
.lx-ticker li, .lx-quote cite, .band__quote cite, .footer__col h2, .entry__meta,
.motion-toggle, .planned-list .s, .lx-seal text, .trust__steps {
  text-transform: none; letter-spacing: 0.01em;
}
.btn, .link-arrow, .lx-ghost { font-size: 0.9375rem; font-weight: 600; }
.site-menu a.nav-link { font-size: 0.9375rem; }
.lx-proof dt { font-size: 0.9375rem; color: var(--lx-soft); }
.lx-quote cite { font-size: 1rem; }
.lx-seal text { letter-spacing: 1px; }

/* ---- 7 Details: radius by size, one control radius ---- */
.lx .btn, .site-header .btn { border-radius: 10px; padding-inline: 24px; }
.lx-card { border-radius: 16px; }
.lx-hero__card { border-radius: 14px; }
.lx-rituals .ritual-index a { border-radius: 8px; padding: 8px 14px; }
.lx-rituals .ritual-index a:hover { transform: none; }
.lx-card__num { position: static; display: block; margin-bottom: 12px; font-size: 1.25rem; font-style: normal;
  letter-spacing: 0.08em; color: var(--lx-gold); -webkit-text-stroke: 0; }

/* Facts strip: static row, one pass, no marquee */
.lx-ticker { display: block; overflow: visible; padding-block: 28px; -webkit-mask-image: none; mask-image: none; }
.lx-ticker__track { animation: none; flex-wrap: wrap; justify-content: center; gap: 12px 0; max-width: 72rem; margin-inline: auto; padding-inline: 24px; }
.lx-ticker__track[aria-hidden="true"] { display: none; }
.lx-ticker li { white-space: normal; }
.lx-ticker li b { font-size: 1.25rem; }

/* Signature: one flame, still. Marks that Baba Ali is answering. */
.lx-pulse { background: var(--lx-gold-hi); animation: none; }
.lx-seal__ring, .lx-seal__flame { animation: none; }

/* ---- 9 Motion: nothing loops, nothing floats ---- */
.lx-magnet { transform: none !important; }
.lx-card:hover .lx-card__media img { scale: 1.02; filter: saturate(.92) brightness(.92); }
.lx-ticker:hover .lx-ticker__track { animation-play-state: running; }
.lx-hero__media img { animation: lx-open 1.6s var(--lx-ease) both; }

/* Keyboard focus, inside the palette */
.lx a:focus-visible, .lx button:focus-visible, .site-header a:focus-visible {
  outline: 2px solid var(--lx-gold-hi); outline-offset: 3px; border-radius: 4px;
}

/* tabs: sentence case */
.lx-tabs button { text-transform: none; letter-spacing: 0.01em; font-size: 0.9375rem; }
