/* La marque: نجم draws itself, turns a quarter onto the J's point and melts into NDJM. One sentence at a time. */
@font-face { font-family: "NDJM Logo"; src: url("../assets/fonts/times-new-romance.ttf") format("truetype"); font-display: block; }   /* the logotype's face (Times New Romance) */
.marque-scroll { position: relative; height: 1410vh; }   /* 550vh of the way in through the sky, then the story */
[data-scene="marque"] .stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #050505; color: #fff; }
/* the world: the calligraphy's own units, moved and scaled by the camera (js) */
[data-scene="marque"] .ciel, [data-scene="marque"] .poussiere { position: absolute; inset: 0; pointer-events: none; width: 100%; height: 100%; display: block; }   /* the sky behind (js/ciel.js) */
[data-scene="marque"] .monde { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-origin: 0 0; }
[data-scene="marque"] .monde > * { position: absolute; }
[data-scene="marque"] .cal, [data-scene="marque"] .formes { left: 0; top: 0; width: 1000px; height: 1100px; overflow: visible; fill: #fff; transform-origin: 0 0; }
[data-scene="marque"] .logo, [data-scene="marque"] .lettres { left: 0; top: 0; width: 1000px; overflow: visible; opacity: 0; }
[data-scene="marque"] .formes path { stroke: #fff; stroke-width: 1.2; stroke-linejoin: round; }   /* closes the hairline where the serif meets the stem */
/* the words: the page's title, and one sentence at a time, inverted on the white strokes */
[data-scene="marque"] .titre { position: absolute; left: var(--pad, clamp(20px, 4vw, 72px)); top: clamp(60px, 10vh, 100px); margin: 0; font-size: clamp(12px, .95vw, 15px); letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.6); }
[data-scene="marque"] .titre + .titre { opacity: 0; }
[data-scene="marque"] .phrases { display: none; }
[data-scene="marque"] .phrase { position: absolute; left: 50%; bottom: clamp(70px, 13vh, 140px); width: min(920px, calc(100% - 2 * var(--pad, 24px))); translate: -50% 0; margin: 0;
  text-align: center; font-size: clamp(20px, 2.2vw, 34px); line-height: 1.4; color: #fff; mix-blend-mode: difference; opacity: 0; }
[data-scene="marque"] .ar { font-family: "Geeza Pro", "Noto Naskh Arabic", "Arial", serif; }
