/* ==========================================================================
   Marifetas — hand-written stylesheet (no framework).
   01 · tokens, base, type helpers, objects (arch, towels, dial, breathing
        circle, woven tag, towel-tag card), buttons, header, linen menu,
        reveals, modal base, hero
   Built into ../styles.css by concatenating src/0*.css (see README.md).
   ========================================================================== */

:root {
    /* blush / dusty rose / mocha (v1.2.0) */
    --blush: #f4e4e1;
    --blush-2: #ecd6d2;
    --shell: #fbf1ef;
    --dusty: #e2c6c1;
    --pewter: #c9a9a6;

    /* accents */
    --rosegold: #d4aca5;
    --rosegold-2: #ecc7c0;
    --plum: #7f5559;
    --rose: #e8c3c0;
    --rose-2: #f6dedb;
    --mauve: #8e4b5c;
    --mauve-2: #b07282;

    /* mocha room */
    --mocha: #3b2a2a;
    --mocha-2: #4a3535;
    --cream: #f8ecea;
    --cream-dim: #dcc3c0;

    /* text */
    --ink: #3b2a2a;
    --soft: #5e4548;
    --dim: #6d5255;
    --line: rgba(59, 42, 42, .12);
    --line-strong: rgba(59, 42, 42, .24);

    --f-display: 'Marcellus', 'Optima', 'Trajan Pro', Georgia, serif;
    --f-script: 'Italianno', 'Snell Roundhand', cursive;
    --f-body: 'Jost', 'Avenir Next', 'Futura', 'Segoe UI', system-ui, sans-serif;

    --wrap: 1240px;
    --header-h: 84px;
    --top-h: var(--header-h);
    --ease: cubic-bezier(.22, .8, .24, 1);
    --ease-soft: cubic-bezier(.45, .05, .25, 1);
    --shadow: 0 30px 60px -34px rgba(59, 42, 42, .35);
    --shadow-sm: 0 16px 34px -22px rgba(59, 42, 42, .4);

    /* fine horizontal ribs, like a yoga mat */
    --ribs: repeating-linear-gradient(0deg, transparent 0 6px, rgba(59, 42, 42, .055) 6px 7px);
    --ribs-light: repeating-linear-gradient(0deg, transparent 0 6px, rgba(248, 236, 234, .07) 6px 7px);
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body.mf-body {
    margin: 0;
    background: var(--blush);
    color: var(--ink);
    font-family: var(--f-body);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.mf-lock { overflow: hidden; }

img, svg, video { max-width: 100%; }
img { display: block; height: auto; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }

button { font: inherit; color: inherit; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }

::selection { background: var(--rose); color: var(--mocha); }

:focus-visible { outline: 1.5px solid var(--mauve); outline-offset: 3px; border-radius: 6px; }

.mf-skip {
    position: fixed;
    top: -60px;
    left: 16px;
    z-index: 400;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--mocha);
    color: var(--cream);
    font-weight: 500;
    text-decoration: none;
    transition: top .3s var(--ease);
}
.mf-skip:focus { top: 12px; }

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

.mf-main { position: relative; padding-top: var(--top-h); overflow-x: clip; }

.mf-wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.mf-wrap--narrow { width: min(880px, calc(100% - 48px)); }
.mf-wrap--wide { width: min(1440px, calc(100% - 48px)); }

.mf-section { position: relative; padding: clamp(80px, 10vw, 136px) 0; }
.mf-section--tight { padding: clamp(40px, 6vw, 72px) 0 clamp(80px, 9vw, 120px); }

/* ---------- type helpers ---------- */

.mf-script {
    font-family: var(--f-script);
    font-weight: 400;
    font-size: 40px;
    line-height: .9;
    color: var(--mauve);
}

.mf-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    padding: 8px 16px 7px;
    border: 1px solid rgba(142, 75, 92, .22);
    border-radius: 3px;
    background: var(--shell);
    box-shadow: inset 0 0 0 3px var(--shell), inset 0 0 0 4px rgba(142, 75, 92, .0);
    color: var(--mauve);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .2em;
    line-height: 1.3;
    text-transform: uppercase;
    position: relative;
}
/* woven-label stitching */
.mf-tag::after {
    content: "";
    position: absolute;
    inset: 3px;
    border: 1px dashed rgba(142, 75, 92, .38);
    border-radius: 2px;
    pointer-events: none;
}
.mf-tag--dark { background: transparent; border-color: rgba(248, 236, 234, .2); color: var(--rosegold-2); box-shadow: none; }
.mf-tag--dark::after { border-color: rgba(236, 199, 192, .38); }

.mf-title {
    font-family: var(--f-display);
    font-size: clamp(36px, 4.5vw, 62px);
    line-height: 1.04;
    letter-spacing: -.012em;
    color: var(--ink);
}
.mf-title em,
.mf-hero__title em,
.mf-page-hero__title em {
    font-family: var(--f-script);
    font-style: normal;
    font-size: 1.32em;
    line-height: .7;
    color: var(--mauve);
    letter-spacing: 0;
    margin-left: .1em;
}

.mf-lead { max-width: 58ch; color: var(--soft); font-size: 18px; line-height: 1.75; font-weight: 400; }

.mf-head { margin-bottom: clamp(36px, 5vw, 60px); }
.mf-title + .mf-lead { margin-top: 24px; }
.mf-head--center { text-align: center; }
.mf-head--center .mf-lead { margin-inline: auto; }
.mf-head--split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; }

/* hairline ornament rule */
.mf-rule { display: flex; align-items: center; gap: 14px; color: var(--pewter); }
.mf-rule::before, .mf-rule::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }

/* ---------- objects ---------- */

/* Studio arch: rounded top like a window, a hairline inner frame and a wash of daylight. */
.mf-arch {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 999px 999px 20px 20px;
    background: var(--dusty);
    isolation: isolate;
}
.mf-arch img { width: 100%; height: 100%; object-fit: cover; }
.mf-arch::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(255, 245, 245, .28), rgba(255, 245, 245, 0) 45%);
    pointer-events: none;
}
.mf-arch::after {
    content: "";
    position: absolute;
    inset: 10px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 999px 999px 13px 13px;
    pointer-events: none;
}

.mf-porthole {
    position: relative;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 8px solid var(--shell);
    box-shadow: 0 0 0 1px var(--line), var(--shadow);
}
.mf-porthole img { width: 100%; height: 100%; object-fit: cover; }

