/* Official Jee Perfumes identity: sizing + surfaces. Loaded last so it replaces the old invented arch-J mark everywhere. */
.brandmark { display: inline-flex; flex: none; line-height: 0; }
.brandmark img { display: block; height: 100%; width: auto; max-width: none; user-select: none; -webkit-user-drag: none; }
.brandmark--plaque { background: #f4e6d5; border-radius: 5px; padding: 2px 3px; box-shadow: 0 0 0 1px rgba(201,169,106,.65), 0 1px 3px rgba(0,0,0,.35); overflow: hidden; }
.bar__seal { height: 46px; width: auto; }
.mc__seal { height: 14.5cqi; width: auto; }
.mc__seal img { height: 100%; }
.mc__brand { align-items: center; }
.tmini .mc__seal { height: 22cqi; width: auto; }
.empty__art { height: 92px; width: auto; opacity: 1; }
.stamp { height: 62px; width: auto; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.env__wax { height: 78px; width: auto; padding: 0; border-radius: 4px; background: none; }
.ritual__emblem { width: auto; }
.ritual__logo { height: 150px; width: auto; }
.brandfoot { display: grid; justify-items: center; padding: 28px 16px calc(92px + env(safe-area-inset-bottom)); }
.brandfoot__logo { height: 120px; width: auto; }
.brandfoot__night { display: none; }
html[data-room="night"] .brandfoot__day { display: none; }
html[data-room="night"] .brandfoot__night { display: inline-flex; }
@media (min-width: 900px) { .brandfoot { padding-bottom: 40px; } .bar__seal { height: 50px; } }
.bar__marks { display: inline-flex; }
.bar__seal--night { display: none; }
html[data-room="night"] .bar__seal--day { display: none; }
html[data-room="night"] .bar__seal--night { display: inline-flex; height: 44px; }
.ritual__logo { height: 168px; }
/* Nour (true cut-out, no baked background): clear of the card text + alive idle (individual transform props so it composes with the entrance) */
.ritual__nour { height: 236px; left: 1%; bottom: -6px; transform-origin: 50% 100%; animation: nour-step 4.4s ease both, nour-idle 4.2s ease-in-out 3s infinite; filter: drop-shadow(0 8px 14px rgba(0,0,0,.45)); }
.ritual__card { width: 58%; right: 4%; }
@keyframes nour-idle { 0%, 100% { translate: 0 0; rotate: 0deg; scale: 1; } 35% { translate: 0 -2px; rotate: -.5deg; scale: 1.004; } 70% { translate: 1px 0; rotate: .45deg; scale: 1; } }
@media (max-width: 480px) { .ritual__nour { height: 204px; left: 0; } .ritual__card { width: 61%; right: 3%; top: 40px; } }
@media (prefers-reduced-motion: reduce) { .ritual__nour { animation: none; } }

/* Nour runs the tier road (replaces the old diamond marker) */
.jr__run { position: absolute; inset-inline: 7px; top: 0; height: var(--runner-h); }
.jr__runner { position: absolute; bottom: -9px; inset-inline-start: calc(var(--p) * 1%); width: calc(var(--runner-h) * .75); height: var(--runner-h); margin-inline-start: calc(var(--runner-h) * -.375); padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.jr__runner:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 3px; border-radius: 8px; }
.jr__rimg { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 3px 3px rgba(42, 15, 22, .28)); transform-origin: 50% 90%; }
[dir="rtl"] .jr__rimg { transform: scaleX(-1); }
.jr__runner.is-running::before { content: ""; position: absolute; inset-block: 38% 30%; inset-inline-end: 78%; width: 26px; background: repeating-linear-gradient(to bottom, rgba(122, 31, 51, .38) 0 2px, transparent 2px 7px); border-radius: 2px; opacity: .8; }
[dir="rtl"] .jr__runner.is-running::before { inset-inline-end: auto; inset-inline-start: 78%; }
.jr__joke { position: relative; display: grid; gap: 6px; padding: 12px 14px; background: var(--sheet); border-radius: 12px; box-shadow: var(--e1); border: 1px solid var(--line-2); }
.jr__joke[hidden] { display: none; }
.jr__joke::before { content: ""; position: absolute; top: -7px; inset-inline-start: calc(var(--p) * 1% - 7px); width: 12px; height: 12px; background: var(--sheet); border-top: 1px solid var(--line-2); border-inline-start: 1px solid var(--line-2); transform: rotate(45deg); }
.jr__jlabel { margin: 0; font-size: 11px; color: var(--ink-3); }
.jr__jtext { margin: 0; font: 600 16px/1.7 var(--f-display); color: var(--ink); }
.jr__jact { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.jr__jnext { background: none; border: 0; padding: 6px 2px; color: var(--oxblood); font: 600 13px var(--f-ui); cursor: pointer; text-decoration: underline; }
.jr__jx { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); background: none; color: var(--ink-2); cursor: pointer; font-size: 18px; line-height: 1; }
@media (prefers-reduced-motion: reduce) { .jr__runner.is-running::before { display: none; } }

/* joke under the Nour greeting on the home page */
.nour__jokebox { display: grid; gap: 4px; margin-top: 10px; padding: 10px 12px; background: var(--paper-2, #efe5d6); border-radius: 10px; border-inline-start: 3px solid var(--leaf-lo, #a8813f); }
.nour__jlabel { margin: 0; font-size: 11px; color: var(--ink-3); }
.nour__joke { margin: 0; font: 600 15px/1.7 var(--f-display); color: var(--ink); }
.nour__jmore { justify-self: start; background: none; border: 0; padding: 4px 0; color: var(--oxblood); font: 600 13px var(--f-ui); cursor: pointer; text-decoration: underline; }

/* shared Nour fun box (joke / banter / riddle) */
.fun { display: grid; gap: 6px; }
.fun__label { margin: 0; font-size: 11px; color: var(--ink-3); }
.fun__text { margin: 0; font: 600 16px/1.75 var(--f-display); color: var(--ink); }
.fun__ans { margin: 0; padding: 8px 10px; border-radius: 8px; background: var(--paper-2, #efe5d6); font: 700 16px/1.6 var(--f-display); color: var(--oxblood); }
.fun__ans[hidden], .fun__reveal[hidden] { display: none; }
.fun__row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.fun__reveal, .fun__next { background: none; border: 0; padding: 6px 2px; color: var(--oxblood); font: 600 13px var(--f-ui); cursor: pointer; text-decoration: underline; }
.fun__reveal { padding: 6px 12px; border: 1px solid var(--oxblood); border-radius: 999px; text-decoration: none; }
.fun__x { margin-inline-start: auto; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); background: none; color: var(--ink-2); cursor: pointer; font-size: 18px; line-height: 1; }
