/* =========================================================
   The Manifesto — slow, immersive scroll
   ========================================================= */
.manifesto { --ivory:#FAF6EF; --sand:#F2E9DA; --ink:#2A2723; --plum:#4A1E37; --gold:#B89561; --gold-ink:#8C6B3E; --taupe:#7D7461; background: var(--ivory); }
.m-page { position: relative; background: var(--ivory); color: var(--ink); }

/* reading progress */
.m-progress { position: fixed; left: clamp(14px, 2.2vw, 36px); top: 50%; width: 1px; height: 32vh; transform: translateY(-50%); background: rgba(140,107,62,0.22); z-index: 40; }
.m-progress i { position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--plum); transform-origin: top; transform: scaleY(var(--p, 0)); }

/* reveal */
.m-line { opacity: 0; transform: translateY(22px); filter: blur(5px); transition: opacity 1100ms var(--jb-ease), transform 1100ms var(--jb-ease), filter 1100ms var(--jb-ease); transition-delay: calc(var(--k, 0) * 160ms); }
.m-line.is-in { opacity: 1; transform: none; filter: none; }

.m-col { width: min(100% - 2 * var(--gut), 780px); margin: 0 auto; }
.m-col--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.m-eyebrow { font-family: var(--jb-mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-ink); margin: 0; }

/* opening */
.m-open { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: clamp(28px, 4vw, 48px); padding: calc(var(--headerH) + 40px) var(--gut) 80px; }
.m-title { margin: 0; max-width: 15ch; font-family: var(--jb-serif); font-weight: 300; font-size: clamp(48px, 8vw, 132px); line-height: 0.98; letter-spacing: -0.025em; color: var(--ink); text-wrap: balance; transition-delay: 300ms; }
.m-title em, .m-page em { font-style: italic; color: var(--plum); }
.m-cue { font-family: var(--jb-mono); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--taupe); display: flex; flex-direction: column; align-items: center; gap: 14px; transition-delay: 900ms; }
.m-cue span { width: 1px; height: 56px; background: linear-gradient(var(--gold), transparent); animation: mCue 2.4s ease-in-out infinite; transform-origin: top; }
@keyframes mCue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* body sections */
.m-sec { padding: clamp(96px, 12vw, 170px) 0; }
.m-sec--tight { padding-top: 0; }
.m-sec--sand { background: var(--sand); }
.m-sec p { margin: 0; }
.m-sec .m-col > * + *, .m-final .m-col > * + * { margin-top: clamp(22px, 2.6vw, 34px); }
.m-move { display: flex; align-items: baseline; gap: 18px; font-family: var(--jb-mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: clamp(30px, 4vw, 56px) !important; }
.m-move span { font-family: var(--jb-serif); font-size: 26px; letter-spacing: 0; color: var(--gold); font-style: italic; }
.m-sec .m-line:not(.m-move):not(.m-lead):not(.m-pull):not(.m-turn) { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.7; color: rgba(42,39,35,0.82); }
.m-lead { font-family: var(--jb-serif); font-weight: 300; font-size: clamp(28px, 3vw, 44px) !important; line-height: 1.2 !important; color: var(--ink) !important; letter-spacing: -0.01em; }
.m-gap { margin-top: clamp(48px, 6vw, 80px) !important; }
.m-pull { font-family: var(--jb-serif); font-style: italic; font-weight: 300; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.25; color: var(--plum); padding-left: 28px; border-left: 1px solid var(--gold); margin-top: clamp(48px, 6vw, 80px) !important; }
.m-turn { margin: 0; font-family: var(--jb-serif); font-weight: 300; font-size: clamp(42px, 5.6vw, 88px); line-height: 1; letter-spacing: -0.02em; color: var(--ink); }

/* "X over Y" */
.m-over p { font-family: var(--jb-serif) !important; font-weight: 300; font-size: clamp(30px, 3.6vw, 54px) !important; line-height: 1.12 !important; color: var(--ink) !important; }
.m-over span { font-family: var(--jb-mono); font-style: normal; font-size: 0.24em; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-ink); vertical-align: middle; margin: 0 0.6em; }

