/* ==========================================================================
   Mimi Bland — sections (shared by every page)
   Homepage order: hero · featured on · the problem · four stages (lotus) ·
   what becomes possible · meet Mimi · private mentorship · kind words ·
   courses · books · app · in her words · questions · closing.
   Inner pages reuse the mentorship cards, kind words, course covers, books,
   app, questions and closing from this file (see pages.css for the rest).
   ========================================================================== */

/* ---------- hero (static: no animation) ---------- */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 5vw, 72px); max-width: var(--max); min-height: 780px; margin: 0 auto; padding: 36px var(--gutter) 60px; }
.hero-tx { flex: 1 1 520px; min-width: 0; }
.hero-vis { position: relative; flex: 1 1 440px; min-width: 0; height: 600px; }
.hero .k { color: var(--lilac-soft); }
.hero .k::before { width: 40px; }
.h1 { margin-top: 26px; font-family: var(--serif); font-weight: 500; font-size: clamp(64px, 8.6vw, 132px); line-height: .92; letter-spacing: -.02em; color: var(--white); }
.h1 span { display: block; }
.h1 em { font-style: italic; font-weight: 400; color: var(--lilac-2); }
.hero-sub { margin-top: 30px; max-width: 500px; font-size: 18px; line-height: 1.72; color: var(--text); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
/* The photo inside a minimal line frame: one thin, clearly visible line with an even gap
   (--off) all round. Lines only: no blur, no ornaments, no motion. */
.hero-stage { --off: 18px; position: absolute; inset: calc(-1 * var(--off)); max-width: calc(480px + 2 * var(--off)); margin: 0 auto; }
.hero-frame { position: absolute; inset: var(--off); overflow: hidden; background: var(--ink-4); }
.hero-geo { position: absolute; inset: 0; border: 1px solid rgba(217, 194, 245, .85); pointer-events: none; }
.hero-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }

/* ---------- as featured on (rolling ticker) ---------- */
.press { display: flex; align-items: center; gap: 44px; height: 88px; padding: 0 var(--gutter); border-top: 1px solid rgba(217, 194, 245, .14); border-bottom: 1px solid rgba(217, 194, 245, .14); background: var(--ink-2); }
.press > p { flex: none; font-size: 10.5px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: #CFC6DC; }
.mq { flex: 1; min-width: 0; display: flex; overflow: hidden; }
.mq-t { display: flex; flex: none; align-items: center; gap: 60px; padding-right: 60px; animation: mq 36s linear infinite; }
.mq:hover .mq-t { animation-play-state: paused; }
.mq-t span { display: inline-flex; align-items: center; gap: 60px; font-family: var(--serif); font-size: 24px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; color: #ECE5F5; }
.mq-t span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--lilac); }
@keyframes mq { to { transform: translateX(-100%); } }

