/* ==========================================================================
   Mimi Bland — inner pages
   Page hero · section heads · quote band · letter · split layout · tiles ·
   stages · credentials · "for you" list · programmes · call-to-action strip ·
   forms · contact routes · book rows · Return to Self parts · legal text.
   Loaded after base.css and sections.css on every page except the homepage.
   No animation here: inner pages stay still, like the homepage.
   ========================================================================== */

/* ---------- page hero (static) ---------- */
.ph { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 5vw, 72px); max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter) 104px; }
.ph-tx { flex: 1 1 540px; min-width: 0; }
.ph .k { color: var(--lilac-soft); }
.ph-h { margin-top: 26px; font-family: var(--serif); font-weight: 500; font-size: clamp(52px, 6.2vw, 100px); line-height: .98; letter-spacing: -.02em; color: var(--white); text-wrap: balance; }
.ph-h em { font-style: italic; font-weight: 400; color: var(--lilac-2); }
.ph-sub { margin-top: 28px; max-width: 560px; font-size: 19px; line-height: 1.7; color: var(--text); }
.ph-line { margin-top: 18px; font-size: 11.5px; font-weight: 500; letter-spacing: .24em; line-height: 1.7; text-transform: uppercase; color: var(--muted); }
.ph-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.ph-vis { position: relative; flex: 1 1 420px; min-width: 0; height: 580px; }
.ph-frame { position: absolute; inset: 0; max-width: 460px; margin: 0 auto; overflow: hidden; background: var(--ink-4); }
.ph-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.ph-frame.mid img { object-position: 50% 30%; }  /* the jet-steps photo on About: keep the whole figure in view */
/* centred hero, no photo */
.ph.c { flex-direction: column; padding-top: 72px; padding-bottom: 96px; text-align: center; }
.ph.c .ph-tx { flex: none; display: flex; flex-direction: column; align-items: center; }
.ph.c .ph-h { max-width: 1000px; }
.ph.c .ph-sub { margin-left: auto; margin-right: auto; }
.ph.c .ph-ctas { justify-content: center; }

/* ---------- section helpers ---------- */
.band { border-top: 1px solid rgba(217, 194, 245, .12); }
.sec.tight { padding-top: 0; }
.sec-h { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 60px; }
.sec-h .h2 { margin-top: 24px; }
.sec-h .body { max-width: 470px; }
.sec-c { display: flex; flex-direction: column; align-items: center; text-align: center; }
.sec-c .h2 { margin-top: 24px; max-width: 900px; }
.sec-c .body { margin-top: 22px; max-width: 640px; }
.lbl { font-size: 11px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }

/* ---------- quote band ---------- */
.qb { text-align: center; }
.qb .qt { max-width: 1060px; margin: 0 auto; font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 3.6vw, 54px); line-height: 1.2; color: var(--white); text-wrap: balance; }
.qb em { font-style: italic; font-weight: 400; color: var(--lilac-2); }
.qb .k { margin-bottom: 30px; }

/* ---------- a note from Mimi ---------- */
.lt { max-width: 780px; margin: 0 auto; }
.lt-b { display: flex; flex-direction: column; gap: 22px; margin-top: 32px; font-family: var(--serif); font-size: clamp(22px, 2vw, 27px); line-height: 1.55; color: #E9E0F3; }
.lt-sig { margin-top: 28px; font-family: var(--script); font-size: 46px; line-height: 1.2; color: var(--cream); }

/* ---------- split: heading left, content right ---------- */
.split { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 80px; }
.split-l { flex: 1 1 340px; min-width: 0; }
.split-l .h2 { margin-top: 24px; }
.split-l .body { margin-top: 22px; max-width: 420px; }
.split-r { flex: 2 1 560px; min-width: 0; }
.split-r > .body + .body { margin-top: 18px; }
.split-r .lead { font-size: 21px; line-height: 1.62; color: #EEE6F8; }
/* a heading that needs more room (About: the framework) */
.split.wide .split-l { flex: 1 1 560px; }
.split.wide .split-r { flex: 1 1 420px; }
.split.wide { align-items: flex-end; }

/* ---------- tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.tile { display: flex; flex-direction: column; padding: 30px 28px 32px; border-radius: 16px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.tile > span { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1; color: var(--lilac); }
.tile h3 { margin-top: 44px; font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.1; color: var(--white); }
.tile p { margin-top: 12px; font-size: 15.5px; line-height: 1.65; color: var(--text-2); }
.tiles-k { margin-top: 56px; }
.tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- four stages / four steps in a row ---------- */
.stg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; margin-top: 56px; border-top: 1px solid rgba(217, 194, 245, .24); }
.stg li { position: relative; padding-top: 30px; }
.stg li::before { content: ""; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: #E9D5FF; box-shadow: 0 0 10px rgba(201, 166, 240, .9); }
.stg b { display: block; font-size: 10.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--lilac); }
.stg h3 { margin-top: 14px; font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 2.5vw, 38px); line-height: 1.05; color: var(--white); }
.stg p { margin-top: 12px; max-width: 280px; font-size: 15.5px; line-height: 1.65; color: var(--text-2); }
.stg-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 40px; font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); color: #EEE6F8; }
.stg-flow i { font-style: normal; color: var(--lilac); }

