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

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

/* editor scroll room, never part of the export */
.mmpaf-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; }
.mmpaf-demo--before { margin-bottom: 1rem; }
.mmpaf-demo--after { margin-top: 1rem; min-height: var(--mm-demo-h-after, 50vh); }
@media (max-width: 640px) { .mmpaf-demo--before { min-height: var(--mm-demo-h-sm, clamp(160px, 30vh, 260px)); } .mmpaf .mmpaf-head { gap: .8rem; } }
@media (prefers-reduced-motion: reduce) { .mmpaf a.mmpaf-btn { transition: none; } }

/* layout: effect only / content beside the effect / content above */
.mmpaf-box.is-edge .mmpaf-stage { border-radius: 0 !important; }
.mmpaf .mmpaf-in.is-full { display: block; }
@media (min-width: 900px) {
  .mmpaf .mmpaf-in.is-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, var(--mmpaf-win, 54%)); gap: clamp(1.25rem, 2.5vw, 2.5rem); align-items: center; }
  .mmpaf .mmpaf-in.is-split.is-right { grid-template-columns: minmax(0, var(--mmpaf-win, 54%)) minmax(0, 1fr); }
  .mmpaf .mmpaf-in.is-split.is-right > .mmpaf-head { order: 2; }
  .mmpaf .mmpaf-in.is-split > .mmpaf-head { margin: 0; }
  .mmpaf .mmpaf-in.is-split > :not(.mmpaf-head) { min-width: 0; }
  .mmpaf .mmpaf-in--pin.is-split > .mmpaf-head { position: sticky; top: calc(50vh - 11rem); align-self: start; }
}
/* ---------- stage: depth scene ---------- */
.mmpaf .mmpaf-stage { position: relative; aspect-ratio: 16 / 9; min-height: 460px; border-radius: var(--mmpaf-sr, 28px); overflow: hidden; perspective: 1200px; }
.mmpaf .mmpaf-world { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.mmpaf .mmpaf-world > * { position: absolute; will-change: transform; margin: 0; }
.mmpaf .mmpaf-sky { inset: -14%; }
.mmpaf .mmpaf-flower { width: 26%; right: 5%; top: 4%; opacity: .9; }
.mmpaf .mmpaf-word { left: 0; right: 0; top: 6%; font-family: "Instrument Serif", Georgia, serif; font-style: italic; line-height: .9; letter-spacing: -0.03em; opacity: .16; padding: 0 .12em .1em; white-space: nowrap; pointer-events: none; }
.mmpaf .mmpaf-wash { width: 46%; left: 27%; top: 22%; opacity: .78; }
.mmpaf .mmpaf-figure { width: 28%; left: 36%; bottom: -2%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); }
.mmpaf .mmpaf-leaf { width: 24%; left: -3%; bottom: -8%; opacity: .95; }
.mmpaf .mmpaf-sprig--l { width: 12%; left: 14%; top: -6%; transform-origin: 50% 0; }
.mmpaf .mmpaf-sprig--r { width: 16%; right: 8%; bottom: -14%; }
.mmpaf .mmpaf-hint { position: absolute; z-index: 20; right: .9rem; bottom: .8rem; max-width: 80%; font-size: 10px; font-weight: 500; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; pointer-events: none; }
@media (hover: none) { .mmpaf .mmpaf-hint { display: none; } }
@media (max-width: 640px) {
  .mmpaf .mmpaf-stage { aspect-ratio: 4 / 5; min-height: 0; }
  .mmpaf .mmpaf-flower { width: 44%; right: -6%; top: 6%; }
  .mmpaf .mmpaf-word { top: 8%; }
  .mmpaf .mmpaf-wash { width: 90%; left: 5%; top: 28%; }
  .mmpaf .mmpaf-figure { width: 62%; left: 19%; bottom: -1%; }
  .mmpaf .mmpaf-leaf { width: 46%; left: -12%; bottom: -6%; }
  .mmpaf .mmpaf-sprig--l { width: 24%; left: 6%; top: -8%; }
  .mmpaf .mmpaf-sprig--r { width: 32%; right: -4%; bottom: -12%; }
}

/* split layout: window composition */
@media (min-width: 900px) {
  .mmpaf .mmpaf-box--split .mmpaf-stage { aspect-ratio: 4 / 5; min-height: 0; }
  .mmpaf .mmpaf-box--split .mmpaf-flower { width: 44%; right: -6%; top: 6%; }
  .mmpaf .mmpaf-box--split .mmpaf-word { top: 8%; }
  .mmpaf .mmpaf-box--split .mmpaf-wash { width: 90%; left: 5%; top: 28%; }
  .mmpaf .mmpaf-box--split .mmpaf-figure { width: 62%; left: 19%; bottom: -1%; }
  .mmpaf .mmpaf-box--split .mmpaf-leaf { width: 46%; left: -12%; bottom: -6%; }
  .mmpaf .mmpaf-box--split .mmpaf-sprig--l { width: 24%; left: 6%; top: -8%; }
  .mmpaf .mmpaf-box--split .mmpaf-sprig--r { width: 32%; right: -4%; bottom: -12%; }
}

/* split (v5): content as wide as the title, a compact window (slightly wider than tall, max 76vh) */
@media (min-width: 900px) {
  .mmpaf .mmpaf-in.is-split > .mmpaf-head { width: 100%; max-width: 36rem; justify-self: start; }
  .mmpaf .mmpaf-in.is-split > .mmpaf-head .mmpaf-desc { max-width: none; }
  .mmpaf .mmpaf-in.is-split.is-right > .mmpaf-head { justify-self: end; }
}
@media (min-width: 900px) {
  .mmpaf .mmpaf-box--split .mmpaf-stage { 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)); container-type: inline-size; }
  .mmpaf .mmpaf-in.is-split.is-right .mmpaf-stage { margin-left: calc(-1 * clamp(0px, (100vw - 1400px) / 6, 80px)); margin-right: auto; }
}
@media (max-width: 899px) {
  .mmpaf .mmpaf-box--split .mmpaf-stage { aspect-ratio: 1 / 1; min-height: 0; }
}
.mmpaf .mmpaf-box--split .mmpaf-flower { width: 30%; right: 5%; top: 9%; }
.mmpaf .mmpaf-box--split .mmpaf-word { top: 9%; }
.mmpaf .mmpaf-box--split .mmpaf-wash { width: 62%; left: 19%; top: 24%; }
.mmpaf .mmpaf-box--split .mmpaf-figure { width: 44%; left: 28%; bottom: 0; }
.mmpaf .mmpaf-box--split .mmpaf-leaf { width: 28%; left: 1%; bottom: 1%; }
.mmpaf .mmpaf-box--split .mmpaf-sprig--l { width: 15%; left: 9%; top: 2%; }
.mmpaf .mmpaf-box--split .mmpaf-sprig--r { width: 20%; right: 5%; bottom: 1%; }
