/* TommyAPI homepage, cinematic motion edition (2026-11-27).
   Loads after chrome.css and explore-v3.css (catalog cards are shared with /models/). Everything here is scoped to
   body.mx-home, so the shared header/footer keep their own look on every other page. Motion is driven by motion.js
   (GSAP ScrollTrigger + Lenis); without JS, or with prefers-reduced-motion, every section is plainly visible. */


body.mx-home {
  --mx-bg: #07090d; --mx-bg2: #0c1017; --mx-panel: #10151d; --mx-ink: #f3eee5; --mx-muted: rgba(243,238,229,.68);
  --mx-dim: rgba(243,238,229,.46); --mx-line: rgba(243,238,229,.12); --mx-accent: #f2b35e; --mx-accent-2: #ffd9a1;
  --mx-serif: "MX Serif SC", "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  --mx-italic: "MX Instrument", "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --mx-sans: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --mx-ease: cubic-bezier(.16, 1, .3, 1);
  margin: 0; background: var(--mx-bg); color: var(--mx-ink); font-family: var(--mx-sans); -webkit-font-smoothing: antialiased;
}
body.mx-home main { display: block; overflow-x: clip; }
body.mx-home main a { color: inherit; }
body.mx-home ::selection { background: var(--mx-accent); color: #111; }
.mx-wrap { width: min(1240px, calc(100% - 96px)); margin: 0 auto; }
.mx-home .skip-link { position: absolute; left: -9999px; }
.mx-home .skip-link:focus { left: 16px; top: 12px; z-index: 200; padding: 8px 14px; background: #fff; color: #111; border-radius: 6px; }

/* shared header on this page: transparent over the film, dark glass after the film */
.mx-home .tm-header { position: fixed; left: 0; right: 0; top: 0; background: transparent; border-bottom: 1px solid transparent; backdrop-filter: none; transition: background-color .5s var(--mx-ease), border-color .5s var(--mx-ease), transform .5s var(--mx-ease); }
.mx-home.mx-scrolled .tm-header { background: rgba(7,9,13,.72); border-bottom-color: var(--mx-line); backdrop-filter: saturate(1.3) blur(14px); }
.mx-home .tm-header .tm-brand, .mx-home .tm-header .tm-nav a { color: var(--mx-ink); }
.mx-home .tm-header .tm-nav a { color: rgba(243,238,229,.78); }
.mx-home .tm-header .tm-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.mx-home .tm-header .tm-btn-quiet { background: transparent; color: var(--mx-ink); border-color: rgba(243,238,229,.28); }
.mx-home .tm-header .tm-btn-quiet:hover { background: rgba(255,255,255,.08); }
.mx-home .tm-header .tm-btn-primary { background: var(--mx-ink); color: #0b0d11; border-color: var(--mx-ink); }
.mx-home .tm-header .tm-btn-primary:hover { background: #fff; border-color: #fff; }
.mx-home .tm-menu summary { background: rgba(7,9,13,.5); border-color: rgba(243,238,229,.28); color: var(--mx-ink); }


/* ---------- 1. the film: scroll-scrubbed hero ---------- */
.mx-film { position: relative; height: 420vh; background: var(--mx-bg); }
.mx-film-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; }
.mx-film-poster, .mx-film-video { position: absolute; left: 0; top: 0; width: 114%; height: 100%; object-fit: cover; object-position: 50% 50%; transform-origin: 44% 55%; }
.mx-film-video { opacity: 0; transition: opacity .5s ease; }
.mx-film.is-video .mx-film-video { opacity: 1; }
.mx-film-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(7,9,13,.82) 0%, rgba(7,9,13,.55) 34%, rgba(7,9,13,.08) 62%, rgba(7,9,13,0) 100%),
              linear-gradient(0deg, rgba(7,9,13,.9) 0%, rgba(7,9,13,0) 30%), linear-gradient(180deg, rgba(7,9,13,.55) 0%, rgba(7,9,13,0) 18%); }
.mx-film-glow { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: .9;
  background: radial-gradient(380px 380px at var(--gx, 70%) var(--gy, 55%), rgba(255,206,140,.16), rgba(255,206,140,0) 70%); }
.mx-layer { position: absolute; left: 0; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; padding: 96px max(48px, calc((100vw - 1240px) / 2)) 120px; z-index: 2; }
.mx-js .mx-layer-b, .mx-js .mx-layer-c { opacity: 0; visibility: hidden; }
.mx-layer > * { max-width: 760px; }

.mx-status { align-self: flex-start; display: inline-flex; align-items: center; gap: 9px; margin-bottom: 30px; padding: 7px 14px; border: 1px solid rgba(243,238,229,.22); border-radius: 999px; background: rgba(7,9,13,.35); backdrop-filter: blur(8px); font-size: 13px; color: var(--mx-muted); text-decoration: none; transition: border-color .3s ease, color .3s ease; }
.mx-status:hover { border-color: rgba(243,238,229,.5); color: var(--mx-ink); }
.mx-status i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #5ad08a; }
.mx-status i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: rgba(90,208,138,.35); animation: mx-pulse 2.4s ease-out infinite; }
@keyframes mx-pulse { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.mx-eyebrow, .mx-kicker, .mx-film-kicker { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0; font-size: 13px; letter-spacing: .14em; color: var(--mx-dim); }
.mx-eyebrow em, .mx-kicker em, .mx-film-kicker em { white-space: nowrap; font-family: var(--mx-italic); font-style: italic; font-size: 22px; letter-spacing: 0; color: var(--mx-accent-2); }
.mx-film h1 { margin: 22px 0 0; font-family: var(--mx-serif); font-weight: 600; font-size: clamp(44px, 6vw, 86px); line-height: 1.1; letter-spacing: -.02em; color: var(--mx-ink); max-width: 11em; }
.mx-film h1 span { display: block; }
.mx-film h1 span + span { color: #ffd9a1; } /* unslop audit: solid warm light instead of gradient text */
.mx-lead { margin: 36px 0 0; font-size: 18px; line-height: 1.8; color: var(--mx-muted); max-width: 33em; }
.mx-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.mx-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 999px; font-size: 16px; font-weight: 650; text-decoration: none; white-space: nowrap; will-change: transform; transition: background-color .3s ease, border-color .3s ease, color .3s ease, box-shadow .4s ease; }
.mx-btn b { display: inline-block; font-weight: 500; transition: transform .4s var(--mx-ease); }
.mx-btn:hover b { transform: translateX(4px); }
.mx-btn-primary { background: var(--mx-accent); color: #14100a !important; box-shadow: 0 10px 40px rgba(242,179,94,.28); }
.mx-btn-primary:hover { background: #ffc477; box-shadow: 0 14px 56px rgba(242,179,94,.42); }
.mx-btn-ghost { border: 1px solid rgba(243,238,229,.32); color: var(--mx-ink) !important; background: rgba(7,9,13,.25); backdrop-filter: blur(6px); }
.mx-btn-ghost:hover { border-color: var(--mx-ink); background: rgba(243,238,229,.08); }
.mx-btn:focus-visible { outline: 3px solid var(--mx-accent-2); outline-offset: 3px; }
.mx-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 32px 0 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--mx-dim); }
.mx-trust li { display: inline-flex; align-items: center; gap: 8px; }
.mx-trust li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--mx-accent); }