/* ---------- credentials ---------- */
.cred { border-top: 1px solid var(--line); }
.cred li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(21px, 1.9vw, 26px); line-height: 1.35; color: #EDE4F6; }
.cred li span { padding-top: 5px; font-style: italic; font-size: 18px; line-height: 1; color: var(--lilac); }

/* ---------- "this is for you if" list ---------- */
.fy { border-top: 1px solid var(--line); }
.fy li { display: flex; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(23px, 2.2vw, 32px); line-height: 1.3; color: #EDE4F6; }
.fy li::before { content: ""; flex: none; width: 9px; height: 9px; margin-top: .55em; border-radius: 50%; background: #F3E8FF; box-shadow: 0 0 14px 3px rgba(201, 166, 240, .7); }
.fy em { font-style: italic; color: var(--lilac-soft); }
.note-card { margin-top: 40px; padding: 34px 38px; border-radius: 20px; background: radial-gradient(70% 120% at 0% 0%, rgba(122, 61, 184, .2) 0%, rgba(122, 61, 184, 0) 70%); box-shadow: inset 0 0 0 1px rgba(217, 194, 245, .2); font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 30px); line-height: 1.4; color: #F3E8FF; }
.after { margin-top: 32px; font-size: 17px; line-height: 1.7; color: var(--text); }

/* ---------- programmes (compact rows) ---------- */
.prog { border-top: 1px solid var(--line); }
.prog li { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, auto); align-items: baseline; gap: 10px 32px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.prog h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; color: var(--white); }
.prog .f { font-size: 11px; font-weight: 500; letter-spacing: .18em; line-height: 1.6; text-transform: uppercase; color: var(--lilac); }
.prog .p { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.1; text-align: right; color: var(--white); }
.prog .p small { display: block; margin-top: 6px; font-family: var(--sans); font-size: 12px; font-weight: 400; color: #CFC6DC; }
.prog-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; margin-top: 32px; }

/* mentorship card extras (Work with Mimi) */
.mt-card .mt-d + .mt-d { margin-top: -16px; }
.mt-pil { margin: -8px 0 28px; border-top: 1px solid rgba(217, 194, 245, .12); }
.mt-pil li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(217, 194, 245, .12); font-size: 14.5px; line-height: 1.5; color: var(--text); }
.mt-pil b { flex: none; width: 92px; font-weight: 500; color: var(--white); }
.mt-quote { margin: -12px 0 30px; font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.35; color: var(--lilac-soft); }
.sess-k { margin-bottom: 8px; }

/* ---------- call-to-action strip ---------- */
.strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 60px; padding: 52px 56px; border-radius: 24px; background: radial-gradient(60% 140% at 100% 50%, rgba(122, 61, 184, .28) 0%, rgba(122, 61, 184, 0) 70%), var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.strip-tx { flex: 1 1 460px; min-width: 0; }
.strip h2 { margin-top: 18px; font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 3.2vw, 46px); line-height: 1.08; color: var(--white); }
.strip h2 em { font-style: italic; font-weight: 400; color: var(--lilac-2); }
.strip p:not(.k) { margin-top: 14px; max-width: 580px; font-size: 16.5px; line-height: 1.7; color: var(--text); }
.strip-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }

