/* Mosaic Elite site v2: one firm-wide home, three colour-coded sector pages.
   Loaded after base.css (which styles the chat widget, mobile drawer and dropdown).
   Tokens are prefixed --m- so they never collide with base.css tokens.
   Theme: app.js sets html[data-theme="light"] for light and removes it for dark. */

:root {
  --m-bg: #FAF9F6; --m-bg-2: #F2F0EB; --m-card: #FFFFFF; --m-ink: #1A1C1A; --m-ink-2: #4F453B; --m-ink-3: #6B655D;
  --m-line: #E6E0D5; --m-band: #161716; --m-band-ink: #F2EFE9; --m-band-ink-2: #BDB6AA; --m-band-line: #34352F; --m-tile: #FFFFFF;
  --m-hc: #B5712F; --m-hc-text: #8C5220; --m-hc-tint: #F6ECE1; --m-hc-fill: #9A5B22; --m-hc-light: #E2A86E;
  --m-re: #8A1218; --m-re-text: #8A1218; --m-re-tint: #F7E8E7; --m-re-fill: #8A1218; --m-re-light: #EE8F8A;
  --m-dg: #1280B0; --m-dg-text: #0D6894; --m-dg-tint: #E6F1F7; --m-dg-fill: #0F6E99; --m-dg-light: #6EC0E6;
  --m-accent: var(--m-ink); --m-accent-on: var(--m-bg); --m-accent-text: var(--m-ink); --m-accent-light: var(--m-band-ink); --m-tint: var(--m-bg-2);
  --m-f-display: "Manrope", "IBM Plex Sans Arabic", "Segoe UI", system-ui, sans-serif;
  --m-f-body: "Manrope", "IBM Plex Sans Arabic", "Segoe UI", system-ui, sans-serif;
  --m-f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --m-ease: cubic-bezier(.2,.7,.2,1);
  --m-dir: 1;
}
html[lang="ar"] {
  --m-f-display: "IBM Plex Sans Arabic", "Manrope", system-ui, sans-serif;
  --m-f-body: "IBM Plex Sans Arabic", "Manrope", system-ui, sans-serif;
  --m-dir: -1;
}
html:not([data-theme="light"]) {
  --m-bg: #121312; --m-bg-2: #191A18; --m-card: #1D1E1C; --m-ink: #F2EFE9; --m-ink-2: #C9C2B6; --m-ink-3: #9A948A;
  --m-line: #2E2F2B; --m-band: #0B0C0B; --m-band-line: #2B2C28;
  --m-hc-text: #E2A86E; --m-hc-tint: #251C14; --m-re-text: #EE8F8A; --m-re-tint: #261415; --m-dg-text: #6EC0E6; --m-dg-tint: #102029;
  color-scheme: dark;
}
/* sector pages set their accent on <body data-sector> */
body[data-sector="hc"] { --m-accent: var(--m-hc-fill); --m-accent-on: #FFFFFF; --m-accent-text: var(--m-hc-text); --m-accent-light: var(--m-hc-light); --m-tint: var(--m-hc-tint); }
body[data-sector="re"] { --m-accent: var(--m-re-fill); --m-accent-on: #FFFFFF; --m-accent-text: var(--m-re-text); --m-accent-light: var(--m-re-light); --m-tint: var(--m-re-tint); }
body[data-sector="dg"] { --m-accent: var(--m-dg-fill); --m-accent-on: #FFFFFF; --m-accent-text: var(--m-dg-text); --m-accent-light: var(--m-dg-light); --m-tint: var(--m-dg-tint); }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 88px; overflow-x: clip !important; overflow-y: visible !important; }
body.m-site:not(.no-scroll):not(.oc-open) { overflow: visible !important; }
body.m-site.no-scroll, body.m-site.oc-open { overflow: hidden !important; }
@supports not (overflow: clip) { html { overflow-x: hidden !important; } }
body.m-site { margin: 0; background: var(--m-bg); color: var(--m-ink); font-family: var(--m-f-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; min-height: 100vh; }
body.m-site::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--m-bg); }
.m-site h1, .m-site h2, .m-site h3 { margin: 0; font-family: var(--m-f-display); text-wrap: balance; letter-spacing: -0.015em; color: inherit; }
html[lang="ar"] .m-site h1, html[lang="ar"] .m-site h2, html[lang="ar"] .m-site h3 { letter-spacing: 0; }
.m-site p { margin: 0; }
:where(.m-site) a { color: inherit; text-decoration: none; }
:where(.m-site) button { font: inherit; color: inherit; }
.m-site :focus-visible { outline: 2px solid var(--m-accent-text); outline-offset: 3px; border-radius: 8px; }
.m-skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--m-ink); color: var(--m-bg); padding: 10px 16px; border-radius: 10px; }
.m-skip:focus { top: 12px; }
.m-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.m-wrap { max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.m-kicker { font-family: var(--m-f-mono); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--m-ink-2); }
html[lang="ar"] .m-kicker { font-family: var(--m-f-body); font-size: 13.5px; letter-spacing: 0; text-transform: none; }
.m-latin { font-family: var(--m-f-mono); letter-spacing: .12em; text-transform: uppercase; }
.m-lead { font-size: 18px; color: var(--m-ink-2); max-width: 64ch; }
html[lang="ar"] .m-lead { line-height: 1.85; }
.m-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; min-height: 48px; border-radius: 999px; font-weight: 700; font-size: 15px; cursor: pointer; border: 0; transition: background .3s, color .3s, box-shadow .3s; will-change: transform; }
.m-btn svg { width: 16px; height: 16px; flex: none; }
html[dir="rtl"] .m-btn svg.m-arrow, html[dir="rtl"] svg.m-arrow { transform: scaleX(-1); }
.m-btn--solid { background: var(--m-accent); color: var(--m-accent-on); }
.m-btn--ink { background: var(--m-ink); color: var(--m-bg); }
.m-btn--ghost { background: transparent; color: var(--m-ink); box-shadow: inset 0 0 0 1.5px var(--m-ink); }
.m-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; display: inline-block; }
.m-dot--hc { background: var(--m-hc); } .m-dot--re { background: var(--m-re); } .m-dot--dg { background: var(--m-dg); }