/* stacked lists */
.m-stack p + p { margin-top: 10px; }
.m-stack--serif p { font-family: var(--jb-serif) !important; font-size: clamp(24px, 2.3vw, 34px) !important; line-height: 1.3 !important; color: var(--ink) !important; font-weight: 300; }
.m-stack--serif p + p { margin-top: 14px; }
.m-stack--ruled p { position: relative; padding: 16px 0 16px 0; font-family: var(--jb-serif) !important; font-size: clamp(22px, 2vw, 30px) !important; line-height: 1.3 !important; color: var(--ink) !important; font-weight: 300; }
.m-stack--ruled p + p { margin-top: 0; }
.m-stack--ruled p::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: rgba(140,107,62,0.3); transform: scaleX(0); transform-origin: left; transition: transform 1300ms var(--jb-ease) calc(var(--k) * 160ms + 300ms); }
.m-stack--ruled p.is-in::after { transform: scaleX(1); }

/* struck-through "you do not need" */
.m-strike p { font-family: var(--jb-serif) !important; font-size: clamp(24px, 2.4vw, 36px) !important; line-height: 1.3 !important; color: var(--taupe) !important; font-weight: 300; }
.m-strike p + p { margin-top: 10px; }
.m-strike s { text-decoration: none; background: linear-gradient(var(--plum), var(--plum)) no-repeat 0 58% / 0% 1px; transition: background-size 1100ms var(--jb-ease) calc(var(--k) * 260ms + 700ms); }
.m-strike p.is-in s { background-size: 100% 1px; }

/* perform → relate pairs */
.m-pairs p { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: baseline; padding: 14px 0; border-top: 1px solid rgba(140,107,62,0.22); font-family: var(--jb-serif) !important; font-size: clamp(24px, 2.4vw, 36px) !important; line-height: 1.2 !important; font-weight: 300; }
.m-pairs p:last-child { border-bottom: 1px solid rgba(140,107,62,0.22); }
.m-pairs .a { color: var(--taupe); }
.m-pairs .b { color: var(--plum); font-style: italic; opacity: 0; transform: translateX(-16px); transition: opacity 900ms var(--jb-ease) calc(var(--k) * 160ms + 600ms), transform 900ms var(--jb-ease) calc(var(--k) * 160ms + 600ms); }
.m-pairs p.is-in .b { opacity: 1; transform: none; }

/* "your leadership expands" */
.m-grow p { font-family: var(--jb-serif) !important; font-weight: 300; font-size: clamp(28px, 3.2vw, 48px) !important; line-height: 1.18 !important; color: var(--ink) !important; }
.m-grow p + p { margin-top: 12px; }

