/* SILACOD homepage intro (first visit per session): kinetic type on black, after a "rebuilt" brand-intro reference.
   "Everything evolved · Selling didn't · So we rebuilt it" → Gooey connect → the homepage opens. */
#intro { display: none; }
html.intro-on, html.intro-on body { overflow: hidden; }
html.intro-on #intro { display: block; position: fixed; inset: 0; z-index: 9999; background: #000; color: #fff; overflow: hidden; contain: strict; transition: background-color .45s ease; }
html.intro-on #intro.i-wordmark-phase { background-color: #06071d; }
#intro .i-light { position: absolute; inset: -20%; opacity: 0; will-change: opacity, transform;
  background: radial-gradient(45% 40% at 50% 55%, #e9ebf3 0%, #b9bdd0 38%, rgba(120,128,170,.6) 60%, transparent 80%), radial-gradient(40% 35% at 85% 100%, #3d6bff, transparent 70%), radial-gradient(35% 30% at 10% 95%, #a9b0ff, transparent 70%), #05061a; filter: blur(30px); }
#intro .i-floor { position: absolute; inset: auto -10% -30% -10%; height: 70%; opacity: 0; filter: blur(40px); background: radial-gradient(40% 45% at 20% 70%, rgba(200,205,255,.55), transparent 70%), radial-gradient(45% 50% at 85% 65%, rgba(61,107,255,.9), transparent 70%); }
#intro .i-sq { position: absolute; left: 50%; top: 50%; width: 220px; height: 200px; margin: -100px 0 0 -110px; border-radius: 64px; opacity: 0; will-change: transform, opacity, filter;
  box-shadow: 0 0 0 10px rgba(110,170,255,.95), 0 0 60px 20px rgba(80,150,255,.8), inset 0 0 60px 10px rgba(80,150,255,.7); }
#intro .i-line { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); display: flex; justify-content: center; align-items: baseline; gap: .28em; padding: 0 24px;
  font: 600 clamp(30px, 4.4vw, 64px)/1.15 "Inter", sans-serif; letter-spacing: -.02em; white-space: nowrap; opacity: 0; }
html[lang="ar"] #intro .i-line { font-family: "Cairo", sans-serif; font-weight: 700; letter-spacing: 0; }
#intro .i-line span { display: inline-block; will-change: transform, opacity, filter; }
#intro .sf { font-family: "Instrument Serif", "Times New Roman", serif; font-style: italic; font-weight: 400; letter-spacing: -.01em; }
html[lang="ar"] #intro .sf { font-family: "Amiri", "Noto Naskh Arabic", serif; font-style: normal; font-weight: 700; font-size: 1.18em; line-height: 1; }
#intro .sel { position: relative; isolation: isolate; padding: 0 .08em; border-radius: .08em; }
#intro .sel::before { content: ""; position: absolute; inset: .1em -.02em .02em; background: #2563eb; z-index: -1; transform-origin: var(--so, left) center; transform: scaleX(var(--s, 0)); }
#intro .i-l1 .shp { width: .22em; height: .22em; align-self: center; background: #4f7dff; border-radius: 50%; }
#intro .i-logo { position: absolute; inset: 0; display: grid; place-items: center; direction: ltr; opacity: 0; transition: opacity .24s ease; }
#intro.i-wordmark-phase .i-logo { opacity: 1; }
#intro .i-wordmark { position: relative; display: grid; place-items: center; width: min(440px, 78vw); height: 100px; }
#intro .i-wordmark > canvas { position: absolute; inset: 50% auto auto 50%; width: min(900px, 100vw); height: min(360px, 72vh); transform: translate(-50%, -50%); }
#intro .i-wordmark > img { width: 74%; filter: brightness(0) invert(1); }
#intro .i-skip { position: absolute; bottom: 28px; inset-inline-end: 28px; z-index: 2; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: rgba(255,255,255,.8); font: 700 14px "Inter", "Cairo", sans-serif; cursor: pointer; }
#intro .i-skip:hover { background: rgba(255,255,255,.14); color: #fff; }
#intro .i-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, #f06343, #8b6cff, #4f7dff); opacity: .8; }
html[dir="rtl"] #intro .i-bar { transform-origin: right; }