/* ---------- forms ---------- */
.fm-wrap { max-width: 880px; }
.fm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 24px; }
.fm-f { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.fm-f.full { grid-column: 1 / -1; }
.fm label, .fm legend { padding: 0; font-size: 11px; font-weight: 500; letter-spacing: .2em; line-height: 1.6; text-transform: uppercase; color: var(--lilac-soft); }
.fm label small, .fm legend small { font-size: 12.5px; font-weight: 400; letter-spacing: .02em; text-transform: none; color: var(--muted); }
.fm legend.q { font-family: var(--serif); font-size: 21px; font-weight: 500; letter-spacing: 0; line-height: 1.35; text-transform: none; color: var(--white); }
.fm input[type="text"], .fm input[type="email"], .fm input[type="tel"], .fm select, .fm textarea { width: 100%; min-height: 56px; padding: 15px 20px; border: 0; border-radius: 14px; background: var(--ink-3); box-shadow: inset 0 0 0 1px rgba(217, 194, 245, .28); color: var(--cream); font-family: var(--sans); font-size: 16px; font-weight: 300; line-height: 1.5; }
.fm textarea { min-height: 132px; resize: vertical; }
.fm input::placeholder, .fm textarea::placeholder { color: #B3A8C6; }
.fm select { appearance: none; -webkit-appearance: none; padding-right: 52px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%23D9C2F5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 18px; }
.fm select option { background: #140822; color: var(--cream); }
.fm input:focus-visible, .fm select:focus-visible, .fm textarea:focus-visible { outline: none; box-shadow: inset 0 0 0 1px #E9D5FF, 0 0 0 4px rgba(185, 140, 232, .18); }
.fm [aria-invalid="true"] { box-shadow: inset 0 0 0 1px #F0A6C8 !important; }
.fm fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.fm-opts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.fm-opt { position: relative; display: inline-flex; }
.fm-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.fm-opt span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(217, 194, 245, .28); font-size: 14.5px; line-height: 1.3; color: #EEE6F8; }
.fm-opt input:checked + span { background: rgba(245, 238, 252, .1); box-shadow: inset 0 0 0 1px #E9D5FF; color: var(--white); }
.fm-opt input:focus-visible + span { outline: 2px solid #E9D5FF; outline-offset: 3px; }
.fm fieldset[aria-invalid="true"] .fm-opt span { box-shadow: inset 0 0 0 1px #F0A6C8; }
.fm-err { font-size: 13px; line-height: 1.4; color: #F3B8D4; }
.fm-err:empty { display: none; }
.fm-sep { grid-column: 1 / -1; height: 1px; margin: 8px 0; background: var(--line); }
.fm-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 36px; }
.fm-small { font-size: 14px; line-height: 1.6; color: var(--muted); }
.fm-msg { margin-top: 14px; font-size: 14px; color: var(--lilac-3); }
.fm-msg:empty { display: none; }
.fm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fm-thanks { padding: 44px 48px; border-radius: 24px; background: radial-gradient(70% 120% at 0% 0%, rgba(122, 61, 184, .22) 0%, rgba(122, 61, 184, 0) 70%), var(--ink-2); box-shadow: inset 0 0 0 1px rgba(217, 194, 245, .28); }
.fm-thanks[hidden] { display: none; }
.fm-thanks h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 3vw, 42px); line-height: 1.1; color: var(--white); }
.fm-thanks h3:focus { outline: none; }
.fm-thanks p { margin-top: 16px; max-width: 640px; font-size: 17px; line-height: 1.7; color: var(--text); }
.fm-thanks .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
.fm-demo { margin-top: 22px; padding: 10px 14px; border-radius: 10px; border: 1px dashed rgba(233, 213, 255, .5); font-size: 13.5px; line-height: 1.5; color: var(--lilac-3); }
.fm-demo[hidden] { display: none; }

/* ---------- contact routes ---------- */
.routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.route { 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); }
.route .n { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--lilac); }
.route h3, .route .h3x { margin-top: 26px; font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.1; color: var(--white); }
.route p { margin: 14px 0 30px; font-size: 16px; line-height: 1.65; color: var(--text); }
.route .acts { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-top: auto; }

/* ---------- book rows (Books page) ---------- */
.bl-it { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); align-items: center; gap: 40px 80px; padding: 64px 0; border-top: 1px solid var(--line); }
.bl-it:last-child { border-bottom: 1px solid var(--line); }
.bl-it .bk-vis { border-bottom: 0; }
.bl-tx h2 { margin-top: 12px; font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 3.6vw, 52px); line-height: 1.05; color: var(--white); }
.bl-tx p:not(.bk-tag) { margin-top: 18px; max-width: 520px; font-size: 18px; line-height: 1.7; color: var(--text); }
.bl-tx .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 30px; }
.bk-pair img { position: absolute; bottom: 0; width: auto; height: 320px; box-shadow: 0 18px 36px rgba(0, 0, 0, .5); }
.bk-pair .p1 { left: calc(50% - 170px); transform: rotate(-4deg); }
.bk-pair .p2 { left: calc(50% - 50px); transform: rotate(4deg); }

/* ---------- The Return to Self: the four parts ---------- */
.rts-fan { position: relative; flex: 1 1 420px; min-width: 0; height: 520px; }
.rts-fan img { position: absolute; bottom: 30px; width: auto; height: 380px; transform-origin: 50% 100%; box-shadow: 0 18px 36px rgba(0, 0, 0, .5); }
.rts-fan .f1 { left: calc(50% - 200px); transform: rotate(-9deg); }
.rts-fan .f2 { left: calc(50% - 150px); transform: rotate(-3deg); }
.rts-fan .f3 { left: calc(50% - 100px); transform: rotate(3deg); }
.rts-fan .f4 { left: calc(50% - 50px); transform: rotate(9deg); }
.rts-q { margin-top: 30px; max-width: 560px; padding-left: 24px; border-left: 1px solid rgba(217, 194, 245, .4); font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.45; color: #E9E0F3; }
.parts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; margin-top: 64px; }
.part img { display: block; width: 100%; height: auto; aspect-ratio: 377 / 600; object-fit: cover; box-shadow: 0 18px 36px rgba(0, 0, 0, .45); }
.part .n { margin-top: 26px; font-size: 10.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--lilac); }
.part h3 { margin-top: 10px; font-family: var(--serif); font-weight: 500; font-size: 25px; line-height: 1.15; color: var(--white); }
.part h3 small { display: block; margin-top: 6px; font-size: 18px; font-style: italic; font-weight: 400; color: var(--lilac-soft); }
.part p { margin-top: 14px; font-size: 15.5px; line-height: 1.65; color: var(--text); }
.buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 24px; margin-top: 64px; }