/* ---------- the problem ---------- */
.pr-head { display: flex; flex-direction: column; align-items: center; gap: 26px; max-width: 980px; margin: 0 auto; text-align: center; }
.pr-head .h2 { max-width: 900px; font-size: clamp(44px, 5.4vw, 80px); }
.pr-body { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.pr-label { margin-top: 88px; font-size: 11px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.pr-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 44px 48px; margin-top: 28px; }
.pr-rule { display: flex; gap: 44px; margin-bottom: 34px; }
.pr-rule i { flex: 1; height: 1px; background: rgba(217, 194, 245, .28); transition: background .5s ease, box-shadow .5s ease; }
/* hover: the two lines above each item light up and glow, and the number brightens */
.pr-cards li:hover .pr-rule i { background: #EBD9FF; box-shadow: 0 0 6px rgba(233, 213, 255, .9), 0 0 16px rgba(185, 140, 232, .65); }
.pr-cards li:hover .pr-rule i + i { transition-delay: .08s; }
.pr-n { transition: color .5s ease, text-shadow .5s ease; }
.pr-cards li:hover .pr-n { color: #E4C8FF; text-shadow: 0 0 14px rgba(201, 166, 240, .7); }
.pr-n { display: block; font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1; color: var(--lilac); }
.pr-cards h3 { margin-top: 16px; font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.3vw, 33px); line-height: 1.16; color: var(--white); text-wrap: pretty; }
.pr-pull { margin-top: 96px; text-align: center; font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.15; color: var(--white); }
.pr-pull em { font-style: italic; font-weight: 400; color: var(--lilac-2); }

/* ---------- the four stages: the lotus (scroll-driven) ----------
   Without JavaScript (or with reduced motion) the section is one screen, still, in full bloom.
   lotus.js adds .scroll: the track becomes four screens tall, the stage pins, and scrolling grows the bloom. */
.ib-sec { position: relative; color: var(--cream); }
.ib-wrap { --pinh: min(100vh, 900px); --S: 1; --g: 1; --r: 1; --m: 1; --t: 1; --fill: 100%; --lx: 160px;
  --o0: 1; --k0: 1; --a0: 16; --o1: 1; --k1: 1; --a1: 36; --o2: 1; --k2: 1; --a2: 58; --o3: 1; --k3: 1; --a3: 82; --o4: 1; --k4: 1; --a4: 26; --o5: 1; --k5: 1; --a5: 50; }
@supports (height: 100svh) { .ib-wrap { --pinh: min(100svh, 900px); } }
.ib-track { position: relative; height: var(--pinh); }
.ib-track.scroll { height: calc(var(--pinh) * 4); }
/* --edge: the same left/right content edge as .wrap, so the section lines up with the rest of the page */
.ib-pin { --edge: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); position: relative; height: var(--pinh); overflow: hidden; background: radial-gradient(30% 42% at 50% 46%, rgba(122, 61, 184, .26) 0%, rgba(122, 61, 184, 0) 72%); }
.ib-track.scroll .ib-pin { position: sticky; top: 0; }
.ib-axis { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; margin-left: -.5px; background: linear-gradient(180deg, rgba(201, 166, 240, 0) 0%, rgba(201, 166, 240, .22) 8%, rgba(201, 166, 240, .22) 92%, rgba(201, 166, 240, 0) 100%); pointer-events: none; }
.ib-axl { position: absolute; left: 0; top: 0; width: 1px; height: var(--fill); background: linear-gradient(180deg, rgba(243, 232, 255, .1) 0%, rgba(243, 232, 255, .85) 100%); box-shadow: 0 0 8px rgba(233, 213, 255, .55); }
.ib-axp { position: absolute; left: -4px; top: calc(var(--fill) - 4px); width: 9px; height: 9px; border-radius: 50%; background: var(--white); box-shadow: 0 0 16px 5px rgba(185, 140, 232, .75); }
.ib-vis { position: absolute; left: 50%; top: 50%; height: 90%; aspect-ratio: 600 / 700; transform: translate(-50%, -59%); pointer-events: none; }
.ib-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ib-flower { transform-box: view-box; }
.ib-pt { transform-box: view-box; transform-origin: 0 0; }
.ib-sway { transform-box: view-box; animation: ib-sway 9s ease-in-out infinite alternate; }
.ib-breathe { transform-box: fill-box; transform-origin: center; animation: ib-breathe 6s ease-in-out infinite; }
.ib-tw { animation: ib-tw 4s ease-in-out infinite; }
.ib-head { position: absolute; left: var(--edge); top: clamp(104px, 13vh, 132px); width: min(470px, calc(50% - var(--edge) - 190px)); }
.ib-kick { font-size: 11.5px; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; color: var(--lilac-soft); }
.ib-h2 { margin-top: 24px; font-family: var(--serif); font-weight: 500; font-size: clamp(46px, 5vw, 76px); line-height: 1; letter-spacing: -.01em; color: var(--white); }
.ib-h2 em { display: block; font-style: italic; font-weight: 400; color: var(--lilac-2); }
.ib-steps { position: absolute; left: var(--edge); bottom: clamp(40px, 8vh, 88px); display: flex; flex-direction: column; gap: 12px; }
.ib-sp { display: flex; align-items: center; gap: 14px; color: #A59BB0; transition: color .6s; }
.ib-sp.on { color: var(--white); }
.ib-spn { width: 22px; font-size: 10.5px; font-weight: 500; letter-spacing: .24em; }
.ib-spb { display: block; width: 26px; height: 1px; background: rgba(201, 166, 240, .25); transition: width .6s, background .6s; }
.ib-sp.on .ib-spb { width: 56px; background: #E9D5FF; box-shadow: 0 0 8px rgba(233, 213, 255, .7); }
.ib-sp.done .ib-spb { background: rgba(201, 166, 240, .6); }
.ib-spl { font-family: var(--serif); font-size: 21px; line-height: 1; }
.ib-lead { position: absolute; top: 50%; left: calc(50% + var(--lx)); width: calc(230px - var(--lx) - 14px); height: 1px; display: flex; align-items: center; pointer-events: none; }
.ib-ldot { flex: none; width: 7px; height: 7px; margin-left: -3px; border-radius: 50%; background: #F3E8FF; box-shadow: 0 0 12px rgba(201, 166, 240, .95); }
.ib-lline { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(201, 166, 240, .75), rgba(201, 166, 240, .35)); }
.ib-texts { position: absolute; left: calc(50% + 230px); top: calc(50% - 30px); width: min(400px, calc(50% - 230px - var(--edge))); height: 380px; }
.ib-st { position: absolute; left: 0; top: 0; right: 0; opacity: 0; transform: translateY(22px); filter: blur(4px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1), filter .7s ease; pointer-events: none; }
.ib-st.on { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.ib-hd { display: flex; align-items: center; gap: 14px; height: 60px; }
.ib-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #E9D5FF; box-shadow: 0 0 10px rgba(201, 166, 240, .9); }
.ib-num { font-family: var(--serif); font-size: 60px; line-height: 1; color: var(--lilac); }
.ib-name { margin-top: 8px; font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 3.2vw, 48px); line-height: 1.05; color: var(--white); }
.ib-body { margin-top: 16px; max-width: 380px; font-size: 17px; line-height: 1.7; color: #F1ECF7; }
.ib-cta { display: flex; margin-top: 28px; }
.ib-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 10px; font-size: 10px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); opacity: calc(1 - var(--t) * 10); pointer-events: none; }
.ib-track.scroll .ib-cue { display: flex; }
.ib-cue span { display: block; width: 1px; height: 40px; background: linear-gradient(180deg, rgba(233, 213, 255, 0), rgba(233, 213, 255, .9)); transform-origin: top; animation: ib-cue 2.4s ease-in-out infinite; }
.ib-mhead { display: none; }
@keyframes ib-sway { from { transform: rotate(-1deg); } to { transform: rotate(1deg); } }
@keyframes ib-breathe { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes ib-tw { 0%, 100% { opacity: .15; } 50% { opacity: .95; } }
@keyframes ib-cue { 0% { transform: scaleY(0); opacity: 0; } 40% { opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- what becomes possible ---------- */
.po-grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 80px; }
.po-l { flex: 1 1 560px; min-width: 0; }
.po-r { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding-top: 4px; }
.po-h { margin-top: 26px; font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 5vw, 72px); line-height: 1.04; letter-spacing: -.01em; }
.po-h span { display: block; }
.po-h .a { color: var(--white); }
.po-h .b { color: #6E5C86; }
.po-lead { font-size: 21px; line-height: 1.62; color: #EEE6F8; }
.po-body { font-size: 17px; line-height: 1.75; color: var(--text-2); }
.po-div { height: 1px; margin-top: 96px; background: linear-gradient(90deg, rgba(217, 194, 245, 0), rgba(217, 194, 245, .32) 50%, rgba(217, 194, 245, 0)); }
.po-ba { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 26px; margin-top: 56px; font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.1; text-align: center; }
.po-ba .from { color: var(--muted); }
.po-ba svg { flex: none; width: 44px; height: 22px; color: var(--lilac); }
.po-ba em { font-style: italic; font-weight: 400; color: var(--lilac-2); }

/* ---------- meet Mimi + on stage ---------- */
.mm-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 56px 80px; }
.mm-tx { flex: 1 1 520px; min-width: 0; }
.mm-tx .h2 { margin-top: 24px; }
.mm-body { margin-top: 24px; max-width: 560px; }
.mm-stats { display: flex; flex-wrap: wrap; gap: 24px 56px; margin: 40px 0; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mm-stats b { display: block; font-family: var(--serif); font-weight: 500; font-size: 48px; line-height: 1; color: var(--white); }
.mm-stats span { display: block; margin-top: 10px; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--lilac); }
.mm-ph { position: relative; flex: 0 1 460px; min-width: 0; height: 600px; overflow: hidden; background: var(--ink-4); }
.mm-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.mm-stage { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 64px; margin-top: 96px; padding-top: 64px; border-top: 1px solid var(--line); }
.mm-tv { flex: 1 1 560px; min-width: 0; aspect-ratio: 1300 / 769; overflow: hidden; background: var(--ink-4); }
.mm-tv img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mm-st { flex: 1 1 320px; min-width: 0; }
.mm-stl { margin-top: 20px; font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3vw, 42px); line-height: 1.15; color: var(--white); }

/* ---------- private mentorship ---------- */
.mt-top { display: flex; flex-wrap: wrap; align-items: stretch; gap: 56px 80px; }
.mt-ph { position: relative; flex: 0 1 460px; min-width: 0; min-height: 600px; overflow: hidden; background: var(--ink-4); }
.mt-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }
.mt-in { flex: 1 1 520px; min-width: 0; }
.mt-in .h2 { margin-top: 24px; }
.mt-intro { margin-top: 24px; max-width: 560px; }
.mt-howk { margin-top: 44px; font-size: 11px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.mt-how { margin-top: 16px; border-top: 1px solid var(--line); }
.mt-how li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.mt-how span { padding-top: 3px; font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1; color: var(--lilac); }
.mt-how h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.2; color: var(--white); }
.mt-how p { margin-top: 4px; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.mt-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; margin-top: 88px; }
.mt-card { display: flex; flex-direction: column; padding: 36px 34px 34px; border-radius: 16px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.mt-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mt-n { font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1; color: var(--lilac); }
.mt-dur { display: inline-flex; align-items: center; min-height: 30px; padding: 0 14px; border-radius: 999px; font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--lilac-3); box-shadow: inset 0 0 0 1px rgba(217, 194, 245, .3); }
.mt-card h3 { margin-top: 26px; min-height: 2.2em; font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.1; color: var(--white); }
.mt-f { min-height: 3.2em; margin-top: 14px; font-size: 11px; font-weight: 500; letter-spacing: .18em; line-height: 1.6; text-transform: uppercase; color: var(--lilac); }
.mt-d { margin-top: 16px; margin-bottom: 32px; font-size: 16px; line-height: 1.65; color: var(--text); }
.mt-foot { display: flex; flex-direction: column; align-items: stretch; gap: 20px; margin-top: auto; padding-top: 26px; border-top: 1px solid rgba(217, 194, 245, .14); }
.mt-p { font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1.1; color: var(--white); }
.mt-p small { display: block; margin-top: 6px; font-family: var(--sans); font-size: 12px; font-weight: 400; letter-spacing: .02em; color: #CFC6DC; }
.mt-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; margin-top: 40px; }
.mt-note { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--lilac-soft); }
.mt-sess { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; font-size: 16px; line-height: 1.6; color: var(--text); }

/* ---------- kind words: two testimonials at a time, moved only by the visitor ---------- */
.cf-head { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.du { --w: 560px; --gap: 28px; --c: calc((var(--w) + var(--gap) / 2) * -1); position: relative; height: 540px; margin-top: 64px; overflow: hidden; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.du.dragging { cursor: grabbing; }
.cf-beam { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, rgba(217, 194, 245, 0), rgba(217, 194, 245, .3), rgba(217, 194, 245, 0)); pointer-events: none; }
.du-row { --j: 1; --dx: 0px; position: absolute; left: 50%; top: 24px; display: flex; gap: var(--gap); transform: translateX(calc(var(--c) - var(--j) * (var(--w) + var(--gap)) + var(--dx))); transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.du-row.jump, .du-row.drag { transition: none; }
.tc { position: relative; flex: none; display: flex; flex-direction: column; width: var(--w); height: 484px; border-radius: 30px; overflow: hidden; background: linear-gradient(165deg, #2A1340 0%, #1A0B26 46%, #120719 100%); box-shadow: 0 0 0 1px rgba(217, 194, 245, .2); transition: opacity .5s; }
.tc.on { box-shadow: 0 0 0 1px rgba(233, 213, 255, .34); }
.tc.peek { opacity: .42; }
.tc.off { opacity: .2; }
.tc-in { position: relative; flex: 1; display: flex; flex-direction: column; gap: 22px; padding: 38px 40px 34px; }
.tc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.qm { height: 44px; font-family: var(--serif); font-size: 118px; line-height: .62; color: #9E63E0; }
.chip { display: inline-flex; align-items: center; min-height: 30px; padding: 0 14px; border-radius: 999px; font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; color: var(--lilac-3); background: rgba(185, 140, 232, .12); box-shadow: inset 0 0 0 1px rgba(217, 194, 245, .22); }
.tq { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.46; color: #E9E0F3; text-wrap: pretty; }
.tq em { padding: 0 2px; font-style: italic; color: var(--white); background: linear-gradient(180deg, transparent 58%, rgba(158, 99, 224, .24) 58%, rgba(158, 99, 224, .24) 100%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.who { display: flex; align-items: center; gap: 16px; margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(217, 194, 245, .14); }
.who b { display: block; font-family: var(--serif); font-weight: 500; font-size: 23px; line-height: 1.1; color: var(--white); }
.who small { display: block; margin-top: 4px; font-size: 10.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.mono { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border-radius: 50%; font-family: var(--serif); font-weight: 500; font-size: 20px; letter-spacing: .06em; color: var(--white); box-shadow: 0 0 0 1px rgba(233, 213, 255, .45); }
.m1 { background: #5B2A92; } .m2 { background: #3E1766; } .m3 { background: #6A2DAE; } .m4 { background: #2E0F4E; } .m5 { background: #7A3DB8; }
.cf-hit { position: absolute; inset: 0; z-index: 4; display: none; border: 0; background: transparent; cursor: pointer; }
.tc.peek .cf-hit { display: block; }
.cf-ctl { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 30px; }
.icb { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 54px; height: 54px; border: 0; border-radius: 50%; background: transparent; color: var(--cream); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(217, 194, 245, .4); }
.icb svg { width: 20px; height: 20px; }
.icb:hover { background: var(--cream); color: #1A0B26; }
.segs { display: flex; gap: 6px; }
.segs button { display: flex; align-items: center; width: 60px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.segs i { display: block; width: 100%; height: 2px; border-radius: 2px; background: rgba(217, 194, 245, .22); }
.segs .on i { background: var(--lilac-3); }
.du-count { margin-top: 6px; text-align: center; font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.cf-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 30px; margin-top: 36px; }

/* ---------- courses (designed covers) ---------- */
.co-head, .bk-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 60px; }
.co-head .h2, .bk-head .h2 { margin-top: 24px; }
.co-head .body { max-width: 440px; }
.co-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 56px 40px; margin-top: 64px; }
.co-card { display: flex; flex-direction: column; }
.cv { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between; aspect-ratio: 4 / 5; padding: 44px 34px 38px; overflow: hidden; border-radius: 6px; text-align: center; }
.cv::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(233, 213, 255, .22); border-radius: 2px; pointer-events: none; }
.cv1 { background: #2A1240; } .cv2 { background: #3A1333; } .cv3 { background: #161029; }
.cv-by { font-family: var(--serif); font-size: 13px; letter-spacing: .34em; text-transform: uppercase; color: var(--lilac-soft); }
.cv-mid { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cv-em { width: 96px; height: 96px; margin-bottom: 10px; color: var(--lilac-3); }
.cv-t { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 3.2vw, 46px); line-height: 1; color: var(--white); }
.cv-s { max-width: 240px; font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.25; color: var(--lilac-soft); }
.cv-f { font-size: 10px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: #DCD4E8; }
.co-txt { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 26px; }
.co-txt h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.15; color: var(--white); }
.co-txt p { font-size: 16px; line-height: 1.6; color: var(--text); }
.co-txt .btn { margin-top: auto; }  /* buttons line up across the row, whatever the text length */
.co-txt > p:last-of-type { margin-bottom: 8px; }
.co-more { margin-top: 64px; text-align: center; font-size: 16px; color: var(--text-2); }
.co-more a { color: var(--lilac-3); }

/* ---------- books ---------- */
.bk-head .body { max-width: 420px; }
.bk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 56px 32px; margin-top: 64px; }
.bk-vis { position: relative; display: flex; align-items: flex-end; justify-content: center; height: 400px; border-bottom: 1px solid rgba(217, 194, 245, .2); }
.bk-cv { display: block; width: auto; height: 360px; box-shadow: 0 18px 36px rgba(0, 0, 0, .45); }
.bk-fan img { position: absolute; bottom: 0; width: auto; height: 290px; transform-origin: 50% 100%; box-shadow: 0 14px 28px rgba(0, 0, 0, .45); }
.bk-fan .f1 { left: calc(50% - 134px); transform: rotate(-8deg); }
.bk-fan .f2 { left: calc(50% - 106px); transform: rotate(-3deg); }
.bk-fan .f3 { left: calc(50% - 78px); transform: rotate(2deg); }
.bk-fan .f4 { left: calc(50% - 50px); transform: rotate(7deg); }
.bk-tag { margin-top: 22px; font-size: 10.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--lilac); }
.bk-grid h3 { margin-top: 8px; font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.15; color: var(--white); }
.bk-d { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.bk-cta { display: flex; justify-content: center; margin-top: 64px; }
.bk-grid > li { display: flex; flex-direction: column; }
.bk-buy { align-self: flex-start; margin-top: auto; padding-top: 14px; white-space: normal; }  /* "Buy from Amazon / Gumroad" sits at the same height under each book */

/* ---------- the app ---------- */
.ap-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 56px 80px; }
.ap-tx { flex: 1 1 520px; min-width: 0; }
.ap-tx .h2 { margin-top: 24px; }
.ap-tx .body { margin-top: 24px; max-width: 540px; }
.ap-list { margin-top: 32px; border-top: 1px solid var(--line); }
.ap-list li { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.5; color: #EEE6F8; }
.ap-list span { flex: none; width: 28px; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--lilac); }
.ap-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 36px; }
.ap-soon { display: inline-flex; align-items: center; min-height: 56px; padding: 0 24px; border-radius: 999px; font-size: 14px; color: var(--muted); box-shadow: inset 0 0 0 1px rgba(217, 194, 245, .2); }
.ap-qr { display: flex; align-items: center; gap: 18px; margin-top: 32px; }
.ap-qr img { display: block; width: 96px; height: 96px; padding: 6px; border-radius: 8px; background: var(--white); }
.ap-qr p { max-width: 220px; font-size: 14px; line-height: 1.6; color: var(--text-2); }
.ap-ph { flex: 1 1 440px; min-width: 0; display: flex; justify-content: center; align-items: flex-start; gap: 28px; height: 620px; }
.ap-phone { width: 250px; height: 524px; padding: 10px; border-radius: 40px; background: #1C1229; box-shadow: inset 0 0 0 1px rgba(217, 194, 245, .25); }
.ap-phone img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 31px; }
.ap-phone.b { margin-top: 96px; }

/* ---------- in her words ---------- */
.hw { text-align: center; }
.hw-q { max-width: 1040px; margin: 30px auto 0; }
.hw-q p { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 3.8vw, 56px); line-height: 1.18; color: var(--white); text-wrap: balance; }
.hw-q em { font-style: italic; font-weight: 400; color: var(--lilac-2); }
.hw-q footer { margin-top: 28px; font-size: 11px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.hw-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 72px; }
.hw-row li { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-4); }
.hw-row img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

/* ---------- questions ---------- */
.fq-grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 80px; }
.fq-l { flex: 1 1 320px; min-width: 0; }
.fq-l .h2 { margin-top: 24px; }
.fq-list { flex: 2 1 560px; min-width: 0; border-top: 1px solid var(--line); }
.fq { border-bottom: 1px solid var(--line); }
.fq h3 { font-size: inherit; font-weight: inherit; }
.fq-q { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; min-height: 44px; padding: 26px 0; border: 0; background: none; text-align: left; cursor: pointer; font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.2; color: var(--white); }
.fq-q:hover { color: var(--lilac-3); }
.fq-q i { position: relative; flex: none; width: 16px; height: 16px; }
.fq-q i::before, .fq-q i::after { content: ""; position: absolute; left: 0; top: 7.5px; width: 16px; height: 1px; background: var(--lilac); }
.fq-q i::after { transform: rotate(90deg); }
.fq-q[aria-expanded="true"] i::after { transform: none; }
.fq-a { padding: 0 48px 28px 0; }
.fq-a[hidden] { display: none; }
.fq-a p { max-width: 680px; font-size: 17px; line-height: 1.75; color: var(--text); }
.fq-a p + p { margin-top: 12px; }
.fq-a strong { font-weight: 500; color: var(--white); }
.fq-a a { color: var(--lilac-soft); }

/* ---------- closing ---------- */
.cl { border-top: 1px solid rgba(217, 194, 245, .12); }
.cl-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cl-h { max-width: 1000px; font-family: var(--serif); font-weight: 500; font-size: clamp(48px, 6.4vw, 96px); line-height: 1.02; letter-spacing: -.015em; color: var(--white); }
.cl-h em { font-style: italic; font-weight: 400; color: var(--lilac-2); }
.cl-b { margin-top: 28px; max-width: 560px; }
.cl-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 30px; margin-top: 40px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1320px) {
  .du { --w: 500px; --gap: 24px; }
  .tq { font-size: 20px; }
}
@media (max-width: 1120px) {
  .du { --w: calc(50vw - 70px); --gap: 20px; height: 620px; }
  .tc { height: 564px; }
  .tq { font-size: 19px; }
  /* photos go full width once the text and photo stack */
  .mm-ph { flex-basis: 100%; height: 560px; }
  .mt-ph { flex-basis: 100%; min-height: 560px; }
  .mm-ph img { object-position: 50% 22%; }
  .mt-ph img { object-position: 50% 18%; }
}
/* tablet: two cards per row, and a lone last card sits in the middle */
@media (min-width: 761px) and (max-width: 1120px) {
  .mt-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mt-cards > * { grid-column: span 2; }
  .mt-cards > :last-child:nth-child(odd) { grid-column: 2 / span 2; }
}
@media (min-width: 901px) and (max-width: 1120px) {
  .co-grid, .bk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; }
  .cv { padding: 36px 24px 30px; }
  .cv-mid { gap: 12px; }
  .cv-em { width: 68px; height: 68px; margin-bottom: 2px; }
  .cv-t { font-size: 32px; }
  .cv-s { font-size: 17px; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .co-grid, .bk-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .co-grid > *, .bk-grid > * { grid-column: span 2; }
  .co-grid > :last-child:nth-child(odd), .bk-grid > :last-child:nth-child(odd) { grid-column: 2 / span 2; }
}
/* "In her words" photos: two by two on phones */
@media (max-width: 760px) {
  .hw-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 48px; }
}
@media (max-width: 900px) {
  /* testimonials: one at a time */
  .du { --w: calc(100vw - 92px); --gap: 14px; --c: calc(var(--w) / -2); height: 610px; margin-top: 44px; }
  .tc { height: 566px; }
  .tc-in { padding: 30px 26px 26px; gap: 18px; }
  .qm { height: 36px; font-size: 96px; }
  .du-b { display: none; }
  .tc.peek { opacity: .5; }
  .cf-ctl { gap: 12px; }
  .segs button { width: 36px; }
  /* lotus: heading on top, flower in the middle, one stage's text below */
  .ib-mhead { display: flex; flex-direction: column; gap: 16px; padding: 84px var(--gutter) 24px; }
  .ib-mhead .ib-h2 { margin-top: 6px; }
  .ib-head, .ib-lead, .ib-axis { display: none; }
  .ib-steps { left: 50%; bottom: auto; top: 24px; transform: translateX(-50%); flex-direction: row; gap: 10px; }
  .ib-spl, .ib-spn { display: none; }
  .ib-sp.on .ib-spb { width: 36px; }
  .ib-vis { top: 5%; height: 46%; transform: translate(-50%, 0); }
  .ib-texts { left: var(--gutter); right: var(--gutter); top: auto; bottom: 24px; width: auto; height: 340px; }
  .ib-body { max-width: 440px; font-size: 15.5px; line-height: 1.6; }
  .ib-st { text-align: center; }
  .ib-hd { justify-content: center; height: auto; }
  .ib-dot { display: none; }
  .ib-num { font-size: 44px; }
  .ib-body { margin-left: auto; margin-right: auto; }
  .ib-cta { justify-content: center; }
}
@media (max-width: 760px) {
  .hero { min-height: 0; padding-top: 16px; padding-bottom: 48px; gap: 36px; }
  .hero-vis { height: 480px; }
  .hero-stage { --off: 12px; }
  .hero-sub { font-size: 17px; }
  .hero-ctas .btn, .cf-cta .btn { flex: 1 1 100%; }
  .press { flex-direction: column; align-items: stretch; gap: 12px; height: auto; padding-top: 20px; padding-bottom: 20px; text-align: center; }
  .mq-t { gap: 40px; padding-right: 40px; }
  .mq-t span { gap: 40px; font-size: 19px; }
  .pr-label { margin-top: 64px; }
  .pr-pull { margin-top: 72px; }
  .po-lead { font-size: 19px; }
  .po-div { margin-top: 64px; }
  .po-ba { margin-top: 40px; }
  .po-ba svg { transform: rotate(90deg); }
  .mm-ph { height: 460px; }
  .mm-stage { margin-top: 64px; padding-top: 48px; }
  .mt-ph { min-height: 460px; }
  .mt-cards { margin-top: 64px; }
  .mt-card { padding: 30px 24px 26px; }
  .mt-card h3, .mt-f { min-height: 0; }
  .ap-ph { height: auto; gap: 16px; }
  .ap-phone { width: 160px; height: 336px; padding: 7px; border-radius: 28px; }
  .ap-phone img { border-radius: 22px; }
  .ap-phone.b { margin-top: 48px; }
  .ap-qr { display: none; }
  .bk-vis { height: 360px; }
  .bk-cv { height: 320px; }
  .fq-q { padding: 22px 0; font-size: 22px; }
  .fq-a { padding-right: 0; }
}

/* motion: respect the visitor's setting */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mq-t, .ib-sway, .ib-breathe, .ib-tw, .ib-cue span { animation: none; }
  .ib-st, .du-row, .ib-sp, .ib-spb { transition: none; }
}

/* ======================= About (home): two photos, as in the 11 Oct design =======================
   Photos on the left: the jet-steps portrait with its caption, and the night-city photo
   overlapping its lower corner. Plain rectangles, no motion. */
.mm-duo { position: relative; flex: 0 1 520px; min-width: 0; padding: 0 64px 92px 0; }
.mm-p1 { position: relative; height: 600px; overflow: hidden; background: var(--ink-4); box-shadow: 0 0 0 1px rgba(217, 194, 245, .25), 0 40px 90px rgba(5, 2, 10, .6), 0 0 120px rgba(122, 61, 184, .22); }
.mm-p1::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26, 11, 38, 0) 55%, rgba(26, 11, 38, .7) 100%); pointer-events: none; }
.mm-cap { position: absolute; left: 22px; right: 44%; bottom: 20px; z-index: 2; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.25; color: var(--white); text-shadow: 0 2px 20px rgba(10, 4, 16, .7); }
.mm-p2 { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; overflow: hidden; background: var(--ink-4); box-shadow: 0 0 0 6px var(--ink), 0 0 0 7px rgba(217, 194, 245, .3), 0 30px 60px rgba(5, 2, 10, .6), 0 0 80px rgba(122, 61, 184, .3); }
.mm-p1 img, .mm-p2 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mm-p1 img { object-position: 50% 30%; }
.mm-p2 img { object-position: 40% 30%; }
@media (max-width: 1120px) {
  .mm-duo { flex-basis: 100%; max-width: 640px; }
  .mm-p1 { height: 560px; }
}
@media (max-width: 760px) {
  .mm-duo { padding: 0 30px 64px 0; }
  .mm-p1 { height: 460px; }
  .mm-p2 { width: 44%; box-shadow: 0 0 0 4px var(--ink), 0 0 0 5px rgba(217, 194, 245, .3), 0 20px 40px rgba(5, 2, 10, .6); }
  .mm-cap { right: 46%; bottom: 14px; font-size: 16px; }
}