/* progress + header */
.m-progress { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; height: 3px; z-index: 120; transform-origin: 0 50%; transform: scaleX(0); background: var(--m-accent); pointer-events: none; }
html[dir="rtl"] .m-progress { transform-origin: 100% 50%; }
.m-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100; background: color-mix(in srgb, var(--m-bg) 94%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-bottom: 1px solid var(--m-line); }
.m-header__row { display: flex; align-items: center; gap: 12px 26px; min-height: 72px; }
.m-logo { display: flex; align-items: center; flex: none; }
.m-logo img { height: 36px; width: auto; display: block; }
.m-nav { display: flex; align-items: center; gap: 4px 24px; flex: 1 1 auto; font-weight: 600; font-size: 15px; }
.m-nav > a, .m-nav button { border: 0; background: none; cursor: pointer; padding: 10px 0; font-weight: 600; }
.m-nav a:hover, .m-nav button:hover { color: var(--m-accent-text); }
.m-dd { position: relative; }
.m-dd > button { display: inline-flex; align-items: center; gap: 6px; }
.m-dd > button svg { width: 12px; height: 12px; transition: transform .3s var(--m-ease); }
.m-dd > button[aria-expanded="true"] svg { transform: rotate(180deg); }
.m-site .m-dd .dd { position: absolute; top: calc(100% + 8px); inset-inline-start: -12px; width: 330px; background: var(--m-card); border: 1px solid var(--m-line); border-radius: 16px; padding: 8px; box-shadow: 0 24px 60px rgba(0,0,0,.14); display: flex; flex-direction: column; gap: 2px; transition: opacity .25s, transform .25s var(--m-ease); transform: translateY(-6px); z-index: 130; }
.m-site .m-dd .dd.is-open { transform: none; }
.m-dd__item { display: flex !important; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; }
.m-dd__item:hover { background: var(--m-bg-2); }
.m-dd__item b { display: block; font-size: 15px; color: var(--m-ink); } .m-dd__item small { color: var(--m-ink-3); font-size: 13px; }
.m-header__end { display: flex; align-items: center; gap: 10px; flex: none; }
.m-iconbtn { width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--m-line); background: transparent; display: inline-grid; place-items: center; cursor: pointer; color: var(--m-ink); }
.m-iconbtn:hover { background: var(--m-bg-2); }
.m-lang { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--m-line); font-weight: 700; font-size: 14px; }
.m-lang:hover { background: var(--m-bg-2); }
.m-header .m-btn { padding: 11px 20px; min-height: 44px; font-size: 14px; }
.m-burger { display: none; }
@media (max-width: 980px) { .m-nav { display: none; } .m-burger { display: inline-grid; flex: none; } .m-header__row { gap: 10px; } .m-header__end { margin-inline-start: auto; } .m-header .m-cta-desktop { display: none; } }
@media (max-width: 420px) { .m-logo img { height: 30px; } .m-lang { padding: 0 10px; } }

/* mobile drawer content (drawer shell styled by base.css .oc) */
.m-drawer { background: var(--m-bg); color: var(--m-ink); }
.m-drawer a { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; font-weight: 600; }
.m-drawer a:hover { background: var(--m-bg-2); }
.m-drawer .m-kicker { padding: 12px 12px 4px; display: block; }

/* hero (home) */
.m-hero { padding-block: 64px 40px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.m-hero__art { margin-top: 28px; }
.m-hero__copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.m-hero h1 { font-size: clamp(38px, 6vw, 70px); line-height: 1.04; font-weight: 800; letter-spacing: -0.03em; }
html[lang="ar"] .m-hero h1 { line-height: 1.25; letter-spacing: 0; }
.m-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.m-split .w > span { display: inline-block; }
.m-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.m-practices { display: flex; flex-wrap: wrap; gap: 8px; }
.m-practice { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; min-height: 40px; border-radius: 999px; border: 1px solid var(--m-line); background: var(--m-card); font-size: 13.5px; font-weight: 700; }
.m-hero__art { position: relative; aspect-ratio: 100 / 84; max-width: 100%; }
.m-hero__art svg { width: 100%; height: 100%; overflow: visible; display: block; }
.m-halo { position: absolute; inset: 8% 4%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--m-hc) 18%, transparent), transparent 70%); filter: blur(10px); pointer-events: none; }
.m-pc, .m-pc path { transform-box: fill-box; transform-origin: center; }
@media (max-width: 860px) { .m-hero { grid-template-columns: 1fr; padding-block: 28px 24px; gap: 20px; } .m-hero__art { order: -1; max-width: 240px; margin: 0 auto; width: 100%; } }

/* capability ribbon */
.m-ribbon { border-block: 1px solid var(--m-line); background: var(--m-bg-2); overflow: hidden; }
.m-ribbon__track { display: flex; width: max-content; animation: m-slide 50s linear infinite; padding-block: 18px; }
html[dir="rtl"] .m-ribbon__track, html[dir="rtl"] .m-logos__track { animation-name: m-slide-rtl; }
.m-ribbon:hover .m-ribbon__track { animation-play-state: paused; }
.m-ribbon__item { display: inline-flex; align-items: center; gap: 12px; padding: 0 22px; font-weight: 700; font-size: 15px; white-space: nowrap; }
@keyframes m-slide { to { transform: translateX(-50%); } }
@keyframes m-slide-rtl { to { transform: translateX(50%); } }