/* Folded towels: three stacked rounded bars with a stitched hem. */
.mf-towels { display: inline-flex; flex-direction: column; align-items: flex-start; filter: drop-shadow(0 14px 14px rgba(59, 42, 42, .12)); }
.mf-towels i {
    position: relative;
    display: block;
    width: 150px;
    height: 28px;
    margin-top: -3px;
    border: 1px solid rgba(59, 42, 42, .08);
    border-radius: 6px 18px 18px 6px;
    background: var(--shell);
    background-image: var(--ribs), linear-gradient(90deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 30%, rgba(59, 42, 42, .0) 80%, rgba(59, 42, 42, .12));
}
/* rolled fold at the right edge */
.mf-towels i::before {
    content: "";
    position: absolute;
    right: -1px;
    top: -1px;
    bottom: -1px;
    width: 18px;
    border-radius: 0 18px 18px 0;
    background: linear-gradient(90deg, rgba(59, 42, 42, 0), rgba(59, 42, 42, .14));
}
.mf-towels i::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 18px;
    top: 7px;
    border-top: 1px dashed rgba(59, 42, 42, .2);
}
.mf-towels i:nth-child(1) { width: 136px; margin-left: 8px; background-color: #e3b7b6; }
.mf-towels i:nth-child(2) { width: 150px; background-color: #d9c0bf; }
.mf-towels i:nth-child(3) { width: 144px; margin-left: 4px; background-color: var(--shell); }
.mf-towels--sm i { width: 96px; height: 18px; }
.mf-towels--sm i:nth-child(1) { width: 88px; }
.mf-towels--sm i:nth-child(3) { width: 92px; }
.mf-towels--sm i::after { top: 5px; }

/* Stopwatch dial. */
.mf-dial { position: relative; display: inline-grid; place-items: center; width: 140px; height: 140px; flex: 0 0 auto; }
.mf-dial svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mf-dial__ticks line { stroke: var(--pewter); stroke-width: 1; stroke-linecap: round; }
.mf-dial__ticks line.is-long { stroke: var(--soft); stroke-width: 1.4; }
.mf-dial__track { fill: none; stroke: var(--line); stroke-width: 5; }
.mf-dial__arc {
    fill: none;
    stroke: var(--mauve);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: var(--circ);
    stroke-dashoffset: var(--circ);
    transform: rotate(-90deg);
    transform-origin: 70px 70px;
    transition: stroke-dashoffset 1.6s var(--ease);
}
.mf-dial.is-on .mf-dial__arc { stroke-dashoffset: calc(var(--circ) * (1 - var(--p))); }
.no-js .mf-dial__arc { stroke-dashoffset: calc(var(--circ) * (1 - var(--p))); }
.mf-dial__label { position: relative; display: grid; justify-items: center; line-height: 1; text-align: center; }
.mf-dial__label strong { font-family: var(--f-display); font-size: 30px; font-weight: 400; color: var(--ink); }
.mf-dial__label small { margin-top: 4px; color: var(--dim); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.mf-dial--md { width: 112px; height: 112px; }
.mf-dial--md .mf-dial__label strong { font-size: 25px; }
.mf-dial--sm { width: 92px; height: 92px; }
.mf-dial--sm .mf-dial__label strong { font-size: 21px; }
.mf-dial--sm .mf-dial__label small { font-size: 9.5px; }
.mf-dial--xs { width: 46px; height: 46px; }
.mf-dial--xs .mf-dial__ticks line:not(.is-long) { display: none; }
.mf-dial--xs .mf-dial__track, .mf-dial--xs .mf-dial__arc { stroke-width: 9; }

/* ---------- buttons ---------- */

.mf-btn {
    --btn-bg: var(--mocha);
    --btn-fg: var(--cream);
    --btn-fill: var(--mauve);
    --btn-fill-fg: #fff;
    --btn-icon-bg: rgba(248, 236, 234, .12);
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 52px;
    padding: 0 7px 0 26px;
    border: 0;
    border-radius: 999px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-family: var(--f-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .16em;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    overflow: hidden;
    transition: color .5s var(--ease), transform .35s var(--ease), box-shadow .5s var(--ease);
}
.mf-btn--lg { height: 60px; padding-left: 30px; font-size: 13.5px; }
.mf-btn--full { width: 100%; }

/* clay fill rises like a studio arch */
.mf-btn__fill {
    position: absolute;
    left: 50%;
    top: 100%;
    z-index: -1;
    width: 130%;
    aspect-ratio: 1.6;
    border-radius: 50% 50% 0 0;
    background: var(--btn-fill);
    transform: translateX(-50%);
    transition: top .75s var(--ease), border-radius .75s var(--ease);
}
.mf-btn__text { position: relative; display: grid; height: 1.15em; overflow: hidden; }
.mf-btn__a, .mf-btn__b { display: block; transition: transform .55s var(--ease); }
.mf-btn__b { position: absolute; top: 100%; left: 0; }

.mf-btn__icon {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--btn-icon-bg);
    transition: transform .55s var(--ease), background .5s;
}
.mf-btn--lg .mf-btn__icon { width: 44px; height: 44px; }
.mf-btn__icon svg:last-child { position: relative; transition: transform .5s var(--ease); }
.mf-btn__ring { position: absolute; inset: 0; width: 100% !important; height: 100% !important; transform: rotate(-90deg); }
.mf-btn__ring circle { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-dasharray: 117; stroke-dashoffset: 117; transition: stroke-dashoffset .9s var(--ease); }

.mf-btn:hover, .mf-btn:focus-visible { color: var(--btn-fill-fg); }
.mf-btn:hover .mf-btn__fill, .mf-btn:focus-visible .mf-btn__fill { top: -30%; border-radius: 0; }
.mf-btn:hover .mf-btn__a, .mf-btn:hover .mf-btn__b,
.mf-btn:focus-visible .mf-btn__a, .mf-btn:focus-visible .mf-btn__b { transform: translateY(-100%); }
.mf-btn:hover .mf-btn__ring circle, .mf-btn:focus-visible .mf-btn__ring circle { stroke-dashoffset: 0; }
.mf-btn:hover .mf-btn__icon svg:last-child, .mf-btn:focus-visible .mf-btn__icon svg:last-child { transform: translateX(2px); }
.mf-btn:hover .mf-btn__icon, .mf-btn:focus-visible .mf-btn__icon { background: transparent; }
.mf-btn:active { transform: scale(.975); }

.mf-btn--clay { --btn-bg: var(--mauve); --btn-fg: #fff; --btn-fill: var(--mocha); --btn-fill-fg: var(--cream); --btn-icon-bg: rgba(255, 255, 255, .16); box-shadow: 0 18px 30px -18px rgba(142, 75, 92, .8); }
.mf-btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-fill: var(--mocha); --btn-fill-fg: var(--cream); --btn-icon-bg: var(--blush-2); box-shadow: inset 0 0 0 1px var(--line-strong); }
.mf-btn--linen { --btn-bg: var(--shell); --btn-fg: var(--ink); --btn-fill: var(--mauve); --btn-fill-fg: #fff; --btn-icon-bg: var(--blush-2); }

/* light-on-dark contexts */
.mf-coach .mf-btn--ghost,
.mf-panel--espresso .mf-btn--ghost,
.mf-gate .mf-btn--ghost { --btn-fg: var(--cream); --btn-fill: var(--cream); --btn-fill-fg: var(--mocha); --btn-icon-bg: rgba(248, 236, 234, .1); box-shadow: inset 0 0 0 1px rgba(248, 236, 234, .3); }

/* text link button */
.mf-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    border: 0;
    border-bottom: 1px solid var(--line-strong);
    background: none;
    color: var(--ink);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: color .3s, border-color .3s, gap .4s var(--ease);
}
.mf-link-btn:hover { color: var(--mauve); border-color: var(--mauve); gap: 16px; }

/* Marifetas buttons are squared studio rectangles (2px corners) with a plain
   arrow: no pill, no circled icon. The arch-topped fill still rises on hover. */
.mf-btn { border-radius: 2px; padding-right: 18px; }
.mf-btn__icon, .mf-btn--lg .mf-btn__icon { width: 18px; height: 18px; background: transparent !important; }
.mf-btn__ring { display: none; }
.mf-btn:hover .mf-btn__icon svg:last-child, .mf-btn:focus-visible .mf-btn__icon svg:last-child { transform: translateX(4px); }
.mf-btn--ghost { box-shadow: inset 0 0 0 1px var(--ink); }

/* ---------- header: minimal menu-button ---------- */

.mf-top { position: fixed; top: 0; left: 0; right: 0; z-index: 80; }
body.admin-bar .mf-top { top: 32px; }

.mf-header { background: var(--blush); border-bottom: 1px solid transparent; transition: border-color .4s, background .4s; }
.mf-top.is-scrolled .mf-header, body:not(.home) .mf-header { border-bottom-color: var(--line); }
.mf-header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    width: min(1360px, calc(100% - 48px));
    height: var(--header-h);
    margin-inline: auto;
}
.mf-header__left { justify-self: start; }
.mf-header__right { justify-self: end; }
.mf-header .mf-logo, .mf-linen__head .mf-logo, .mf-logo--footer { justify-self: center; flex-direction: column; gap: 4px; }
.mf-header .mf-logo__mark svg, .mf-linen__head .mf-logo__mark svg, .mf-logo--footer .mf-logo__mark svg { width: 24px; height: 29px; }
.mf-header .mf-logo__word, .mf-linen__head .mf-logo__word, .mf-logo--footer .mf-logo__word { gap: 0; }
.mf-header .mf-logo__name, .mf-linen__head .mf-logo__name, .mf-logo--footer .mf-logo__name { font-size: 22px; letter-spacing: .32em; text-transform: uppercase; padding-left: .32em; }
.mf-header .mf-logo__whisper, .mf-linen__head .mf-logo__whisper, .mf-logo--footer .mf-logo__whisper { display: none; }

.mf-menubtn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 2px;
    border: 0;
    background: none;
    color: var(--ink);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .24em;
    text-transform: uppercase;
    cursor: pointer;
}
.mf-menubtn__lines { position: relative; display: block; width: 26px; height: 10px; }
.mf-menubtn__lines i { position: absolute; left: 0; height: 1px; background: currentColor; transition: width .45s var(--ease), transform .45s var(--ease); }
.mf-menubtn__lines i:first-child { top: 0; width: 26px; }
.mf-menubtn__lines i:last-child { bottom: 0; width: 16px; }
.mf-menubtn:hover { color: var(--mauve); }
.mf-menubtn:focus-visible { border-radius: 999px; outline-offset: 4px; }
.mf-menubtn:hover .mf-menubtn__lines i:last-child { width: 26px; }
.mf-menubtn__x { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line-strong); border-radius: 50%; transition: transform .5s var(--ease); }
.mf-menubtn--close:hover .mf-menubtn__x { transform: rotate(90deg); }

/* small outlined rectangle CTA with an arch-topped fill on hover */
.mf-rect {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 20px;
    overflow: hidden;
    border: 1px solid var(--ink);
    border-radius: 2px;
    color: var(--ink);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: color .5s var(--ease);
}
.mf-rect__fill {
    position: absolute;
    left: 6%;
    right: 6%;
    top: 100%;
    height: 150%;
    z-index: -1;
    border-radius: 999px 999px 0 0;
    background: var(--mocha);
    transition: top .6s var(--ease), left .6s var(--ease), right .6s var(--ease), border-radius .6s var(--ease);
}
.mf-rect:hover, .mf-rect:focus-visible { color: var(--cream); }
.mf-rect:hover .mf-rect__fill, .mf-rect:focus-visible .mf-rect__fill { top: -10%; left: -2%; right: -2%; }
.mf-rect__short { display: none; }
.mf-rect--light { border-color: rgba(248, 236, 234, .55); color: var(--cream); }
.mf-rect--light .mf-rect__fill { background: var(--rosegold-2); }
.mf-rect--light:hover, .mf-rect--light:focus-visible { color: var(--mocha); }

/* wordmark */
.mf-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.mf-logo__mark svg { display: block; overflow: visible; }
.mf-logo__arch { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.mf-logo__arch--in { stroke: var(--mauve); stroke-width: 1.1; }
.mf-logo__sun { fill: var(--mauve-2); transition: transform .8s var(--ease); transform-origin: 20px 33px; }
.mf-logo__floor { stroke: var(--ink); stroke-width: 1.4; }
.mf-logo:hover .mf-logo__sun { transform: translateY(-7px); }
.mf-logo__word { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.mf-logo__name { font-family: var(--f-display); font-size: 26px; letter-spacing: .06em; line-height: 1; }
.mf-logo__whisper { font-family: var(--f-script); font-size: 26px; line-height: .6; color: var(--mauve); }
.mf-logo--footer { padding: 16px 30px 14px; border-radius: 6px; background: var(--blush); }

.mf-lang {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--line-strong);
    border-radius: 2px;
    background: transparent;
    color: var(--soft);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .1em;
    cursor: pointer;
}
.mf-lang:hover { border-color: var(--mauve); color: var(--mauve); }

/* ---------- full-screen linen menu (all widths) ---------- */

.mf-linen { position: fixed; inset: 0; z-index: 150; pointer-events: none; visibility: hidden; transition: visibility 0s linear .7s; }
.mf-linen.is-open { pointer-events: auto; visibility: visible; transition: none; }
.mf-linen__panel {
    position: absolute;
    inset: 0;
    background-color: var(--blush);
    background-image: var(--ribs);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .7s var(--ease);
}
.mf-linen__panel::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: var(--dusty); border-top: 1px dashed rgba(59, 42, 42, .25); }
.mf-linen.is-open .mf-linen__panel { transform: scaleY(1); }

.mf-linen__body {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: min(1360px, calc(100% - 48px));
    margin-inline: auto;
    padding-bottom: 40px;
    overflow-y: auto;
    opacity: 0;
    transition: opacity .3s ease;
}
.mf-linen.is-open .mf-linen__body { opacity: 1; transition: opacity .5s ease .3s; }
.mf-linen__head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: var(--header-h); }
.mf-linen__head .mf-logo { justify-self: center; }
.mf-linen__head .mf-menubtn { justify-self: start; }

.mf-linen__grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: clamp(30px, 6vw, 100px); align-items: center; flex: 1; padding: 30px 0; }
.mf-linen__nav .header-menu { margin: 0; padding: 0; list-style: none; counter-reset: mfnav; }
.mf-linen__nav .header-menu li {
    counter-increment: mfnav;
    border-bottom: 1px solid var(--line);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .5s ease, transform .7s var(--ease);
}
.mf-linen.is-open .mf-linen__nav .header-menu li { opacity: 1; transform: none; }
.mf-linen.is-open .mf-linen__nav .header-menu li:nth-child(1) { transition-delay: .35s; }
.mf-linen.is-open .mf-linen__nav .header-menu li:nth-child(2) { transition-delay: .42s; }
.mf-linen.is-open .mf-linen__nav .header-menu li:nth-child(3) { transition-delay: .49s; }
.mf-linen.is-open .mf-linen__nav .header-menu li:nth-child(4) { transition-delay: .56s; }
.mf-linen.is-open .mf-linen__nav .header-menu li:nth-child(5) { transition-delay: .63s; }
.mf-linen.is-open .mf-linen__nav .header-menu li:nth-child(n+6) { transition-delay: .7s; }
.mf-linen__nav .header-menu a {
    display: flex;
    align-items: baseline;
    gap: 22px;
    padding: 14px 0;
    color: var(--ink);
    font-family: var(--f-display);
    font-size: clamp(32px, 5vw, 64px);
    line-height: 1.1;
    text-decoration: none;
    transition: color .3s, padding .5s var(--ease);
}
.mf-linen__nav .header-menu a::before { content: counter(mfnav, decimal-leading-zero); font-family: var(--f-body); font-size: 12px; letter-spacing: .14em; color: var(--mauve); }
.mf-linen__nav .header-menu a:hover { color: var(--mauve); padding-left: 12px; }