/* plum bands: words light up as you scroll */
.m-band { background: var(--plum); padding: clamp(110px, 14vw, 210px) var(--gut); display: flex; justify-content: center; }
.m-words { margin: 0; max-width: 20ch; text-align: center; font-family: var(--jb-serif); font-weight: 300; font-size: clamp(38px, 5.4vw, 86px); line-height: 1.08; letter-spacing: -0.02em; color: #F7F1E6; text-wrap: balance; }
.m-band em { color: var(--gold); }
.m-words .w { opacity: 0.16; transition: opacity 500ms ease; }
.m-words .w.on { opacity: 1; }

/* finale */
.m-final { padding: clamp(120px, 15vw, 220px) 0 clamp(80px, 10vw, 140px); }
.m-final .m-lead { max-width: 24ch; margin: 0 auto !important; color: rgba(42,39,35,0.75) !important; }
.m-big { margin: clamp(36px, 5vw, 64px) 0 0 !important; max-width: 14ch; font-family: var(--jb-serif); font-weight: 300; font-size: clamp(44px, 6.4vw, 104px); line-height: 1; letter-spacing: -0.025em; text-wrap: balance; }
.m-mark { width: clamp(90px, 9vw, 130px); margin: clamp(56px, 7vw, 96px) auto clamp(36px, 4vw, 56px) !important; overflow: visible; }
.m-mark path { fill: none; stroke: var(--gold); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.m-mark .s { stroke-dasharray: var(--ls, 4000); stroke-dashoffset: var(--ls, 4000); transition: stroke-dashoffset 3200ms cubic-bezier(.45,.05,.25,1), fill 1200ms ease 2800ms; }
.m-mark .c { stroke-dasharray: var(--lc, 1200); stroke-dashoffset: var(--lc, 1200); transition: stroke-dashoffset 1600ms ease 2200ms, fill 1200ms ease 3200ms; }
.m-mark.is-in .s, .m-mark.is-in .c { stroke-dashoffset: 0; }
.m-mark.is-in .s { fill: rgba(74,30,55,0.92); }
.m-mark.is-in .c { fill: var(--gold); }
.m-lead-out { margin: 0 !important; font-family: var(--jb-serif); font-weight: 300; font-size: clamp(30px, 3.4vw, 52px); color: var(--ink); }

/* rally cry */
.m-rally { background: var(--plum); color: #F7F1E6; text-align: center; padding: clamp(110px, 13vw, 190px) var(--gut); display: flex; flex-direction: column; align-items: center; gap: 28px; }
.m-rally .m-eyebrow { color: var(--gold); }
.m-rally-cry { margin: 0; font-family: var(--jb-serif); font-weight: 300; font-size: clamp(52px, 8.6vw, 148px); line-height: 0.95; letter-spacing: -0.03em; max-width: 12ch; }
.m-rally-cry em { color: var(--gold) !important; }
.m-sign { margin: 0; font-family: var(--jb-serif); font-style: italic; font-size: 22px; color: rgba(242,231,210,0.75); }
.m-rally-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 40px; margin-top: 20px; }
.m-btn { display: inline-flex; gap: 12px; align-items: center; background: var(--gold); color: var(--ink); padding: 20px 36px; font-family: var(--jb-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none; transition: background 400ms ease, transform 400ms var(--jb-ease); }
.m-btn:hover { background: #C9A874; color: var(--ink); transform: translateY(-2px); }
.m-link { font-family: var(--jb-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: #F2E7D2; text-decoration: none; border-bottom: 1px solid rgba(242,231,210,0.4); padding-bottom: 6px; }
.m-link:hover { color: var(--gold); border-color: var(--gold); }

@media (max-width: 760px) {
	.m-progress { display: none; }
	.m-pairs p { grid-template-columns: 1fr; gap: 4px; }
	.m-over span { display: block; margin: 6px 0; font-size: 0.3em; }
}
@media (prefers-reduced-motion: reduce) {
	.m-line, .m-line *, .m-mark path { transition: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
	.m-words .w { opacity: 1; }
}

/* v3: no section numbers/titles, no strike-throughs, no columns */
.m-strike p { color: var(--ink) !important; }
.m-pairs p { display: block !important; padding: 0 !important; border: 0 !important; }
.m-pairs p + p { margin-top: 10px; }
.m-pairs p:last-child { border: 0 !important; }
.m-pairs .a { color: var(--ink); }
.m-pairs .b { opacity: 1 !important; transform: none !important; }
.m-over span { font-family: inherit !important; font-size: 1em !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--ink) !important; margin: 0 !important; vertical-align: baseline !important; display: inline !important; }
.m-portrait { margin: 18px 0 -8px !important; width: clamp(180px, 20vw, 260px); aspect-ratio: 4 / 5; overflow: hidden; outline: 1px solid rgba(184,149,97,0.55); outline-offset: 10px; }
.m-portrait img { width: 100%; height: 100% !important; object-fit: cover; object-position: 50% 20%; display: block; }