/* sections */
.m-section { padding-block: 88px; }
.m-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-bottom: 32px; }
.m-head h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; font-weight: 800; }
html[lang="ar"] .m-head h2 { line-height: 1.35; }
.m-kicker.m-kicker--accent { color: var(--m-accent-text); }

/* sector explorer */
.m-explorer { display: flex; gap: 16px; align-items: stretch; }
.m-scard { --c: var(--m-ink); --c-fill: var(--m-ink); --c-text: var(--m-ink); --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg;
  position: relative; flex: 1 1 0; min-width: 0; min-height: 460px; padding: 30px; border-radius: 24px; border: 1px solid var(--m-line);
  background: var(--m-card); color: var(--m-ink); display: flex; flex-direction: column; gap: 18px; overflow: hidden; isolation: isolate;
  transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)); transition: flex-grow .6s var(--m-ease), background .45s var(--m-ease), color .45s var(--m-ease), border-color .45s, box-shadow .45s; }
.m-scard::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255,255,255,.22), transparent 60%); }
.m-scard[data-s="hc"] { --c: var(--m-hc); --c-fill: var(--m-hc-fill); --c-text: var(--m-hc-text); }
.m-scard[data-s="re"] { --c: var(--m-re); --c-fill: var(--m-re-fill); --c-text: var(--m-re-text); }
.m-scard[data-s="dg"] { --c: var(--m-dg); --c-fill: var(--m-dg-fill); --c-text: var(--m-dg-text); }
.m-scard__top { display: flex; justify-content: space-between; align-items: flex-start; }
.m-scard__badge { width: 78px; height: 78px; border-radius: 20px; background: var(--m-tile); display: flex; align-items: center; justify-content: center; }
.m-scard__badge svg { width: 50px; height: auto; overflow: visible; }
.m-scard__num, .m-scard__brand { font-family: var(--m-f-mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--c-text); transition: color .45s; }
.m-scard h3 { font-size: 28px; line-height: 1.15; font-weight: 800; }
html[lang="ar"] .m-scard h3 { line-height: 1.4; }
.m-scard h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 24px; }
.m-scard p { color: var(--m-ink-2); font-size: 15.5px; transition: color .45s; }
.m-scard ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; flex: 1 1 auto; }
.m-scard li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; }
.m-scard li .m-dot { background: var(--c); width: 7px; height: 7px; transition: background .45s; }
.m-scard__go { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; background: var(--c-fill); color: #FFFFFF; font-weight: 700; font-size: 14.5px; transition: background .45s, color .45s; }
.m-scard__go svg { width: 16px; height: 16px; transition: transform .35s var(--m-ease); }
.m-scard.is-hot { background: var(--c-fill); color: #FFFFFF; border-color: var(--c-fill); box-shadow: 0 30px 70px color-mix(in srgb, var(--c) 35%, transparent); }
.m-scard.is-hot::before { opacity: 1; }
.m-scard.is-hot p { color: rgba(255,255,255,.9); }
.m-scard.is-hot .m-scard__num, .m-scard.is-hot .m-scard__brand { color: rgba(255,255,255,.85); }
.m-scard.is-hot li .m-dot { background: #FFFFFF; }
.m-scard.is-hot .m-scard__go { background: #FFFFFF; color: var(--c-fill); }
.m-scard.is-hot .m-scard__go svg { transform: translateX(calc(4px * var(--m-dir))); }
html[dir="rtl"] .m-scard.is-hot .m-scard__go svg { transform: scaleX(-1) translateX(4px); }
@media (min-width: 981px) { .m-explorer.has-hot .m-scard.is-hot { flex-grow: 1.65; } }
@media (max-width: 980px) { .m-explorer { flex-direction: column; } .m-scard { min-height: 0; } }
.m-requests { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.m-requests__row { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px; }
.m-requests__row::-webkit-scrollbar { display: none; }
.m-req { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; min-height: 44px; border-radius: 999px; border: 1px solid var(--m-line); background: var(--m-card); font-weight: 600; font-size: 14px; white-space: nowrap; flex: none; transition: border-color .3s; }
.m-req:hover { border-color: var(--m-ink-3); }

/* method */
.m-method { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.m-method__line { position: absolute; inset-inline: 30px; top: 30px; height: 2px; background: var(--m-line); }
.m-method__line i { position: absolute; inset: 0; background: var(--m-accent); transform-origin: 0 50%; transform: scaleX(var(--p, 1)); }
html[dir="rtl"] .m-method__line i { transform-origin: 100% 50%; }
.m-stage { position: relative; display: flex; flex-direction: column; gap: 10px; }
.m-stage__node { width: 60px; height: 60px; border-radius: 50%; background: var(--m-card); border: 2px solid var(--m-line); display: flex; align-items: center; justify-content: center; font-family: var(--m-f-mono); font-weight: 700; font-size: 14px; color: var(--m-ink-2); transition: background .4s, border-color .4s, color .4s; position: relative; z-index: 1; }
.m-stage.is-on .m-stage__node { background: var(--m-accent); border-color: var(--m-accent); color: var(--m-accent-on); }
.m-stage h3 { font-size: 20px; font-weight: 800; margin-top: 8px; }
.m-stage p { color: var(--m-ink-2); font-size: 14.5px; }
@media (max-width: 860px) { .m-method { grid-template-columns: 1fr; } .m-method__line { inset-inline: 29px auto; top: 30px; bottom: 30px; width: 2px; height: auto; } .m-method__line i { transform-origin: 50% 0 !important; transform: scaleY(var(--p, 1)); } .m-stage { padding-inline-start: 80px; min-height: 60px; } .m-stage__node { position: absolute; inset-inline-start: 0; top: 0; } .m-stage h3 { margin-top: 12px; } }

/* dark band: why */
.m-band { background: var(--m-band); color: var(--m-band-ink); }
.m-band .m-kicker { color: var(--m-band-ink-2); }
.m-why-band { position: relative; overflow: hidden; isolation: isolate; --sx: 50%; --sy: 30%; }
.m-why-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px circle at var(--sx) var(--sy), rgba(255,255,255,.07), transparent 60%); }
.m-why-band .m-head h2 { color: var(--m-band-ink); font-size: clamp(34px, 5vw, 56px); }
.m-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.m-why { border: 1px solid var(--m-band-line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; background: rgba(255,255,255,.03); transition: border-color .35s, transform .35s var(--m-ease), background .35s; }
.m-why:hover { border-color: var(--m-band-ink-2); background: rgba(255,255,255,.06); transform: translateY(-4px); }
.m-why h3 { font-size: 18px; font-weight: 800; color: var(--m-band-ink); }
.m-why p { font-size: 14.5px; color: var(--m-band-ink-2); }
.m-why__icon { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #FFFFFF; margin-bottom: 6px; transition: transform .45s var(--m-ease); }
.m-why__icon svg { width: 22px; height: 22px; }
.m-why:hover .m-why__icon { transform: rotate(-8deg) scale(1.08); }
.m-values { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--m-band-line); display: flex; flex-direction: column; gap: 20px; }
.m-values__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.m-value { display: flex; flex-direction: column; gap: 6px; padding: 4px 20px; border-inline-start: 1px solid var(--m-band-line); }
.m-value:first-child { border-inline-start: 0; padding-inline-start: 0; }
.m-value b { font-size: 20px; font-weight: 800; color: var(--m-band-ink); }
.m-value span { font-size: 13.5px; color: var(--m-band-ink-2); line-height: 1.55; }
@media (max-width: 860px) { .m-values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; } .m-value { border-inline-start: 0; padding-inline-start: 0; } }

/* contact band */
.m-contact-band { position: relative; overflow: hidden; isolation: isolate; background: var(--m-band); color: var(--m-band-ink); }
.m-blob { position: absolute; z-index: -1; width: 520px; height: 520px; border-radius: 50%; filter: blur(90px); opacity: .45; pointer-events: none; transform: translateZ(0); }
.m-blob--hc { background: var(--m-hc); top: -160px; left: -120px; }
.m-blob--re { background: var(--m-re); bottom: -220px; left: 35%; }
.m-blob--dg { background: var(--m-dg); top: -120px; right: -160px; }
@keyframes m-orbit { from { transform: translate(0, 0) scale(1); } to { transform: translate(80px, 60px) scale(1.15); } }
.m-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px; }
.m-contact__info { display: flex; flex-direction: column; gap: 14px; }
.m-contact__info .m-kicker { color: var(--m-band-ink-2); }
.m-contact__info h2 { font-size: clamp(44px, 7vw, 88px); line-height: 1; letter-spacing: -0.035em; color: #FFFFFF; }
html[lang="ar"] .m-contact__info h2 { line-height: 1.25; letter-spacing: 0; }
.m-contact__info .m-lead { color: var(--m-band-ink-2); }
.m-channels { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.m-channel { display: inline-flex; align-items: center; gap: 12px; color: #FFFFFF; font-weight: 800; font-size: clamp(18px, 2vw, 24px); }
.m-channel svg { width: 22px; height: 22px; flex: none; opacity: .8; }
.m-channel:hover { text-decoration: underline; text-underline-offset: 4px; }
.m-form { background: var(--m-card); color: var(--m-ink); border-radius: 22px; padding: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; box-shadow: 0 40px 90px rgba(0,0,0,.35); }
.m-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 700; }
.m-form input, .m-form select, .m-form textarea { font: inherit; font-weight: 500; font-size: 15px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--m-line); background: var(--m-bg); color: var(--m-ink); min-height: 46px; width: 100%; }
.m-form .m-full { grid-column: 1 / -1; }
.m-form .m-honeypot { position: absolute; left: -9999px; opacity: 0; }
.m-form__status { grid-column: 1 / -1; font-size: 14px; color: var(--m-ink-2); min-height: 1.2em; }
.m-form__status.is-success { color: #1F7A43; } .m-form__status.is-error { color: #B42318; }
html:not([data-theme="light"]) .m-form__status.is-success { color: #6FD39A; } html:not([data-theme="light"]) .m-form__status.is-error { color: #FF8A80; }
@media (max-width: 860px) { .m-contact { grid-template-columns: 1fr; } .m-form { grid-template-columns: 1fr; } }

/* sector page */
.m-switcher { border-bottom: 1px solid var(--m-line); background: var(--m-card); }
.m-switcher__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-block: 10px; }
.m-switcher__back { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--m-ink-2); padding: 10px 6px; min-height: 44px; }
.m-switcher__back svg { width: 14px; height: 14px; }
html[dir="rtl"] .m-switcher__back svg { transform: scaleX(-1); }
.m-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; min-height: 42px; border-radius: 999px; border: 1.5px solid var(--m-line); background: var(--m-card); font-weight: 700; font-size: 14px; }
.m-pill.is-current, .m-pill[aria-current="page"] { background: var(--m-accent); border-color: var(--m-accent); color: var(--m-accent-on); }
.m-pill.is-current .m-dot, .m-pill[aria-current="page"] .m-dot { background: #FFFFFF; }
.m-shero { background: var(--m-tint); position: relative; overflow: hidden; }
.m-shero__row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-block: 64px; }
.m-shero__copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.m-shero__logo { height: 50px; width: auto; align-self: flex-start; }
.m-shero h1 { font-size: clamp(36px, 5.4vw, 62px); line-height: 1.06; font-weight: 800; letter-spacing: -0.03em; }
html[lang="ar"] .m-shero h1 { line-height: 1.3; letter-spacing: 0; }
.m-shero__art { aspect-ratio: 100 / 84; max-width: 340px; width: 100%; justify-self: center; }
.m-shero__art svg { width: 100%; height: 100%; overflow: visible; display: block; }
@media (max-width: 860px) { .m-shero__row { grid-template-columns: 1fr; padding-block: 40px; } .m-shero__art { max-width: 220px; } }
.m-svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.m-svc { --mx: 50%; --my: 50%; position: relative; background: var(--m-card); border: 1px solid var(--m-line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; isolation: isolate; transition: border-color .35s, transform .35s var(--m-ease); scroll-margin-top: 100px; }
.m-svc::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s; background: radial-gradient(320px circle at var(--mx) var(--my), color-mix(in srgb, var(--m-accent) 14%, transparent), transparent 65%); }
.m-svc:hover, .m-svc:target { border-color: var(--m-accent); transform: translateY(-4px); }
.m-svc:hover::before, .m-svc:target::before { opacity: 1; }
.m-svc__code { font-family: var(--m-f-mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--m-accent-text); }
.m-svc h3 { font-size: 19px; font-weight: 800; }
.m-svc p { color: var(--m-ink-2); font-size: 14.5px; }
.m-tech { border-radius: 26px; padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.m-tech h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; color: var(--m-band-ink); }
.m-tech p { color: var(--m-band-ink-2); }
.m-tech .m-kicker { color: var(--m-accent-light); }
.m-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.m-stat { border: 1px solid var(--m-band-line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.m-stat b { font-size: 34px; font-weight: 800; color: var(--m-accent-light); font-variant-numeric: tabular-nums; line-height: 1.1; direction: ltr; text-align: start; unicode-bidi: isolate; }
.m-stat span { font-size: 13px; color: var(--m-band-ink-2); line-height: 1.45; }
@media (max-width: 860px) { .m-tech { grid-template-columns: 1fr; } }
/* Malek365 spotlight (real estate) */
.m-spot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 32px; align-items: center; }
.m-spot__copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.m-spot__logo { height: 34px; width: auto; align-self: flex-start; }
.m-spot__feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.m-feat { width: 100%; text-align: start; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--m-band-line); background: transparent; cursor: pointer; color: var(--m-band-ink); transition: background .3s, border-color .3s; }
.m-feat b { font-size: 16px; } .m-feat span { font-size: 14px; color: var(--m-band-ink-2); }
.m-feat[aria-pressed="true"] { background: rgba(255,255,255,.07); border-color: var(--m-accent-light); }
.m-spot__screens { position: relative; aspect-ratio: 1600 / 960; border-radius: 16px; overflow: hidden; border: 1px solid var(--m-band-line); background: #FFFFFF; box-shadow: 0 30px 70px rgba(0,0,0,.4); }
.m-spot__screens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .5s var(--m-ease), transform .6s var(--m-ease); transform: scale(1.02); }
.m-spot__screens img.is-on { opacity: 1; transform: none; }
.m-spot .m-stats { margin-top: 6px; }
@media (max-width: 960px) { .m-spot { grid-template-columns: 1fr; } }
.m-dom { background: var(--m-card); border: 1px solid var(--m-line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.m-dom i { width: 30px; height: 4px; border-radius: 2px; background: var(--m-accent); display: block; }
.m-dom h3 { font-size: 17px; font-weight: 800; }
.m-dom p { color: var(--m-ink-2); font-size: 14px; }
.m-logos { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.m-logos__track { display: flex; gap: 14px; width: max-content; animation: m-slide 34s linear infinite; }
.m-logos:hover .m-logos__track { animation-play-state: paused; }
.m-logo-tile { width: 210px; height: 118px; border-radius: 18px; background: var(--m-tile); border: 1px solid var(--m-line); display: flex; align-items: center; justify-content: center; padding: 18px; flex: none; }
.m-logo-tile img { max-height: 70px; max-width: 100%; width: auto; height: auto; }
.m-cta { background: var(--m-accent); color: var(--m-accent-on); border-radius: 26px; padding: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.m-cta h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; }
.m-cta p { opacity: .92; max-width: 60ch; }
.m-cta .m-btn { background: #FFFFFF; color: var(--m-accent); }
.m-others { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.m-other { display: flex; align-items: center; gap: 18px; padding: 22px; border-radius: 20px; border: 1px solid var(--m-line); background: var(--m-card); transition: transform .35s var(--m-ease), border-color .35s; }
.m-other:hover { transform: translateY(-4px); border-color: var(--m-ink-3); }
.m-other svg.m-mk { width: 56px; height: auto; flex: none; overflow: visible; }
.m-other b { display: block; font-size: 19px; } .m-other small { color: var(--m-ink-3); font-size: 14px; }
.m-other .m-arrow { width: 20px; height: 20px; margin-inline-start: auto; flex: none; }

/* footer */
.m-footer { border-top: 1px solid var(--m-line); background: var(--m-bg-2); }
.m-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-block: 48px 28px; }
.m-footer__grid img { height: 34px; width: auto; margin-bottom: 12px; }
.m-footer__grid p { color: var(--m-ink-3); font-size: 14px; max-width: 44ch; }
.m-footer h2 { font-size: 14px !important; font-weight: 700; margin-bottom: 10px !important; letter-spacing: 0 !important; }
.m-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--m-ink-2); }
.m-footer ul a:hover { color: var(--m-ink); }
.m-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 18px 28px; border-top: 1px solid var(--m-line); font-size: 13.5px; color: var(--m-ink-3); }
@media (max-width: 760px) { .m-footer__grid { grid-template-columns: 1fr; } }

/* page wipe between sectors */
.m-wipe { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 20px; color: #FFFFFF; pointer-events: none; }
.m-wipe svg { width: min(170px, 40vw); height: auto; overflow: visible; }
.m-wipe b { font-family: var(--m-f-display); font-size: clamp(28px, 4vw, 44px); font-weight: 800; }
html.m-arriving .m-wipe { display: flex !important; }

/* 404 */
.m-404 { min-height: 70vh; display: flex; align-items: center; }
.m-404__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.m-404 h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.m-404__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
@media (max-width: 760px) { .m-404__grid { grid-template-columns: 1fr; } }


/* ---- mobile refinements (Oct 22 review) ---- */
/* drawer slides in from the reading-start side: right in Arabic, left in English */
.m-site .oc.m-drawer { right: auto; left: auto; inset-inline-start: 0; border-left: 0; border-inline-end: 1px solid var(--m-line); z-index: 140; transform: translateX(calc(-110% * var(--m-dir))); }
.m-site .oc.m-drawer.is-open { transform: translateX(0); }
.m-site .oc-overlay { z-index: 135; }
@media (max-width: 980px) {
  .m-explorer .m-scard { flex: none; min-height: 0; transform: none; }
}
@media (max-width: 760px) {
  .m-requests__row { flex-wrap: wrap; overflow: visible; }
  .m-switcher__row .m-pill { display: none; }
  .m-switcher__row { padding-block: 4px; }
  .m-shero__row { grid-template-columns: 1fr; gap: 14px; padding-block: 28px 36px; }
  .m-shero__art { order: -1; max-width: 120px; justify-self: start; margin: 0; }
  .m-shero__copy > .m-latin { display: none; }
}
.m-shero__copy > .m-latin { align-self: flex-start; }

/* chat widget sits above everything except the wipe */
.m-site .m-chat { z-index: 150; }

@media (prefers-reduced-motion: reduce) {
  .m-ribbon__track, .m-logos__track, .m-blob { animation: none; }
  .m-scard, .m-svc, .m-why, .m-other, .m-req, .m-spot__screens img { transition: none; }
}

/* Fact sheet: two-column regulatory summary (invest-saudi-real-estate) */
.m-facts { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.m-facts__intro { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 110px; }
.m-facts__intro h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; font-weight: 800; }
.m-facts__dates { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 6px; }
.m-facts__date { background: var(--m-tint); border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.m-facts__date b { font-family: var(--m-f-display); font-size: 26px; line-height: 1.1; letter-spacing: -0.02em; color: var(--m-accent-text); }
.m-facts__date span { font-size: 14px; color: var(--m-ink-2); line-height: 1.45; }
.m-facts__note { font-size: 13px; color: var(--m-ink-3); line-height: 1.55; }
.m-facts__note a { text-decoration: underline; color: var(--m-ink-2); }
.m-facts__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--m-line); }
.m-facts__row { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px 16px; padding: 24px 0; border-bottom: 1px solid var(--m-line); }
.m-facts__row > span { font-family: var(--m-f-mono); font-size: 13px; font-weight: 700; color: var(--m-accent-text); padding-top: 4px; }
.m-facts__row h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.m-facts__row p { margin: 0; color: var(--m-ink-2); font-size: 15.5px; }
@media (max-width: 860px) { .m-facts { grid-template-columns: 1fr; gap: 28px; } .m-facts__intro { position: static; } .m-facts__row { grid-template-columns: 40px minmax(0, 1fr); } }

/* FAQ: collapsible rows (native details/summary) */
.m-faq { display: flex; flex-direction: column; gap: 12px; }
.m-faq details { background: var(--m-card); border: 1px solid var(--m-line); border-radius: 18px; interpolate-size: allow-keywords; }
.m-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; border-radius: 18px; }
.m-faq summary::-webkit-details-marker { display: none; }
.m-faq summary h3 { font-size: 18px; font-weight: 800; transition: color .2s; }
.m-faq summary:hover h3 { color: var(--m-accent-text); }
.m-faq summary svg { width: 22px; height: 22px; flex: none; color: var(--m-accent-text); transition: transform .3s var(--m-ease); }
.m-faq details[open] summary svg { transform: rotate(180deg); }
.m-faq details::details-content { height: 0; overflow: clip; transition: height .3s var(--m-ease), content-visibility .3s allow-discrete; }
.m-faq details[open]::details-content { height: auto; }
.m-faq details p { margin: 0; padding: 0 26px 24px; color: var(--m-ink-2); font-size: 16px; max-width: 95ch; }
@media (max-width: 600px) { .m-faq summary { padding: 18px 20px; } .m-faq details p { padding: 0 20px 20px; } .m-faq summary h3 { font-size: 16.5px; } }

/* Globe (investor page hero) */
.m-shero__art--globe { aspect-ratio: 1; max-width: 400px; }
.m-globe { animation: m-globe-float 9s ease-in-out infinite; }
.m-globe__disc { fill: var(--m-card); }
.m-globe__grat { fill: none; stroke: var(--m-accent); stroke-opacity: .1; stroke-width: 1; }
.m-globe__land { fill: var(--m-accent); fill-opacity: .32; }
.m-globe__ksa { fill: var(--m-accent); }
.m-globe__rim { fill: none; stroke: var(--m-accent); stroke-opacity: .35; stroke-width: 1.5; }
.m-globe__arc { fill: none; stroke: var(--m-accent); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 5 6; opacity: .8; animation: m-arc-flow 1.4s linear var(--d) infinite; }
.m-globe__origin { fill: var(--m-card); stroke: var(--m-accent); stroke-width: 2; }
.m-globe__hub { fill: var(--m-accent); stroke: var(--m-card); stroke-width: 2.5; }
.m-globe__ring { fill: none; stroke: var(--m-accent); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: m-pulse 2.2s ease-out var(--d) infinite; }
@keyframes m-arc-flow { to { stroke-dashoffset: -22; } }
@keyframes m-pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.6); opacity: 0; } }
@keyframes m-globe-float { 50% { transform: translateY(-8px); } }
@media (max-width: 860px) { .m-shero__art--globe { max-width: 240px; } }
@media (max-width: 600px) { .m-shero__art--globe { max-width: 150px; } }
@media (prefers-reduced-motion: reduce) { .m-globe, .m-globe__arc, .m-globe__ring { animation: none; } .m-globe__ring { display: none; } }

