/* ==========================================================================
   Lekando — public design system.
   Royal black · metallic gold · electric blue. One centred stage.
   System fonts only. Motion uses transform/opacity and stops entirely for
   prefers-reduced-motion. Newer CSS (scroll timelines, view transitions,
   @property) is progressive: older browsers get the same page, still.
   ========================================================================== */
:root {
  --bg: #030305;
  --ink: #0B0B12;
  --line: rgba(232, 184, 109, .16);
  --line-soft: rgba(255, 255, 255, .07);
  --gold: #E8B86D;
  --gold-hi: #F8E4B6;
  --blue: #22C8FF;
  --cyan: #67E8F9;
  --text: #F6F3EC;
  --text-2: #C9C3B6;
  --muted: #8A8578;
  --font: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --font-ar: Arial, Tahoma, "Segoe UI", "Geeza Pro", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  background: var(--bg); color: var(--text);
  font: 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
html[lang="ar"] body { font-family: var(--font-ar); }
main { flex: 1; display: flex; flex-direction: column; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
h1, h2 { margin: 0; font-weight: 700; line-height: 1.25; }
p { margin: 0; }
.visually-hidden, .hp { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ic { flex: none; }
[hidden] { display: none !important; }
html[dir="rtl"] .ic-arrow { transform: scaleX(-1); }

/* ================================================================= world */
.world { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: radial-gradient(120% 80% at 50% -10%, #12101A 0%, var(--bg) 55%), var(--bg); }
.w-aura { position: absolute; width: 80vmax; height: 80vmax; border-radius: 50%; filter: blur(70px); opacity: .5; will-change: transform; }
.w-aura-a { top: -45vmax; left: -20vmax; background: radial-gradient(circle, rgba(232, 184, 109, .34), transparent 62%); animation: drift-a 34s ease-in-out infinite alternate; }
.w-aura-b { bottom: -50vmax; right: -25vmax; background: radial-gradient(circle, rgba(34, 140, 255, .22), rgba(80, 40, 160, .10) 40%, transparent 64%); animation: drift-b 40s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(14vmax, 10vmax) scale(1.08); } }
@keyframes drift-b { to { transform: translate(-12vmax, -8vmax) scale(1.12); } }
.w-floor { position: absolute; left: -50%; right: -50%; bottom: -8vh; height: 58vh; overflow: hidden;
  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%); }
.w-floor::before { content: ""; position: absolute; inset: -64px 0 0;
  background-image: linear-gradient(rgba(232, 184, 109, .22) 1px, transparent 1px), linear-gradient(90deg, rgba(232, 184, 109, .16) 1px, transparent 1px);
  background-size: 64px 64px; animation: floor 5s linear infinite; will-change: transform; }
@keyframes floor { to { transform: translateY(64px); } }
.w-dust { position: absolute; left: 0; top: 0; width: 1px; height: 1px; border-radius: 50%; box-shadow: 0vw 92vh 0 0 rgba(247,226,180,0.37),53vw 33vh 0 0 rgba(247,226,180,0.67),68vw 64vh 0 0 rgba(247,226,180,0.38),71vw 70vh 0 0.5px rgba(247,226,180,0.63),92vw 81vh 0 0.5px rgba(103,232,249,0.53),69vw 64vh 0 0 rgba(103,232,249,0.75),37vw 34vh 0 0 rgba(247,226,180,0.43),30vw 43vh 0 0 rgba(247,226,180,0.77),73vw 88vh 0 0.5px rgba(247,226,180,0.40),51vw 42vh 0 0.5px rgba(247,226,180,0.75),37vw 34vh 0 0 rgba(247,226,180,0.76),17vw 41vh 0 0 rgba(247,226,180,0.45),33vw 53vh 0 0 rgba(103,232,249,0.38),46vw 86vh 0 0 rgba(247,226,180,0.60),50vw 69vh 0 0 rgba(247,226,180,0.47),25vw 59vh 0 0 rgba(247,226,180,0.43),79vw 88vh 0 0.5px rgba(247,226,180,0.70),41vw 15vh 0 0.5px rgba(247,226,180,0.80),63vw 14vh 0 0 rgba(247,226,180,0.58),92vw 88vh 0 0 rgba(103,232,249,0.74),76vw 28vh 0 0.5px rgba(247,226,180,0.39),0vw 62vh 0 0 rgba(247,226,180,0.66),69vw 24vh 0 0 rgba(247,226,180,0.38),89vw 12vh 0 0 rgba(103,232,249,0.25),64vw 92vh 0 0.5px rgba(247,226,180,0.75),97vw 57vh 0 0 rgba(247,226,180,0.40),21vw 56vh 0 0.5px rgba(247,226,180,0.67),71vw 50vh 0 0.5px rgba(103,232,249,0.31),13vw 69vh 0 0 rgba(103,232,249,0.27),86vw 99vh 0 0 rgba(247,226,180,0.67),25vw 73vh 0 0 rgba(247,226,180,0.47),40vw 89vh 0 0 rgba(247,226,180,0.44),73vw 34vh 0 0 rgba(247,226,180,0.48),31vw 99vh 0 0 rgba(103,232,249,0.60),92vw 20vh 0 0 rgba(247,226,180,0.32),56vw 77vh 0 0 rgba(247,226,180,0.52),45vw 17vh 0 0 rgba(247,226,180,0.54),51vw 76vh 0 0 rgba(247,226,180,0.66),30vw 54vh 0 0 rgba(247,226,180,0.65),24vw 66vh 0 0 rgba(103,232,249,0.29),82vw 92vh 0 0 rgba(103,232,249,0.62),3vw 76vh 0 0 rgba(103,232,249,0.65),4vw 14vh 0 0.5px rgba(247,226,180,0.31),1vw 61vh 0 0 rgba(247,226,180,0.36),20vw 67vh 0 0 rgba(103,232,249,0.50),42vw 67vh 0 0 rgba(247,226,180,0.47); animation: twinkle 7s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .35; } to { opacity: 1; } }
.w-spot { position: absolute; inset: 0; opacity: 0; transition: opacity .6s;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 30%), rgba(248, 228, 182, .07), transparent 60%); }
.has-pointer .w-spot { opacity: 1; }
.w-grain { position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* =================================================================== bar */
.bar { position: absolute; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: max(14px, env(safe-area-inset-top)) var(--gutter) 14px; }
.bar-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; border: 1px solid var(--line); background: rgba(10, 10, 16, .6);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .3s, transform .3s var(--ease); }
.bar-mark:hover { border-color: rgba(232, 184, 109, .5); transform: rotate(-4deg) scale(1.04); }
.bar-mark svg { width: 26px; height: 24px; fill: none; stroke-width: 10; }
.m-gold { stroke: var(--gold); }
.m-blue { stroke: var(--blue); }
.bar-meta { font: 700 10.5px/1 var(--mono); letter-spacing: .26em; color: var(--muted); }
.bar-meta i { color: var(--gold); font-style: normal; }
.bar-lang { min-height: 42px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-soft); color: var(--text-2); font-size: 14px;
  background: rgba(10, 10, 16, .5); transition: color .2s, border-color .2s; }