/* ======================= Course covers: subtle motion =======================
   From the 11 Oct design. The cards rise in as you reach them and lift on hover,
   and each cover has one quiet, looping movement:
   - Self Mastery: two ghosts of the title drift apart, then pull back into alignment.
   - Rewrite Your Money Story: the old lines fade while the new ones write themselves.
   - The Answer Is You: the door swings wider and the light spills out.
   Used on the homepage and the Courses page. With "Reduce motion" everything stays still. */
.co-grid > li { transition: opacity 1s cubic-bezier(.2, .7, .2, 1), transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.co-grid > li:nth-child(2) { transition-delay: .12s; }
.co-grid > li:nth-child(3) { transition-delay: .24s; }
.co-grid.pre > li { opacity: 0; transform: translateY(36px); }
.co-grid.pre .cv * { animation-play-state: paused; }
.cv { transition: transform .6s cubic-bezier(.2, .7, .2, 1), box-shadow .5s; }
.co-card:hover .cv, a.cv:focus-visible { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(233, 213, 255, .4), 0 36px 70px rgba(5, 2, 10, .55), 0 0 60px rgba(122, 61, 184, .22); }

.cv-al { position: relative; }
.cv-al span { display: block; }
.cv-al .g { position: absolute; inset: 0; opacity: 0; mix-blend-mode: screen; pointer-events: none; }
.cv-al .g1 { color: #9E63E0; animation: cv-g1 7s ease-in-out infinite; }
.cv-al .g2 { color: #E9A8F0; animation: cv-g2 7s ease-in-out infinite; }
.cv-al .t0 { position: relative; animation: cv-t0 7s ease-in-out infinite; }
@keyframes cv-g1 { 0%, 100% { transform: translate(-5px, -2px); opacity: .5; } 38%, 74% { transform: none; opacity: 0; } }
@keyframes cv-g2 { 0%, 100% { transform: translate(4px, 2px); opacity: .45; } 38%, 74% { transform: none; opacity: 0; } }
@keyframes cv-t0 { 0%, 100% { opacity: .72; } 38%, 74% { opacity: 1; } }

.cv2 .ink { stroke-dasharray: 1 2; stroke-dashoffset: 1; animation: cv-ink 7s cubic-bezier(.45, 0, .2, 1) infinite; }
.cv2 .ink.i2 { animation-name: cv-ink2; }
.cv2 .old { animation: cv-old 7s ease-in-out infinite; }
@keyframes cv-ink { 0%, 12% { stroke-dashoffset: 1; opacity: 1; } 40%, 86% { stroke-dashoffset: 0; opacity: 1; } 96%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes cv-ink2 { 0%, 30% { stroke-dashoffset: 1; opacity: 1; } 54%, 86% { stroke-dashoffset: 0; opacity: 1; } 96%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes cv-old { 0%, 8% { opacity: .5; } 40%, 86% { opacity: .16; } 100% { opacity: .5; } }

.cv3 .leaf { transform-box: view-box; transform-origin: 30px 50%; vector-effect: non-scaling-stroke; animation: cv-door 7s ease-in-out infinite; }
.cv3 .beam { animation: cv-beam 7s ease-in-out infinite; }
.cv3 .spill { animation: cv-spill 7s ease-in-out infinite; }
.cv3 .halo { opacity: .35; animation: cv-halo 7s ease-in-out infinite; }
@keyframes cv-door { 0%, 100% { transform: scaleX(1); } 42%, 72% { transform: scaleX(.42); } }
@keyframes cv-beam { 0%, 100% { opacity: .7; } 42%, 72% { opacity: 1; } }
@keyframes cv-spill { 0%, 100% { opacity: .45; } 42%, 72% { opacity: 1; } }
@keyframes cv-halo { 0%, 100% { opacity: .3; } 42%, 72% { opacity: 1; } }

/* ======================= Books: rise in, lift on hover =======================
   The books rise in as you reach them. On hover a cover lifts and tilts, and the
   four-part series fans a little wider. The series opens from a neat stack as it arrives.
   Used on the homepage library and the Books page. */
.bk-grid > li { transition: opacity 1s cubic-bezier(.2, .7, .2, 1), transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.bk-grid > li:nth-child(2) { transition-delay: .12s; }
.bk-grid > li:nth-child(3) { transition-delay: .24s; }
.bk-grid.pre > li { opacity: 0; transform: translateY(36px); }
.bk-cv, .bk-fan img { transition: transform .8s cubic-bezier(.2, .7, .2, 1), box-shadow .8s; }
.bk-fan .f2 { transition-delay: .05s; }
.bk-fan .f3 { transition-delay: .1s; }
.bk-fan .f4 { transition-delay: .15s; }
.pre .bk-fan img { transform: translateY(18px) rotate(0); }
.bk-grid > li:hover .bk-cv, .bl-it:hover .bk-cv { transform: translateY(-10px) rotate(-1.5deg); box-shadow: 0 30px 50px rgba(0, 0, 0, .55); }
.bk-grid > li:hover .bk-fan .f1, .bl-it:hover .bk-fan .f1 { transform: translate(-16px, -8px) rotate(-11deg); }
.bk-grid > li:hover .bk-fan .f2, .bl-it:hover .bk-fan .f2 { transform: translate(-6px, -12px) rotate(-4deg); }
.bk-grid > li:hover .bk-fan .f3, .bl-it:hover .bk-fan .f3 { transform: translate(6px, -12px) rotate(3deg); }
.bk-grid > li:hover .bk-fan .f4, .bl-it:hover .bk-fan .f4 { transform: translate(16px, -8px) rotate(10deg); }

@media (prefers-reduced-motion: reduce) {
  .cv-al .g, .cv-al .t0, .cv2 .ink, .cv2 .old, .cv3 .leaf, .cv3 .beam, .cv3 .spill, .cv3 .halo { animation: none; }
  .cv2 .ink { stroke-dashoffset: 0; }
  .cv3 .halo { opacity: .5; }
  .co-grid > li, .bk-grid > li, .cv, .bk-cv, .bk-fan img { transition: none; }
}