/* Hero dot field (assets/js/dots.js). The SVG globe stays as the no-JS fallback. */
.m-dots { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
[data-dots] > :not(.m-dots) { position: relative; z-index: 1; }
.m-cta[data-dots] { position: relative; overflow: hidden; }
[data-dots].has-dots .m-shero__art > svg { visibility: hidden; }

/* Scroll-in details (assets/js/reveal.js adds html.m-anim and .is-in) */
.m-anim [data-draw] .m-facts__row { position: relative; border-bottom-color: transparent; }
.m-anim [data-draw] .m-facts__row::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 1px; background: var(--m-line); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1s var(--m-ease); }
.m-anim [data-draw] .m-facts__row > span { opacity: 0; transform: translateX(-12px); transition: opacity .6s, transform .7s var(--m-ease); }
.m-anim [data-draw].is-in .m-facts__row::after { transform: scaleX(1); }
.m-anim [data-draw].is-in .m-facts__row > span { opacity: 1; transform: none; }
.m-anim [data-draw] .m-facts__date { background: linear-gradient(var(--m-tint), var(--m-tint)) no-repeat 0 0 / 0% 100%, var(--m-bg); transition: background-size 1.1s var(--m-ease); }
.m-anim [data-draw].is-in .m-facts__date { background-size: 100% 100%, auto; }
.m-anim [data-draw] .m-dom i { width: 0; transition: width .9s var(--m-ease); }
.m-anim [data-draw].is-in .m-dom i { width: 30px; }
.m-anim [data-draw] > :nth-child(2), .m-anim [data-draw] > :nth-child(2)::after, .m-anim [data-draw] > :nth-child(2) > span, .m-anim [data-draw] > :nth-child(2) i { transition-delay: .15s; }
.m-anim [data-draw] > :nth-child(3), .m-anim [data-draw] > :nth-child(3)::after, .m-anim [data-draw] > :nth-child(3) > span, .m-anim [data-draw] > :nth-child(3) i { transition-delay: .3s; }
.m-anim [data-draw] > :nth-child(4), .m-anim [data-draw] > :nth-child(4)::after, .m-anim [data-draw] > :nth-child(4) > span, .m-anim [data-draw] > :nth-child(4) i { transition-delay: .45s; }

