/*
Theme Name: AM360 Cinematic
Theme URI: https://agencemat360.com
Author: Tahir M'Hamed
Author URI: https://agencemat360.com
Description: Thème one-page cinématique scroll-driven pour Agence MAT 360 — hero Ken Burns, sections pilotées au scroll, modal de prise de rendez-vous plein écran. Thème indépendant, n'affecte pas AM360.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: am360-cinematic
*/

* { box-sizing: border-box; }
html, body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.85; }

body {
  background: #17111D;
  color: #FFFFFF;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

/* ambient continuous loops (never touch transform on elements the scroll-stage also drives) */
@keyframes m360Shimmer { 0% { background-position: -160% 0; } 100% { background-position: 160% 0; } }
@keyframes m360Twinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@keyframes m360DotPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,110,90,0.55); } 50% { box-shadow: 0 0 0 7px rgba(255,110,90,0); } }
@keyframes m360Glow { 0%, 100% { box-shadow: 0 10px 30px rgba(255,92,122,0.32); } 50% { box-shadow: 0 10px 44px rgba(255,92,122,0.55); } }
@keyframes m360FloatIcon { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes m360KenBurns { 0% { transform: scale(1) translate(0%, 0%); } 100% { transform: scale(1.32) translate(-6%, -5%); } }
@keyframes m360HookEntrance { 0% { opacity: 0; filter: blur(18px); } 100% { opacity: 1; filter: blur(0); } }
.m360-hook-entrance { animation: m360HookEntrance 1.3s cubic-bezier(.16,1,.3,1); }

/* scroll-reveal (IntersectionObserver toggles .m360-in) */
.m360-reveal { opacity: 0; filter: blur(10px); transition: opacity .9s cubic-bezier(.16,1,.3,1), filter .9s cubic-bezier(.16,1,.3,1); }
.m360-reveal.m360-in { opacity: 1; filter: blur(0); }
.m360-reveal-y { opacity: 0; filter: blur(8px); transform: translateY(22px); transition: opacity .9s cubic-bezier(.16,1,.3,1), filter .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.m360-reveal-y.m360-in { opacity: 1; filter: blur(0); transform: translateY(0); }
/* one-shot version of the hero's converging-title slide, for pages without a
   pinned scroll stage to drive it continuously — triggers once via the same
   IntersectionObserver as the other .m360-reveal-* variants. */
.m360-reveal-x-left { opacity: 0; filter: blur(8px); transform: translateX(-60px); transition: opacity .9s cubic-bezier(.16,1,.3,1), filter .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.m360-reveal-x-left.m360-in { opacity: 1; filter: blur(0); transform: translateX(0); }
.m360-reveal-x-right { opacity: 0; filter: blur(8px); transform: translateX(60px); transition: opacity .9s cubic-bezier(.16,1,.3,1), filter .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.m360-reveal-x-right.m360-in { opacity: 1; filter: blur(0); transform: translateX(0); }

.m360-navlink:hover { color: #FFFFFF !important; }
.m360-btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.m360-btn-ghost:hover { border-color: rgba(255,255,255,0.32) !important; background: rgba(255,255,255,0.04) !important; }
.m360-card { transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.m360-card:hover { border-color: rgba(255,138,61,0.4) !important; background: rgba(255,255,255,0.055) !important; transform: translateY(-2px); }

/* RDV modal: full-screen cinematic booking overlay, one field revealed at a time */
#m360RdvOverlay { position: fixed; inset: 0; z-index: 999; display: flex; align-items: center; justify-content: center; background: rgba(15,10,20,0.72); backdrop-filter: blur(28px) saturate(140%); -webkit-backdrop-filter: blur(28px) saturate(140%); opacity: 0; pointer-events: none; transition: opacity .4s cubic-bezier(.16,1,.3,1); }
#m360RdvOverlay.open { opacity: 1; pointer-events: auto; }
#m360RdvModal { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; }
#m360RdvClose { position: absolute; top: 26px; right: 28px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); cursor: pointer; transition: background .15s ease, transform .15s ease; }
#m360RdvClose:hover { background: rgba(255,255,255,0.12); transform: rotate(90deg); }
#m360RdvProgressTrack { position: absolute; top: 0; left: 0; right: 0; height: 2.5px; background: rgba(255,255,255,0.08); z-index: 2; }
#m360RdvProgressBar { height: 100%; width: 0%; background: linear-gradient(90deg,#FF5C7A,#FF8A3D); transition: width .5s cubic-bezier(.16,1,.3,1); }
#m360RdvStepsWrap { position: relative; flex: 1; width: 100%; max-width: 640px; margin: 0 auto; padding: 0 28px; }
.m360-rdv-step { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 24px; opacity: 0; transform: translateY(28px) scale(.97); filter: blur(6px); pointer-events: none; transition: opacity .5s cubic-bezier(.16,1,.3,1), transform .5s cubic-bezier(.16,1,.3,1), filter .5s cubic-bezier(.16,1,.3,1); }
.m360-rdv-step.active { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); pointer-events: auto; }
.m360-rdv-step.prev { transform: translateY(-28px) scale(.97); filter: blur(6px); }
.m360-rdv-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; background: linear-gradient(90deg,#FF5C7A,#FF8A3D); -webkit-background-clip: text; background-clip: text; color: transparent; }
.m360-rdv-step h3 { margin: 0; font-size: clamp(22px, 3.6vw, 32px); font-weight: 700; letter-spacing: -0.6px; line-height: 1.3; max-width: 520px; }
.m360-rdv-step p { margin: 0; max-width: 440px; font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,0.6); }
.m360-rdv-input { width: 100%; max-width: 420px; background: transparent; border: none; border-bottom: 1.5px solid rgba(255,255,255,0.2); color: #FFFFFF; font-family: inherit; font-size: 20px; font-weight: 600; text-align: center; padding: 10px 4px 14px; outline: none; transition: border-color .2s ease; }
.m360-rdv-input::placeholder { color: rgba(255,255,255,0.32); font-weight: 500; }
.m360-rdv-input:focus { border-bottom-color: #FF8A3D; }
textarea.m360-rdv-input { text-align: left; max-width: 520px; min-height: 110px; resize: vertical; line-height: 1.6; font-size: 16px; font-weight: 500; border: 1.5px solid rgba(255,255,255,0.14); border-radius: 14px; padding: 16px 18px; background: rgba(255,255,255,0.03); }
textarea.m360-rdv-input:focus { border-color: #FF8A3D; }
.m360-rdv-fields { display: flex; flex-direction: column; align-items: center; gap: 18px; width: 100%; }
.m360-rdv-chips { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; max-width: 480px; }
.m360-rdv-chip { padding: 13px 24px; border-radius: 100px; background: rgba(255,255,255,0.05); border: 1.5px solid rgba(255,255,255,0.14); color: #FFFFFF; font-family: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.m360-rdv-chip:hover { border-color: rgba(255,138,61,0.5); transform: translateY(-1px); }
.m360-rdv-chip.selected { background: linear-gradient(90deg,#FF5C7A,#FF8A3D); border-color: transparent; color: #17111D; }
.m360-rdv-actions { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 2px; }
.m360-rdv-next { display: inline-flex; align-items: center; gap: 9px; padding: 14px 28px; border-radius: 100px; background: linear-gradient(90deg,#FF5C7A,#FF8A3D); color: #17111D; font-family: inherit; font-size: 14.5px; font-weight: 700; border: none; cursor: pointer; transition: transform .15s ease, filter .15s ease, opacity .15s ease; }
.m360-rdv-next:hover { filter: brightness(1.06); transform: translateY(-1px); }
.m360-rdv-next[disabled] { opacity: .35; pointer-events: none; }
.m360-rdv-back { display: inline-flex; align-items: center; padding: 14px 18px; border-radius: 100px; background: transparent; color: rgba(255,255,255,0.55); font-family: inherit; font-size: 14px; font-weight: 600; border: none; cursor: pointer; transition: color .15s ease; }
.m360-rdv-back:hover { color: #FFFFFF; }
.m360-rdv-success-icon { width: 62px; height: 62px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(255,92,122,0.18), rgba(255,138,61,0.14)); border: 1.5px solid rgba(255,138,61,0.4); }
.m360-rdv-hint { font-size: 12.5px; color: rgba(255,255,255,0.32); }

.m360-wrap { max-width: 1280px; margin: 0 auto; padding: 0 64px; position: relative; }
section[id] { scroll-margin-top: 92px; }

/* nav: full-width bar -> floating condensed pill on scroll */
#m360Nav { position: fixed; top: 0; left: 0; right: 0; z-index: 56; height: 160px; display: flex; justify-content: center; pointer-events: none; background: linear-gradient(180deg, rgba(23,17,29,0.7) 0%, rgba(23,17,29,0.38) 55%, rgba(23,17,29,0) 100%); transition: height .45s cubic-bezier(.16,1,.3,1), background .45s cubic-bezier(.16,1,.3,1); }
#m360NavInner { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; width: 100%; max-width: 1280px; margin: 0 auto; padding: 20px 64px; border-radius: 0; background: transparent; backdrop-filter: none; border: 1px solid transparent; box-shadow: 0 0 0 rgba(0,0,0,0); transition: all .45s cubic-bezier(.16,1,.3,1); }
#m360Nav.scrolled { height: 78px; background: none; }
#m360Nav.scrolled #m360NavInner { margin-top: 14px; max-width: 620px; padding: 10px 12px 10px 22px; border-radius: 100px; border-bottom-color: transparent; background: rgba(23,17,29,0.88); border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 16px 44px rgba(0,0,0,0.45); }
#m360NavLinks { display: flex; align-items: center; gap: 40px; overflow: hidden; max-width: 400px; opacity: 1; transition: max-width .4s cubic-bezier(.16,1,.3,1), opacity .3s ease; }
#m360Nav.scrolled #m360NavLinks { max-width: 0; opacity: 0; gap: 0; pointer-events: none; }
#m360Hamburger { display: none; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); flex-shrink: 0; border-width: 1px; border-style: solid; padding: 0; font: inherit; -webkit-appearance: none; appearance: none; cursor: pointer; }
#m360Nav.scrolled #m360Hamburger { display: flex; }

/* MOBILE NAV PANEL (full-screen, toggled by the hamburger) */
#m360MobileNav { position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; background: rgba(15,10,20,0.94); backdrop-filter: blur(24px) saturate(140%); -webkit-backdrop-filter: blur(24px) saturate(140%); opacity: 0; pointer-events: none; transition: opacity .35s cubic-bezier(.16,1,.3,1); }
#m360MobileNav.open { opacity: 1; pointer-events: auto; }
#m360MobileNav .m360-navlink { font-size: 26px; font-weight: 700; color: #FFFFFF; }

/* WordPress admin bar offset (nav is fixed to viewport top) */
body.admin-bar #m360Nav { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar #m360Nav { top: 46px; }
}

/* legal / simple-page content typography (page.php) */
.m360-page-hero { position: relative; padding: 180px 0 40px; overflow: hidden; }
.m360-page-blob { position: absolute; top: -80px; left: 50%; transform: translateX(-50%); width: 640px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(255,92,122,0.10) 0%, rgba(255,92,122,0) 70%); filter: blur(20px); pointer-events: none; }
.m360-page-kicker { font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; background: linear-gradient(90deg,#FF5C7A,#FF8A3D); -webkit-background-clip: text; background-clip: text; color: transparent; }
.m360-page-title { margin: 14px 0 10px; font-size: clamp(32px,5vw,52px); font-weight: 800; letter-spacing: -1.4px; line-height: 1.1; }
.m360-page-meta { margin: 0; font-size: 14px; color: rgba(255,255,255,0.4); }
.m360-legal-pill { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 100px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.68); transition: border-color .15s ease, color .15s ease, background .15s ease; }
.m360-legal-pill:hover { border-color: rgba(255,138,61,0.45); color: #FFFFFF; background: rgba(255,255,255,0.07); opacity: 1; }
.m360-page-content { max-width: 820px; margin: 0 auto; padding: 56px 0 100px; font-size: 15.5px; line-height: 1.75; color: rgba(255,255,255,0.62); }
.m360-page-content h2 { margin: 48px 0 14px; font-size: 20px; font-weight: 700; letter-spacing: -0.3px; color: #FFFFFF; scroll-margin-top: 110px; }
.m360-page-content h2:first-child { margin-top: 0; }
.m360-page-content p { margin: 0 0 12px; }
.m360-page-content ul, .m360-page-content ol { margin: 0 0 12px; padding-left: 20px; }
.m360-page-content li { margin-bottom: 6px; }
.m360-page-content a { color: #FF8A3D; text-decoration: underline; text-decoration-color: rgba(255,138,61,0.4); text-underline-offset: 3px; }
.m360-page-content a:hover { opacity: 0.85; }

/* portfolio (page-portfolio.php) */
.m360-portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.m360-portfolio-card { display: flex; flex-direction: column; gap: 16px; padding: 26px; border-radius: 20px; background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.09); }
.m360-portfolio-tag { display: inline-flex; align-self: flex-start; padding: 6px 13px; border-radius: 100px; background: rgba(255,138,61,0.1); border: 1px solid rgba(255,138,61,0.25); font-size: 12px; font-weight: 700; letter-spacing: 0.2px; color: #FF9A6A; }
.m360-portfolio-card h3 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -0.3px; }
.m360-portfolio-card p { margin: 0; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.56); flex: 1; }
.m360-portfolio-link { display: inline-flex; align-items: center; gap: 7px; padding-top: 14px; margin-top: 4px; border-top: 1px solid rgba(255,255,255,0.07); font-size: 13.5px; font-weight: 600; color: #FFFFFF; }
.m360-portfolio-link svg { transition: transform .15s ease; }
.m360-portfolio-card:hover .m360-portfolio-link svg { transform: translate(2px, -2px); }

/* commerce sync product page (page-am360-commerce-sync.php) */
.m360-check-list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.m360-check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,0.68); }
.m360-check-list li svg { flex-shrink: 0; margin-top: 3px; }
.m360-step-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.m360-step-row > div { display: flex; flex-direction: column; gap: 12px; }
.m360-step-num { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: linear-gradient(90deg,#FF5C7A,#FF8A3D); color: #17111D; font-weight: 800; font-size: 16px; flex-shrink: 0; }
.m360-faq-item { border-bottom: 1px solid rgba(255,255,255,0.08); padding: 18px 0; }
.m360-faq-item summary { cursor: pointer; font-weight: 700; font-size: 15.5px; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.m360-faq-item summary::-webkit-details-marker { display: none; }
.m360-faq-item summary::after { content: '+'; font-size: 20px; color: rgba(255,255,255,0.4); transition: transform .2s ease; flex-shrink: 0; }
.m360-faq-item[open] summary::after { transform: rotate(45deg); }
.m360-faq-item p { margin: 12px 0 0; font-size: 14.5px; line-height: 1.65; color: rgba(255,255,255,0.6); }
.m360-form-row { display: flex; flex-direction: column; gap: 6px; }
.m360-form-row label { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.7); }
.m360-form-row input, .m360-form-row textarea { width: 100%; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.14); border-radius: 10px; padding: 12px 14px; color: #FFFFFF; font-family: inherit; font-size: 14.5px; outline: none; transition: border-color .15s ease; }
.m360-form-row input:focus, .m360-form-row textarea:focus { border-color: #FF8A3D; }
.m360-legal-pending { color: rgba(255,255,255,0.32); font-style: italic; }
.m360-sync-alert { margin: 0 0 20px; padding: 13px 16px; border-radius: 12px; font-size: 14px; }
.m360-sync-alert.is-success { background: rgba(120,220,150,0.1); border: 1px solid rgba(120,220,150,0.3); color: #9EE6B4; }
.m360-sync-alert.is-error { background: rgba(255,92,122,0.1); border: 1px solid rgba(255,92,122,0.3); color: #FF9AAE; }

/* AM360 SKU Generator request form — output by the am360-private-downloads
   plugin's [am360_sku_request] shortcode (a separate, optional download,
   not part of Commerce Sync itself). The plugin still emits the old AM360
   theme's sync-* classes, unstyled here by default. Styled to match the
   charter but deliberately lighter-weight than the demo form above it —
   this is a secondary utility, not a second primary call to action. */
.sync-download-request { padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.07); display: flex; flex-direction: column; gap: 22px; }
.sync-download-request .sync-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.sync-download-request h2 { margin: 10px 0 10px; font-size: 19px; font-weight: 700; letter-spacing: -0.3px; color: #FFFFFF; }
.sync-download-request > div:first-child > p { margin: 0 0 14px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.5); max-width: 560px; }
.sync-download-request .sync-check-list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; color: rgba(255,255,255,0.5); }
.sync-download-request .sync-check-list li { padding-left: 18px; position: relative; }
.sync-download-request .sync-check-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,138,61,0.6); }
.sync-form-card { max-width: 440px; padding: 22px 24px; border-radius: 16px; background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.08); }
.sync-form-card p { margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; }
.sync-form-card p:last-of-type { margin-bottom: 0; }
.sync-form-card label { font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,0.6); }
.sync-form-card input { width: 100%; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.14); border-radius: 9px; padding: 10px 13px; color: #FFFFFF; font-family: inherit; font-size: 13.5px; outline: none; transition: border-color .15s ease; }
.sync-form-card input:focus { border-color: #FF8A3D; }
.sync-form-card .sync-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; margin: 0; }
.sync-form-card .sync-button-primary { display: inline-flex; align-items: center; justify-content: center; width: 100%; padding: 11px 20px; border-radius: 100px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); color: #FFFFFF; font-family: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.sync-form-card .sync-button-primary:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,138,61,0.4); }
.sync-form-card .sync-consent { margin: 12px 0 0; font-size: 11.5px; color: rgba(255,255,255,0.32); }
.sync-form-card .sync-alert { margin: 0 0 16px; padding: 11px 14px; border-radius: 10px; font-size: 13px; }
.sync-form-card .sync-alert.is-success { background: rgba(120,220,150,0.1); border: 1px solid rgba(120,220,150,0.3); color: #9EE6B4; }
.sync-form-card .sync-alert.is-error { background: rgba(255,92,122,0.1); border: 1px solid rgba(255,92,122,0.3); color: #FF9AAE; }
@media (min-width: 769px) {
  .sync-download-request { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 40px; }
  .sync-download-request > div:first-child { flex: 1; }
  .sync-form-card { flex-shrink: 0; width: 360px; }
}

/* responsive */
@media (max-width: 900px) {
  #m360NavLinks { display: none !important; }
  #m360Hamburger { display: flex !important; }
  #m360Nav { height: 88px !important; }
  #m360NavInner { padding: 16px 20px !important; }
  #m360Nav.scrolled #m360NavInner { padding: 10px 10px 10px 18px !important; }
  .m360-portfolio-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
}
@media (max-width: 768px) {
  .m360-wrap { padding-left: 22px !important; padding-right: 22px !important; }
  .m360-grid-3 { grid-template-columns: 1fr !important; gap: 28px !important; }
  .m360-portfolio-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
  .m360-step-row { grid-template-columns: 1fr !important; gap: 28px !important; }
  #m360ServicesStage { gap: 28px !important; }
  .m360-trustbar { flex-direction: column !important; gap: 28px !important; padding: 48px 22px 36px !important; }
  .m360-trustbar-divider { display: none !important; }
  .m360-trustbar-item .m360-count { font-size: 40px !important; }

  /* Perf: a `filter:blur()` whose radius changes every scroll frame forces
     a fresh blur pass each frame — one of the heaviest things you can
     animate on a mobile GPU. These five are purely a desktop polish
     (blur-to-sharp roll on the hero flash scenes / headline), so drop them
     entirely on mobile and keep the opacity crossfade only — same beats,
     far less repaint work per scroll tick. */
  [style*="filter:blur(calc((1 - var(--c1,0)) * 14px))"],
  [style*="filter:blur(calc((1 - var(--c2,0)) * 14px))"],
  [style*="filter:blur(calc((1 - var(--c3,0)) * 14px))"],
  [style*="filter:blur(calc((1 - var(--p2in,0)) * 12px))"] {
    filter: none !important;
  }
  /* The ignition glow orb's blur IS the visual (a soft light burst, not a
     polish detail) — keep it, but pin it to a constant radius instead of
     one that grows every frame, so the browser can blur it once and just
     recomposite the (cheap) transform/opacity changes on top. */
  [style*="filter:blur(calc(2px + var(--p1,0) * 28px))"] {
    filter: blur(18px) !important;
  }

  /* Same idea for the small backdrop-blurred pill badges scattered through
     the hero flash scenes — each is its own compositing + backdrop-sample
     pass, and there are a dozen of them layered over scroll-animated
     scenes. Swap the blur for a slightly darker solid fill instead. */
  [style*="backdrop-filter:blur(8px)"] {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(23,17,29,0.55) !important;
  }
}
@media (max-width: 480px) {
  #m360NavInner > div:first-child img { height: 30px !important; }
  #m360NavInner .m360-btn-primary { padding: 8px 14px !important; font-size: 12.5px !important; }
}