/* ---------- legal text ---------- */
.prose { max-width: 780px; }
.prose .upd { font-size: 14px; color: var(--muted); }
.prose h2 { margin-top: 52px; font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1.15; color: var(--white); }
.prose p, .prose li { font-size: 17px; line-height: 1.75; color: var(--text); }
.prose p { margin-top: 14px; }
.prose ul { margin-top: 14px; padding-left: 22px; list-style: disc; }
.prose li + li { margin-top: 8px; }
.prose a { color: var(--lilac-3); }

/* ---------- course pages: shared bits ---------- */
.facts { display: flex; flex-wrap: wrap; }
.facts li { display: flex; align-items: baseline; gap: 10px; padding: 0 24px; border-left: 1px solid rgba(217, 194, 245, .22); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: #D9C2F5; }
.facts li:first-child { padding-left: 0; border-left: 0; }
.facts b { font-family: var(--serif); font-weight: 500; font-size: 46px; line-height: 1; letter-spacing: 0; color: var(--white); text-shadow: 0 0 22px rgba(201, 166, 240, .5); }
.course-small { font-size: 10.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.price { margin-left: 4px; padding: 3px 10px; border-radius: 999px; background: rgba(122, 61, 184, .14); color: #5B2A92; font-size: 13px; letter-spacing: .04em; }
.sig { font-family: var(--script); font-size: 42px; line-height: 1; color: var(--lilac-3); }
.tbc { align-self: flex-start; margin-top: 6px; padding: 8px 12px; border-radius: 10px; border: 1px dashed rgba(233, 213, 255, .5); font-size: 12.5px; line-height: 1.4; color: var(--lilac-3); }
.course-h { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 60px; }
.course-h .body { max-width: 440px; }
.c-h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(42px, 4.8vw, 74px); line-height: 1.02; letter-spacing: -.01em; color: var(--white); }
.c-h2 em { font-style: italic; font-weight: 400; color: var(--lilac-2); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1120px) {
  .ph-vis, .rts-fan { flex-basis: 100%; }
  .ph-vis { height: 540px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts li { flex-direction: column; align-items: flex-start; gap: 6px; padding: 0 0 0 14px; font-size: 9.5px; letter-spacing: .14em; line-height: 1.4; }
  .facts b { font-size: 36px; }
  .stg { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; border-top: 0; }
  .stg li { border-top: 1px solid rgba(217, 194, 245, .24); }
  .routes { grid-template-columns: minmax(0, 1fr); }
  .tiles.three { grid-template-columns: minmax(0, 1fr); }
  .bl-it { grid-template-columns: minmax(0, 1fr); padding: 52px 0; }
  .parts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prog li { grid-template-columns: minmax(0, 1fr); }
  .prog .p { text-align: left; }
}
@media (max-width: 760px) {
  .ph { padding-top: 16px; padding-bottom: 72px; gap: 36px; }
  .ph.c { padding-top: 40px; padding-bottom: 64px; }
  .ph-sub { font-size: 17px; }
  .ph-vis { height: 460px; }
  .ph-ctas .btn, .strip-acts .btn { flex: 1 1 100%; }
  .lt-sig { font-size: 40px; }
  .tiles { gap: 12px; }
  .tile { padding: 24px 20px 26px; }
  .tile h3 { margin-top: 28px; font-size: 25px; }
  .stg { grid-template-columns: minmax(0, 1fr); }
  .strip { padding: 34px 24px; }
  .fm-grid { grid-template-columns: minmax(0, 1fr); }
  .fm-foot .btn { flex: 1 1 100%; }
  .fm-thanks { padding: 32px 24px; }
  .bk-pair img { height: 270px; }
  .bk-pair .p1 { left: calc(50% - 150px); }
  .bk-pair .p2 { left: calc(50% - 40px); }
  .rts-fan { height: 400px; }
  .rts-fan img { height: 280px; }
  .rts-fan .f1 { left: calc(50% - 150px); }
  .rts-fan .f2 { left: calc(50% - 112px); }
  .rts-fan .f3 { left: calc(50% - 74px); }
  .rts-fan .f4 { left: calc(50% - 36px); }
  .parts { gap: 32px 16px; }
  .part h3 { font-size: 21px; }
  .part h3 small { font-size: 16px; }
  .part p { font-size: 14.5px; }
  .fy li { gap: 18px; padding: 22px 0; }
  .note-card { padding: 26px 22px; }
}

/* ---------- small additions ---------- */
a.cv { text-decoration: none; }
a.cv:hover::before { border-color: rgba(233, 213, 255, .5); }
.co-txt .co-t2 { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.15; color: var(--white); }
.co-txt p.bk-tag { margin-top: 0; font-size: 10.5px; line-height: 1.6; color: var(--lilac); }
.a-ht { scroll-margin-top: 20px; }
.fm label.fm-opt { font-size: 14.5px; font-weight: 400; letter-spacing: 0; line-height: 1.3; text-transform: none; color: inherit; }
.fy-sm { margin-top: 16px; }
.fy-sm li { gap: 18px; padding: 16px 0; font-size: clamp(20px, 1.7vw, 24px); }
.mt-in .after { margin-top: 22px; font-size: 15.5px; color: var(--text-2); }

/* ---------- About: the Awakening Creation Framework wave (see assets/js/framework-wave.js) ---------- */
.fw { margin-top: 72px; }
.fw-ends { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.fw-end { display: flex; flex-direction: column; gap: 10px; }
.fw-end.b { align-items: flex-end; text-align: right; }
.fw-en { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); line-height: 1; color: var(--muted); }
.fw-end.b .fw-en { font-style: italic; color: var(--white); text-shadow: 0 0 22px rgba(201, 166, 240, .55); }
.fw-es { font-size: 10.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.fw-vis { position: relative; height: 260px; margin-top: 6px; }
.fw-vis canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.fw-st { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; margin-top: 30px; text-align: center; }
.fw-st li { display: flex; flex-direction: column; align-items: center; }
.fw-c { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font-size: 12.5px; font-weight: 500; letter-spacing: .06em; color: var(--cream); background: rgba(122, 61, 184, .14); box-shadow: inset 0 0 0 1px rgba(185, 140, 232, .7), 0 0 18px rgba(158, 99, 224, .4); transition: background .7s, box-shadow .7s, color .7s; }
.fw-st h3 { margin-top: 22px; font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.05; color: var(--white); transition: color .7s; }
.fw-st p { margin-top: 14px; max-width: 260px; font-size: 15.5px; line-height: 1.65; color: var(--text); transition: color .7s; }
.fw-st li.on .fw-c { background: rgba(158, 99, 224, .35); box-shadow: inset 0 0 0 1px #E9D5FF, 0 0 28px rgba(185, 140, 232, .85); color: var(--white); }
.fw-st li.up .fw-c { background: transparent; box-shadow: inset 0 0 0 1px rgba(185, 140, 232, .28); color: var(--muted); }
.fw-st li.up h3 { color: #6E5C86; }
.fw-st li.up p { color: #8B7F9B; }
.fw + .note-card { margin-top: 64px; }
@media (max-width: 760px) {
  .fw { margin-top: 48px; }
  .fw-en { font-size: 21px; }
  .fw-es { font-size: 9px; letter-spacing: .18em; }
  .fw-vis { height: 170px; }
  .fw-st { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; }
  .fw-st h3 { margin-top: 16px; font-size: 26px; }
  .fw-st p { font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .fw-c, .fw-st h3, .fw-st p { transition: none; }
}

/* Books page: each book rises in as you reach it (the hover lift lives in sections.css) */
.bl-it .bk-vis, .bl-it .bl-tx { transition: opacity 1s cubic-bezier(.2, .7, .2, 1), transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.bl-it .bl-tx { transition-delay: .12s; }
.bl-it.pre .bk-vis, .bl-it.pre .bl-tx { opacity: 0; transform: translateY(36px); }
@media (prefers-reduced-motion: reduce) { .bl-it .bk-vis, .bl-it .bl-tx { transition: none; } }

/* ---------- Introduction page: the slides (they live in introduction/slides.html) ---------- */
.dk-view { max-width: 1160px; margin: 0 auto; }
.dk-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; background: var(--ink); box-shadow: 0 0 0 1px rgba(233, 213, 255, .2), 0 40px 90px rgba(5, 2, 10, .6); }
.dk-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.dk-frame:fullscreen { border-radius: 0; box-shadow: none; }
.dk-ctl { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.dk-b { flex: none; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: none; color: var(--cream); box-shadow: inset 0 0 0 1px rgba(233, 213, 255, .45); cursor: pointer; }
.dk-b:hover { color: var(--white); box-shadow: inset 0 0 0 1px #E9D5FF; }
.dk-b[disabled] { opacity: .35; cursor: default; }
.dk-b svg { width: 20px; height: 20px; }
.dk-now { display: flex; align-items: baseline; gap: 14px; min-width: 0; margin-left: 10px; }
.dk-n { flex: none; font-size: 12px; font-weight: 500; letter-spacing: .24em; color: var(--lilac-soft); font-variant-numeric: tabular-nums; }
.dk-l { font-family: var(--serif); font-size: 22px; font-style: italic; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dk-more { display: flex; gap: 26px; margin-left: auto; }
.dk-more .lnk { padding: 0; border: 0; background: none; color: var(--lilac-soft); cursor: pointer; font-family: inherit; }
.dk-hint { display: none; margin-top: 16px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.dk-hint a { color: var(--lilac-soft); }

.dk-in { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 40px 80px; align-items: start; }
.dk-in-h h2 { margin-top: 20px; font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 4vw, 56px); line-height: 1.04; color: var(--white); }
.dk-in-h h2 em { font-style: italic; font-weight: 400; color: var(--lilac-2); }
.dk-toc { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 44px; border-top: 1px solid var(--line); }
.dk-toc button { width: 100%; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: baseline; gap: 12px; padding: 22px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.dk-tn { font-size: 12px; font-weight: 500; letter-spacing: .2em; color: var(--lilac); }
.dk-tt { font-family: var(--serif); font-size: 24px; line-height: 1.2; color: var(--cream); }
.dk-ts { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; color: var(--muted); }
.dk-toc button:hover .dk-tt, .dk-toc button:focus-visible .dk-tt { color: var(--white); }
.dk-toc button:hover .dk-tn { color: var(--lilac-3); }

@media (max-width: 960px) {
  .dk-in { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .dk-frame { border-radius: 10px; }
  .dk-more { display: none; }
  .dk-hint { display: block; }
  .dk-l { font-size: 19px; }
  .dk-toc { grid-template-columns: 1fr; }
}