.mf-linen__aside { display: grid; gap: 18px; }
.mf-linen__arch { width: 100%; max-width: 300px; aspect-ratio: 4 / 5; }
.mf-linen__account { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.mf-linen__account a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; color: var(--ink); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.mf-linen__account a:hover { color: var(--mauve); }
.mf-linen__lang:empty { display: none; }

/* ---------- reveals: the breathing scale ---------- */

.js .mf-reveal { opacity: 0; transform: scale(.98); transition: opacity 1.2s var(--ease-soft), transform 1.6s var(--ease-soft); transition-delay: calc(var(--d, 0) * 120ms); }
.js .mf-reveal.is-in { opacity: 1; transform: none; }
.js .mf-rise { opacity: 0; transform: scale(.98); animation: mf-settle 1.4s var(--ease-soft) .1s forwards; }
.js .mf-rise--2 { animation-delay: .25s; }
.js .mf-rise--3 { animation-delay: .4s; }
@keyframes mf-settle { to { opacity: 1; transform: none; } }
@keyframes mf-fade-up { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- breathing guide circle ---------- */

.mf-breath { position: relative; display: grid; place-items: center; width: 150px; height: 150px; flex: 0 0 auto; }
.mf-breath__ring { position: absolute; inset: 0; border: 1px solid var(--rosegold); border-radius: 50%; }
.mf-breath__ring::after { content: ""; position: absolute; inset: 7px; border: 1px dashed rgba(142, 75, 92, .3); border-radius: 50%; }
.mf-breath__disc {
    position: absolute;
    inset: 16px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 40%, var(--rose-2), var(--rose) 70%);
    box-shadow: 0 16px 30px -18px rgba(142, 75, 92, .6);
    transform: scale(.72);
    animation: mf-breathe 8s ease-in-out infinite;
}
.mf-breath__label { position: relative; display: grid; justify-items: center; text-align: center; color: var(--mocha); }
.mf-breath__in, .mf-breath__out { grid-area: 1 / 1; font-family: var(--f-display); font-size: 19px; letter-spacing: .14em; text-transform: uppercase; animation: mf-say-in 8s ease-in-out infinite; }
.mf-breath__out { animation-name: mf-say-out; }
.mf-breath__label small { grid-area: 2 / 1; margin-top: 2px; color: var(--soft); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.mf-breath__label--static strong { font-family: var(--f-display); font-size: 40px; font-weight: 400; letter-spacing: .06em; }
@keyframes mf-breathe { 0%, 100% { transform: scale(.72); } 50% { transform: scale(1); } }
@keyframes mf-say-in { 0%, 44% { opacity: 1; } 50%, 94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes mf-say-out { 0%, 44% { opacity: 0; } 50%, 94% { opacity: 1; } 100% { opacity: 0; } }

/* towel-tag card (cookie + language) */
.mf-towtag { border-radius: 6px 6px 22px 22px !important; }
.mf-towtag::before { content: ""; position: absolute; inset: 7px; border: 1px dashed rgba(142, 75, 92, .35); border-radius: 3px 3px 16px 16px; pointer-events: none; }
.mf-towtag__loop { position: absolute; left: 50%; top: -15px; width: 44px; height: 22px; transform: translateX(-50%); border: 1px solid var(--pewter); border-bottom: 0; border-radius: 22px 22px 0 0; background: transparent; }
.mf-towtag__care { margin: 0; color: var(--mauve); font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; }

/* ---------- modal base ---------- */

.mf-modal {
    position: fixed;
    inset: 0;
    z-index: 160;
    display: grid;
    place-items: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    transition: opacity .45s ease, visibility 0s linear .45s;
}
.mf-modal.is-open { visibility: visible; opacity: 1; transition: opacity .45s ease; }
.mf-modal__scrim { position: absolute; inset: 0; background: rgba(59, 42, 42, .5); }
.languages.mf-modal { background: rgba(59, 42, 42, .5); }
.mf-modal__card {
    position: relative;
    width: min(460px, 100%);
    padding: 30px;
    border-radius: 26px;
    background: var(--shell);
    box-shadow: var(--shadow);
}
.mf-modal__card .image-close { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.mf-modal__card .title { color: var(--mauve); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.mf-modal__card h3 { margin: 6px 0 18px; font-family: var(--f-display); font-size: 28px; line-height: 1.15; }
.mf-modal__card select { width: 100%; height: 52px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fffafa; color: var(--ink); font: inherit; }
.mf-modal__x {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: var(--shell);
    color: var(--ink);
    cursor: pointer;
    transition: transform .5s var(--ease), background .3s;
}
.mf-modal__x:hover { transform: rotate(90deg); background: var(--blush-2); }


/* ---------- hero: centred arch ---------- */

.mf-hero { position: relative; padding: clamp(30px, 4vw, 56px) 0 clamp(80px, 9vw, 120px); text-align: center; overflow: clip; }
.mf-hero__stage { position: relative; width: min(470px, 74vw); margin: 0 auto; }
.mf-hero__arch { position: relative; z-index: 1; aspect-ratio: 4 / 5.3; box-shadow: var(--shadow); }
.mf-hero__arch img { object-position: 38% 30%; }
.mf-hero__door { position: absolute; left: 50%; transform: translateX(-50%); border: 1px solid var(--line-strong); border-bottom: 0; border-radius: 999px 999px 0 0; pointer-events: none; }
.mf-hero__door--inner { top: -26px; bottom: 0; width: calc(100% + 52px); }
.mf-hero__door--outer { top: -56px; bottom: 0; width: calc(100% + 112px); border-color: var(--line); background-image: var(--ribs); }

.mf-hero__band {
    position: relative;
    z-index: 2;
    width: min(1040px, calc(100% - 48px));
    margin: -190px auto 0;
    padding: 34px 40px 90px;
    background-color: var(--mocha);
    background-image: var(--ribs-light);
    color: var(--cream);
    box-shadow: 0 40px 70px -40px rgba(59, 42, 42, .7);
}
.mf-hero__band::before { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(236, 199, 192, .28); pointer-events: none; }
.mf-hero__kicker { color: var(--rosegold-2); font-size: 12px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; }
.mf-hero__title { margin-top: 10px; font-family: var(--f-display); font-size: clamp(46px, 7.4vw, 108px); line-height: 1; letter-spacing: .01em; color: var(--cream); }
.mf-hero__title em { font-size: 1.22em; color: var(--rosegold-2); }

.mf-hero__breath { position: relative; z-index: 3; margin: -76px auto 0; }
.mf-hero__breath .mf-breath__ring { background: var(--blush); }

.mf-hero__foot { margin-top: 26px; }
.mf-hero__foot .mf-lead { margin: 0 auto; }
.mf-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }
/* ==========================================================================
   02 · routine menu + sheet, week, how/builder, coach,
        pricing cards, FAQ, CTA, footer, inner pages (page hero, auth,
        contact, about, values, panels), notes, back-to-top
   ========================================================================== */

/* ---------- routine menu ---------- */

.mf-filters {
    position: relative;
    display: inline-flex;
    gap: 4px;
    max-width: 100%;
    margin-bottom: 40px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--shell);
    overflow-x: auto;
    scrollbar-width: none;
}
.mf-filters::-webkit-scrollbar { display: none; }
.mf-filters__ink {
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 5px;
    width: 0;
    border-radius: 999px;
    background: var(--mocha);
    transition: left .55s var(--ease), width .55s var(--ease);
}
.mf-filter {
    position: relative;
    z-index: 1;
    padding: 11px 20px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--soft);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: color .4s;
}
.mf-filter:hover { color: var(--mauve); }
.mf-filter.is-active { color: var(--cream); }
.no-js .mf-filter.is-active { background: var(--mocha); }

.mf-menu__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 30px; }

.mf-dish {
    display: flex;
    flex-direction: column;
    padding: 12px 12px 30px;
    border: 1px solid var(--line);
    border-radius: 999px 999px 22px 22px;
    background: var(--shell);
    text-align: center;
    transition: transform .6s var(--ease), box-shadow .6s var(--ease), opacity .4s;
}
.mf-dish:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.mf-dish.is-hidden { display: none; }
.mf-dish.is-shown { animation: mf-fade-up .7s var(--ease) both; }

.mf-dish__photo {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1.02;
    padding: 0;
    border: 0;
    border-radius: 999px 999px 14px 14px;
    overflow: hidden;
    background: var(--dusty);
    cursor: pointer;
}
.mf-dish__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mf-dish:hover .mf-dish__photo img { transform: scale(1.04); }
.mf-dish__photo::after {
    content: "";
    position: absolute;
    inset: 9px;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 999px 999px 9px 9px;
    pointer-events: none;
}
.mf-dish__tone {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    padding: 2px 18px 6px;
    border-radius: 999px;
    background: var(--shell);
    color: var(--mauve);
    font-family: var(--f-script);
    font-size: 28px;
    line-height: 1;
    white-space: nowrap;
}

.mf-dish__body { display: flex; flex-direction: column; align-items: center; flex: 1; padding: 22px 14px 0; }
.mf-dish__no { color: var(--plum); font-size: 11.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; }
.mf-dish__name { margin-top: 8px; font-family: var(--f-display); font-size: 30px; line-height: 1.1; }
.mf-dish__note { margin-top: 8px; max-width: 30ch; color: var(--soft); font-size: 15.5px; font-style: italic; font-weight: 300; line-height: 1.55; }
.mf-dish .mf-link-btn { margin-top: auto; }

.mf-leaders { width: 100%; margin: 20px 0 24px; padding: 0; text-align: left; }
.mf-leaders div { display: flex; align-items: baseline; padding: 5px 0; font-size: 14px; }
.mf-leaders dt { display: flex; flex: 1; align-items: baseline; margin: 0; color: var(--dim); letter-spacing: .04em; }
.mf-leaders dt::after { content: ""; flex: 1; margin: 0 10px; border-bottom: 1px dotted var(--pewter); transform: translateY(-4px); }
.mf-leaders dd { margin: 0; color: var(--ink); font-weight: 500; text-align: right; }

.mf-empty { margin-top: 24px; color: var(--soft); text-align: center; }

/* ---------- routine sheet (modal) ---------- */

.mf-sheet__card {
    position: relative;
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 34px;
    width: min(1040px, 100%);
    max-height: min(88vh, 860px);
    padding: 18px;
    overflow: auto;
    border-radius: 30px;
    background: var(--shell);
    box-shadow: 0 40px 90px -30px rgba(59, 42, 42, .55);
    transform: translateY(24px) scale(.98);
    transition: transform .6s var(--ease);
}
.mf-sheet.is-open .mf-sheet__card { transform: none; }
.mf-sheet .mf-modal__x { position: absolute; top: 18px; right: 18px; z-index: 4; }
.mf-sheet__photo { position: sticky; top: 0; height: min(76vh, 700px); min-height: 420px; }
.mf-sheet__body { padding: 30px 26px 20px 0; }
.mf-sheet__title { font-family: var(--f-display); font-size: clamp(34px, 4vw, 48px); line-height: 1.05; padding-right: 50px; }
.mf-sheet__note { margin-top: 10px; color: var(--soft); font-style: italic; font-weight: 300; }

.mf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 6px; padding: 0; list-style: none; }
.mf-chips li { padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--soft); font-size: 13px; }

.mf-moves { margin: 24px 0 0; padding: 0; list-style: none; counter-reset: move; }
.mf-moves > li { counter-increment: move; display: grid; grid-template-columns: 46px 1fr; gap: 4px 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.mf-moves > li::before {
    content: counter(move, decimal-leading-zero);
    grid-row: span 3;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--rosegold);
    border-radius: 50%;
    color: var(--plum);
    font-family: var(--f-display);
    font-size: 16px;
}
.mf-moves > li > * { grid-column: 2; }
.mf-move__name { font-family: var(--f-display); font-size: 22px; line-height: 1.2; }
.mf-move__meta { color: var(--dim); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.mf-move__steps { margin: 8px 0 0; padding-left: 18px; color: var(--soft); font-size: 15px; line-height: 1.6; }
.mf-move__steps li::marker { color: var(--mauve-2); }
.mf-move__boxes { display: flex; gap: 6px; margin-top: 10px; }
.mf-move__boxes span { display: grid; place-items: center; width: 44px; height: 30px; border: 1px dashed var(--line-strong); border-radius: 8px; color: var(--dim); font-size: 12px; }

.mf-sheet__demo { display: flex; align-items: center; gap: 12px; margin: 10px 0 22px; padding: 14px 16px; border-radius: 14px; background: var(--blush-2); color: var(--soft); font-size: 14.5px; }
.mf-sheet__demo svg { flex: 0 0 auto; width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--mocha); color: var(--cream); }

