/* parallax-curtain (Motion Modules). Everything lives under .mmpcu; the module is the box inside it. */
.mmpcu { position: relative; display: block; width: 100%; overflow-x: clip; margin: 0; padding: 0; box-sizing: border-box; isolation: isolate; text-align: left; }
.mmpcu *, .mmpcu *::before, .mmpcu *::after { box-sizing: border-box; }
.mmpcu img { display: block; max-width: 100%; height: auto; border: 0; box-shadow: none; margin: 0; padding: 0; background: none; }
.mmpcu-box { position: relative; width: 100%; margin: 0 auto; overflow: clip; }
.mmpcu-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.mmpcu-bg__img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.mmpcu-bg__ov { position: absolute; inset: 0; }
.mmpcu-in { position: relative; z-index: 1; }

/* heading block */
.mmpcu .mmpcu-head { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 1rem; margin: 0 0 clamp(1.4rem, 3vw, 2.6rem); padding: 0; }
.mmpcu .mmpcu-eyebrow { display: flex; align-items: center; gap: .6rem; margin: 0; padding: 0; color: var(--mmpcu-kicker); font-size: 12px; font-weight: 500; letter-spacing: .14em; line-height: 1.2; text-transform: uppercase; }
.mmpcu .mmpcu-eyebrow i { flex: none; display: block; width: .5em; height: .5em; border-radius: 50%; background: var(--mmpcu-accent); }
.mmpcu .mmpcu-title { margin: 0; padding: 0; color: var(--mmpcu-head) !important; font-size: 56px; font-weight: 600; line-height: 1.04; letter-spacing: -0.025em; text-transform: none; overflow-wrap: anywhere; }
.mmpcu .mmpcu-accent { color: var(--mmpcu-accent); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.mmpcu .mmpcu-desc { max-width: 46rem; margin: 0; padding: 0; color: var(--mmpcu-muted); font-size: 18px; font-weight: 400; line-height: 1.55; }
.mmpcu .mmpcu-btnrow { margin: .4rem 0 0; }
.mmpcu a.mmpcu-btn { display: inline-flex; align-items: center; gap: .65em; min-height: 0; min-width: 0; padding: .9em 1.5em; border: 0 !important; border-radius: 999px !important; background: var(--mmpcu-btn) !important; color: var(--mmpcu-btntext) !important; font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none !important; text-transform: none; letter-spacing: normal; box-shadow: none !important; transition: transform .2s ease, opacity .2s ease; }
.mmpcu a.mmpcu-btn:visited, .mmpcu a.mmpcu-btn:active { color: var(--mmpcu-btntext) !important; text-decoration: none !important; }
.mmpcu a.mmpcu-btn:hover { transform: translateY(-1px); opacity: .92; color: var(--mmpcu-btntext) !important; text-decoration: none !important; }
.mmpcu a.mmpcu-btn:focus-visible { outline: 2px solid var(--mmpcu-accent); outline-offset: 3px; }
.mmpcu-btn__arrow { display: inline-flex; }
.mmpcu-btn__arrow svg { display: block; }

/* editor scroll room, never part of the export */
.mmpcu-demo { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; min-height: var(--mm-demo-h, clamp(200px, 35vh, 360px)); margin: 0 1rem; border: 2px dotted rgba(140, 140, 160, 0.55); border-radius: 14px; color: rgba(160, 160, 180, 0.9); font: 500 13px/1.4 system-ui, sans-serif; letter-spacing: .02em; }
.mmpcu-demo--before { margin-bottom: 1rem; }
.mmpcu-demo--after { margin-top: 1rem; min-height: var(--mm-demo-h-after, 50vh); }
@media (max-width: 640px) { .mmpcu-demo--before { min-height: var(--mm-demo-h-sm, clamp(160px, 30vh, 260px)); } .mmpcu .mmpcu-head { gap: .8rem; } }
@media (prefers-reduced-motion: reduce) { .mmpcu a.mmpcu-btn { transition: none; } }

/* layout: effect only / content beside the effect / content above */
.mmpcu-box.is-edge .mmpcu-stage { border-radius: 0 !important; }
.mmpcu .mmpcu-in.is-full { display: block; }
@media (min-width: 900px) {
  .mmpcu .mmpcu-in.is-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, var(--mmpcu-win, 54%)); gap: clamp(1.25rem, 2.5vw, 2.5rem); align-items: center; }
  .mmpcu .mmpcu-in.is-split.is-right { grid-template-columns: minmax(0, var(--mmpcu-win, 54%)) minmax(0, 1fr); }
  .mmpcu .mmpcu-in.is-split.is-right > .mmpcu-head { order: 2; }
  .mmpcu .mmpcu-in.is-split > .mmpcu-head { margin: 0; }
  .mmpcu .mmpcu-in.is-split > :not(.mmpcu-head) { min-width: 0; }
  .mmpcu .mmpcu-in--pin.is-split > .mmpcu-head { position: sticky; top: calc(50vh - 11rem); align-self: start; }
}
/* ---------- stage: pinned curtain ---------- */
.mmpcu .mmpcu-pin { position: relative; height: 260vh; }
.mmpcu .mmpcu-sticky { position: sticky; top: 24px; min-height: 420px; }
.mmpcu .mmpcu-stage { position: relative; height: 100%; border-radius: var(--mmpcu-sr, 28px); overflow: hidden; }
.mmpcu .mmpcu-stage > * { position: absolute; margin: 0; will-change: transform; }
.mmpcu .mmpcu-sky { inset: 0; }
.mmpcu .mmpcu-word { left: 0; right: 0; top: 13%; z-index: 2; font-family: "Instrument Serif", Georgia, serif; font-style: italic; line-height: .9; letter-spacing: -0.03em; padding: 0 .12em .12em; white-space: nowrap; pointer-events: none; transform-origin: 50% 60%; }
.mmpcu .mmpcu-pin.is-front .mmpcu-word { z-index: 6; mix-blend-mode: difference; }
.mmpcu .mmpcu-stage > img.mmpcu-wash { width: auto; height: 46%; left: 0; right: 0; margin: 0 auto; top: 34%; z-index: 3; opacity: .85; max-width: none; }
.mmpcu .mmpcu-stage > img.mmpcu-figure { width: auto; height: 54%; left: 0; right: 0; margin: 0 auto; bottom: -1%; z-index: 4; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); transform-origin: 50% 100%; max-width: none; }
.mmpcu .mmpcu-flower { width: 24%; left: 3%; top: 8%; z-index: 3; }
.mmpcu .mmpcu-leaf { width: 24%; right: 2%; bottom: 2%; z-index: 3; }
.mmpcu .mmpcu-sprig--l { width: 11%; left: 20%; top: -6%; z-index: 5; }
.mmpcu .mmpcu-sprig--r { width: 14%; right: 18%; top: -4%; z-index: 5; }
.mmpcu .mmpcu-panel { z-index: 8; display: flex; align-items: flex-end; padding: clamp(1rem, 3vw, 2.2rem); font-size: 11px; font-weight: 500; line-height: 1.2; letter-spacing: .16em; text-transform: uppercase; }
.mmpcu .mmpcu-panel--a { left: 0; top: 0; bottom: 0; width: 50.5%; background: linear-gradient(100deg, var(--mmpcu-pcd, #0d0b09) 0%, var(--mmpcu-pc, #2a211b) 100%); box-shadow: 20px 0 40px rgba(0,0,0,.45); }
.mmpcu .mmpcu-panel--b { right: 0; top: 0; bottom: 0; width: 50.5%; justify-content: flex-end; background: linear-gradient(260deg, var(--mmpcu-pcd, #0d0b09) 0%, var(--mmpcu-pc, #2a211b) 100%); box-shadow: -20px 0 40px rgba(0,0,0,.45); }
.mmpcu .mmpcu-pin--shutter .mmpcu-panel--a { width: auto; right: 0; bottom: auto; height: 50.5%; background: linear-gradient(180deg, var(--mmpcu-pcd, #0d0b09), var(--mmpcu-pc, #2a211b)); box-shadow: 0 20px 40px rgba(0,0,0,.45); }
.mmpcu .mmpcu-pin--shutter .mmpcu-panel--b { width: auto; left: 0; top: auto; height: 50.5%; align-items: flex-start; background: linear-gradient(0deg, var(--mmpcu-pcd, #0d0b09), var(--mmpcu-pc, #2a211b)); box-shadow: 0 -20px 40px rgba(0,0,0,.45); }
.mmpcu .mmpcu-pin--none .mmpcu-panel { display: none; }
.mmpcu .mmpcu-pin.is-still { height: auto; }
.mmpcu .mmpcu-pin.is-still .mmpcu-sticky { position: relative; top: 0 !important; height: min(78vh, 720px); }
.mmpcu .mmpcu-pin.is-still .mmpcu-panel { display: none; }
@media (max-width: 640px) {
  .mmpcu .mmpcu-sticky { min-height: 0; }
  .mmpcu .mmpcu-word { top: 14%; }
  .mmpcu .mmpcu-stage > img.mmpcu-wash { width: 90%; height: auto; top: 38%; }
  .mmpcu .mmpcu-stage > img.mmpcu-figure { width: 76%; height: auto; }
  .mmpcu .mmpcu-flower { width: 46%; left: -8%; top: 4%; }
  .mmpcu .mmpcu-leaf { width: 46%; right: -10%; bottom: 0; }
  .mmpcu .mmpcu-sprig--l { width: 22%; left: 8%; }
  .mmpcu .mmpcu-sprig--r { width: 28%; right: 2%; }
}

/* split layout: window composition */
@media (min-width: 900px) {
  .mmpcu .mmpcu-box--split .mmpcu-sticky { min-height: 0; }
  .mmpcu .mmpcu-box--split .mmpcu-word { top: 14%; }
  .mmpcu .mmpcu-box--split .mmpcu-stage > img.mmpcu-wash { width: 90%; height: auto; top: 38%; }
  .mmpcu .mmpcu-box--split .mmpcu-stage > img.mmpcu-figure { width: 76%; height: auto; }
  .mmpcu .mmpcu-box--split .mmpcu-flower { width: 46%; left: -8%; top: 4%; }
  .mmpcu .mmpcu-box--split .mmpcu-leaf { width: 46%; right: -10%; bottom: 0; }
  .mmpcu .mmpcu-box--split .mmpcu-sprig--l { width: 22%; left: 8%; }
  .mmpcu .mmpcu-box--split .mmpcu-sprig--r { width: 28%; right: 2%; }
}

/* split (v5): content as wide as the title, a compact window (slightly wider than tall, max 76vh) */
@media (min-width: 900px) {
  .mmpcu .mmpcu-in.is-split > .mmpcu-head { width: 100%; max-width: 36rem; justify-self: start; }
  .mmpcu .mmpcu-in.is-split > .mmpcu-head .mmpcu-desc { max-width: none; }
  .mmpcu .mmpcu-in.is-split.is-right > .mmpcu-head { justify-self: end; }
}
@media (min-width: 900px) {
  .mmpcu .mmpcu-box--split .mmpcu-sticky { height: auto !important; aspect-ratio: 1.1 / 1; min-height: 0; width: min(100%, calc(76vh * 1.1)); margin-left: auto; margin-right: calc(-1 * clamp(0px, (100vw - 1400px) / 6, 80px)); top: 12vh !important; }
  .mmpcu .mmpcu-in.is-split.is-right .mmpcu-sticky { margin-left: calc(-1 * clamp(0px, (100vw - 1400px) / 6, 80px)); margin-right: auto; }
}
@media (max-width: 899px) {
  .mmpcu .mmpcu-box--split .mmpcu-sticky { height: auto !important; aspect-ratio: 1 / 1; min-height: 0; top: max(16px, calc(50vh - 50vw)) !important; }
}
.mmpcu .mmpcu-box--split .mmpcu-pin:not(.is-still) .mmpcu-stage { position: absolute; inset: 0; height: auto; container-type: inline-size; }
.mmpcu .mmpcu-box--split .mmpcu-word { top: 12%; }
.mmpcu .mmpcu-box--split .mmpcu-stage > img.mmpcu-wash { width: 66%; height: auto; top: 36%; }
.mmpcu .mmpcu-box--split .mmpcu-stage > img.mmpcu-figure { width: 50%; height: auto; bottom: 0; }
.mmpcu .mmpcu-box--split .mmpcu-flower { width: 30%; left: 4%; top: 7%; }
.mmpcu .mmpcu-box--split .mmpcu-leaf { width: 30%; right: 3%; bottom: 4%; }
.mmpcu .mmpcu-box--split .mmpcu-sprig--l { width: 14%; left: 24%; top: 2%; }
.mmpcu .mmpcu-box--split .mmpcu-sprig--r { width: 17%; right: 22%; top: 2%; }
