/* The «خلّك» roll (js/khallik.js). Everything is in em, so font-size sets its whole size, and --kh-ink follows the background. */
.kh{--kh-ink:#fff;--kh-word:var(--bf-coral);position:relative;display:inline-flex;align-items:center;gap:.22em;direction:rtl;
  font-family:var(--bf-font-ar);font-size:clamp(40px,10.5vw,150px);font-weight:800;line-height:1.15;color:var(--kh-ink)}
.kh__fixed{flex:none}
.kh__reel{position:relative;display:block;flex:none;width:3.42em;height:1.3em;perspective:6.4em;perspective-origin:50% 50%;transform-style:preserve-3d}
.kh__item{position:absolute;inset-block:-.35em;inset-inline-start:-.15em;padding-inline:.15em;display:flex;align-items:center;gap:.13em;white-space:nowrap;color:var(--kh-word);
  line-height:1.7;visibility:hidden;backface-visibility:hidden;will-change:transform,opacity}
/* each word turns on its own 3D layer, and Safari draws that layer only as large as the word's box: Arabic dots and tails hang
   below the line («سريع» lost the dots of its «ي» and the tail of its «ع» on an iPhone, 2026-11-05), so the box is roomy on every
   side, centred on the same point, and the words stay exactly where they were */
.kh .bf-ar{flex:none;height:1.11em;width:2.3em;overflow:visible;--c1:var(--bf-coral);--c2:var(--kh-ink)}
.kh--light{--kh-ink:var(--bf-indigo)}
/* English: "Stay" on the left and the reel to its right; the words are longer, so the reel is wider and the type a step smaller */
[dir=ltr] .kh{direction:ltr;font-family:var(--bf-font-en);letter-spacing:-.02em}
[dir=ltr] .kh__reel{width:5.9em}
.kh .bf-en{flex:none;height:.96em;width:3.43em;overflow:visible;translate:0 .06em;--c1:var(--bf-coral);--c2:var(--kh-ink)} /* the coral stays the logo's own on every background */
/* where it moves: the stage in place of the film, and the closing section */
.khallik-stage{position:relative;z-index:1;margin:clamp(32px,5vw,72px) auto 0;min-height:clamp(340px,70vh,720px);display:flex;align-items:center;justify-content:center}
.khallik-stage .kh{font-size:clamp(46px,11.5vw,190px)}
[dir=ltr] .khallik-stage .kh{font-size:clamp(32px,8.4vw,136px)}
.kh-h2{margin:0 0 14px;line-height:1}
.kh-h2 .kh{font-size:clamp(34px,4.7vw,62px)}
[dir=ltr] .kh-h2 .kh{font-size:clamp(30px,4vw,54px)}
/* the fixed line above a section's title: it does not move */
.kh-tag{display:inline-block;margin-bottom:.45em;font-size:clamp(24px,2.7vw,36px);font-weight:800;line-height:1.25;color:var(--bf-indigo)}
.kh-tag b{display:inline-block;font-weight:inherit;color:var(--bf-coral);padding:0 .06em .3em;margin:0 -.06em -.3em;
  background:linear-gradient(100deg,var(--bf-coral) 0 40%,var(--kh-gleam,#FBC6C3) 50%,var(--bf-coral) 60% 100%);background-size:300% 100%;background-position:0 0;
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.kh-tag.is-lit b{animation:kh-gleam 6s ease-in-out .35s infinite}
@keyframes kh-gleam{0%{background-position:0 0}26%,100%{background-position:100% 0}} /* a light through the word, right to left; only while the line is on screen */
@media (prefers-reduced-motion:reduce){.kh-tag.is-lit b{animation:none}}
.journey .kh-tag{color:#fff;--kh-gleam:#FFE9E6}
.features .kh-tag{margin-bottom:.9em}