.mx-film-line { margin: 22px 0 0; font-family: var(--mx-serif); font-weight: 600; font-size: clamp(40px, 5.6vw, 84px); line-height: 1.12; letter-spacing: -.02em; }
.mx-film-num { color: var(--mx-accent); font-variant-numeric: tabular-nums; }
.mx-film-sub { margin: 22px 0 0; font-size: 17.5px; line-height: 1.85; color: var(--mx-muted); max-width: 31em; }
.mx-film-code { display: inline-block; align-self: flex-start; margin-top: 28px; padding: 12px 18px; border: 1px solid rgba(242,179,94,.35); border-radius: 10px; background: rgba(7,9,13,.5); backdrop-filter: blur(8px); font: 500 14.5px/1.4 "SFMono-Regular", Consolas, "Liberation Mono", monospace; color: var(--mx-accent-2); }
.mx-layer-c .mx-btn { align-self: flex-start; margin-top: 32px; }
.mx-film-hud { position: absolute; left: max(48px, calc((100vw - 1240px) / 2)); right: max(48px, calc((100vw - 1240px) / 2)); bottom: 34px; z-index: 3; display: flex; align-items: center; gap: 22px; font-size: 12.5px; letter-spacing: .16em; color: var(--mx-dim); }
.mx-film-bar { flex: 1; height: 1px; background: rgba(243,238,229,.16); overflow: hidden; }
.mx-film-bar i { display: block; height: 100%; width: 100%; background: var(--mx-accent); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- 2. featured models: pinned horizontal track ---------- */
.mx-featured { position: relative; background: var(--mx-bg); }
.mx-featured-stage { padding: 120px 0 64px; overflow: hidden; }
.mx-featured-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: 52px; }
.mx-featured-side { max-width: 380px; }
.mx-note { margin: 0 0 14px; font-size: 14.5px; line-height: 1.75; color: var(--mx-muted); }
.mx-more { font-size: 15px; font-weight: 650; color: var(--mx-accent) !important; text-decoration: none; }
.mx-more:hover { text-decoration: underline; text-underline-offset: 5px; }
.mx-track-viewport { overflow: visible; }
.mx-track { display: flex; gap: 22px; width: max-content; padding: 0 max(48px, calc((100vw - 1240px) / 2)); will-change: transform; }
.mx-track .catalog-card { width: min(360px, 78vw); flex: none; border-color: rgba(243,238,229,.1); border-radius: 14px; background: #11161e; color: var(--mx-ink); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); transition: transform .5s var(--mx-ease), border-color .3s ease, box-shadow .5s ease; }
.mx-track .catalog-card:hover { transform: translateY(-8px); border-color: rgba(242,179,94,.45); box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(242,179,94,.2); }
.mx-track .model-media { background: #0d1117; }
.mx-track .model-cover { transition: transform 1.2s var(--mx-ease); }
.mx-track .catalog-card:hover .model-cover { transform: scale(1.05); }
.mx-track .catalog-card-body { color: var(--mx-ink); }
.mx-track .card-provider, .mx-track .card-price-note, .mx-track .card-chips span { color: var(--mx-dim) !important; }
.mx-track .card-chips span { border-color: rgba(243,238,229,.14) !important; background: transparent !important; }
.mx-track .catalog-card h3 a { color: var(--mx-ink) !important; }
.mx-track .card-price b { color: var(--mx-accent-2) !important; }
.mx-track .card-price span { color: var(--mx-dim) !important; }
.mx-track .card-foot { border-top-color: rgba(243,238,229,.1) !important; }
.mx-track-progress { margin-top: 44px; }
.mx-track-progress span { display: block; height: 2px; background: rgba(243,238,229,.12); border-radius: 2px; overflow: hidden; }
.mx-track-progress i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--mx-accent), var(--mx-accent-2)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- section scaffolding ---------- */
.mx-section { position: relative; padding: 150px 0; }
.mx-head { margin-bottom: 64px; }
.mx-head h2, .mx-featured-head h2, .mx-cta h2 { margin: 18px 0 0; font-family: var(--mx-serif); font-weight: 600; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.15; letter-spacing: -.02em; color: var(--mx-ink); }
.mx-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: end; }
.mx-split > p { margin: 0; font-size: 16.5px; line-height: 1.85; color: var(--mx-muted); }
.mx-line-mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.mx-line-mask > span { display: inline-block; will-change: transform; }

/* ---------- 3. why: word-by-word lighting ---------- */
.mx-why { background: linear-gradient(180deg, var(--mx-bg) 0%, var(--mx-bg2) 100%); }
.mx-why-statement { margin: 34px 0 0; max-width: 23em; font-family: var(--mx-serif); font-weight: 600; font-size: clamp(30px, 3.7vw, 54px); line-height: 1.42; letter-spacing: -.01em; color: var(--mx-ink); }
.mx-why-statement .mx-w { color: rgba(243,238,229,.16); transition: color .2s linear; }
.mx-why-statement .mx-w.is-lit { color: var(--mx-ink); }
.mx-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 110px; }
.mx-col { position: relative; padding: 34px 30px 32px; border: 1px solid var(--mx-line); border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0)); }
.mx-col-no { font-family: var(--mx-italic); font-style: italic; font-size: 26px; color: var(--mx-accent); }
.mx-col h3 { margin: 26px 0 0; font-size: 22px; font-weight: 650; letter-spacing: -.01em; }
.mx-col p { margin: 14px 0 0; font-size: 15px; line-height: 1.85; color: var(--mx-muted); }
.mx-col a { display: inline-block; margin-top: 22px; font-size: 14.5px; font-weight: 650; color: var(--mx-accent-2) !important; text-decoration: none; }
.mx-col a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- 4. kinds: clip-path reveals + counters ---------- */
.mx-kinds { background: var(--mx-bg2); }
.mx-kind-list { display: flex; flex-direction: column; gap: 120px; }
.mx-kind { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 72px; align-items: center; }
.mx-kind:nth-child(even) .mx-kind-media { order: 2; }
.mx-kind-media { position: relative; border-radius: 18px; overflow: hidden; background: #0e131a; aspect-ratio: 3 / 2; }
.mx-kind-media figure { margin: 0; height: 100%; }
.mx-kind-media img { display: block; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; }
.mx-kind-media figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 10px; border-radius: 999px; background: rgba(7,9,13,.66); backdrop-filter: blur(6px); font-size: 12px; color: var(--mx-muted); }
.mx-kind-tag { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 13px; letter-spacing: .12em; color: var(--mx-dim); }
.mx-kind-tag b { padding: 4px 12px; border: 1px solid rgba(242,179,94,.4); border-radius: 999px; color: var(--mx-accent-2); font-weight: 600; letter-spacing: .06em; }
.mx-kind-count { display: flex; align-items: baseline; gap: 12px; margin: 26px 0 0; height: 1.05em; font-family: var(--mx-italic); font-style: italic; font-size: clamp(64px, 7vw, 112px); line-height: 1; color: var(--mx-ink); }
.mx-kind-count b { font-weight: 400; font-variant-numeric: tabular-nums; min-width: 1.2ch; }
.mx-kind-count span { font-family: var(--mx-sans); font-style: normal; font-size: 15px; letter-spacing: .1em; color: var(--mx-dim); }
.mx-kind h3 { margin: 26px 0 0; font-family: var(--mx-serif); font-weight: 600; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.01em; }
.mx-kind-body > p:not(.mx-kind-tag):not(.mx-kind-count) { margin: 16px 0 0; font-size: 16px; line-height: 1.9; color: var(--mx-muted); }
.mx-kind-body p a { color: var(--mx-ink) !important; text-decoration: underline; text-decoration-color: rgba(242,179,94,.5); text-underline-offset: 4px; }
.mx-kind-body p a:hover { text-decoration-color: var(--mx-accent); }
.mx-num { font-weight: 650; color: var(--mx-ink); }
.mx-kind-body > a { display: inline-block; margin-top: 24px; font-size: 15px; font-weight: 650; color: var(--mx-accent) !important; text-decoration: none; }
.mx-kind-body > a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- 5. ops tiles: cursor spotlight + tilt ---------- */
.mx-ops { background: var(--mx-bg); }
.mx-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; perspective: 1000px; }
.mx-tile { --mx-x: 50%; --mx-y: 50%; position: relative; display: flex; flex-direction: column; min-height: 300px; padding: 30px 26px; border: 1px solid var(--mx-line); border-radius: 18px; background: var(--mx-panel); color: var(--mx-ink); text-decoration: none; overflow: hidden; transform-style: preserve-3d; transition: border-color .3s ease, transform .6s var(--mx-ease); }
.mx-tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(320px circle at var(--mx-x) var(--mx-y), rgba(242,179,94,.20), rgba(242,179,94,0) 60%); opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.mx-tile:hover { border-color: rgba(242,179,94,.4); }
.mx-tile:hover::before { opacity: 1; }
.mx-tile-no { font-family: var(--mx-italic); font-style: italic; font-size: 40px; line-height: 1; color: rgba(243,238,229,.22); transition: color .4s ease; }
.mx-tile:hover .mx-tile-no { color: var(--mx-accent); }
.mx-tile h3 { margin: auto 0 0; padding-top: 40px; font-size: 21px; font-weight: 650; }
.mx-tile p { margin: 12px 0 0; font-size: 14.5px; line-height: 1.8; color: var(--mx-muted); }
.mx-tile-go { margin-top: 20px; font-size: 14px; font-weight: 650; color: var(--mx-accent-2); }