/* ---------- week ---------- */

.mf-week { background-color: var(--blush-2); background-image: var(--ribs); border-block: 1px solid var(--line); }
.mf-week__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; max-width: 900px; margin: 0 auto 44px; }
.mf-day {
    position: relative;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 2px;
    width: 100%;
    max-width: 104px;
    aspect-ratio: 1;
    margin-inline: auto;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: var(--shell);
    cursor: pointer;
    transition: background .4s, color .4s, border-color .4s, transform .4s var(--ease);
}
.mf-day::before {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    border: 1px dotted var(--pewter);
    transition: border-color .4s;
}
.mf-day:hover { transform: translateY(-3px); border-color: var(--mauve); }
.mf-day__name { position: relative; font-family: var(--f-display); font-size: 22px; line-height: 1; }
.mf-day__min { position: relative; color: var(--dim); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.mf-day.is-rest { background: transparent; border-style: dashed; }
.mf-day.is-active { background: var(--mocha); border-color: var(--mocha); color: var(--cream); }
.mf-day.is-active::before { border-color: rgba(236, 199, 192, .55); }
.mf-day.is-active .mf-day__min { color: var(--rosegold-2); }

.mf-daypanel { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.mf-daypanel + .mf-daypanel { margin-top: 60px; }
.js .mf-daypanel:not(.is-active) { display: none; }
.js .mf-daypanel + .mf-daypanel { margin-top: 0; }
.js .mf-daypanel.is-active { animation: mf-fade-up .7s var(--ease) both; }
.mf-daypanel__photo { position: relative; margin: 0; overflow: hidden; aspect-ratio: 3 / 2; border-radius: 24px; box-shadow: var(--shadow); }
.mf-daypanel__photo img { width: 100%; height: 100%; object-fit: cover; }
.mf-daypanel__day { position: absolute; left: 22px; bottom: 12px; color: #fff; font-family: var(--f-script); font-size: 64px; line-height: 1; text-shadow: 0 4px 24px rgba(59, 42, 42, .45); }
.mf-daypanel__script { font-size: 38px; }
.mf-daypanel__title { margin-top: 6px; font-family: var(--f-display); font-size: clamp(34px, 3.6vw, 48px); line-height: 1.05; }
.mf-daypanel__meta { margin-top: 12px; color: var(--soft); font-size: 15px; }
.mf-daypanel__text { margin: 14px 0 26px; color: var(--soft); max-width: 44ch; }
.mf-daypanel__moves { margin: 22px 0 26px; padding: 0; list-style: none; counter-reset: dm; }
.mf-daypanel__moves li { counter-increment: dm; display: flex; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); }
.mf-daypanel__moves li::before { content: counter(dm, decimal-leading-zero); width: 34px; color: var(--plum); font-size: 12px; letter-spacing: .1em; }
.mf-daypanel__moves span { display: flex; flex: 1; align-items: baseline; font-family: var(--f-display); font-size: 19px; }
.mf-daypanel__moves span::after { content: ""; flex: 1; margin: 0 12px; border-bottom: 1px dotted var(--pewter); transform: translateY(-5px); }
.mf-daypanel__moves em { color: var(--soft); font-size: 14px; font-style: normal; letter-spacing: .06em; }

/* ---------- how it works + builder ---------- */

.mf-how__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.mf-steps { margin: 0; padding: 0; list-style: none; }
.mf-step { display: grid; grid-template-columns: 96px 1fr; gap: 24px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); }
.mf-step:last-child { border-bottom: 1px solid var(--line); }
.mf-step__photo { display: block; width: 96px; height: 120px; overflow: hidden; border-radius: 999px 999px 12px 12px; background: var(--dusty); }
.mf-step__photo img { width: 100%; height: 100%; object-fit: cover; }
.mf-step__num { color: var(--mauve); font-size: 12px; font-weight: 500; letter-spacing: .24em; }
.mf-step__title { margin-top: 4px; font-family: var(--f-display); font-size: 26px; line-height: 1.15; }
.mf-step__text { margin-top: 6px; color: var(--soft); font-size: 15.5px; line-height: 1.65; }

.mf-builder {
    position: sticky;
    top: calc(var(--header-h) + 30px);
    padding: clamp(22px, 3vw, 36px);
    border: 1px solid var(--line);
    border-radius: 30px;
    background: var(--shell);
    box-shadow: var(--shadow);
}
.mf-builder::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px dashed rgba(59, 42, 42, .12);
    border-radius: 24px;
    pointer-events: none;
}
.mf-builder__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; margin-bottom: 14px; }
.mf-builder__head .mf-script { font-size: 44px; }
.mf-builder__hint { color: var(--dim); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; }
.mf-builder__group { margin: 0; padding: 18px 0; border: 0; border-top: 1px solid var(--line); min-width: 0; }
.mf-builder__group legend,
.mf-builder__legend { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 0; font-family: var(--f-display); font-size: 20px; line-height: 1.2; float: left; width: 100%; }
.mf-builder__group legend + * { clear: both; }
.mf-builder__legend { float: none; }
.mf-builder__group legend small { color: var(--dim); font-family: var(--f-body); font-size: 13px; }
.mf-builder__group legend span,
.mf-builder__legend span { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--rosegold); border-radius: 50%; color: var(--plum); font-family: var(--f-body); font-size: 12px; }

.mf-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.mf-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: transparent;
    color: var(--soft);
    font-size: 14px;
    cursor: pointer;
    transition: background .35s, color .35s, border-color .35s, transform .3s var(--ease);
}
.mf-pill:hover { border-color: var(--ink); color: var(--ink); }
.mf-pill:active { transform: scale(.95); }
.mf-pill.is-on { background: var(--mocha); border-color: var(--mocha); color: var(--cream); }
.mf-pill.is-on::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--rosegold); }
.mf-pill--muscle.is-on { background: var(--mauve); border-color: var(--mauve); color: #fff; }
.mf-pill--muscle.is-on::before { background: var(--rose-2); }

.mf-builder__list { margin: 0; padding: 0; list-style: none; counter-reset: bl; }
.mf-builder__list li {
    counter-increment: bl;
    display: grid;
    grid-template-columns: 30px 1fr auto;
    align-items: center;
    gap: 2px 12px;
    padding: 11px 0;
    border-bottom: 1px dotted var(--pewter);
}
.mf-builder__list li::before { content: counter(bl, decimal-leading-zero); grid-column: 1; grid-row: 1 / span 2; color: var(--plum); font-size: 12px; letter-spacing: .1em; }
.mf-builder__list li.is-new { animation: mf-fade-up .55s var(--ease) both; }
.mf-builder__name { grid-column: 2; grid-row: 1; font-family: var(--f-display); font-size: 19px; line-height: 1.2; }
.mf-builder__meta { grid-column: 2; grid-row: 2; color: var(--dim); font-size: 12.5px; letter-spacing: .06em; }
.mf-shuffle {
    grid-column: 3;
    grid-row: 1 / span 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--shell);
    color: var(--soft);
    font-size: 12px;
    letter-spacing: .08em;
    cursor: pointer;
    transition: border-color .3s, color .3s;
}
.mf-shuffle:hover { border-color: var(--mauve); color: var(--mauve); }
.mf-shuffle:hover svg { animation: mf-spin .7s var(--ease); }
.mf-builder__msg { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: var(--rose-2); color: var(--mauve); font-size: 14px; }
.mf-builder__foot { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; color: var(--dim); font-size: 13.5px; line-height: 1.55; }
.mf-builder__foot svg { flex: 0 0 auto; margin-top: 2px; color: var(--mauve); }

/* ---------- the quiet coach (espresso room) ---------- */

.mf-coach { background-color: var(--mocha); background-image: var(--ribs-light); color: var(--cream); }
.mf-coach .mf-title { color: var(--cream); }
.mf-coach .mf-title em { color: var(--rosegold-2); }
.mf-coach .mf-lead { color: var(--cream-dim); }
.mf-coach__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.mf-coach__arch { width: min(340px, 80%); aspect-ratio: 4 / 5; margin-top: 40px; }
.mf-coach__arch::after { border-color: rgba(255, 255, 255, .45); }

.mf-exsheet { position: relative; padding: clamp(22px, 3vw, 34px); border-radius: 30px; background: var(--shell); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.mf-exsheet__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mf-exsheet__label { color: var(--mauve); font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.mf-exsheet__title { margin-top: 6px; font-family: var(--f-display); font-size: clamp(30px, 3.4vw, 42px); line-height: 1.05; }
.mf-exsheet__demo { position: relative; margin: 20px 0 0; overflow: hidden; aspect-ratio: 16 / 8; border-radius: 18px; background: var(--dusty); }
.mf-exsheet__demo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.mf-exsheet__demo figcaption {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px 6px 6px;
    border-radius: 999px;
    background: rgba(251, 241, 239, .94);
    color: var(--ink);
    font-size: 13px;
}
.mf-exsheet__play { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--mocha); color: var(--cream); }
.mf-exsheet__steps { margin: 22px 0 0; padding: 0; list-style: none; counter-reset: ex; }
.mf-exsheet__steps li { counter-increment: ex; display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 7px 0; color: var(--soft); font-size: 15.5px; line-height: 1.55; }
.mf-exsheet__steps li::before { content: counter(ex); display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--rosegold); border-radius: 50%; color: var(--plum); font-size: 12px; }

.mf-exsheet__log { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.mf-setboxes { display: grid; grid-template-columns: repeat(3, 76px); gap: 8px; margin: 0; padding: 0; list-style: none; }
.mf-setboxes li { display: grid; justify-items: center; gap: 2px; padding: 8px 4px; border: 1px dashed var(--line-strong); border-radius: 12px; transition: background .4s, border-color .4s; }
.mf-setboxes span { color: var(--dim); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; }
.mf-setboxes b { font-family: var(--f-display); font-size: 22px; font-weight: 400; line-height: 1.1; color: var(--dim); }
.mf-setboxes li.is-done { border-style: solid; border-color: var(--mauve-2); background: var(--rose-2); }
.mf-setboxes li.is-done b { color: var(--mauve); }
.mf-setboxes li.is-pop { animation: mf-pop .5s var(--ease); }
@keyframes mf-pop { 40% { transform: scale(1.08); } }
.mf-logbtn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    padding: 13px 20px;
    border: 0;
    border-radius: 999px;
    background: var(--mocha);
    color: var(--cream);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .35s, transform .3s var(--ease);
}
.mf-logbtn:hover { background: var(--mauve); }
.mf-logbtn:active { transform: scale(.96); }
.mf-exsheet__done { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--mauve); font-size: 14.5px; }

/* ---------- pricing: embossed membership cards ---------- */

.mf-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; max-width: 1160px; margin-inline: auto; align-items: start; }
.mf-card {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 14px 14px 26px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--shell);
    transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.mf-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.mf-card.is-featured { border-color: var(--rosegold); box-shadow: var(--shadow); }

