/* =========================================================
   RK 2026 — LIGHT LOOK (body.rk-look-light)
   White canvas, layered texture (paper grain + dot grid + soft aurora),
   and brand-colour 3D shapes with pointer parallax, floating motion,
   scroll drift and depth-of-field. Navy and orange from the brand only.
   ========================================================= */
.rk26-shapes, .rk26-floor { display: none; }

.rk-look-light {
  --paper: #FBFAF7;
  --grain-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .04 0 0 0 0 .11 0 0 0 0 .23 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --dots: radial-gradient(rgba(11,29,58,.16) 1px, transparent 1.5px);
}
.rk-look-light .rk26-shapes, .rk-look-light .rk26-floor { display: block; }
.rk-look-light .rk26-grain { background-image: var(--grain-dark); opacity: .32; mix-blend-mode: multiply; }

/* ---------- Hero ---------- */
.rk-look-light .rk26-hero { background: var(--paper); color: var(--navy); }
.rk-look-light .rk26-hero__mesh { opacity: 1; filter: blur(90px); }
.rk-look-light .rk26-hero__mesh span:nth-child(1) { background: #FFB98A; opacity: .55; }
.rk-look-light .rk26-hero__mesh span:nth-child(2) { background: #C9D9FF; opacity: .7; }
.rk-look-light .rk26-hero__mesh span:nth-child(3) { background: #FFD9BF; opacity: .6; }
/* dot grid, fading out from the centre */
.rk-look-light .rk26-hero::after { background-image: var(--dots); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 75% 70% at 60% 40%, #000 20%, transparent 78%); mask-image: radial-gradient(ellipse 75% 70% at 60% 40%, #000 20%, transparent 78%); opacity: .9; }
/* cursor-following warm light */
.rk-look-light .rk26-hero::before, .rk-look-light .rk26-end::before, .rk-look-light .rk26-page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(520px circle at var(--gx, 72%) var(--gy, 34%), rgba(255,98,0,.12), transparent 62%); transition: background .2s; }

.rk-look-light .rk26-hero__h1 { color: var(--navy); }
.rk-look-light .rk26-hero__lead { color: var(--ink-60); }
.rk-look-light .rk26-eyebrow { color: var(--navy); background: rgba(255,255,255,.7); border-color: var(--line); box-shadow: 0 6px 20px -10px rgba(11,29,58,.25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.rk-look-light .rk26-btn--ghost { color: var(--navy); border-color: rgba(11,29,58,.2); background: rgba(255,255,255,.6); }
.rk-look-light .rk26-btn--ghost:hover { border-color: var(--navy); background: #fff; }
.rk-look-light .rk26-stats { border-top-color: var(--line); }
.rk-look-light .rk26-stat__num { color: var(--navy); }
.rk-look-light .rk26-stat__label { color: var(--ink-60); }
.rk-look-light .rk26-scrollcue { color: var(--ink-60); }
.rk-look-light .rk26-scrollcue i { border-color: rgba(11,29,58,.35); }
.rk-look-light .rk26-scrollcue i::after { background: var(--navy); }
.rk-look-light .rk26-orbit { border-color: rgba(11,29,58,.14); }

/* glass chips on white */
.rk-look-light .rk26-chip { background: rgba(255,255,255,.62); border-color: rgba(255,255,255,.95); color: var(--navy); box-shadow: 0 1px 0 #fff inset, 0 2px 6px rgba(11,29,58,.06), 0 30px 70px -24px rgba(11,29,58,.35); }
.rk-look-light .rk26-chip__k { color: var(--ink-60); }
.rk-look-light .rk26-swatches i { border-color: rgba(11,29,58,.1); }
.rk-look-light .rk26-chip__type span[lang="ar"] { color: var(--orange); }
.rk-look-light .rk26-phone { box-shadow: 0 0 0 1px var(--line); }
.rk-look-light .rk26-chip--bio { background: rgba(255,255,255,.4); }

/* ---------- Shapes ---------- */
.rk26-shapes { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.rk26-shapes--front { z-index: 3; }
.rk-look-light .rk26-hero__grid, .rk-look-light .rk26-end__inner, .rk-look-light .rk26-page-hero .container, .rk-look-light .rk26-band .container { position: relative; z-index: 1; }
.rk26-shape { position: absolute; display: block; translate: calc(var(--px, 0) * var(--depth) * 1px) calc(var(--py, 0) * var(--depth) * 1px); transition: translate .7s var(--ease-out); }
.rk26-shape i { display: block; animation: rk26-bob 8s ease-in-out infinite alternate; }
@keyframes rk26-bob { from { transform: translateY(-10px) rotate(var(--r, 0deg)); } to { transform: translateY(12px) rotate(calc(var(--r, 0deg) + 8deg)); } }

/* glossy orange sphere */
.rk26-shape--sphere i { width: var(--s, 150px); height: var(--s, 150px); border-radius: 50%; background: radial-gradient(circle at 32% 28%, #FFE6D3 0 5%, #FFA060 20%, #FF6200 52%, #B54200 100%); box-shadow: inset -14px -20px 34px rgba(120,40,0,.35), inset 8px 10px 18px rgba(255,255,255,.35), 0 50px 70px -30px rgba(255,98,0,.6); animation-duration: 9s; }
/* navy torus seen in perspective, slowly spinning */
.rk26-shape--ring { filter: drop-shadow(0 26px 24px rgba(11,29,58,.28)); }
.rk26-shape--ring i { width: var(--s, 230px); height: var(--s, 230px); border-radius: 50%; background: conic-gradient(from 30deg, #0B1D3A, #3B64AE, #0B1D3A 35%, #24477F 62%, #FF6200 70%, #0B1D3A 78%); -webkit-mask: radial-gradient(circle, transparent 50%, #000 51.5%, #000 69%, transparent 70.5%); mask: radial-gradient(circle, transparent 50%, #000 51.5%, #000 69%, transparent 70.5%); animation: rk26-torus 26s linear infinite; }
@keyframes rk26-torus { from { transform: perspective(700px) rotateX(64deg) rotateZ(0deg); } to { transform: perspective(700px) rotateX(64deg) rotateZ(360deg); } }
/* frosted glass toggle pill */
.rk26-shape--pill i { --r: -16deg; position: relative; width: 210px; height: 78px; border-radius: 999px; background: linear-gradient(135deg, rgba(255,255,255,.85), rgba(255,255,255,.3)); border: 1px solid #fff; -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5); box-shadow: inset 0 1px 0 #fff, 0 24px 50px -18px rgba(11,29,58,.35); animation-duration: 10s; }
.rk26-shape--pill i::after { content: ""; position: absolute; inset-inline-end: 10px; top: 10px; width: 56px; height: 56px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFC9A3, #FF6200 60%, #C24A00); box-shadow: 0 8px 18px -6px rgba(255,98,0,.7); animation: rk26-toggle 5s var(--ease-out) infinite; }
@keyframes rk26-toggle { 0%, 40% { inset-inline-end: 10px; } 50%, 90% { inset-inline-end: 144px; } 100% { inset-inline-end: 10px; } }
/* soft navy rounded cube */
.rk26-shape--cube i { --r: 18deg; width: var(--s, 78px); height: var(--s, 78px); border-radius: 24px; background: linear-gradient(145deg, #2A4E8F, #0B1D3A 70%); box-shadow: inset 5px 5px 12px rgba(255,255,255,.22), inset -8px -8px 16px rgba(0,0,0,.35), 0 30px 40px -18px rgba(11,29,58,.6); animation-duration: 7s; }
/* small light-blue sphere */
.rk26-shape--blue i { width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle at 30% 28%, #fff, #B9CEFF 32%, #4C78D8 100%); box-shadow: 0 16px 24px -10px rgba(76,120,216,.6); animation-duration: 6s; }
/* orange cone / quarter shape */
.rk26-shape--cone i { --r: -24deg; width: 70px; height: 70px; border-radius: 70px 70px 70px 8px; background: linear-gradient(160deg, #FFB27F, #FF6200 70%); box-shadow: inset -6px -8px 14px rgba(140,45,0,.3), 0 24px 30px -14px rgba(255,98,0,.55); animation-duration: 11s; }
/* depth-of-field foreground sphere */
.rk26-shape--bokeh i { width: 58px; height: 58px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #FFE1CC, #FF7B2B 45%, #D24E00); filter: blur(3px); opacity: .9; animation-duration: 7.5s; }

/* perspective floor grid */
.rk26-floor { position: absolute; z-index: -1; left: -30%; right: -30%; bottom: -8%; height: 55%; background-image: linear-gradient(rgba(11,29,58,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(11,29,58,.09) 1px, transparent 1px); background-size: 64px 64px; transform: perspective(520px) rotateX(64deg); transform-origin: 50% 100%; -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%); mask-image: linear-gradient(to top, #000 10%, transparent 85%); pointer-events: none; }

/* hero placement (logical: mirrors itself in Arabic) */
.rk26-shapes--hero .rk26-shape--sphere { top: 9%; inset-inline-end: 4%; }
.rk26-shapes--hero .rk26-shape--ring { bottom: 6%; inset-inline-end: 30%; }
.rk26-shapes--hero .rk26-shape--pill { bottom: 15%; inset-inline-end: 1%; }
.rk26-shapes--hero .rk26-shape--cube { top: 12%; inset-inline-end: 40%; }
.rk26-shapes--hero .rk26-shape--blue { top: 54%; inset-inline-end: 46%; }
.rk26-shapes--hero .rk26-shape--cone { top: 30%; inset-inline-end: 12%; }
.rk26-shapes--front-hero .rk26-shape--bokeh { top: 5%; inset-inline-end: 24%; }

/* scroll drift: shapes rise faster than the page as the hero leaves */
@supports (animation-timeline: view()) {
  .rk-look-light .rk26-shapes--hero, .rk-look-light .rk26-shapes--front-hero { animation: rk26-drift linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  .rk-look-light .rk26-shapes--front-hero { animation-name: rk26-drift-front; }
}
@keyframes rk26-drift { to { transform: translateY(-140px) scale(.96); } }
@keyframes rk26-drift-front { to { transform: translateY(-260px); } }

/* ---------- Sections ---------- */
.rk-look-light .rk26-ticker { background: var(--navy); }
.rk-look-light .rk26-ticker__list li::after { color: var(--orange); opacity: 1; }
.rk-look-light .rk26-how { background: var(--paper); position: relative; isolation: isolate; }
.rk-look-light .rk26-how::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--dots); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, #000, transparent 55%); mask-image: linear-gradient(90deg, #000, transparent 55%); opacity: .6; }
html[dir="rtl"] .rk-look-light .rk26-how::before { -webkit-mask-image: linear-gradient(-90deg, #000, transparent 55%); mask-image: linear-gradient(-90deg, #000, transparent 55%); }
.rk-look-light .rk26-tile { box-shadow: 0 1px 0 #fff inset, 0 2px 6px rgba(11,29,58,.05), 0 18px 40px -22px rgba(11,29,58,.28); }
.rk-look-light .rk26-tile--lang { background: linear-gradient(135deg, #FFF1E6, #fff 65%); }

/* closing CTA on white */
.rk-look-light .rk26-end { background: var(--paper); color: var(--navy); }
.rk-look-light .rk26-end::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--dots); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent 75%); }
.rk-look-light .rk26-hero__mesh--end span:nth-child(1) { background: #FFC39A; opacity: .5; }
.rk-look-light .rk26-hero__mesh--end span:nth-child(2) { background: #CFDCFF; opacity: .6; }
.rk-look-light .rk26-hero__mesh--end span:nth-child(3) { background: #FFE1CC; opacity: .5; }
.rk-look-light .rk26-end__h { color: var(--navy); }
.rk-look-light .rk26-end__p { color: var(--ink-60); }
.rk-look-light .rk26-label--light { color: var(--orange); }
.rk-look-light .rk26-end__mail { color: var(--navy); border-bottom-color: rgba(11,29,58,.25); }
.rk-look-light .rk26-end__mail:hover { color: var(--orange); }
.rk26-shapes--end .rk26-shape--sphere { --s: 190px; bottom: 10%; inset-inline-start: 6%; }
.rk26-shapes--end .rk26-shape--ring { --s: 240px; top: -4%; inset-inline-end: -1%; }
.rk26-shapes--end .rk26-shape--cube { top: 18%; inset-inline-start: 16%; }
.rk26-shapes--end .rk26-shape--blue { bottom: 18%; inset-inline-end: 18%; }
.rk26-shapes--front-end .rk26-shape--bokeh { bottom: 8%; inset-inline-end: 9%; }

/* inner pages */
.rk-look-light .rk26-page-hero { background: var(--paper); }
.rk-look-light .rk26-page-hero::after { background-image: var(--dots); background-size: 22px 22px; opacity: .9; }
.rk-look-light .rk26-page-hero .rk26-grain { opacity: .25; }
.rk26-shapes--page .rk26-shape--sphere { --s: 120px; top: 22%; inset-inline-end: 9%; }
.rk26-shapes--page .rk26-shape--ring { --s: 190px; bottom: -6%; inset-inline-end: 20%; }
.rk26-shapes--page .rk26-shape--cube { --s: 60px; top: 16%; inset-inline-end: 28%; }
.rk-look-light .rk26-band { background: radial-gradient(700px 260px at 85% 0%, rgba(255,98,0,.16), transparent 70%), linear-gradient(180deg, #FFF6EF, var(--paper)); border-top: 1px solid var(--line); }
html[dir="rtl"] .rk-look-light .rk26-band { background: radial-gradient(700px 260px at 15% 0%, rgba(255,98,0,.16), transparent 70%), linear-gradient(180deg, #FFF6EF, var(--paper)); }
.rk-look-light .rk26-band h2 { color: var(--navy) !important; }
.rk-look-light .rk26-band .rk26-grain { opacity: .2; }
.rk26-shapes--band .rk26-shape--ring { --s: 170px; top: -40px; inset-inline-end: 34%; }
.rk26-shapes--band .rk26-shape--sphere { --s: 70px; bottom: 14px; inset-inline-start: 46%; }

/* ---------- Design switcher (staging preview only) ---------- */
.rk26-look { position: fixed; z-index: 950; bottom: 20px; inset-inline-start: 20px; display: flex; align-items: center; gap: 4px; padding: 5px 5px 5px 14px; border-radius: 999px; background: rgba(255,255,255,.9); border: 1px solid var(--line); box-shadow: 0 10px 30px -10px rgba(11,29,58,.35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .8rem; font-weight: 600; color: var(--ink-60); }
html[dir="rtl"] .rk26-look { padding: 5px 14px 5px 5px; }
.rk26-look span { margin-inline-end: 6px; }
.rk26-look a { padding: 7px 12px; border-radius: 999px; color: var(--navy); }
.rk26-look a[aria-current] { background: var(--navy); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .rk26-shapes--hero .rk26-shape--cube, .rk26-shapes--hero .rk26-shape--blue { display: none; }
  .rk26-shapes--hero .rk26-shape--ring { bottom: 2%; inset-inline-end: 4%; }
}
@media (max-width: 640px) {
  .rk26-shapes--hero .rk26-shape--sphere { --s: 96px; top: 2%; inset-inline-end: -26px; }
  .rk26-shapes--hero .rk26-shape--ring { --s: 150px; top: auto; bottom: 4%; inset-inline-end: -60px; opacity: .45; }
  .rk26-shapes--hero .rk26-shape--pill, .rk26-shapes--hero .rk26-shape--cone, .rk-look-light .rk26-shapes--front-hero { display: none; }
  .rk26-shapes--end .rk26-shape--sphere { --s: 100px; bottom: -20px; inset-inline-start: -20px; }
  .rk26-shapes--end .rk26-shape--ring { --s: 150px; top: -30px; inset-inline-end: -40px; }
  .rk26-shapes--end .rk26-shape--cube, .rk26-shapes--end .rk26-shape--blue, .rk-look-light .rk26-shapes--front-end { display: none; }
  .rk26-shapes--page .rk26-shape--sphere { --s: 70px; top: 10px; inset-inline-end: -16px; }
  .rk26-shapes--page .rk26-shape--ring, .rk26-shapes--page .rk26-shape--cube, .rk-look-light .rk26-shapes--band { display: none; }
  .rk26-look { bottom: 16px; inset-inline-start: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .rk26-shape { translate: none; }
  .rk-look-light .rk26-shapes--hero, .rk-look-light .rk26-shapes--front-hero { animation: none; }
}