/* Timeline (investor page) */
.m-tl-band { padding-block: 40px 24px; }
.m-tl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; }
.m-tl::before { content: ""; position: absolute; top: 9px; inset-inline: 0; height: 2px; background: var(--m-accent); transform-origin: 0 50%; }
.m-tl__item { position: relative; padding-top: 34px; display: flex; flex-direction: column; gap: 6px; }
.m-tl__item::before { content: ""; position: absolute; top: 2px; inset-inline-start: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--m-bg); border: 3px solid var(--m-accent); box-sizing: border-box; }
.m-tl__item:last-child::before { background: var(--m-accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--m-accent) 18%, transparent); }
.m-tl__item b { font-family: var(--m-f-display); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--m-accent-text); }
.m-tl__item span { color: var(--m-ink-2); font-size: 14.5px; line-height: 1.5; }
.m-anim .m-tl[data-draw]::before { transform: scaleX(0); transition: transform 1.8s var(--m-ease); }
.m-anim .m-tl[data-draw].is-in::before { transform: scaleX(1); }
.m-anim .m-tl[data-draw] .m-tl__item::before { transform: scale(0); transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.m-anim .m-tl[data-draw] .m-tl__item b { transform: translateY(14px); transition: transform .7s var(--m-ease); display: inline-block; }
.m-anim .m-tl[data-draw].is-in .m-tl__item::before { transform: scale(1); }
.m-anim .m-tl[data-draw].is-in .m-tl__item b { transform: none; }
.m-anim .m-tl[data-draw] .m-tl__item:nth-child(2)::before, .m-anim .m-tl[data-draw] .m-tl__item:nth-child(2) b { transition-delay: .35s; }
.m-anim .m-tl[data-draw] .m-tl__item:nth-child(3)::before, .m-anim .m-tl[data-draw] .m-tl__item:nth-child(3) b { transition-delay: .7s; }
.m-anim .m-tl[data-draw] .m-tl__item:nth-child(4)::before, .m-anim .m-tl[data-draw] .m-tl__item:nth-child(4) b { transition-delay: 1.05s; }
.m-anim .m-tl[data-draw] .m-tl__item:nth-child(5)::before, .m-anim .m-tl[data-draw] .m-tl__item:nth-child(5) b { transition-delay: 1.4s; }
@media (max-width: 860px) {
  .m-tl { grid-template-columns: 1fr; gap: 22px; padding-inline-start: 30px; }
  .m-tl::before { top: 0; bottom: 0; inset-inline-start: 7px; inset-inline-end: auto; width: 2px; height: auto; transform-origin: 50% 0; }
  .m-anim .m-tl[data-draw]::before { transform: scaleY(0); }
  .m-anim .m-tl[data-draw].is-in::before { transform: scaleY(1); }
  .m-tl__item { padding-top: 0; }
  .m-tl__item::before { inset-inline-start: -30px; top: 6px; }
}

/* Ownership route finder (assets/js/route.js) */
.m-route-band .m-head h2 { color: var(--m-band-ink); }
.m-route-band .m-lead { color: var(--m-band-ink-2); }
.m-route-band .m-kicker--accent { color: var(--m-accent-light); }
.m-route { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) minmax(0, 1.5fr); gap: 72px; align-items: start; }
.m-route__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 0; }
.m-route__ghost { fill: none; stroke: var(--m-band-line); stroke-width: 1.5; }
.m-route__live { fill: none; stroke: var(--m-accent-light); stroke-width: 2.5; stroke-linecap: round; }
.m-route__node { fill: var(--m-accent-light); }
.m-route__col { position: relative; z-index: 1; border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.m-route__col legend { font-family: var(--m-f-mono); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--m-band-ink-2); margin-bottom: 12px; padding: 0; }
.m-route__opt { position: relative; display: block; cursor: pointer; }
.m-route__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.m-route__opt span { display: block; padding: 16px 20px; border-radius: 14px; border: 1px solid var(--m-band-line); background: color-mix(in srgb, var(--m-band-ink) 6%, var(--m-band)); color: var(--m-band-ink); font-weight: 700; font-size: 15.5px; transition: background .3s, border-color .3s, transform .3s var(--m-ease); }
.m-route__opt:hover span { border-color: var(--m-accent-light); }
.m-route__opt input:checked + span { background: var(--m-accent); border-color: var(--m-accent); color: #fff; transform: translateX(4px); }
.m-route__opt input:focus-visible + span { outline: 2px solid var(--m-accent-light); outline-offset: 3px; }
.m-route__out { margin-top: 30px; }
.m-route__res { display: none; padding: 24px 26px; border-radius: 18px; background: color-mix(in srgb, var(--m-band-ink) 7%, var(--m-band)); border: 1px solid var(--m-band-line); }
.m-route__res.is-on { display: block; animation: m-res-in .55s var(--m-ease); }
.m-route__res h3 { font-size: 21px; font-weight: 800; color: var(--m-band-ink); margin: 10px 0 8px; }
.m-route__res p { color: var(--m-band-ink-2); font-size: 15.5px; margin: 0; }
.m-route__tag { display: inline-block; font-family: var(--m-f-mono); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--m-accent-light); border: 1px solid currentColor; border-radius: 999px; padding: 4px 10px; }
.m-route__apply { color: var(--m-band-ink-2); font-size: 13.5px; margin: 6px 2px 0; }
@keyframes m-res-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* without JS: show the matching card with :has() */
.m-route:not([data-key]):has([value="ind"]:checked):has([value="zone"]:checked) [data-res="ind-zone"],
.m-route:not([data-key]):has([value="ind"]:checked):has([value="holy"]:checked) [data-res="ind-holy"],
.m-route:not([data-key]):has([value="ind"]:checked):has([value="out"]:checked) [data-res="ind-out"],
.m-route:not([data-key]):has([value="co"]:checked):has([value="zone"]:checked) [data-res="co-zone"],
.m-route:not([data-key]):has([value="co"]:checked):has([value="holy"]:checked) [data-res="co-holy"],
.m-route:not([data-key]):has([value="co"]:checked):has([value="out"]:checked) [data-res="co-out"] { display: block; }
.m-route:not([data-key]) .m-route__res.is-on { display: none; }
.m-route:not([data-key]):has([value="ind"]:checked):has([value="zone"]:checked) .m-route__res.is-on { display: block; }
@media (max-width: 860px) { .m-route { grid-template-columns: 1fr; gap: 26px; } .m-route__lines { display: none; } .m-route__out { margin-top: 0; } }
@media (prefers-reduced-motion: reduce) { .m-route__res.is-on { animation: none; } .m-route__opt input:checked + span { transform: none; } }

/* Investor page, right-to-left */
[dir="rtl"] .m-tl::before { transform-origin: 100% 50%; }
[dir="rtl"] .m-anim [data-draw] .m-facts__row::after { transform-origin: 100% 50%; }
[dir="rtl"] .m-anim [data-draw] .m-facts__row > span { transform: translateX(12px); }
[dir="rtl"] .m-anim [data-draw].is-in .m-facts__row > span { transform: none; }
[dir="rtl"] .m-route__opt input:checked + span { transform: translateX(-4px); }
html[lang="ar"] .m-route__col legend, html[lang="ar"] .m-route__tag { font-family: var(--m-f-body); letter-spacing: 0; text-transform: none; font-size: 13.5px; }
html[lang="ar"] .m-tl__item b { letter-spacing: 0; }
@media (max-width: 860px) { [dir="rtl"] .m-tl::before { transform-origin: 50% 0; } }