.mf-card__face {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 260px;
    padding: 22px 24px;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(140deg, #f8e9e6, #ecd3cf);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 14px 30px -20px rgba(59, 42, 42, .45);
    color: var(--ink);
}
/* card-stock fibre */
.mf-card__face::before { content: ""; position: absolute; inset: 0; background-image: var(--ribs); opacity: .5; pointer-events: none; }
.mf-card__face > * { position: relative; }
.mf-card__top { display: flex; align-items: flex-start; justify-content: space-between; }
.mf-card__no { color: var(--plum); font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; }
.mf-card__emboss {
    font-family: var(--f-display);
    font-size: 54px;
    line-height: .8;
    color: #e6cbc6;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, .85), -1px -1px 0 rgba(59, 42, 42, .18);
}
.mf-card__ribbon {
    align-self: flex-start;
    margin-top: 10px;
    padding: 5px 14px;
    border: 1px solid rgba(236, 199, 192, .5);
    border-radius: 999px;
    color: var(--rosegold-2);
    font-size: 10.5px;
    letter-spacing: .2em;
    text-transform: uppercase;
    white-space: nowrap;
}
.mf-card__name { margin-top: 14px; font-family: var(--f-display); font-size: 26px; line-height: 1.1; }
.mf-card__price { margin-top: 10px; font-family: var(--f-display); font-size: 44px; line-height: 1; letter-spacing: -.01em; }
.mf-card__interval { margin-top: 6px; color: var(--soft); font-size: 14px; }
.mf-card__trial { align-self: flex-start; margin-top: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(251, 241, 239, .7); color: var(--mauve); font-size: 13px; font-weight: 500; }
.mf-card__sign { margin-top: auto; padding-top: 16px; border-bottom: 1px solid rgba(59, 42, 42, .25); }
.mf-card__sign .mf-script { font-size: 30px; color: rgba(59, 42, 42, .35); }

.mf-card.is-featured .mf-card__face { background: linear-gradient(140deg, #4a3535, #2f2121); color: var(--cream); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 34px -18px rgba(59, 42, 42, .7); }
.mf-card.is-featured .mf-card__face::before { background-image: var(--ribs-light); }
.mf-card.is-featured .mf-card__no { color: var(--rosegold); }
.mf-card.is-featured .mf-card__emboss { color: #3f2c2c; text-shadow: 1px 1px 0 rgba(255, 255, 255, .09), -1px -1px 0 rgba(0, 0, 0, .5); }
.mf-card.is-featured .mf-card__interval { color: var(--cream-dim); }
.mf-card.is-featured .mf-card__trial { background: rgba(236, 199, 192, .14); color: var(--rosegold-2); }
.mf-card.is-featured .mf-card__sign { border-color: rgba(248, 236, 234, .3); }
.mf-card.is-featured .mf-card__sign .mf-script { color: rgba(248, 236, 234, .35); }

.mf-card__list { display: grid; gap: 10px; margin: 0; padding: 0 10px; list-style: none; }
.mf-card__list li { display: flex; align-items: flex-start; gap: 10px; color: var(--soft); font-size: 15px; line-height: 1.5; }
.mf-card__list svg { flex: 0 0 auto; margin-top: 3px; color: var(--mauve); }
.mf-card .mf-btn { margin-top: auto; }
.mf-card > .mf-btn { width: calc(100% - 20px); margin-inline: 10px; }

.mf-pricing__note { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 36px; color: var(--dim); font-size: 14px; text-align: center; }
.mf-pricing__note svg { color: var(--mauve); flex: 0 0 auto; }

/* ---------- FAQ ---------- */

.mf-faq { background: var(--blush); }
.mf-faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.mf-faq__aside { position: sticky; top: calc(var(--header-h) + 30px); }
.mf-faq__photo { position: relative; width: min(320px, 90%); aspect-ratio: 4 / 5; margin-top: 34px; overflow: visible; border-radius: 0; background: none; }
.mf-faq__photo::before, .mf-faq__photo::after { display: none; }
.mf-faq__photo img { border-radius: 999px 999px 20px 20px; }
.mf-faq__photo figcaption { position: absolute; right: -18px; bottom: 18px; padding: 4px 18px 8px; border-radius: 999px; background: var(--shell); box-shadow: var(--shadow-sm); font-size: 32px; }

.mf-qa { border-bottom: 1px solid var(--line); }
.mf-qa:first-child { border-top: 1px solid var(--line); }
.mf-qa summary { display: grid; grid-template-columns: 46px 1fr 32px; align-items: center; gap: 12px; padding: 24px 0; list-style: none; cursor: pointer; }
.mf-qa summary::-webkit-details-marker { display: none; }
.mf-qa__num { color: var(--plum); font-size: 12px; letter-spacing: .16em; }
.mf-qa__q { font-family: var(--f-display); font-size: clamp(20px, 2vw, 25px); line-height: 1.25; transition: color .3s; }
.mf-qa summary:hover .mf-qa__q { color: var(--mauve); }
.mf-qa__plus { position: relative; width: 32px; height: 32px; border: 1px solid var(--line-strong); border-radius: 50%; transition: background .3s, border-color .3s; }
.mf-qa__plus::before, .mf-qa__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .45s var(--ease), background .3s; }
.mf-qa__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.mf-qa[open] .mf-qa__plus { background: var(--mocha); border-color: var(--mocha); }
.mf-qa[open] .mf-qa__plus::before, .mf-qa[open] .mf-qa__plus::after { background: var(--cream); }
.mf-qa[open] .mf-qa__plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.mf-qa__a { padding: 0 44px 26px 58px; }
.mf-qa__a p { color: var(--soft); line-height: 1.75; max-width: 60ch; }
.mf-qa[open] .mf-qa__a { animation: mf-fade-up .5s var(--ease); }
.mf-faq__more { margin-top: 28px; color: var(--soft); }
.mf-faq__more a { color: var(--mauve); }

/* ---------- contact CTA ---------- */

.mf-cta { padding-top: 0; }
.mf-cta__frame { position: relative; overflow: hidden; border-radius: 30px; min-height: 560px; display: grid; align-items: end; justify-items: center; padding: 0 20px 44px; }
.mf-cta__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mf-cta__frame::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 20px; pointer-events: none; }
.mf-cta__card { position: relative; z-index: 1; width: min(620px, 100%); padding: clamp(26px, 4vw, 44px); border-radius: 26px; background: var(--shell); box-shadow: var(--shadow); text-align: center; }
.mf-cta__script { font-size: 40px; }
.mf-cta__card .mf-title { margin-top: 6px; font-size: clamp(32px, 3.6vw, 48px); }
.mf-cta__text { margin: 14px auto 0; max-width: 46ch; color: var(--soft); }
.mf-cta__mail { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--mauve); }
.mf-cta__mail a { color: var(--ink); font-weight: 500; }
.mf-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }

/* ---------- footer: arched gateway ---------- */

.mf-footer { position: relative; padding: clamp(50px, 7vw, 90px) 0 0; background: var(--dusty); color: var(--cream-dim); overflow: hidden; }
.mf-gate {
    position: relative;
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: clamp(80px, 11vw, 150px) clamp(20px, 6vw, 90px) 40px;
    border-radius: 999px 999px 0 0;
    background: var(--mocha);
    text-align: center;
}
.mf-gate::before { content: ""; position: absolute; inset: 14px 14px 0; border: 1px solid rgba(236, 199, 192, .25); border-bottom: 0; border-radius: 999px 999px 0 0; pointer-events: none; }
.mf-gate__inner { position: relative; display: grid; justify-items: center; gap: 22px; }
.mf-gate__line { max-width: 44ch; color: var(--cream-dim); font-size: 15.5px; }
.mf-gate__groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; width: 100%; margin-top: 24px; padding-top: 34px; border-top: 1px solid rgba(248, 236, 234, .14); }
.mf-gate__title { margin-bottom: 14px; color: var(--rosegold-2); font-family: var(--f-body); font-size: 11.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; }
.mf-gate .footer-menu-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; text-align: center; font-family: var(--f-body); }
.mf-gate .footer-menu-list li { margin: 0; padding: 0; }
.mf-gate .footer-menu-list a { color: var(--cream-dim); font-family: var(--f-body); font-size: 15px; text-decoration: none; }
.mf-gate .footer-menu-list a:hover { color: var(--cream); text-decoration: underline; }
.mf-gate__contact { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.mf-gate__contact li { display: flex; align-items: flex-start; justify-content: center; gap: 8px; font-size: 14.5px; line-height: 1.5; word-break: break-word; }
.mf-gate__contact svg { flex: 0 0 auto; margin-top: 3px; color: var(--rosegold); }
.mf-gate__contact a { color: var(--cream-dim); text-decoration: none; }
.mf-gate__contact a:hover { color: var(--cream); text-decoration: underline; }
.mf-pay { display: flex; justify-content: center; gap: 10px; margin-top: 10px; }
.mf-pay svg { width: 52px; height: auto; border-radius: 6px; }
.mf-gate__note { max-width: 64ch; color: var(--cream-dim); font-size: 13px; line-height: 1.6; }
.mf-gate__copy { color: rgba(220, 195, 192, .85); font-size: 12.5px; line-height: 1.6; }
.mf-gate__floor { display: block; height: 12px; background-color: var(--mocha-2); background-image: var(--ribs-light); }

/* ---------- inner page hero ---------- */

.mf-page-hero { position: relative; padding: clamp(30px, 5vw, 64px) 0 clamp(36px, 5vw, 60px); overflow: hidden; border-bottom: 1px solid var(--line); }
.mf-page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background-image: var(--ribs); -webkit-mask-image: linear-gradient(180deg, transparent, #000); mask-image: linear-gradient(180deg, transparent, #000); pointer-events: none; }
.mf-page-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.mf-page-hero__script { font-size: 42px; }
.mf-page-hero__title { font-family: var(--f-display); font-size: clamp(44px, 6vw, 84px); line-height: 1; letter-spacing: -.015em; }
.mf-page-hero__text { margin-top: 16px; max-width: 56ch; color: var(--soft); font-size: 18px; }
.mf-page-hero__arch { width: 210px; aspect-ratio: 4 / 5; box-shadow: var(--shadow-sm); }
.mf-page-hero--plain .mf-page-hero__inner { grid-template-columns: 1fr; }

/* ---------- panels ---------- */

.mf-panel { position: relative; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: 26px; background: var(--shell); }
.mf-panel__title { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font-family: var(--f-display); font-size: 28px; line-height: 1.15; }
.mf-panel__title svg { color: var(--mauve); flex: 0 0 auto; }
.mf-panel__script { font-size: 38px; margin-bottom: 4px; }
.mf-panel__text { margin: -10px 0 24px; color: var(--soft); }
.mf-panel__buttons { display: grid; gap: 12px; margin-top: 16px; }
.mf-panel--espresso { background-color: var(--mocha); background-image: var(--ribs-light); border-color: transparent; color: var(--cream); }
.mf-panel--espresso .mf-panel__script { color: var(--rosegold-2); }

.mf-profile-page { display: grid; grid-template-columns: 1.3fr 1fr; gap: 26px; align-items: start; }
.mf-profile-page__side { display: grid; gap: 26px; }

.mf-dashboard { padding: 24px 0 60px; }

/* ---------- auth: breathing / object-only ---------- */

.mf-auth { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 9vw, 120px); }
.mf-auth__col { display: grid; justify-items: center; width: min(560px, calc(100% - 32px)); margin: 0 auto; text-align: center; }
.mf-breath--auth { width: 170px; height: 170px; }
.mf-auth__note { max-width: 26ch; margin: 18px 0 30px; font-size: 32px; line-height: 1.05; }
.mf-auth__panel { position: relative; width: 100%; padding: clamp(26px, 5vw, 46px); border: 1px solid var(--line); border-radius: 6px 6px 28px 28px; background: var(--shell); box-shadow: var(--shadow-sm); text-align: left; }
.mf-auth__panel::before { content: ""; position: absolute; inset: 8px; border: 1px dashed rgba(59, 42, 42, .1); border-radius: 3px 3px 22px 22px; pointer-events: none; }
.mf-auth__title { font-family: var(--f-display); font-size: clamp(34px, 4vw, 46px); line-height: 1.08; }
.mf-auth__text { margin: 14px 0 28px; color: var(--soft); }
.mf-auth__links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; }
.mf-auth__links a { color: var(--mauve); font-size: 15px; font-weight: 500; }
.mf-auth__safe { display: flex; align-items: center; gap: 8px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13.5px; }
.mf-auth__safe svg { color: var(--mauve); flex: 0 0 auto; }
.mf-auth__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mf-404 .mf-auth__panel { text-align: center; }
.mf-404 .mf-auth__actions { justify-content: center; }