.bar-lang:hover { color: var(--gold-hi); border-color: var(--line); }
@media (max-width: 520px) { .bar-meta { display: none; } }

/* ================================================================= stage */
.stage { position: relative; flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: clamp(12px, 2vh, 20px); padding: 84px var(--gutter) 24px; overflow-x: clip; }
.occasion { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line); background: rgba(10, 10, 16, .6);
  font-size: 13px; color: var(--text-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.occasion strong { color: var(--gold-hi); font-weight: 700; }
.occ-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.occ-when { font: 700 11px/1 var(--mono); color: var(--muted); }

/* the gate: the logo inside a 3D orbit */
.gate { position: relative; display: grid; place-items: center; width: min(92vw, 760px); padding: clamp(18px, 5vw, 46px) 0; perspective: 1100px; }
.orbit { position: absolute; inset: 0; display: grid; place-items: center; transform-style: preserve-3d; pointer-events: none; }
.ring { position: absolute; width: min(82vw, 600px); aspect-ratio: 1; border-radius: 50%; transform-style: preserve-3d; }
.ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(232, 184, 109, .28);
  -webkit-mask-image: linear-gradient(115deg, #000 0 45%, transparent 70%); mask-image: linear-gradient(115deg, #000 0 45%, transparent 70%); }
.ring::after { content: ""; position: absolute; top: 50%; left: -4px; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 14px 2px var(--gold); }
.ring-a { animation: orbit-a 18s linear infinite; }
.ring-b { width: min(70vw, 520px); animation: orbit-b 24s linear infinite; }
.ring-b::before { border-color: rgba(34, 200, 255, .3); }
.ring-b::after { left: auto; right: -4px; background: var(--cyan); box-shadow: 0 0 14px 2px var(--blue); }
.ring-c { width: min(94vw, 700px); opacity: .55; animation: orbit-c 32s linear infinite; }
.ring-c::after { width: 5px; height: 5px; margin-top: -2.5px; }
@keyframes orbit-a { from { transform: rotateX(72deg) rotateZ(0); } to { transform: rotateX(72deg) rotateZ(360deg); } }
@keyframes orbit-b { from { transform: rotateX(66deg) rotateY(18deg) rotateZ(360deg); } to { transform: rotateX(66deg) rotateY(18deg) rotateZ(0); } }
@keyframes orbit-c { from { transform: rotateX(78deg) rotateY(-14deg) rotateZ(0); } to { transform: rotateX(78deg) rotateY(-14deg) rotateZ(360deg); } }
.core-glow { position: absolute; width: min(70vw, 480px); height: 140px; border-radius: 50%; background: radial-gradient(closest-side, rgba(232, 184, 109, .18), transparent); filter: blur(20px); }

.crest { position: relative; display: grid; justify-items: center; gap: 12px; }
.crest-logo { position: relative; display: block; width: clamp(260px, 64vw, 620px); view-transition-name: lk-logo; }
.hero-logo { width: 100%; height: auto; filter: drop-shadow(0 10px 34px rgba(232, 184, 109, .22)); }
.hero-logo circle { transform-box: fill-box; transform-origin: center; animation: power 3.2s ease-in-out infinite; }
@keyframes power { 0%, 100% { opacity: .8; } 50% { opacity: 1; filter: drop-shadow(0 0 6px #22C8FF) drop-shadow(0 0 14px #22C8FF); } }
/* a metallic shine travels through the gold, clipped to the letter shapes */
.crest-logo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 252, 240, .95) 49%, transparent 60%) no-repeat;
  background-size: 260% 100%; background-position: 160% 0;
  -webkit-mask: url("/assets/brand/lekando-logo-mono.svg") center / 100% 100% no-repeat; mask: url("/assets/brand/lekando-logo-mono.svg") center / 100% 100% no-repeat;
  mix-blend-mode: soft-light; animation: shine 7s var(--ease) 2.2s infinite; }
@keyframes shine { 0% { background-position: 160% 0; } 22%, 100% { background-position: -60% 0; } }
.crest-sub { direction: ltr; font: 400 clamp(13px, 2vw, 16px)/1 var(--font); letter-spacing: .62em; padding-left: .62em; text-transform: uppercase; color: var(--text-2); }

.tagline { height: 1.7em; overflow: hidden; font-size: clamp(15px, 2.1vw, 18px); letter-spacing: .14em; color: var(--gold-hi); }
.tagline span { display: inline-block; transition: opacity .5s var(--ease), transform .5s var(--ease), filter .5s; }
.tagline span.is-out { opacity: 0; transform: translateY(-.7em); filter: blur(4px); }
.tagline span.is-in { opacity: 0; transform: translateY(.7em); filter: blur(4px); }

/* =========================================================== member card */
.vcard { --rx: 0deg; --ry: 0deg;
  position: relative; width: min(100%, 520px); padding: 20px 20px 16px; border-radius: 22px; text-align: start;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .06), transparent 40%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .012) 0 2px, transparent 2px 5px),
    linear-gradient(180deg, #121219, #07070C);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .95), inset 0 0 0 1px rgba(255, 255, 255, .04), 0 30px 80px -50px rgba(232, 184, 109, .35);
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease); }
.vcard.is-tilting { transition: transform .08s linear; }
@property --edge { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.vcard-edge { position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--edge), rgba(232, 184, 109, .85), rgba(232, 184, 109, .05) 25%, rgba(34, 200, 255, .6) 50%, rgba(232, 184, 109, .05) 75%, rgba(232, 184, 109, .85));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: edge 8s linear infinite; }
@keyframes edge { to { --edge: 360deg; } }
.vcard-shine { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--sx, 50%) var(--sy, 0%), rgba(255, 245, 220, .10), transparent 60%); }
.vcard.is-tilting .vcard-shine { opacity: 1; }
.vcard-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.vcard-chip { position: relative; overflow: hidden; width: 36px; height: 27px; border-radius: 6px;
  background: linear-gradient(135deg, #F8E4B6, #C9963F 45%, #F1D49A 60%, #A9792F); box-shadow: inset 0 0 0 1px rgba(90, 60, 15, .5); }
.vcard-chip::before { content: ""; position: absolute; inset: 6px 0; border-top: 1px solid rgba(90, 60, 15, .45); border-bottom: 1px solid rgba(90, 60, 15, .45); }
.vcard-chip::after { content: ""; position: absolute; inset: 0 12px; border-left: 1px solid rgba(90, 60, 15, .45); border-right: 1px solid rgba(90, 60, 15, .45); }
.vcard-brand { font: 700 10px/1 var(--mono); letter-spacing: .3em; color: var(--muted); }
.vcard-label { display: block; margin-bottom: 8px; font: 700 11px/1 var(--mono); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.vcard-row { display: flex; gap: 10px; align-items: stretch; }
.vcard-row input { flex: 1; min-width: 0; min-height: 56px; padding: 0 16px; border-radius: 14px; border: 1px solid rgba(232, 184, 109, .2);
  background: rgba(0, 0, 0, .55); color: var(--gold-hi); caret-color: var(--gold);
  font: 700 19px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; text-align: center;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, .6); transition: border-color .25s, box-shadow .25s; }
.vcard-row input::placeholder { color: #5E5A51; font: 400 15px var(--font); letter-spacing: .04em; text-transform: none; }
html[lang="ar"] .vcard-row input::placeholder { font-family: var(--font-ar); }
.vcard-row input:focus { outline: none; border-color: rgba(232, 184, 109, .7); box-shadow: inset 0 2px 10px rgba(0, 0, 0, .6), 0 0 0 4px rgba(232, 184, 109, .12), 0 0 30px -6px rgba(232, 184, 109, .5); }
.vcard-msg { min-height: 1.5em; margin-top: 10px; font-size: 13.5px; color: var(--muted); text-align: center; }
.vcard-msg.is-error { color: #FCA5A5; }
.vcard-row.shake { animation: shake .4s var(--ease); }
@keyframes shake { 20%, 60% { translate: -7px 0; } 40%, 80% { translate: 7px 0; } }
.human { margin-top: 12px; padding-top: 14px; border-top: 1px dashed var(--line); display: grid; gap: 10px; justify-items: center; text-align: center; }
.human p { color: var(--text-2); font-size: 14px; }
@media (max-width: 440px) { .vcard-row { flex-direction: column; } .vcard-row .lux, .vcard-row .lux-face { width: 100%; } }

.invite { display: inline-flex; align-items: center; gap: 14px; font: 700 11.5px/1 var(--mono); letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .invite { font: 700 14px/1 var(--font-ar); letter-spacing: .08em; }
.invite span { width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.invite span:last-child { transform: scaleX(-1); }

/* ====================================================== lux 3D buttons */
.lux { --depth: 6px; --base: linear-gradient(180deg, #7B5820, #3D2A0C);
  position: relative; display: inline-flex; padding: 0 0 var(--depth); border: 0; border-radius: 15px; background: none;
  cursor: pointer; -webkit-tap-highlight-color: transparent; isolation: isolate; font: inherit; color: inherit; }
.lux::before { content: ""; position: absolute; inset: var(--depth) 0 0; z-index: -1; border-radius: inherit; background: var(--base);
  box-shadow: 0 16px 30px -12px rgba(232, 184, 109, .45), 0 2px 0 rgba(0, 0, 0, .6); transition: box-shadow .25s; }
.lux-face { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px;
  border-radius: inherit; overflow: hidden; color: #1A1206; font: 800 16px/1 var(--font); letter-spacing: .06em; white-space: nowrap;
  background: linear-gradient(180deg, #FFF4D6 0%, #F4D597 20%, #E8B86D 48%, #C99441 80%, #E2B064 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -3px 6px rgba(110, 70, 15, .35), inset 0 0 0 1px rgba(255, 236, 190, .45);
  transition: transform .14s var(--ease), filter .25s; }
html[lang="ar"] .lux-face { font-family: var(--font-ar); letter-spacing: 0; }
.lux-face::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 40%; transform: skewX(-20deg); opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent); }
.lux:hover .lux-face { transform: translateY(-2px); filter: brightness(1.05) saturate(1.05); }
.lux:hover .lux-face::after { opacity: 1; animation: sweep .9s var(--ease); }
.lux:hover::before { box-shadow: 0 22px 40px -12px rgba(232, 184, 109, .6), 0 2px 0 rgba(0, 0, 0, .6); }
.lux:active .lux-face, .lux.is-down .lux-face { transform: translateY(calc(var(--depth) - 1px)); filter: brightness(.96); }
.lux[disabled], .lux[aria-busy="true"] { pointer-events: none; }
.lux[aria-busy="true"] .lux-text { opacity: .55; }
@keyframes sweep { from { left: -60%; } to { left: 130%; } }
.lux-blue { --base: linear-gradient(180deg, #0B4F86, #062440); }
.lux-blue::before { box-shadow: 0 16px 30px -12px rgba(34, 200, 255, .5), 0 2px 0 rgba(0, 0, 0, .6); }
.lux-blue .lux-face { color: #031426; background: linear-gradient(180deg, #D8F6FF 0%, #7CDFFF 22%, #22C8FF 52%, #0A93D6 85%, #22B4F0 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -3px 6px rgba(5, 60, 110, .4); }
.lux-ghost { --base: linear-gradient(180deg, #2A2418, #120F09); }
.lux-ghost .lux-face { color: var(--gold-hi); background: linear-gradient(180deg, #1C1A16, #0C0B09); box-shadow: inset 0 1px 0 rgba(255, 236, 190, .25), inset 0 0 0 1px rgba(232, 184, 109, .35); }
.lux-sm { --depth: 4px; }
.lux-sm .lux-face { min-height: 42px; padding: 0 16px; font-size: 14px; }
/* tap burst — spans injected by the scripts */
.burst { position: absolute; left: var(--x); top: var(--y); width: 10px; height: 10px; margin: -5px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, .95), rgba(255, 236, 190, .4) 40%, transparent 70%); animation: burst .6s var(--ease) forwards; }
@keyframes burst { to { transform: scale(26); opacity: 0; } }
.spark { position: absolute; left: var(--x); top: var(--y); z-index: 2; width: 4px; height: 4px; margin: -2px; border-radius: 50%; pointer-events: none;
  background: var(--gold-hi); box-shadow: 0 0 8px var(--gold); animation: spark .7s var(--ease) forwards; }
@keyframes spark { to { transform: translate(var(--tx), var(--ty)) scale(.2); opacity: 0; } }

/* ============================================================= manifest */
.manifest { display: grid; justify-items: center; gap: clamp(20px, 3.5vh, 32px); padding: clamp(12px, 3vh, 40px) var(--gutter) clamp(36px, 7vh, 72px); text-align: center; }
  background: linear-gradient(180deg, #FFF6E2, #E8B86D 55%, #8E6427); -webkit-background-clip: text; background-clip: text; color: transparent; }
.manifest-line { max-width: 560px; font-size: clamp(16px, 2vw, 19px); color: var(--text-2); }
.frames { display: grid; gap: 14px; width: min(100%, 980px); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.frame { position: relative; display: grid; gap: 8px; align-content: center; justify-items: center; min-height: 150px; padding: 26px 22px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(20, 20, 28, .75), rgba(8, 8, 12, .75)); border: 1px solid var(--line-soft); transition: border-color .35s, transform .35s var(--ease); }
.frame::before { content: ""; position: absolute; inset: 10px; border-radius: 13px; border: 1px solid rgba(232, 184, 109, .12); pointer-events: none; }
.frame:hover { border-color: rgba(232, 184, 109, .35); transform: translateY(-3px); }
.frame h2 { font-size: 19px; color: var(--gold-hi); }
.frame p { color: var(--text-2); font-size: 15px; }
.frame-link { position: absolute; inset: 0; display: grid; place-items: end; padding: 14px; color: var(--gold); border-radius: inherit; }

/* =============================================================== portrait */
.portrait { position: relative; z-index: 1; margin: 0 0 6px; width: clamp(130px, 22vw, 190px); aspect-ratio: 4 / 5; padding: 4px; border-radius: 24px;
  background: linear-gradient(145deg, #F8E4B6, rgba(255, 255, 255, .05) 40%, rgba(34, 200, 255, .6)); box-shadow: 0 30px 60px -30px #000, 0 0 50px -16px rgba(232, 184, 109, .4); }
.portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; background: var(--ink); }

/* ================================================================= footer */
.foot { padding: 14px var(--gutter) max(16px, env(safe-area-inset-bottom)); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 22px; font-size: 12.5px; color: var(--muted); text-align: center; }
.foot-row::before { content: ""; flex-basis: 100%; height: 1px; margin-bottom: 6px; background: linear-gradient(90deg, transparent, rgba(232, 184, 109, .35), transparent); }
.foot a { color: var(--muted); transition: color .2s; }
.foot a:hover { color: var(--gold-hi); }
/* trust seal */
.seal { display: inline-flex; align-items: center; gap: 10px; text-align: start; }
.seal-badge { position: relative; width: 34px; height: 34px; display: grid; place-items: center; flex: none; border-radius: 11px; overflow: hidden;
  background: linear-gradient(180deg, rgba(232, 184, 109, .16), rgba(232, 184, 109, .04)); border: 1px solid rgba(232, 184, 109, .35); }
.seal-badge::after { content: ""; position: absolute; top: -50%; bottom: -50%; left: -60%; width: 40%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 248, 225, .55), transparent); animation: seal-sweep 6s ease-in-out 1.2s infinite; }
@keyframes seal-sweep { 0% { left: -60%; } 18%, 100% { left: 140%; } }
.seal svg { width: 20px; height: 20px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.seal-shield { stroke: var(--gold); stroke-width: 1.6; fill: rgba(232, 184, 109, .10); }
.seal-check { stroke: #4ADE80; stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; animation: seal-check .7s cubic-bezier(.65, 0, .35, 1) .5s forwards; }
@keyframes seal-check { to { stroke-dashoffset: 0; } }
.seal-text { display: grid; gap: 2px; }
.seal-text b { font: 700 11.5px/1.2 var(--mono); letter-spacing: .12em; color: var(--gold-hi); }
.seal-text small { font-size: 12px; color: var(--muted); }
.social { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; border: 1px solid var(--line-soft); color: var(--text-2); }
.social a:hover { border-color: var(--line); color: var(--gold-hi); }

/* ============================================================= plain pages */
.plain { flex: 1; display: grid; justify-items: center; align-content: center; gap: 18px; width: 100%; max-width: 720px; margin: 0 auto; padding: 110px var(--gutter) 60px; text-align: center; }
.plain h1 { font-size: clamp(30px, 5vw, 46px); background: linear-gradient(180deg, #FFF6E2, #E8B86D); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plain > p { color: var(--text-2); }
.plain-code { font: 700 13px/1 var(--mono); letter-spacing: .4em; color: var(--gold); }
.plain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plain-list li { padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line-soft); background: rgba(12, 12, 18, .6); color: var(--text-2); font-size: 15px; }

/* ============================================================== entrance */
.reveal { opacity: 0; transform: translateY(18px) scale(.985); filter: blur(6px); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 110ms + 80ms); }
.lk-intro .reveal { animation-delay: calc(var(--d, 0) * 90ms + 1050ms); }
@keyframes rise { to { opacity: 1; transform: none; filter: none; } }
/* Below the fold: scroll-linked where the browser supports it, else revealed by script. */
.manifest .reveal { animation: none; transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s; transition-delay: calc(var(--d, 0) * 90ms); }
.manifest .reveal.is-in { opacity: 1; transform: none; filter: none; }
@supports (animation-timeline: view()) {
  .manifest .reveal { transition: none; animation: rise linear both; animation-timeline: view(); animation-range: entry 5% entry 100%; }
}

/* ================================================================= intro */
.intro { display: none; }
.lk-intro .intro { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--bg); animation: intro-out .4s var(--ease) 1s forwards; }
.lk-intro body { overflow: hidden; }
.intro-hair { position: absolute; left: 50%; top: 50%; width: 70vw; height: 1px; margin-left: -35vw; transform: scaleX(0);
  background: linear-gradient(90deg, transparent, var(--gold-hi), transparent); animation: hair .4s var(--ease) forwards, fade .3s linear .65s forwards; }
.intro-stage { position: relative; width: min(80vw, 560px); }
.intro-logo { width: 100%; height: auto; clip-path: inset(-12% 100% -12% 0); transform: perspective(800px) rotateX(18deg) scale(.94);
  animation: wipe .62s cubic-bezier(.65, 0, .35, 1) .08s forwards, settle .8s var(--ease) .06s forwards; }
.intro-logo circle { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: pop .35s cubic-bezier(.3, 1.6, .5, 1) .6s forwards; }
.intro-sheen { position: absolute; top: -12%; bottom: -12%; left: -4%; width: 8%; opacity: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 246, 220, .95), transparent); filter: blur(6px); animation: intro-edge .62s cubic-bezier(.65, 0, .35, 1) .08s forwards; }
.intro-tag { position: absolute; left: 0; right: 0; top: calc(50% + min(14vw, 100px)); text-align: center; direction: ltr;
  font: 700 11px/1 var(--mono); letter-spacing: .8em; color: var(--muted); opacity: 0; animation: fade-in .4s ease .5s forwards; }
@keyframes hair { to { transform: scaleX(1); } }
@keyframes fade { to { opacity: 0; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes settle { to { transform: none; } }
@keyframes wipe { to { clip-path: inset(-12% -2% -12% 0); } }
@keyframes pop { to { transform: scale(1); } }
@keyframes intro-edge { 0% { opacity: 0; left: -4%; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; left: 98%; } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; transform: scale(1.04); } }

/* ===================================================== access transition */
.reel-overlay { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; background: rgba(3, 3, 5, .9);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); opacity: 0; transition: opacity .2s; }
.reel-overlay.is-on { opacity: 1; }
.reel-card { display: grid; justify-items: center; gap: 18px; width: min(92vw, 480px); padding: 28px 22px; text-align: center; }
.reel-logo { width: 200px; height: auto; }
.reel-status { min-height: 1.4em; font: 700 11.5px/1.4 var(--mono); letter-spacing: .28em; color: var(--blue); direction: ltr; }
.reel { display: flex; gap: 5px; direction: ltr; }
.reel-slot { width: 1.05em; height: 1.5em; overflow: hidden; border-radius: 7px; border: 1px solid var(--line); background: linear-gradient(180deg, #15151D, #08080C);
  font: 700 clamp(22px, 6vw, 32px)/1.5em var(--mono); color: var(--gold-hi); text-align: center; }
.reel-slot.is-dash { background: none; border-color: transparent; color: var(--muted); }
.reel-strip { display: block; will-change: transform; }
.reel-strip span { display: block; height: 1.5em; }
.reel-done .reel-slot { border-color: rgba(232, 184, 109, .6); box-shadow: 0 0 18px -6px rgba(232, 184, 109, .7); }
.reel-confirm { font: 700 13px/1 var(--mono); letter-spacing: .34em; color: var(--gold); opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; direction: ltr; }
.reel-done .reel-confirm { opacity: 1; transform: none; }
.reel-signature .reel-logo, .reel-premium .reel-logo { animation: spin-y .9s var(--ease); }
@keyframes spin-y { from { transform: perspective(700px) rotateY(-80deg); opacity: .2; } to { transform: none; opacity: 1; } }

/* ========================================================== access pages */
.access-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; max-width: 1100px; margin: 0 auto; padding: 16px var(--gutter); }
.access-top .brand { display: block; width: 128px; view-transition-name: lk-logo; }
.access-top .brand-logo { width: 100%; height: auto; }
.access-top .bar-lang { min-height: 42px; }
.access-main { flex: 1; width: 100%; max-width: 1100px; margin: 0 auto; padding: 8px var(--gutter) 30px; }
.access-foot { display: flex; align-items: center; justify-content: center; padding: 18px var(--gutter) max(18px, env(safe-area-inset-bottom)); }
.panel { position: relative; padding: 22px; border-radius: 20px; background: linear-gradient(180deg, rgba(20, 20, 28, .82), rgba(9, 9, 13, .82)); border: 1px solid var(--line-soft); }
.gate-box { display: grid; gap: 14px; max-width: 460px; margin: 6vh auto 0; padding: 30px 24px; text-align: center; }
.gate-box h1 { font-size: 24px; }
.gate-box p { color: var(--text-2); }
.gate-icon { width: 60px; height: 60px; margin: 0 auto; display: grid; place-items: center; border-radius: 18px; color: var(--gold); background: rgba(232, 184, 109, .08); border: 1px solid var(--line); }
.gate-meta { font-family: var(--mono); color: var(--gold-hi) !important; }
.kicker { font: 700 11px/1 var(--mono); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
html[lang="ar"] .kicker { font: 700 13px/1.4 var(--font-ar); letter-spacing: .04em; }
.form { display: grid; gap: 14px; text-align: start; }
.form h1, .form > p { text-align: center; }
.form .lux, .form .lux-face { width: 100%; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 700; color: var(--text-2); }
.field em { font-style: normal; font-weight: 400; font-size: 12.5px; color: var(--muted); }
.field input, .phone-row select, .phone-row input { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 13px; border: 1px solid rgba(232, 184, 109, .18);
  background: rgba(0, 0, 0, .5); color: var(--text); font: 16px/1.4 inherit; font-family: inherit; }
.field input:focus, .phone-row input:focus, .phone-row select:focus { outline: none; border-color: rgba(232, 184, 109, .65); box-shadow: 0 0 0 4px rgba(232, 184, 109, .12); }
.phone-row { display: grid; grid-template-columns: 116px 1fr; gap: 8px; }
.field input.is-invalid, .phone-row input.is-invalid { border-color: #EF4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, .14); }
.mono-input { font-family: var(--mono) !important; font-size: 20px !important; letter-spacing: .18em; text-align: center; color: var(--gold-hi) !important; }
.otp-input { letter-spacing: .5em; }
.fine { font-size: 13px; color: var(--muted); }
.notice { padding: 12px 14px; border-radius: 12px; font-size: 14.5px; }
.notice-err { background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .3); color: #FECACA; }
.btn-text { min-height: 44px; border: 0; background: none; color: var(--muted); font: inherit; text-decoration: underline; cursor: pointer; }
.delivery { display: grid; gap: 16px; }
.delivery-head { display: grid; justify-items: center; gap: 8px; padding: 10px 0 6px; text-align: center; }
.delivery-head h1 { font-size: clamp(26px, 4vw, 40px); background: linear-gradient(180deg, #FFF6E2, #E8B86D); -webkit-background-clip: text; background-clip: text; color: transparent; }
.delivery-desc { max-width: 680px; color: var(--text-2); }
.delivery-desc p + p { margin-top: .8em; }
.protect-note { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gold); }
.rich { line-height: 1.8; color: var(--text-2); }
.rich h2, .rich h3 { margin: 1em 0 .4em; color: var(--text); }
.rich p { margin-bottom: 1em; }
.rich a { color: var(--gold-hi); text-decoration: underline; }
.rich img { height: auto; border-radius: 12px; }
.viewer { padding: 0; overflow: hidden; }
.viewer-pdf iframe { display: block; width: 100%; height: min(78vh, 900px); border: 0; background: #fff; }
.viewer-video video { display: block; width: 100%; max-height: 78vh; background: #000; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.gallery-item { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 14px; border: 1px solid var(--line-soft); background: var(--ink); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.file-list h2 { margin-bottom: 6px; font: 700 13px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
html[lang="ar"] .file-list h2 { font-family: var(--font-ar); letter-spacing: 0; }
.file-list small { font-weight: 400; color: var(--muted); }
.file-list ul { list-style: none; margin: 0; padding: 0; }
.file-row { display: grid; grid-template-columns: auto 1fr; gap: 10px 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.file-row:first-child { border-top: 0; }
.file-ic { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(232, 184, 109, .08); color: var(--gold); }
.file-meta { display: grid; min-width: 0; }
.file-meta strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-meta small { font-size: 12.5px; }
.file-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 640px) { .file-row { grid-template-columns: auto 1fr auto; } .file-actions { grid-column: auto; } }
.lightbox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; background: rgba(3, 3, 5, .95); }
.is-protected .delivery, .is-protected .lightbox { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.is-protected img { -webkit-user-drag: none; }
.watermark { position: fixed; inset: -30%; z-index: 90; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 70px 90px; padding: 40px; pointer-events: none;
  transform: rotate(-24deg); opacity: .07; font: 700 14px/1 var(--mono); letter-spacing: .08em; color: #fff; direction: ltr; animation: wm 40s linear infinite alternate; }
@keyframes wm { to { translate: 60px 40px; } }

/* ================================================================ spaces */
.space { display: grid; gap: 18px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }
.crumbs a { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-soft); background: rgba(12, 12, 18, .6); color: var(--text-2); font-size: 14px; transition: border-color .2s, color .2s; }
.crumbs a:hover { color: var(--gold-hi); border-color: var(--line); }
.crumbs a[aria-current="page"] { color: var(--gold-hi); border-color: rgba(232, 184, 109, .45); background: rgba(232, 184, 109, .08); }
.crumb-sep { width: 6px; height: 6px; border-top: 1.5px solid var(--muted); border-right: 1.5px solid var(--muted); transform: rotate(45deg); opacity: .7; }
html[dir="rtl"] .crumb-sep { transform: rotate(-135deg); }
.space-empty { text-align: center; color: var(--muted); }
.folders, .tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.folders { grid-template-columns: repeat(auto-fit, minmax(140px, 168px)); justify-content: center; }
.folder { display: grid; justify-items: center; gap: 6px; padding: 18px 12px 14px; border-radius: 18px; text-align: center;
  background: linear-gradient(180deg, rgba(22, 21, 28, .85), rgba(9, 9, 13, .85)); border: 1px solid var(--line-soft); transition: transform .25s var(--ease), border-color .25s; }
.folder:hover { transform: translateY(-3px); border-color: rgba(232, 184, 109, .4); }
.folder:active { transform: translateY(0) scale(.98); }
.folder-ic svg { width: 54px; height: 45px; }
.folder-ic path { fill: rgba(232, 184, 109, .14); stroke: var(--gold); stroke-width: 1.6; stroke-linejoin: round; }
.folder-ic .fold { fill: none; stroke: rgba(232, 184, 109, .55); }
.folder:hover .folder-ic path:first-child { fill: rgba(232, 184, 109, .24); }
.folder-name { font-weight: 700; color: var(--text); overflow-wrap: anywhere; }
.folder small { color: var(--muted); font-size: 12px; }
.tiles { grid-template-columns: repeat(auto-fit, minmax(160px, 220px)); justify-content: center; }
.tile { display: grid; grid-template-rows: auto 1fr auto; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, rgba(22, 21, 28, .9), rgba(9, 9, 13, .9)); border: 1px solid var(--line-soft); transition: border-color .25s, transform .25s var(--ease); }
.tile:hover { border-color: rgba(232, 184, 109, .35); transform: translateY(-2px); }
.tile-media { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, rgba(232, 184, 109, .10), transparent 70%), #0B0B11; }
.tile-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.tile-pdf .tile-media img { object-fit: contain; object-position: top; padding: 10px 10px 0; background: #fff; }
.tile:hover .tile-media img { transform: scale(1.04); }
.tile-badge { position: absolute; inset-inline-start: 10px; top: 10px; z-index: 1; padding: 4px 8px; border-radius: 8px; font: 700 10.5px/1 var(--mono); letter-spacing: .1em; color: var(--gold-hi); background: rgba(3, 3, 5, .72); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.tile-file .tile-badge, .tile-video .tile-badge, .tile-audio .tile-badge { position: static; font-size: 15px; padding: 10px 14px; }
.tile-meta { display: grid; gap: 2px; padding: 10px 12px 8px; min-width: 0; }
.tile-meta strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile-meta small { color: var(--muted); font-size: 12px; }
.tile-dl { margin: 0 12px 12px; }
.tile-dl .lux-face { width: 100%; }
.viewer-image { display: grid; place-items: center; padding: 10px; }
.viewer-image img { max-height: 76vh; width: auto; border-radius: 12px; }
.share-actions { display: flex; justify-content: center; }
.audio { width: 100%; }
.lightbox { cursor: default; grid-template-rows: 1fr auto; gap: 14px; }
.lb-img { max-width: 100%; max-height: 80vh; border-radius: 12px; cursor: zoom-out; }
.lb-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; color: var(--text-2); font-size: 14px; }
.lb-name { max-width: 60vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-nav { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(12, 12, 18, .7); color: var(--gold-hi); font-size: 22px; line-height: 1; cursor: pointer; }
.lb-nav:hover { border-color: rgba(232, 184, 109, .6); }

/* space view switch */
.seg { display: inline-flex; justify-self: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: rgba(10, 10, 16, .6); }
.seg button { min-width: 44px; min-height: 40px; border: 0; background: none; color: var(--muted); font-size: 16px; cursor: pointer; }
.seg button + button { border-inline-start: 1px solid var(--line); }
.seg button.is-on { color: var(--gold-hi); background: rgba(232, 184, 109, .12); }
.tiles.tiles-sm { grid-template-columns: repeat(auto-fit, minmax(130px, 160px)); }
.tiles.tiles-sm .tile-dl .lux-text { display: none; }
.tiles.tiles-lg { grid-template-columns: repeat(auto-fit, minmax(240px, 340px)); }
.tiles.tiles-list { grid-template-columns: minmax(0, 720px); }
.tiles.tiles-list .tile { grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-rows: auto; align-items: center; }
.tiles.tiles-list .tile-media { aspect-ratio: 1; width: 72px; }
.tiles.tiles-list .tile-dl { margin: 0 10px; }
.tiles.tiles-list .tile-badge { font-size: 9px; inset-inline-start: 4px; top: 4px; }

/* ======================================================== file requests */
.request { display: grid; gap: 18px; max-width: 760px; margin: 0 auto; }
.request-flow { display: grid; gap: 16px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 8px; }
.steps li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 99px; border: 1px solid var(--line-soft); color: var(--muted); font-size: 13.5px; transition: color .3s, border-color .3s, background .3s; }
html[dir="rtl"] .steps li { padding: 6px 6px 6px 14px; }
.steps b { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .06); font: 700 12px/1 var(--mono); color: var(--text-2); }
.steps li.is-on { color: var(--gold-hi); border-color: rgba(232, 184, 109, .45); background: rgba(232, 184, 109, .07); }
.steps li.is-on b { background: var(--gold); color: #1A1206; }
.request-note { text-align: start; justify-items: stretch; min-height: 0; }
.request-note p { color: var(--text-2); }
.facts-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.facts-row li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; background: rgba(12, 12, 18, .7); border: 1px solid var(--line-soft); font-size: 13.5px; }
.facts-row span { color: var(--gold); }
.facts-row b { color: var(--text); font-weight: 700; }
.drop { position: relative; display: grid; justify-items: center; gap: 6px; padding: 34px 18px; border-radius: 22px; cursor: pointer; text-align: center;
  border: 1.5px dashed rgba(232, 184, 109, .4); background: radial-gradient(circle at 50% 0%, rgba(232, 184, 109, .10), transparent 70%), rgba(10, 10, 15, .7);
  transition: border-color .25s, background .25s, transform .25s var(--ease); }
.drop:hover, .drop.is-over { border-color: var(--gold); transform: translateY(-2px); background: radial-gradient(circle at 50% 0%, rgba(232, 184, 109, .18), transparent 70%), rgba(14, 13, 18, .8); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-ic { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px; color: #1A1206; transform: rotate(180deg);
  background: linear-gradient(180deg, #FFF4D6, #E8B86D 55%, #C99441); box-shadow: 0 14px 30px -12px rgba(232, 184, 109, .6); }
.drop.is-over .drop-ic { animation: lift .6s var(--ease) infinite alternate; }
@keyframes lift { to { translate: 0 -4px; } }
.drop b { font-size: 18px; color: var(--text); margin-top: 6px; }
.drop-sub { color: var(--muted); font-size: 14px; }
.queue { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.q { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 12px 14px 14px; border-radius: 14px;
  background: rgba(14, 14, 20, .85); border: 1px solid var(--line-soft); overflow: hidden; animation: q-in .35s var(--ease); }
@keyframes q-in { from { opacity: 0; transform: translateY(6px); } }
.q-ic { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: rgba(255, 255, 255, .05); color: var(--muted); }
.q-meta { display: grid; min-width: 0; }
.q-meta b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; }
.q-meta small { color: var(--muted); font-size: 12.5px; }
.q-rm, .q-retry { min-height: 34px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--line-soft); background: none; color: var(--text-2); font: inherit; font-size: 13px; cursor: pointer; }
.q-rm:hover { color: #FCA5A5; border-color: rgba(239, 68, 68, .4); }
.q-retry { color: var(--gold-hi); border-color: var(--line); }
.q-bar { position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .04); }
.q-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--blue)); transition: width .2s; }
.q.is-uploading .q-ic { color: var(--blue); }
.q.is-uploading .q-ic::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-inline-end-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.q.is-ready { border-color: rgba(34, 197, 94, .3); }
.q.is-ready .q-ic { color: #86EFAC; background: rgba(34, 197, 94, .12); }
.q.is-ready .q-ic:empty::after { content: "✓"; font-weight: 700; }
.q.is-ready .q-bar i { background: #22C55E; }
.q.is-error { border-color: rgba(239, 68, 68, .35); }
.q.is-error .q-ic::after { content: "!"; color: #FCA5A5; font-weight: 800; }
.q.is-error .q-meta small { color: #FCA5A5; }
.request-msg textarea { width: 100%; min-height: 90px; padding: 12px 14px; border-radius: 13px; border: 1px solid rgba(232, 184, 109, .18); background: rgba(0, 0, 0, .5); color: var(--text); font: 15px/1.6 inherit; font-family: inherit; resize: vertical; }
.request-msg textarea:focus { outline: none; border-color: rgba(232, 184, 109, .65); box-shadow: 0 0 0 4px rgba(232, 184, 109, .12); }
.request-send { display: grid; justify-items: center; gap: 12px; text-align: center; }
.request-send .lux, .request-send .lux-face { width: min(100%, 360px); }
.request-send .fine { display: inline; line-height: 1.7; }
.lux[disabled] .lux-face { filter: grayscale(.6) brightness(.7); }
.request-done { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 34px 22px; animation: q-in .5s var(--ease); }
.done-mark { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; color: #052e16;
  background: radial-gradient(circle at 35% 30%, #BBF7D0, #22C55E); box-shadow: 0 0 0 10px rgba(34, 197, 94, .1), 0 20px 40px -14px rgba(34, 197, 94, .6); animation: pop-in .6s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop-in { from { transform: scale(.4); opacity: 0; } }
.request-done h2 { font-size: 26px; color: var(--text); }
.request-done p { color: var(--text-2); }
.done-ref { display: grid; gap: 4px; padding: 12px 22px; border-radius: 14px; border: 1px dashed rgba(232, 184, 109, .45); }
.done-ref span { font-size: 12.5px; color: var(--muted); }
.done-ref b { font: 700 22px/1 var(--mono); letter-spacing: .2em; color: var(--gold-hi); }
.done-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; width: min(100%, 420px); }
.done-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .03); font-size: 14px; }
.done-list small { color: var(--muted); }

/* ======================================================== delivery review */
.review { display: grid; gap: 14px; max-width: 760px; margin: 0 auto; width: 100%; }
.review-state { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .03); }
.review-state b { display: block; font-size: 16px; }
.review-state small { color: var(--muted); font-family: var(--mono); }
.review-state p { margin-top: 6px; color: var(--text-2); }
.rs-dot { width: 12px; height: 12px; margin-top: 6px; border-radius: 50%; flex: none; }
.state-accepted .rs-dot { background: #22C55E; box-shadow: 0 0 10px #22C55E; }
.state-changes .rs-dot { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.state-rejected .rs-dot { background: #EF4444; box-shadow: 0 0 10px #EF4444; }
.review-box summary { cursor: pointer; font-weight: 700; color: var(--gold-hi); list-style: none; text-align: center; padding: 6px; }
.review-box summary::-webkit-details-marker { display: none; }
.review-box[open] summary { margin-bottom: 10px; }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: grid; justify-items: center; gap: 6px; padding: 14px 6px; border-radius: 14px; border: 1px solid var(--line-soft); background: rgba(12, 12, 18, .7); color: var(--text-2); text-align: center; transition: border-color .2s, background .2s, transform .2s var(--ease); }
.choice b { font-size: 14px; }
.choice:hover span { transform: translateY(-2px); }
.choice input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.choice-accepted input:checked + span { border-color: #22C55E; background: rgba(34, 197, 94, .12); color: #BBF7D0; }
.choice-changes input:checked + span { border-color: var(--gold); background: rgba(232, 184, 109, .12); color: var(--gold-hi); }
.choice-rejected input:checked + span { border-color: #EF4444; background: rgba(239, 68, 68, .12); color: #FECACA; }
.review textarea { width: 100%; min-height: 84px; padding: 12px 14px; border-radius: 13px; border: 1px solid rgba(232, 184, 109, .18); background: rgba(0, 0, 0, .5); color: var(--text); font: 15px/1.6 inherit; font-family: inherit; resize: vertical; }
.notice-ok { background: rgba(34, 197, 94, .1); border: 1px solid rgba(34, 197, 94, .3); color: #BBF7D0; }
@media (max-width: 420px) { .choices { grid-template-columns: 1fr; } .choice span { grid-template-columns: auto 1fr; justify-items: start; padding: 12px 14px; } }

/* ============================================ page-to-page continuity */
@view-transition { navigation: auto; }
::view-transition-group(lk-logo) { animation-duration: .55s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

/* phones: the same world, lighter on the GPU */
@media (max-width: 600px) {
  .w-aura { filter: blur(48px); width: 110vmax; height: 110vmax; }
  .w-floor::before { animation-duration: 7s; }
  .vcard-edge { animation-duration: 12s; }
}

/* ======================================================= motion & print */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .manifest .reveal { opacity: 1; transform: none; filter: none; }
  .lk-intro .intro { display: none; }
  @view-transition { navigation: none; }
}
@media print { .world, .bar, .foot, .intro, .vcard, .watermark { display: none !important; } body { background: #fff; color: #000; } }