/* ---------- 6. steps + code ---------- */
.mx-steps-sec { background: linear-gradient(180deg, var(--mx-bg) 0%, var(--mx-bg2) 100%); }
.mx-steps-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.mx-steps { position: relative; margin: 0; padding: 0 0 0 4px; list-style: none; }
.mx-steps::before { content: ""; position: absolute; left: 25px; top: 10px; bottom: 10px; width: 1px; background: var(--mx-line); }
.mx-steps::after { content: ""; position: absolute; left: 25px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(var(--mx-accent), var(--mx-accent-2)); transform-origin: 50% 0; transform: scaleY(var(--mx-steps, 1)); }
.mx-js .mx-steps::after { transform: scaleY(var(--mx-steps, 0)); }
.mx-steps li { position: relative; display: flex; gap: 26px; padding: 0 0 46px; }
.mx-steps li > span { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--mx-line); background: var(--mx-bg); font-size: 13px; font-weight: 650; color: var(--mx-dim); transition: border-color .4s ease, color .4s ease, box-shadow .4s ease; }
.mx-steps li.is-on > span { border-color: var(--mx-accent); color: var(--mx-accent-2); box-shadow: 0 0 24px rgba(242,179,94,.35); }
.mx-steps h3 { margin: 9px 0 0; font-size: 20px; font-weight: 650; }
.mx-steps p { margin: 10px 0 0; font-size: 15px; line-height: 1.8; color: var(--mx-muted); }
.mx-code { position: sticky; top: 110px; border: 1px solid var(--mx-line); border-radius: 18px; background: #0a0e14; overflow: hidden; box-shadow: 0 40px 90px -40px rgba(0,0,0,.9); }
.mx-code-head { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--mx-line); font-size: 12.5px; color: var(--mx-dim); }
.mx-code-head i { width: 10px; height: 10px; border-radius: 50%; background: rgba(243,238,229,.14); }
.mx-code-head span { margin-left: 10px; letter-spacing: .06em; }
.mx-code pre { margin: 0; padding: 26px 24px; overflow-x: auto; font: 13.5px/1.75 "SFMono-Regular", Consolas, "Liberation Mono", monospace; color: #e8e2d6; }
.mx-code p { margin: 0; padding: 16px 24px 20px; border-top: 1px solid var(--mx-line); font-size: 14px; line-height: 1.75; color: var(--mx-muted); }
.mx-code p a { color: var(--mx-accent-2) !important; }

/* ---------- 7. FAQ ---------- */
.mx-faq-sec { background: var(--mx-bg2); }
.mx-faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.mx-faq-wrap .mx-head { position: sticky; top: 110px; }
.mx-faq details { border-top: 1px solid var(--mx-line); }
.mx-faq details:last-child { border-bottom: 1px solid var(--mx-line); }
.mx-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 600; color: var(--mx-ink); transition: color .3s ease; }
.mx-faq summary::-webkit-details-marker { display: none; }
.mx-faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--mx-accent), var(--mx-accent)) center/14px 1.5px no-repeat, linear-gradient(var(--mx-accent), var(--mx-accent)) center/1.5px 14px no-repeat; transition: transform .45s var(--mx-ease); }
.mx-faq details[open] summary::after { transform: rotate(45deg); }
.mx-faq summary:hover { color: var(--mx-accent-2); }
.mx-faq details p { margin: 0; padding: 0 40px 28px 0; font-size: 15.5px; line-height: 1.9; color: var(--mx-muted); }
.mx-faq details p a { color: var(--mx-accent-2) !important; }

/* ---------- 8. closing CTA ---------- */
.mx-cta { position: relative; padding: 190px 0 170px; overflow: hidden; isolation: isolate; text-align: center; }
.mx-cta-bg { position: absolute; inset: -8% 0; z-index: -1; }
.mx-cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.mx-cta-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 50%, rgba(7,9,13,.35), rgba(7,9,13,.92) 80%), linear-gradient(180deg, var(--mx-bg2) 0%, rgba(7,9,13,0) 25%, rgba(7,9,13,0) 70%, var(--mx-bg) 100%); }
.mx-cta-inner .mx-kicker { justify-content: center; }
.mx-cta h2 { font-size: clamp(38px, 5.4vw, 80px); }
.mx-cta-inner > p:not(.mx-kicker):not(.mx-cta-help) { margin: 26px auto 0; max-width: 30em; font-size: 18px; line-height: 1.8; color: var(--mx-muted); }
.mx-cta .mx-actions { justify-content: center; margin-top: 44px; }
.mx-cta-help { margin: 34px 0 0; font-size: 14px; color: var(--mx-dim); }
.mx-cta-help a { color: var(--mx-accent-2) !important; }