/* ---------- contact ---------- */

.mf-contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.mf-contact__photo { width: min(380px, 100%); aspect-ratio: 4 / 5; }
.mf-contact__list { display: grid; gap: 18px; margin: 34px 0 0; padding: 0; list-style: none; }
.mf-contact__list li { display: flex; align-items: flex-start; gap: 14px; }
.mf-contact__ico { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--rosegold); border-radius: 50%; color: var(--mauve); flex: 0 0 auto; }
.mf-contact__list small { display: block; color: var(--dim); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; }
.mf-contact__list li > span:last-child { display: grid; gap: 2px; font-size: 16px; word-break: break-word; }
.mf-contact__list a { color: var(--ink); font-weight: 500; }

/* ---------- about ---------- */

.mf-about-hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 0; text-align: center; overflow: clip; }
.mf-about-hero__copy { display: grid; justify-items: center; }
.mf-about-hero__title { font-family: var(--f-display); font-size: clamp(44px, 6.4vw, 92px); line-height: 1.02; }
.mf-about-hero__title em { font-family: var(--f-script); font-style: normal; font-size: 1.25em; color: var(--mauve); }
.mf-about-hero .mf-lead { margin: 26px auto 0; }
.mf-about-hero__text { margin: 16px auto 0; max-width: 58ch; color: var(--soft); }
.mf-arcade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 3vw, 34px); margin-top: clamp(40px, 6vw, 70px); padding-bottom: 14px; background-image: linear-gradient(0deg, var(--dusty) 0 14px, transparent 14px); }
.mf-arcade .mf-arch { aspect-ratio: 4 / 5.4; }

.mf-values__band { margin: 0 0 50px; overflow: hidden; border-radius: 30px; aspect-ratio: 21 / 8; }
.mf-values__band img { width: 100%; height: 100%; object-fit: cover; }
.mf-values__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin: 0; padding: 0; list-style: none; }
.mf-value { padding: 30px 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--shell); }
.mf-value__ico { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border: 1px solid var(--rosegold); border-radius: 50%; color: var(--mauve); }
.mf-value__title { font-family: var(--f-display); font-size: 26px; line-height: 1.15; }
.mf-value p { margin-top: 10px; color: var(--soft); }

/* ---------- back to top ---------- */

.mf-totop {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--mocha);
    color: var(--cream);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity .4s, transform .5s var(--ease), background .3s;
}
.mf-totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.mf-totop:hover { background: var(--mauve); }
/* ==========================================================================
   03 · CRM / CF7 forms, tables, policy prose, cookie, responsive, motion
   The CRM plugin and the parent theme render their own markup, so every
   field, button, notice and table is restyled here through .mf-form,
   .mf-table and .mf-prose wrappers.
   ========================================================================== */

/* ---------- forms ---------- */

.mf-form form { display: flex; flex-direction: column; gap: 16px; width: 100%; text-align: left; }
.mf-form p { margin: 0; }
.mf-form label { display: block; margin-bottom: 8px; color: var(--ink); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }

.mf-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),
.mf-form select,
.mf-form textarea {
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: #fffafa;
    color: var(--ink);
    font-family: inherit;
    font-size: 16px;
    outline: none;
    box-shadow: none;
    transition: border-color .3s, box-shadow .3s, background .3s;
}
.mf-form input:hover, .mf-form select:hover, .mf-form textarea:hover { border-color: rgba(59, 42, 42, .4); }
.mf-form input:focus, .mf-form select:focus, .mf-form textarea:focus {
    border-color: var(--mauve);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(142, 75, 92, .14);
}
.mf-form input[disabled], .mf-form input[readonly] { opacity: .7; }
.mf-form textarea { min-height: 150px; resize: vertical; }
.mf-form input::placeholder, .mf-form textarea::placeholder { color: var(--dim); opacity: 1; }
.mf-form input[type="checkbox"], .mf-form input[type="radio"] { width: 18px; height: 18px; accent-color: var(--mauve); }

/* Browser autofill keeps the paper field. !important is needed: the field
   rule above (:not() chain) out-specifies this and its box-shadow:none
   would otherwise let Chrome's light-blue fill show. */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--ink) !important;
    -webkit-box-shadow: 0 0 0 1000px #fff7f7 inset !important;
    box-shadow: 0 0 0 1000px #fff7f7 inset !important;
    caret-color: var(--ink);
    transition: background-color 600000s 0s, color 600000s 0s;
}
input:-webkit-autofill:focus,
textarea:-webkit-autofill:focus,
select:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #fff7f7 inset, 0 0 0 4px rgba(142, 75, 92, .14) !important;
    box-shadow: 0 0 0 1000px #fff7f7 inset, 0 0 0 4px rgba(142, 75, 92, .14) !important;
}
input:autofill, textarea:autofill, select:autofill { -webkit-text-fill-color: var(--ink) !important; }