/* shared footer on this page */
.mx-home .geo-updated { margin: 0; padding: 22px 0 0; font-size: 12.5px; color: var(--mx-dim); }
.mx-home .pg-wrap-wide { width: min(1240px, calc(100% - 96px)); margin: 0 auto; }
.mx-home .tm-footer { margin-top: 0; background: var(--mx-bg); border-top-color: var(--mx-line); color: var(--mx-dim); }
.mx-home .tm-footer h2, .mx-home .tm-footer .tm-brand { color: var(--mx-ink); }
.mx-home .tm-footer-grid a:not(.tm-brand), .mx-home .tm-footer-brand p, .mx-home .tm-footer-brand a { color: var(--mx-dim); }
.mx-home .tm-footer-grid a:not(.tm-brand):hover { color: var(--mx-ink); }
.mx-home .tm-footer-bottom { border-top-color: var(--mx-line); color: rgba(243,238,229,.4); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .mx-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mx-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .mx-wrap, .mx-home .pg-wrap-wide { width: calc(100% - 40px); }
  .mx-split, .mx-steps-layout, .mx-faq-wrap, .mx-kind { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .mx-kind:nth-child(even) .mx-kind-media { order: 0; }
  .mx-faq-wrap .mx-head, .mx-code { position: static; }
  .mx-section { padding: 100px 0; }
  .mx-kind-list { gap: 84px; }
}
@media (max-width: 760px) {
  .mx-film { height: 300vh; }
  .mx-layer { justify-content: flex-end; padding: 88px 20px 96px; }
  .mx-film-poster, .mx-film-video { width: 100%; object-position: 50% 50%; transform-origin: 50% 50%; }
  .mx-film-shade { background: linear-gradient(0deg, rgba(7,9,13,.94) 0%, rgba(7,9,13,.7) 42%, rgba(7,9,13,.1) 72%), linear-gradient(180deg, rgba(7,9,13,.6) 0%, rgba(7,9,13,0) 20%); }
  .mx-status { margin-bottom: 20px; font-size: 12px; }
  .mx-film h1 { font-size: clamp(38px, 11vw, 52px); }
  .mx-lead { font-size: 15.5px; margin-top: 24px; }
  .mx-eyebrow span { flex-basis: 100%; }
  .mx-actions { margin-top: 26px; gap: 10px; }
  .mx-btn { min-height: 50px; padding: 0 22px; font-size: 15px; }
  .mx-trust { margin-top: 22px; font-size: 12.5px; gap: 8px 16px; }
  .mx-film-line { font-size: clamp(34px, 10vw, 46px); }
  .mx-film-sub { font-size: 15.5px; }
  .mx-film-code { font-size: 12.5px; }
  .mx-film-hud { left: 20px; right: 20px; bottom: 26px; }
  .mx-film-hint { display: none; }
  .mx-featured-stage { padding: 90px 0 40px; }
  .mx-track-viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .mx-track-viewport::-webkit-scrollbar { display: none; }
  .mx-track { padding: 0 20px; gap: 14px; }
  .mx-track .catalog-card { scroll-snap-align: center; }
  .mx-track-progress { display: none; }
  .mx-tiles { grid-template-columns: minmax(0, 1fr); }
  .mx-tile { min-height: 0; }
  .mx-tile h3 { padding-top: 24px; }
  .mx-head { margin-bottom: 40px; }
  .mx-cols { margin-top: 64px; }
  .mx-cta { padding: 130px 0 120px; }
  .mx-faq summary { font-size: 16.5px; padding: 22px 0; }
  .mx-faq details p { padding-right: 0; }
}

/* reduced motion: poster + text, no scrubbing, no pinning, simple fades */
@media (prefers-reduced-motion: reduce) {
  .mx-film { height: auto; }
  .mx-film-stage { position: relative; height: auto; min-height: 100svh; }
  .mx-film-video, .mx-film-glow, .mx-film-hud, .mx-cursor { display: none !important; }
  .mx-layer { position: relative; inset: auto; min-height: 100svh; opacity: 1 !important; visibility: visible !important; transform: none !important; }
  .mx-layer-b, .mx-layer-c { min-height: 70svh; }
  .mx-why-statement .mx-w { color: var(--mx-ink); }
  .mx-js .mx-steps::after { transform: scaleY(1); }
  .mx-home *, .mx-home *::before, .mx-home *::after { transition-duration: .01ms !important; animation: none !important; }
  .mx-js .mx-curtain { display: none; }
}

/* the pinned track measures its cards: keep them rendered */
.mx-track .catalog-card { content-visibility: visible; }

/* ======================= 18:00 checklist: homepage extras ======================= */
.mx-film-line, .mx-film-sub, .mx-film h1, .mx-lead { text-shadow: 0 2px 28px rgba(7,9,13,.55); }
.mx-eyebrow em { display: inline-flex; perspective: 400px; min-width: 7.5em; }
.mx-mc { display: inline-block; transform-origin: 50% 100%; }
.mx-film-line { perspective: 800px; }

/* sections share one page colour that GSAP hands from section to section */
body.mx-home main { background: #07090d; }
.mx-home .mx-featured, .mx-home .mx-why, .mx-home .mx-kinds, .mx-home .mx-ops, .mx-home .mx-steps-sec, .mx-home .mx-faq-sec { background: transparent; }

/* keyboard that presses along with the typewriter */
.mx-kb { display: grid; gap: 6px; padding: 16px 20px 20px; border-top: 1px solid var(--mx-line); user-select: none; }
.mx-kb div { display: flex; gap: 6px; justify-content: center; }
.mx-kb i { font: 500 11px/1 "SFMono-Regular", Consolas, monospace; font-style: normal; color: var(--mx-dim); display: grid; place-items: center; width: 28px; height: 28px;
  border: 1px solid var(--mx-line); border-radius: 6px; background: #0d1219; box-shadow: 0 2px 0 rgba(0,0,0,.5); transition: transform .12s var(--mx-feel, ease), background-color .12s, color .12s, box-shadow .12s; }
.mx-kb i.mx-kb-space { width: 180px; } .mx-kb i.mx-kb-wide { width: 64px; }
.mx-kb i.is-down { transform: translateY(2px); background: var(--mx-accent); color: #14100a; box-shadow: 0 0 18px rgba(242,179,94,.55); }
.mx-code code.is-typing::after { content: "▍"; color: var(--mx-accent); animation: mx-caret 1s steps(1) infinite; }
@keyframes mx-caret { 50% { opacity: 0; } }
@media (max-width: 760px) { .mx-kb { display: none; } }

/* infinite marquee */
.mx-marquee { overflow: hidden; padding: 34px 0; border-top: 1px solid var(--mx-line); border-bottom: 1px solid var(--mx-line); }
.mx-mq-track { display: flex; width: max-content; will-change: transform; }
.mx-mq-row { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.mx-mq-row span { font-family: var(--mx-italic); font-style: italic; font-size: clamp(34px, 4.4vw, 64px); color: var(--mx-ink); white-space: nowrap; }
.mx-mq-row span:nth-child(4n+1) { color: transparent; -webkit-text-stroke: 1px color-mix(in oklch, var(--mx-ink) 45%, transparent); }
.mx-mq-row b { color: var(--mx-accent); font-size: 22px; font-weight: 400; }

/* closing scene layers */
.mx-cta-bg { will-change: clip-path; }
.mx-cta-mid { position: absolute; inset: -20% 0; z-index: -1; pointer-events: none; opacity: .7; mix-blend-mode: screen;
  background:
    radial-gradient(2px 2px at 12% 30%, #ffd9a1, transparent), radial-gradient(1.5px 1.5px at 28% 70%, #f2b35e, transparent),
    radial-gradient(2px 2px at 46% 20%, #ffd9a1, transparent), radial-gradient(1.5px 1.5px at 63% 58%, #f2b35e, transparent),
    radial-gradient(2.5px 2.5px at 78% 34%, #ffe7c4, transparent), radial-gradient(1.5px 1.5px at 88% 76%, #f2b35e, transparent),
    radial-gradient(2px 2px at 36% 88%, #ffd9a1, transparent), radial-gradient(1.5px 1.5px at 6% 62%, #f2b35e, transparent); }

/* mesh light slowly flowing behind the "why" statement */
.mx-why { isolation: isolate; overflow: hidden; }
.mx-why::before { content: ""; position: absolute; inset: -30%; z-index: -1; pointer-events: none; opacity: .55; filter: blur(60px);
  background: radial-gradient(40% 35% at 20% 30%, rgba(242,179,94,.16), transparent 70%), radial-gradient(35% 40% at 80% 60%, rgba(70,110,200,.18), transparent 70%),
              radial-gradient(30% 30% at 50% 90%, rgba(242,179,94,.10), transparent 70%);
  animation: mx-mesh 22s ease-in-out infinite alternate; }
@keyframes mx-mesh { to { transform: translate3d(6%, -4%, 0) rotate(8deg) scale(1.1); } }

/* picture that follows the pointer over model names */
.mx-hover-img { position: fixed; left: 0; top: 0; z-index: 80; width: 220px; height: 146px; object-fit: cover; border-radius: 12px; pointer-events: none;
  opacity: 0; transform: scale(.85); box-shadow: 0 24px 60px rgba(0,0,0,.55); transition: opacity .3s ease, scale .4s cubic-bezier(.2,.8,.2,1); scale: .85; }
.mx-hover-img.is-on { opacity: 1; scale: 1; }

/* embers canvas */
.mx-embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; mix-blend-mode: screen; }

/* phones: the film is a canvas frame sequence */
.mx-film-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .5s ease; }
.mx-film.is-frames .mx-film-canvas { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .mx-why::before { animation: none; }
  .mx-marquee .mx-mq-track { transform: none !important; }
}

/* footer curtain: the page lifts off a footer that waits underneath (desktop) */
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  body.mx-home main { position: relative; z-index: 2; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
  body.mx-home .pg-wrap-wide:has(.geo-updated) { position: relative; z-index: 2; background: #07090d; padding-bottom: 18px; }
  body.mx-home .tm-footer { position: sticky; bottom: 0; z-index: 1; }
}

/* first screen: staggered blur-rise straight from CSS (no wait for JS); the picture settles from a slight push */
@media (prefers-reduced-motion: no-preference) {
  .mx-film h1 span { animation: mx-rise-blur 1.4s cubic-bezier(.16,1,.3,1) both; }
  .mx-film h1 span:nth-child(1) { animation-delay: .2s; } .mx-film h1 span:nth-child(2) { animation-delay: .34s; }
  .mx-layer-a .mx-status, .mx-layer-a .mx-eyebrow, .mx-layer-a .mx-lead, .mx-layer-a .mx-actions, .mx-layer-a .mx-trust { animation: mx-rise 1.2s cubic-bezier(.16,1,.3,1) both; }
  .mx-layer-a .mx-status { animation-delay: .1s; } .mx-layer-a .mx-eyebrow { animation-delay: .16s; } .mx-layer-a .mx-lead { animation-delay: .5s; }
  .mx-layer-a .mx-actions { animation-delay: .6s; } .mx-layer-a .mx-trust { animation-delay: .7s; }
  .mx-film-pic img { animation: mx-settle 2.4s cubic-bezier(.16,1,.3,1) both; }
  @keyframes mx-settle { from { scale: 1.08; } }
}

/* phones: sections below the film are not rendered until they come near the screen */
@media (max-width: 760px) { .mx-section, .mx-cta, .mx-featured { content-visibility: auto; contain-intrinsic-size: auto 1100px; } .mx-why::before { animation: none; } }

/* ======================= gate p07 round 1 fixes (home) ======================= */
/* film end: the frame recedes and dims, the next section rises out of the same dark */
.mx-film-stage { transform-origin: 50% 40%; will-change: transform; }
.mx-film-stage::after { content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none; background: #07090d; opacity: calc(var(--mx-end, 0) * .85); }
.mx-film-sub, .mx-layer p { text-shadow: 0 1px 18px rgba(7,9,13,.9), 0 0 2px rgba(7,9,13,.8); }
/* reading sizes at 1440: body copy 16px, card meta 14px, brighter greys */
@media (min-width: 761px) {
  .mx-tile p, .mx-step p, .mx-kind p, .mx-featured-side p, .mx-lead, .mx-faq-sec .faq-item p { font-size: 16px !important; line-height: 1.75; color: rgba(243,238,229,.78) !important; }
  .mx-track .card-provider, .mx-track .card-price-note, .mx-track .card-chips span { font-size: 13.5px !important; color: rgba(243,238,229,.66) !important; }
  .mx-track .catalog-card h3, .mx-track .catalog-card h3 a { font-size: 19px !important; }
  .mx-track .card-price b { font-size: 22px !important; }
}

/* compositing budget: no backdrop blur and no blend modes anywhere. Measured in software GL (no GPU) the home page ran at
   12 fps with them and 52 fps without; on low-end laptops they cost the same way. Glass becomes solid tinted panels. */
*, *::before, *::after { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.mx-film-glow, .mx-cta-mid, .mx-embers, .mx-cursor, .mx-grain { mix-blend-mode: normal !important; }
.mx-film-glow { opacity: .55 !important; }
.mx-embers { opacity: .8; }
.mx-grain { display: none !important; }
.tm-header { background: rgba(7, 9, 13, .86) !important; }
.mx-status, .mx-btn-ghost, .mx-film-code { background: rgba(12, 15, 22, .78) !important; }
.explore-hero .explore-search { background: rgba(7, 9, 13, .82) !important; }

/* ======================= gate p07 round 2 fixes (home) ======================= */
/* shorter film: every scroll step moves the camera visibly */
@media (min-width: 761px) {
  .mx-film { height: 280vh !important; }
  /* the next section slides up over the receding film instead of following a black gap */
  .mx-film + * { position: relative; z-index: 3; margin-top: -60vh; padding-top: 0; }
  .mx-film + *::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 60vh; pointer-events: none; z-index: -1;
    background: linear-gradient(180deg, rgba(7,9,13,0) 0%, rgba(7,9,13,.7) 55%, var(--mx-bg, #07090d) 100%); }
  .mx-film-stage::after { opacity: calc(var(--mx-end, 0) * .45) !important; }
  /* the last title sits on its own shadow, away from the bright vortex core */
  .mx-layer-c::before { content: ""; position: absolute; z-index: -1; left: -8vw; top: 50%; width: 70vw; height: 90vh; transform: translateY(-50%); pointer-events: none;
    background: radial-gradient(closest-side, rgba(7,9,13,.78), rgba(7,9,13,.45) 55%, rgba(7,9,13,0)); }
  .mx-layer p, .mx-film-sub { color: rgba(243,238,229,.86) !important; }
  .mx-why-statement .mx-w { color: rgba(243,238,229,.3); }
}

/* p07 round 3: tighter section rhythm so no screen is empty dark between sections */
@media (min-width: 761px) { .mx-section { padding: 112px 0; } .mx-featured-stage { padding-bottom: 32px; } }

@media (min-width: 761px) { .mx-why-statement .mx-w { color: rgba(243,238,229,.55) !important; } .mx-why-statement .mx-w.is-lit { color: var(--mx-ink) !important; } }

/* ======================= gate p07 round 4 (home): real names, live prices, real samples ======================= */
.mx-hero-prices { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; min-height: 34px; margin: 22px 0 0; font-size: 14px; }
.mx-hp-label { color: rgba(243,238,229,.6); margin-right: 4px; }
.mx-hero-prices a { display: inline-flex; align-items: baseline; gap: 8px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(243,238,229,.18);
  background: rgba(7,9,13,.55); color: #f3eee5; text-decoration: none; opacity: 0; transform: translate3d(0, 10px, 0);
  animation: mx-hp-in .7s cubic-bezier(.16, 1, .3, 1) forwards; transition: border-color .3s ease, transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.mx-hero-prices a:nth-of-type(1) { animation-delay: .9s; } .mx-hero-prices a:nth-of-type(2) { animation-delay: 1s; }
.mx-hero-prices a:nth-of-type(3) { animation-delay: 1.1s; } .mx-hero-prices a:nth-of-type(4) { animation-delay: 1.2s; }
@keyframes mx-hp-in { to { opacity: 1; transform: none; } }
.mx-hero-prices a:hover { border-color: var(--mx-accent-2); }
.mx-hero-prices b { font: 600 13.5px/1 ui-monospace, "Cascadia Code", Consolas, monospace; }
.mx-hero-prices i { font-style: normal; color: #ffd9a1; font-weight: 600; }
/* behind the door: the real outputs, fanned out and rising one by one */
.mx-film-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 26px 0 26px; max-width: 760px; }
.mx-film-wall figure { margin: 0; position: relative; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.45);
  transform: translate3d(0, calc(var(--i) % 2 * 18px), 0); animation: mx-wall-in 1s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--i) * 90ms); }
.mx-film-wall img { width: 100%; height: 100%; object-fit: cover; }
.mx-film-wall figcaption { position: absolute; left: 6px; right: 6px; bottom: 6px; font: 600 11px/1.2 ui-monospace, Consolas, monospace; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.9);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes mx-wall-in { from { opacity: 0; transform: translate3d(0, 40px, 0) scale(.92); } }
@media (max-width: 760px) { .mx-film-wall { display: none; } .mx-hero-prices { font-size: 13px; } }

/* Lenis' required CSS (lenis.css 1.3.x): without it native smooth-scroll fights the per-frame scrollTo */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis.lenis-smooth, .lenis.lenis-smooth * { scroll-behavior: auto !important; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
/* looping decoration rests while its section is off screen (site-motion.js toggles .mx-off) */
.mx-off, .mx-off *, .mx-off::before, .mx-off::after, .mx-off *::before, .mx-off *::after { animation-play-state: paused !important; }

/* ======================= first screen: the real product in front, the gate as atmosphere ======================= */
.mx-screens { display: none; }
@media (min-width: 761px) {
  .mx-screens { display: block; position: absolute; z-index: 3; top: 96px; right: 3vw; width: 50vw; max-width: 760px; height: calc(100% - 170px); perspective: 1400px; pointer-events: none; }
  .mx-screens-rig { position: relative; width: 100%; height: 100%; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr auto; gap: 12px;
    transform: rotateY(-14deg) rotateX(5deg); transform-origin: 0% 50%; transform-style: preserve-3d; will-change: transform, opacity; }
  .mx-screen { margin: 0; position: relative; border-radius: 14px; overflow: hidden; background: #0d1016; border: 1px solid rgba(243,238,229,.16);
    box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(242,179,94,.08); }
  .mx-screen-main { grid-column: 1 / -1; animation: mx-screen-in 1.2s cubic-bezier(.16, 1, .3, 1) .2s both; }
  .mx-screen-main video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
  .mx-screen-s { aspect-ratio: 4 / 5; animation: mx-screen-in 1s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(.5s + var(--i) * 110ms); }
  .mx-screen-s img { width: 100%; height: 100%; object-fit: cover; }
  .mx-screen figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; background: linear-gradient(0deg, rgba(7,9,13,.9), rgba(7,9,13,0));
    color: #f3eee5; font-size: 12px; line-height: 1.35; display: grid; gap: 2px; }
  .mx-screen figcaption b { font: 600 12.5px/1.2 ui-monospace, "Cascadia Code", Consolas, monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mx-screen figcaption span { color: #ffd9a1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mx-screen-main figcaption { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 26px 14px 10px; }
  .mx-screen-main figcaption i { width: 8px; height: 8px; border-radius: 50%; background: #5ad08a; box-shadow: 0 0 0 4px rgba(90,208,138,.18); }
  @keyframes mx-screen-in { from { opacity: 0; transform: translate3d(40px, 30px, -120px); } }
  /* with the product in front, the generated gate steps back into atmosphere */
  .mx-film.has-screens .mx-film-poster, .mx-film.has-screens .mx-film-video, .mx-film.has-screens .mx-film-pic img { filter: brightness(.62) saturate(.9); }
  .mx-film.has-screens .mx-layer-a h1, .mx-film.has-screens .mx-layer-a .mx-lead { max-width: 40vw; }
}
@media (prefers-reduced-motion: reduce) { .mx-screen-main, .mx-screen-s { animation: none; } }

/* p07 round 4 (home) */
.mx-kb { display: none !important; }
@media (min-width: 761px) { .mx-why-statement .mx-w { color: rgba(243,238,229,.72) !important; } .mx-why-statement .mx-w.is-lit { color: #fffaf0 !important; } }
.tm-header { background: #07090d !important; }

@media (min-width: 761px) {
  .mx-film.has-screens .mx-layer-a h1 { font-size: clamp(40px, 4.3vw, 66px) !important; max-width: 46vw !important; }
  .mx-film.has-screens .mx-layer-a .mx-lead, .mx-film.has-screens .mx-hero-prices { max-width: 44vw !important; }
  .mx-screen-s { aspect-ratio: 1 / 1 !important; }
  .mx-screens { height: calc(100% - 190px) !important; }
}

@media (min-width: 761px) { .mx-screens { top: 104px !important; height: calc(100% - 260px) !important; } .mx-film.has-screens .mx-layer-a .mx-lead { max-width: 40vw !important; } }

/* ======================= v3 round 2 (home) ======================= */
/* fewer template tells: no particle dots, one English eyebrow (the hero), warm black everywhere */
.mx-embers { display: none !important; }
.mx-kicker em, .mx-film-kicker em, .mx-head .mx-eyebrow em { display: none !important; }
.mx-film h1 { margin-bottom: 20px !important; }
.mx-hero-prices a:nth-of-type(4) { display: none; }
/* the statement: one white headline-sized sentence, calm size */
.mx-why-statement { font-size: clamp(26px, 2.6vw, 38px) !important; line-height: 1.5 !important; max-width: 30em !important; }
@media (min-width: 761px) { .mx-why-statement .mx-w { color: rgba(243,238,229,.82) !important; } .mx-why-statement .mx-w.is-lit { color: #fffaf0 !important; } }
.mx-home .mx-why, .mx-why { background: transparent !important; }
/* code in a real monospace face; the timeline line passes behind the step numbers */
.mx-code, .mx-code pre, .mx-code code { font-family: ui-monospace, "Cascadia Code", "JetBrains Mono", Consolas, "Courier New", monospace !important; font-style: normal !important; }
.mx-steps li, .mx-step { position: relative; }
.mx-steps li > span:first-child, .mx-step-no, .mx-step-num { position: relative; z-index: 2; background: var(--mx-bg, #07090d); }
/* the product screens: sample cards sit below the catalog screen, never over it */
@media (min-width: 761px) { .mx-screens-rig { grid-template-rows: minmax(0, 1fr) auto; } .mx-screen-s { aspect-ratio: 4 / 3 !important; } }
.mx-steps::before, .mx-steps::after { z-index: 0; }
.mx-steps li > span { z-index: 2 !important; background: #0a0908 !important; opacity: 1 !important; }

/* ===================== 2026-11-28 r5: real-sample film, every screen a camera event ===================== */
:root { --mx-dim: rgba(243,238,229,.62); --mx-muted: rgba(243,238,229,.8); }
/* the film is the real TommyAPI sample reel: bright footage, so the text side gets a soft left-hand shade */
.mx-film-shade { background:
  linear-gradient(90deg, rgba(7,9,13,.78) 0%, rgba(7,9,13,.5) 34%, rgba(7,9,13,.08) 62%, rgba(7,9,13,0) 100%),
  linear-gradient(0deg, rgba(7,9,13,.72) 0%, rgba(7,9,13,0) 30%), linear-gradient(180deg, rgba(7,9,13,.55) 0%, rgba(7,9,13,0) 18%) !important; }
.mx-film-glow { display: none; }
.mx-film h1 { font-size: clamp(56px, 7.4vw, 116px); line-height: 1.04; max-width: 12em; margin-top: 18px; }
.mx-film h1 span + span { color: #ffe2b8; }
.mx-eyebrow { font-size: 14px; letter-spacing: .2em; color: rgba(243,238,229,.82); }
.mx-lead { font-size: 18px !important; line-height: 1.8 !important; max-width: 34em !important; color: rgba(243,238,229,.9) !important; }
.mx-hero-prices { margin-top: 30px !important; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.mx-film-line { font-size: clamp(52px, 7vw, 108px) !important; line-height: 1.06 !important; }
.mx-layer-b, .mx-layer-c { padding-top: 120px; }
.mx-layer-c::before { display: none !important; }
.mx-credit { inset: auto max(48px, calc((100vw - 1240px) / 2)) 78px auto !important; padding: 7px 14px !important; display: inline-flex !important; align-items: center; gap: 8px;
  border-radius: 999px; background: rgba(7,9,13,.55); border: 1px solid rgba(243,238,229,.16); font-size: 12.5px; letter-spacing: .04em; color: rgba(243,238,229,.86); z-index: 3; max-width: none;
  flex-direction: row !important; justify-content: flex-start !important; white-space: nowrap; width: auto !important; height: auto !important; min-height: 0 !important; }
.mx-credit > * { max-width: none; }
.mx-credit b { font-weight: 600; color: #fff; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 12px; }
.mx-credit i { width: 6px; height: 6px; border-radius: 50%; background: #ff5a4f; box-shadow: 0 0 0 3px rgba(255,90,79,.25); }
.mx-js .mx-credit ~ .mx-credit { opacity: 0; visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .mx-credit ~ .mx-credit { display: none !important; } .mx-credit { position: absolute !important; min-height: 0 !important; } }
@media (max-width: 760px) { .mx-credit { right: 16px !important; left: auto !important; top: 76px !important; bottom: auto !important; font-size: 11px; } .mx-credit b { font-size: 11px; }
  .mx-film h1 { font-size: clamp(40px, 12vw, 56px); } .mx-lead { font-size: 15.5px !important; } }

/* featured: no empty band above the heading */
@media (min-width: 761px) { .mx-featured-stage { padding-top: 64px !important; } }

/* model kinds: each kind is a full-bleed scene; the real sample fills the frame and opens with the scroll */
@media (min-width: 761px) {
  .mx-kind-list { gap: 28px; }
  .mx-kind { position: relative; display: flex; align-items: flex-end; min-height: min(78vh, 760px); border-radius: 26px; overflow: hidden; isolation: isolate; background: #0b0e13; }
  .mx-kind:nth-child(even) .mx-kind-media { order: 0; }
  .mx-kind .mx-kind-media { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 26px; z-index: -1; }
  .mx-kind .mx-kind-media img { height: 112%; margin-top: -6%; }
  .mx-kind .mx-kind-media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, rgba(7,9,13,.88) 0%, rgba(7,9,13,.62) 36%, rgba(7,9,13,.1) 70%), linear-gradient(0deg, rgba(7,9,13,.7), rgba(7,9,13,0) 45%); }
  .mx-kind:nth-child(even) .mx-kind-media::after { background: linear-gradient(270deg, rgba(7,9,13,.88) 0%, rgba(7,9,13,.62) 36%, rgba(7,9,13,.1) 70%), linear-gradient(0deg, rgba(7,9,13,.7), rgba(7,9,13,0) 45%); }
  .mx-kind:nth-child(even) .mx-kind-body { margin-left: auto; }
  .mx-kind .mx-kind-body { position: relative; max-width: 560px; padding: 64px 64px 60px; }
  .mx-kind .mx-kind-media figcaption { left: auto; right: 18px; top: 18px; bottom: auto; }
  .mx-kind:nth-child(even) .mx-kind-media figcaption { right: auto; left: 18px; }
  .mx-kind-count { font-family: var(--mx-serif) !important; font-style: normal !important; font-weight: 600; }
}

/* ops tiles fly in from depth with the scroll (motion.js) */
.mx-tiles { perspective: 1400px; }
.mx-tile-no { font-family: var(--mx-serif) !important; font-style: normal !important; }

/* integration: the code sits beside the steps and stays in view while they light up */
@media (min-width: 761px) { .mx-steps-layout { align-items: start; } .mx-steps-layout .mx-code { position: sticky; top: 110px; } }
.mx-section p, .mx-faq p { color: rgba(243,238,229,.78); }
.mx-cta-help b { color: #fff; font-weight: 600; white-space: nowrap; }

.mx-film h1 span { word-break: keep-all; overflow-wrap: normal; }
html[data-mx="detail"] .detail-purchase > *:not(.detail-section) { background: transparent !important; }

/* ===== r5 pass 4 (round-1 fixes) ===== */
/* moving picture from the first paint: the poster pushes in until the film takes over */
@media (prefers-reduced-motion: no-preference) {
  .mx-film-poster { animation: mx-kb 9s cubic-bezier(.22,.61,.36,1) both; transform-origin: 62% 55%; }
  @keyframes mx-kb { from { transform: scale(1.0); } to { transform: scale(1.09); } }
}
/* veil only behind the text column; the right of the frame keeps its colour */
.mx-film-shade { background:
  linear-gradient(90deg, rgba(7,9,13,.74) 0%, rgba(7,9,13,.42) 30%, rgba(7,9,13,0) 55%),
  linear-gradient(0deg, rgba(7,9,13,.6) 0%, rgba(7,9,13,0) 24%), linear-gradient(180deg, rgba(7,9,13,.5) 0%, rgba(7,9,13,0) 14%) !important; }
@media (max-width: 760px) { .mx-film-shade { background: linear-gradient(0deg, rgba(7,9,13,.92) 0%, rgba(7,9,13,.6) 45%, rgba(7,9,13,.15) 75%), linear-gradient(180deg, rgba(7,9,13,.55) 0%, rgba(7,9,13,0) 20%) !important; }
  .mx-lead { padding-right: 4px; } }
.mx-hero-prices a { background: rgba(7,9,13,.55) !important; }
/* tighter rhythm between sections */
@media (min-width: 761px) { .mx-featured-stage { padding-top: 28px !important; } .mx-section { padding: 84px 0 !important; } .mx-cta { padding-bottom: 72px; } }
.mx-tile-no { color: #f2b35e !important; opacity: .95 !important; }
.mx-tile { background: linear-gradient(160deg, #141a24, #0e1218) !important; border-color: rgba(243,238,229,.16) !important; }
/* text and audio kinds: the real model ids are the picture, large and lit */
.mx-kind-media.has-ids { background: radial-gradient(70% 90% at 75% 40%, rgba(242,179,94,.22), rgba(7,9,13,0) 70%), linear-gradient(135deg, #17130d, #0b0e13) !important; }
.mx-kind-media.has-ids::after { background: linear-gradient(90deg, rgba(7,9,13,.75) 0%, rgba(7,9,13,.3) 40%, rgba(7,9,13,0) 65%) !important; }
.mx-kind .mx-kind-ids { left: auto; right: 0; width: 58%; padding: 48px 56px; gap: 14px; justify-content: center; align-items: flex-end; }
.mx-kind:nth-child(even) .mx-kind-ids { right: auto; left: 0; align-items: flex-start; }
.mx-kind .mx-kind-ids span { font-size: clamp(22px, 2.4vw, 36px) !important; color: rgba(255,244,228,.92) !important; }
.mx-kind .mx-kind-ids span::before { color: rgba(242,179,94,.7) !important; }
@supports (animation-timeline: view()) { @media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  .mx-kind .mx-kind-ids span { animation: mx-id-in linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  .mx-kind .mx-kind-ids span:nth-child(even) { animation-name: mx-id-in-r; }
  @keyframes mx-id-in { from { transform: translateX(80px); opacity: 0; } }
  @keyframes mx-id-in-r { from { transform: translateX(-80px); opacity: 0; } }
} }
.mx-kind-count { gap: 8px !important; }

/* ===== 0.13 interactions ===== */
/* B arc */
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  .mx-arc .mx-track .catalog-card { transform: perspective(1500px) translateY(var(--ty, 0px)) translateZ(var(--tz, 0px)) rotateY(var(--ry, 0deg)) scale(var(--sc, 1)); transition: border-color .4s, box-shadow .4s; will-change: transform; }
  .mx-arc .mx-track .catalog-card:hover { transform: perspective(1500px) translateY(calc(var(--ty, 0px) - 10px)) translateZ(var(--tz, 0px)) rotateY(var(--ry, 0deg)) scale(var(--sc, 1)); }
}
/* D vendor folders */
.mx-vendors { padding-bottom: 40px; }
.mx-folders { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px 24px; margin-top: 48px; min-height: 330px; align-content: start; }
.mx-folder { position: relative; height: 230px; margin-top: 110px; outline: none; cursor: pointer; }
.mx-fback, .mx-ffront { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 16px; }
.mx-fback { height: 150px; background: linear-gradient(180deg, #2b2418, #1b160e); border: 1px solid rgba(242,179,94,.28); }
.mx-fback::before { content: ""; position: absolute; left: 0; top: -14px; width: 42%; height: 18px; border-radius: 10px 10px 0 0; background: #2b2418; border: 1px solid rgba(242,179,94,.28); border-bottom: 0; }
.mx-ffront { height: 118px; padding: 20px 20px 0; background: linear-gradient(180deg, #4a3b22, #31291a); border: 1px solid rgba(242,179,94,.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: flex; flex-direction: column; gap: 4px; z-index: 3; }
.mx-ffront strong { font-family: var(--mx-serif); font-size: 24px; font-weight: 600; color: #fff1da; }
.mx-ffront span { font-size: 14px; color: rgba(243,238,229,.75); }
.mx-fcards { position: absolute; left: 0; right: 0; bottom: 70px; height: 120px; z-index: 2; pointer-events: none; }
.mx-fcard { position: absolute; left: 50%; bottom: 0; width: 132px; margin-left: -66px; height: 96px; padding: 12px; border-radius: 12px; background: #f3eee5; color: #14100a !important; text-decoration: none !important; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 14px 30px -12px rgba(0,0,0,.7);
  transform: translateY(58px) rotate(0deg); transition: transform .55s cubic-bezier(.16,1,.3,1) calc(var(--i) * 40ms); pointer-events: auto; overflow: hidden; }
.mx-fcard em { font-style: normal; font-size: 12px; color: #8a5a14; }
.mx-fcard b { font: 700 13px/1.25 ui-monospace, Menlo, Consolas, monospace; word-break: break-all; }
.mx-folder:hover .mx-fcard, .mx-folder:focus-within .mx-fcard, .mx-folder.is-open .mx-fcard { transform: translate(calc((var(--i) - 1.5) * 46px), -74px) rotate(calc((var(--i) - 1.5) * 11deg)); }
.mx-folder:hover .mx-fcard:hover, .mx-folder:focus-within .mx-fcard:focus-visible { transform: translate(calc((var(--i) - 1.5) * 46px), -102px) rotate(calc((var(--i) - 1.5) * 4deg)) scale(1.08); z-index: 5; }
@media (hover: none) { .mx-folder:hover .mx-fcard { transform: translateY(58px); } .mx-folder.is-open .mx-fcard { transform: translate(calc((var(--i) - 1.5) * 46px), -74px) rotate(calc((var(--i) - 1.5) * 11deg)); } }
@media (prefers-reduced-motion: reduce) { .mx-fcard { transition: opacity .3s; } }
@media (max-width: 760px) { .mx-folder { margin-top: 70px; } .mx-folders { grid-template-columns: repeat(2, 1fr); gap: 0 14px; min-height: 560px; } .mx-fcard { width: 104px; margin-left: -52px; } .mx-folder:hover .mx-fcard, .mx-folder.is-open .mx-fcard { transform: translate(calc((var(--i) - 1.5) * 18px), -62px) rotate(calc((var(--i) - 1.5) * 8deg)); } .mx-ffront strong { font-size: 20px; } }
/* E token particles */
.mx-cta { position: relative; }
.mx-tokens { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; }
.mx-cta .mx-cta-inner { position: relative; z-index: 1; }

/* ===== 0.15 visitor journey fixes ===== */
/* phones: the model-id panel used the desktop 58% column with 56px padding, so ids wrapped mid-word beside an empty half */
@media (max-width: 760px) {
  .mx-kind .mx-kind-ids, .mx-kind:nth-child(even) .mx-kind-ids { left: 0; right: 0; width: 100%; padding: 20px 22px; gap: 9px; align-items: flex-start; justify-content: center; }
  .mx-kind .mx-kind-ids span { font-size: clamp(14px, 4vw, 17px) !important; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  .mx-kind-media.has-ids::after { background: linear-gradient(0deg, rgba(7,9,13,.55) 0%, rgba(7,9,13,0) 60%) !important; }
}
/* film headline: no orphan punctuation line ("公 / 开。") */
.mx-film-line { text-wrap: balance; }

/* featured models (pinned horizontal track): the pinned frame is a full viewport, so centre the stage in it instead of leaving ~230px of black under the progress bar */
@media (min-width: 761px) {
  .mx-featured { min-height: 100vh; display: flex; align-items: center; }
  .mx-featured-stage { width: 100%; padding-top: 72px !important; padding-bottom: 48px !important; }
}
/* phones: the fixed CTA pills sat directly on body copy and links; a scrim under them keeps both readable */
@media (max-width: 760px) {
  .mx-home::after { content: ""; position: fixed; left: 0; right: 0; bottom: 0; height: calc(96px + env(safe-area-inset-bottom, 0px)); z-index: 85; pointer-events: none;
    background: linear-gradient(0deg, rgba(7,9,13,.95) 0%, rgba(7,9,13,.7) 55%, rgba(7,9,13,0) 100%); transition: opacity .3s; }
  .mx-home:not(:has(.mx-fab.is-on))::after, .mx-home:has(.mx-fab.is-near-end)::after { opacity: 0; }
}
@media (min-width: 761px) { .mx-track-viewport { cursor: grab; } .mx-track-viewport.is-dragging { cursor: grabbing; user-select: none; } .mx-track-viewport.is-dragging * { pointer-events: none; } }