.mf-form input[type="submit"],
.mf-form button[type="submit"],
.mf-form button.button,
.mf-form button.btn,
.mf-form .crm-btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 56px;
    padding: 12px 26px;
    border: 0;
    border-radius: 2px;
    background: var(--mocha);
    color: var(--cream);
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 16px 30px -18px rgba(59, 42, 42, .7);
    transition: background .4s, color .4s, transform .3s var(--ease), box-shadow .4s;
}
.mf-form input[type="submit"]:hover,
.mf-form button[type="submit"]:hover,
.mf-form button.button:hover,
.mf-form button.btn:hover,
.mf-form .crm-btn-primary:hover { background: var(--mauve); color: #fff; transform: translateY(-2px); }
.mf-form input[type="submit"]:active, .mf-form button[type="submit"]:active { transform: scale(.98); }

.mf-form--danger button[type="submit"],
.mf-form--danger input[type="submit"] { background: var(--mauve); color: #fff; }
.mf-form--danger button[type="submit"]:hover,
.mf-form--danger input[type="submit"]:hover { background: var(--mocha); }

.mf-form a { color: var(--mauve); }
.mf-form a:hover { color: var(--ink); }
.mf-form h1, .mf-form h2, .mf-form h3, .mf-form h4 { color: var(--ink); font-family: var(--f-display); font-weight: 400; }

.mf-form .wpcf7-not-valid-tip, .mf-form .error, .mf-form .crm-error { color: #9b2f3a; font-size: 14px; }
.mf-form .crm-error { padding: 12px 16px; border: 1px solid rgba(155, 51, 36, .3); border-radius: 14px; background: #fbe8ea; }

.mf-form .wpcf7-response-output,
.mf-form .crm-message,
.mf-form .crm-auth-messages:not(:empty) {
    margin: 0;
    padding: 12px 16px;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    color: var(--ink);
}
.mf-form .crm-auth-messages:empty { display: none; }
.mf-form .crm-button-loading { display: none; }

/* --- Contact Form 7 (contact + unsubscribe).
   The parent's contact.css / unsubscribe.css force their own fields, labels
   and a blue submit through `.wpcf7 form.contact-form …`; match that specificity. */
.mf-form .wpcf7 form.contact-form,
.mf-form .wpcf7 form.unsubscribe-form { max-width: none; margin: 0; font-family: inherit; }

.mf-form .wpcf7 form.contact-form label,
.mf-form .wpcf7 form.unsubscribe-form label { display: block; margin-bottom: 8px; color: var(--ink) !important; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }

.mf-form .wpcf7 form.contact-form input[type="text"],
.mf-form .wpcf7 form.contact-form input[type="email"],
.mf-form .wpcf7 form.contact-form input[type="tel"],
.mf-form .wpcf7 form.contact-form input[type="number"],
.mf-form .wpcf7 form.contact-form input[type="url"],
.mf-form .wpcf7 form.contact-form input[type="password"],
.mf-form .wpcf7 form.contact-form input[type="search"],
.mf-form .wpcf7 form.contact-form input[type="date"],
.mf-form .wpcf7 form.contact-form textarea,
.mf-form .wpcf7 form.contact-form select,
.mf-form .wpcf7 form.unsubscribe-form input[type="text"],
.mf-form .wpcf7 form.unsubscribe-form input[type="email"],
.mf-form .wpcf7 form.unsubscribe-form input[type="tel"],
.mf-form .wpcf7 form.unsubscribe-form textarea,
.mf-form .wpcf7 form.unsubscribe-form select {
    width: 100%;
    padding: 14px 16px;
    background: #fffafa !important;
    border: 1px solid var(--line-strong) !important;
    border-radius: 14px !important;
    color: var(--ink) !important;
    font-family: inherit;
    font-size: 16px;
}
.mf-form .wpcf7 form.contact-form input::placeholder,
.mf-form .wpcf7 form.contact-form textarea::placeholder,
.mf-form .wpcf7 form.unsubscribe-form input::placeholder { color: var(--dim) !important; }
.mf-form .wpcf7 form.contact-form input:focus,
.mf-form .wpcf7 form.contact-form textarea:focus,
.mf-form .wpcf7 form.contact-form select:focus,
.mf-form .wpcf7 form.unsubscribe-form input:focus,
.mf-form .wpcf7 form.unsubscribe-form textarea:focus {
    border-color: var(--mauve) !important;
    box-shadow: 0 0 0 4px rgba(142, 75, 92, .14) !important;
    outline: none;
}
.mf-form .wpcf7 form.contact-form textarea,
.mf-form .wpcf7 form.unsubscribe-form textarea { min-height: 150px; }

.mf-form .wpcf7 form.contact-form input[type="submit"],
.mf-form .wpcf7 form.unsubscribe-form input[type="submit"] {
    display: block;
    width: 100%;
    min-height: 56px;
    padding: 12px 26px;
    background: var(--mocha) !important;
    border: 0 !important;
    border-radius: 2px !important;
    color: var(--cream) !important;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    cursor: pointer;
}
.mf-form .wpcf7 form.contact-form input[type="submit"]:hover,
.mf-form .wpcf7 form.unsubscribe-form input[type="submit"]:hover { background: var(--mauve) !important; color: #fff !important; }
.mf-form--danger .wpcf7 form.unsubscribe-form input[type="submit"],
.mf-form--danger .wpcf7 form.contact-form input[type="submit"] { background: var(--mauve) !important; color: #fff !important; }
.mf-form--danger .wpcf7 form.unsubscribe-form input[type="submit"]:hover { background: var(--mocha) !important; color: var(--cream) !important; }

.mf-form .wpcf7 form.contact-form .wpcf7-not-valid-tip,
.mf-form .wpcf7 form.unsubscribe-form .wpcf7-not-valid-tip { color: #9b2f3a !important; font-size: 13px; }
.mf-form .wpcf7 form.contact-form .wpcf7-response-output,
.mf-form .wpcf7 form.unsubscribe-form .wpcf7-response-output {
    margin: 4px 0 0 !important;
    border: 1px solid var(--line-strong) !important;
    border-radius: 14px !important;
    background: var(--blush) !important;
    color: var(--ink) !important;
}
.mf-form .wpcf7 form.contact-form .wpcf7-mail-sent-ok,
.mf-form .wpcf7 form.unsubscribe-form .wpcf7-mail-sent-ok { background: #e8f1e6 !important; color: #2f5a2c !important; }
.mf-form .wpcf7 form.contact-form .wpcf7-validation-errors,
.mf-form .wpcf7 form.unsubscribe-form .wpcf7-validation-errors { background: #fbe8ea !important; color: #9b2f3a !important; }

.mf-form .captcha-cf7-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.mf-form .captcha-cf7-wrap > p { flex: 0 0 100%; margin: 0; }
.mf-form .captcha-cf7-wrap > p:empty { display: none; }
.mf-form .captcha-cf7-wrap .main-cf7-captcha { flex: 1 1 160px; }
.mf-form .captcha-cf7-wrap .main-cf7-captcha .wpcf7-form-control-wrap { display: block; }
.mf-form .wpcf7 form.contact-form #input-captcha-cf7 { margin: 0 !important; }
.mf-form .captcha-image-container { flex: 0 0 auto; margin: 0; gap: 10px; }
.mf-form .captcha-image-container img#captcha-image { height: 54px; width: auto; border: 1px solid var(--line-strong) !important; border-radius: 12px !important; }
.mf-form a#reload_captcha {
    width: 54px !important;
    height: 54px !important;
    background: var(--blush-2) !important;
    border: 1px solid var(--line-strong) !important;
    border-radius: 12px !important;
    color: var(--mauve) !important;
}
.mf-form a#reload_captcha:hover { background: var(--dusty) !important; }
.mf-form a#reload_captcha img.emoji { width: 20px; height: 20px; }
.mf-form .wpcf7-spinner { margin: 0 auto; }
.page-unsubscribe .unsubscribe-form label { color: var(--ink) !important; }
/* CF7 wraps its hidden inputs in a bordered <fieldset>; it showed as an empty
   box (and an extra flex gap) above the contact / unsubscribe fields. */
html body .hidden-fields-container,
html body .wpcf7 form fieldset.hidden-fields-container,
html body .mf-form .wpcf7 form.contact-form fieldset.hidden-fields-container,
html body .mf-form .wpcf7 form.unsubscribe-form fieldset.hidden-fields-container {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* --- CRM plugin forms: login, forgot / change password, profile, subscription.
   The plugin ships a white 400px card; the theme supplies the card, so flatten it. */
.mf-form .crm-login-form,
.mf-form .crm-forgot-password-form,
.mf-form .crm-change-password-form,
.mf-form .crm-user-dashboard,
.mf-form .crm-user-profile-edit {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
/* The auth pages already print a big heading — drop the plugin's own title. */
.mf-form--auth .crm-login-title,
.mf-form--auth .crm-forgot-password-title,
.mf-form--auth .crm-change-password-title { display: none; }

.mf-form .crm-field-group label,
.mf-form .crm-form-group label { color: var(--ink); font-size: 13px; font-weight: 500; }
.mf-form .crm-field-group,
.mf-form .crm-form-group { display: flex; flex-direction: column; width: 100%; margin-bottom: 0; }

.mf-form .crm-login-title,
.mf-form .crm-forgot-password-title,
.mf-form .crm-change-password-title { margin: 0; color: var(--ink); font-family: var(--f-display); font-size: 30px; font-weight: 400; line-height: 1.1; }
.mf-form .crm-forgot-password-description,
.mf-form .crm-change-password-description { margin: -4px 0 0; color: var(--soft); font-size: 15px; line-height: 1.6; }
.mf-form .crm-field-hint { display: block; margin-top: 6px; color: var(--dim); font-size: 13px; }

.mf-form .login-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.mf-form .login-actions .form-input-wrapper { margin: 0; }
.mf-form label.inline { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--soft); font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; cursor: pointer; }
.mf-form label.inline input[type="checkbox"] { margin: 0; flex-shrink: 0; }

/* "I forgot my password" ships as a.button — keep it a link, not a second CTA. */
.mf-form a.button,
.mf-form a.btn,
.mf-form .crm-back-to-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: auto;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: var(--mauve);
    font-size: 14px;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(142, 75, 92, .35);
}
.mf-form a.button:hover, .mf-form a.btn:hover, .mf-form .crm-back-to-login:hover { color: var(--ink); background: none; }
.mf-form .crm-forgot-password-footer { margin-top: 4px; text-align: center; }
/* The auth pages print their own "back to…" links under the card. */
.mf-form--auth .crm-forgot-password-footer { display: none; }
.mf-form .crm-forgot-password-description { text-align: left; }

.mf-form .crm-btn-secondary,
.mf-form .crm-btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 10px 24px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background .3s, color .3s, border-color .3s;
}
.mf-form .crm-btn-secondary { border: 1px solid var(--line-strong); background: transparent; color: var(--ink); }
.mf-form .crm-btn-secondary:hover { border-color: var(--mauve); color: var(--mauve); }
.mf-form .crm-btn-danger { border: 1px solid var(--mauve); background: transparent; color: var(--mauve); }
.mf-form .crm-btn-danger:hover { background: var(--mauve); color: #fff; }

.mf-form button:disabled,
.mf-form input[type="submit"]:disabled,
.mf-form .crm-login-button:disabled,
.mf-form .crm-reset-password-button:disabled,
.mf-form .crm-change-password-button:disabled { background: var(--pewter); color: var(--mocha); box-shadow: none; cursor: not-allowed; transform: none; }

.mf-form .crm-form-actions,
.mf-form .crm-subscription-actions,
.mf-form .crm-dashboard-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
.mf-form .crm-form-actions > *, .mf-form .crm-subscription-actions > * { flex: 1 1 auto; }

.mf-form .crm-profile-field,
.mf-form .crm-subscription-field {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 16px;
    padding: 12px 0;
    border-bottom: 1px dotted var(--pewter);
}
.mf-form .crm-profile-field:last-child, .mf-form .crm-subscription-field:last-child { border-bottom: 0; }
.mf-form .crm-profile-field label, .mf-form .crm-subscription-field label { margin: 0; color: var(--dim); font-size: 12px; font-weight: 500; }
.mf-form .crm-profile-field span, .mf-form .crm-subscription-field span { color: var(--ink); font-size: 15px; font-weight: 500; text-align: right; word-break: break-word; }

.mf-form .crm-user-info-section,
.mf-form .crm-subscription-section,
.mf-form .crm-dashboard-header,
.mf-form .crm-info-item { margin-bottom: 8px; padding: 0; border: 0; background: transparent; }
.mf-form .crm-user-info-section h4,
.mf-form .crm-subscription-section h4,
.mf-form .crm-dashboard-header h3 { color: var(--ink); }
.mf-form .crm-info-item label { color: var(--dim); }
.mf-form .crm-info-item span { color: var(--ink); }
.mf-form .crm-access-badge { background: var(--rose-2); color: var(--mauve); }

.mf-form .crm-subscription-item { padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--blush); }
.mf-form .crm-subscription-item + .crm-subscription-item { margin-top: 16px; }
.mf-form .crm-subscription-name { margin: 0 0 8px; color: var(--ink); font-family: var(--f-display); font-size: 24px; font-weight: 400; }
.mf-form .crm-subscription-field span.crm-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--blush-2);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: capitalize;
}
.mf-form .crm-subscription-field span.crm-status-active { background: #e6efe2; color: #36602f; }
.mf-form .crm-subscription-field span.crm-status-cancelled,
.mf-form .crm-subscription-field span.crm-status-canceled,
.mf-form .crm-subscription-field span.crm-status-expired,
.mf-form .crm-subscription-field span.crm-status-inactive { background: #fbe8ea; color: #9b2f3a; }
.mf-form .crm-subscription-field span.crm-status-pending,
.mf-form .crm-subscription-field span.crm-status-trial { background: #f6ecd9; color: #7a5a24; }

.mf-form .crm-login-required,
.mf-form .crm-no-access,
.mf-form .crm-logged-in-message,
.mf-form .crm-subscription-message,
.mf-form .crm-info { padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--blush); color: var(--soft); text-align: center; }
.mf-form .crm-login-required p, .mf-form .crm-no-access p { margin: 0 0 12px; }
.mf-form .crm-auth-message { margin: 0; }
.mf-form .crm-auth-warning { color: #7a5a24; }
.mf-form .crm-auth-info { color: #36602f; }

/* ---------- orders / invoice tables ---------- */

.mf-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 24px; background: var(--shell); }
.mf-table table { width: 100%; margin: 0; font-size: 15px; text-align: left; border-collapse: collapse; }
.mf-table thead tr, .mf-table table tr:first-child th { background: var(--mocha); color: var(--cream); }
.mf-table th { padding: 15px 22px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.mf-table td { padding: 16px 22px; color: var(--ink); border-bottom: 1px solid var(--line); }
.mf-table tbody tr { transition: background .3s; }
.mf-table tbody tr:hover { background: var(--blush); }
.mf-table .profile-orders { color: var(--ink); }
.mf-table .orders-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px; }
.mf-table .orders-header h2, .mf-table .orders-header h3 { margin: 0; color: var(--ink); font-family: var(--f-display); font-size: 28px; font-weight: 400; }
.mf-table .orders-table-container { overflow-x: auto; }
.mf-table .orders-empty, .mf-table .crm-orders-empty { padding: 34px 22px; color: var(--soft); text-align: center; }
.mf-table .product-info { display: flex; flex-direction: column; gap: 2px; }
.mf-table .order-invoice { font-weight: 500; white-space: nowrap; }
.mf-table .order-date { white-space: nowrap; color: var(--dim); }
.mf-table .order-actions { white-space: nowrap; }
.mf-table a, .mf-table button { color: var(--mauve); font-weight: 500; background: transparent; border: 0; cursor: pointer; }
.mf-table a:hover, .mf-table button:hover { color: var(--ink); text-decoration: underline; }
.mf-table .invoice-detail, .mf-table .invoice-container { padding: 24px; color: var(--ink); }

/* ---------- policy prose ---------- */

.mf-prose, .mf-prose p, .mf-prose li, .mf-prose td, .mf-prose th { color: var(--soft); line-height: 1.8; }
.mf-prose h1, .mf-prose h2, .mf-prose h3, .mf-prose h4 { margin: 1.6em 0 .6em; color: var(--ink); font-family: var(--f-display); font-weight: 400; line-height: 1.15; }
.mf-prose > :first-child, .mf-prose > div > :first-child { margin-top: 0; }
.mf-prose h1 { font-size: 38px; }
.mf-prose h2 { font-size: 31px; }
.mf-prose h3 { font-size: 24px; }
.mf-prose p { margin: 0 0 1em; }
.mf-prose ul, .mf-prose ol { margin: 0 0 1em 1.25em; padding: 0; list-style: revert; }
.mf-prose li::marker { color: var(--mauve-2); }
.mf-prose a { color: var(--mauve); text-decoration: underline; }
.mf-prose table { width: 100%; margin: 0 0 1em; border-collapse: collapse; }
.mf-prose td, .mf-prose th { padding: 8px 12px; border: 1px solid var(--line); }

/* Inline colours, <font> tags and grey fills in the CRM HTML are evened out
   so the policies read in the theme's own palette. */
.mf-prose [style*="color"], .mf-prose [style*="COLOR"], .mf-prose font, .mf-prose span, .mf-prose section, .mf-prose article { color: inherit !important; }
.mf-prose [style*="background"], .mf-prose [style*="BACKGROUND"] { background: transparent !important; background-color: transparent !important; }
.mf-prose h1[style], .mf-prose h2[style], .mf-prose h3[style], .mf-prose h4[style], .mf-prose h5[style], .mf-prose h6[style],
.mf-prose h1 span, .mf-prose h2 span, .mf-prose h3 span, .mf-prose h4 span, .mf-prose h5 span, .mf-prose h6 span,
.mf-prose h1 font, .mf-prose h2 font, .mf-prose h3 font, .mf-prose h4 font, .mf-prose h5 font, .mf-prose h6 font { color: var(--ink) !important; }
.mf-prose strong, .mf-prose b { color: var(--ink); font-weight: 500; }
.mf-prose a, .mf-prose a[style], .mf-prose a span, .mf-prose a font { color: var(--mauve) !important; }
.mf-prose .crm-privacy-policy, .mf-prose .crm-cookie-policy, .mf-prose .crm-subscription-policy, .mf-prose .crm-terms-of-service { max-width: none; color: var(--soft); background: transparent; }

/* The CRM pricing table forces a white ground with !important INLINE styles,
   so it is styled as a deliberate white island. Every selector here is
   >= (0,2,1) to outrank the prose rules above. */
.mf-prose div.dataTables_wrapper { margin: 0 0 1.5em; padding: 18px !important; overflow-x: auto; border: 1px solid var(--line-strong) !important; border-radius: 14px; font: inherit !important; }
.mf-prose div.dataTables_wrapper, .mf-prose div.dataTables_wrapper p, .mf-prose div.dataTables_wrapper li, .mf-prose div.dataTables_wrapper span, .mf-prose div.dataTables_wrapper div { color: var(--ink) !important; line-height: 1.6; }
.mf-prose div.dataTables_wrapper .product_name { margin: 0 0 14px; font-family: var(--f-display); font-size: 21px; font-weight: 400; line-height: 1.3; }
.mf-prose div.dataTables_wrapper table { width: 100% !important; min-width: 560px; margin: 0 !important; border: 0 !important; border-collapse: collapse !important; }
.mf-prose div.dataTables_wrapper table th { padding: 11px 14px !important; border: 0 !important; background-color: var(--mocha) !important; color: var(--cream) !important; font-weight: 500 !important; text-align: left !important; vertical-align: middle !important; white-space: nowrap; width: auto !important; }
.mf-prose div.dataTables_wrapper table th:first-child { border-radius: 8px 0 0 0; }
.mf-prose div.dataTables_wrapper table th:last-child { border-radius: 0 8px 0 0; }
.mf-prose div.dataTables_wrapper table td { padding: 11px 14px !important; border: 0 !important; border-bottom: 1px solid var(--line) !important; color: var(--ink) !important; vertical-align: middle !important; }
.mf-prose div.dataTables_wrapper table tbody tr, .mf-prose div.dataTables_wrapper table tbody tr td { background: transparent !important; }
.mf-prose div.dataTables_wrapper table a { color: var(--mauve) !important; }

/* ---------- cookie notice ---------- */

#cookie-modal.mf-cookie {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 70;
    width: min(540px, calc(100vw - 32px));
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--shell);
    box-shadow: var(--shadow);
    border-radius: 6px 6px 22px 22px;
}
#cookie-modal.hide-cookie { display: none; }
#cookie-modal .content { display: grid; grid-template-columns: 1fr; gap: 12px; }
#cookie-modal .cookie-title { margin: 0 0 6px; color: var(--ink); font-family: var(--f-display); font-size: 23px; font-weight: 400; }
#cookie-modal p { margin: 0; color: var(--soft); font-size: 14.5px; }
#cookie-modal a { color: var(--mauve); }
#cookie-modal .cookie-actions { display: flex; justify-content: flex-end; gap: 10px; }
.mf-cookie__btn {
    min-height: 46px;
    padding: 10px 24px;
    border: 0;
    border-radius: 999px;
    background: var(--mocha);
    color: var(--cream);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .3s, color .3s;
}
.mf-cookie__btn:hover { background: var(--mauve); color: #fff; }
.mf-cookie__btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.mf-cookie__btn--ghost:hover { background: var(--blush-2); color: var(--ink); }

/* ---------- admin-only notice ---------- */

.admin-notice { width: 100%; max-width: 900px; margin: 0 auto 30px; padding: 14px 18px; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--shell); color: var(--ink); font-size: 14px; }
.admin-notice a { color: var(--mauve); }

/* ---------- WordPress bits ---------- */

.mf-entry + .mf-entry { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); }
.mf-prose .nav-links { display: flex; gap: 12px; margin-top: 30px; }
.mf-prose .page-numbers { padding: 6px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; }
.mf-prose .page-numbers.current { background: var(--mocha); border-color: var(--mocha); color: var(--cream); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1180px) {
    .mf-menu__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
    .mf-head--split { grid-template-columns: 1fr; gap: 18px; }
    .mf-how__grid, .mf-coach__grid, .mf-faq__grid { grid-template-columns: 1fr; }
    .mf-builder, .mf-faq__aside { position: static; }
    .mf-faq__photo { display: none; }
    .mf-coach__arch { display: none; }
    .mf-daypanel { grid-template-columns: 1fr; }
    .mf-contact__grid { grid-template-columns: 1fr; }
    .mf-profile-page { grid-template-columns: 1fr; }
    .mf-sheet__card { grid-template-columns: 1fr; gap: 0; padding: 12px; }
    .mf-sheet__photo { position: relative; height: 240px; min-height: 0; border-radius: 999px 999px 16px 16px; }
    .mf-sheet__body { padding: 22px 10px 10px; }
    .mf-values__list { grid-template-columns: 1fr; }
    .mf-contact__photo { max-width: 300px; }
    .mf-linen__grid { grid-template-columns: 1fr; align-items: start; }
    .mf-linen__arch { display: none; }
    .mf-gate__groups { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 782px) {
    body.admin-bar .mf-top { top: 46px; }
}

@media (max-width: 720px) {
    :root { --header-h: 70px; }
    body.mf-body { font-size: 16px; }
    .mf-wrap, .mf-wrap--narrow, .mf-wrap--wide { width: calc(100% - 32px); }
    .mf-header__inner, .mf-linen__body { width: calc(100% - 32px); }
    .mf-header .mf-logo__name, .mf-linen__head .mf-logo__name, .mf-logo--footer .mf-logo__name { font-size: 17px; letter-spacing: .24em; padding-left: .24em; }
    .mf-header .mf-logo__mark svg, .mf-logo--footer .mf-logo__mark svg { width: 20px; height: 24px; }
    .mf-menubtn { gap: 8px; letter-spacing: .18em; font-size: 11.5px; }
    .mf-rect { height: 38px; padding: 0 14px; }
    .mf-rect__long { display: none; }
    .mf-rect__short { display: inline; }
    .mf-linen__head .mf-menubtn__label { display: none; }
    .mf-lead { font-size: 16.5px; }
    .mf-hero__stage { width: min(330px, 84vw); }
    .mf-hero__door--inner { width: calc(100% + 28px); top: -14px; }
    .mf-hero__door--outer { width: calc(100% + 60px); top: -30px; }
    .mf-hero__band { width: calc(100% - 24px); margin-top: -120px; padding: 24px 18px 78px; }
    .mf-hero__kicker { font-size: 10.5px; letter-spacing: .2em; }
    .mf-hero__breath { width: 128px; height: 128px; margin-top: -64px; }
    .mf-hero__actions .mf-btn { flex: 1 1 100%; }
    .mf-tag { letter-spacing: .14em; }
    .mf-menu__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
    .mf-dish { padding: 8px 8px 18px; }
    .mf-dish__body { padding: 14px 4px 0; }
    .mf-dish__name { font-size: 21px; }
    .mf-dish__note { display: none; }
    .mf-dish__tone { font-size: 22px; bottom: 10px; padding: 0 12px 4px; }
    .mf-leaders { margin: 12px 0 14px; }
    .mf-leaders div { flex-direction: column; align-items: center; padding: 3px 0; font-size: 12.5px; }
    .mf-leaders dt::after { display: none; }
    .mf-leaders dd { text-align: center; }
    .mf-dish .mf-link-btn { font-size: 11px; letter-spacing: .12em; }
    .mf-week__days { gap: 6px; }
    .mf-day::before { inset: 3px; }
    .mf-daypanel__day { font-size: 46px; }
    .mf-step { grid-template-columns: 72px 1fr; gap: 16px; }
    .mf-step__photo { width: 72px; height: 90px; }
    .mf-step__title { font-size: 22px; }
    .mf-builder__list li { grid-template-columns: 26px 1fr auto; }
    .mf-shuffle span { display: none; }
    .mf-exsheet__top .mf-dial--md { width: 86px; height: 86px; }
    .mf-exsheet__top .mf-dial--md .mf-dial__label strong { font-size: 19px; }
    .mf-setboxes { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
    .mf-logbtn { width: 100%; justify-content: center; margin-left: 0; }
    .mf-qa summary { grid-template-columns: 34px 1fr 32px; }
    .mf-qa__a { padding: 0 0 22px 46px; }
    .mf-cta__frame { min-height: 0; padding: 200px 12px 12px; border-radius: 24px; }
    .mf-cta__frame::after { border-radius: 16px; inset: 8px; }
    .mf-cta__actions .mf-btn { flex: 1 1 100%; }
    .mf-gate { width: calc(100% - 16px); padding: 90px 18px 34px; border-radius: 400px 400px 0 0; }
    .mf-gate::before { inset: 8px 8px 0; border-radius: 400px 400px 0 0; }
    .mf-page-hero__inner { grid-template-columns: 1fr 96px; gap: 16px; align-items: center; }
    .mf-page-hero--plain .mf-page-hero__inner { grid-template-columns: 1fr; }
    .mf-page-hero__arch { width: 96px; }
    .mf-page-hero__script { font-size: 34px; }
    .mf-arcade { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    .mf-breath--auth { width: 140px; height: 140px; }
    .mf-auth__note { font-size: 28px; }
    .mf-auth__actions .mf-btn { flex: 1 1 100%; }
    .mf-card__face { min-height: 230px; }
    .mf-values__band { aspect-ratio: 4 / 3; }
    #cookie-modal .cookie-actions { justify-content: stretch; }
    #cookie-modal .cookie-actions button { flex: 1; }
}

@media (max-width: 480px) {
    .mf-day__min { display: none; }
    .mf-day__name { font-size: 14px; }
}

@media (max-width: 400px) {
    .mf-filter { padding: 10px 14px; letter-spacing: .08em; }
    .mf-header .mf-logo__name { font-size: 15px; letter-spacing: .18em; }
}

/* ==========================================================================
   Reduced motion: everything visible and still; the breathing circles hold
   at mid size with both labels readable as "Inhale · Exhale".
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        animation-delay: 0s !important;
        transition-duration: .001ms !important;
        transition-delay: 0s !important;
        scroll-behavior: auto !important;
    }
    .js .mf-reveal, .js .mf-rise { opacity: 1; transform: none; animation: none; }
    .mf-breath__disc { animation: none !important; transform: scale(.86); }
    .mf-breath__in, .mf-breath__out { animation: none !important; opacity: 1; font-size: 14px; }
    .mf-breath__in { grid-area: 1 / 1; transform: translateY(-.7em); }
    .mf-breath__out { grid-area: 1 / 1; transform: translateY(.7em); }
    .mf-breath__label small { margin-top: 1.4em; }
}

/* CF7's response box (sent / validation notice) — hidden on request. */
html body .wpcf7 form .wpcf7-response-output,
html body .wpcf7-response-output { display: none !important; }
