/* jupiter.art – the start page (components/lunaris/DeskHero.tsx), light + dark, on every screen size:
   desktop next to the sidebar, phones stacked (the block at the end). The older phone hero (.lh) is gone. */


@media all {
  .ld > .lh { display: none !important; }

  .jd {
    --jd-text: #211c1a; --jd-muted: #5f5752; --jd-gold: #b98a5e; --jd-gold-deep: #9a6a42; --jd-gold-soft: #d8b48a;
    --jd-surface: rgba(255, 251, 247, .8); --jd-surface-2: rgba(255, 252, 249, .62); --jd-line: rgba(138, 95, 61, .2);
    --jd-cta: linear-gradient(115deg, #97704d, #c79b6e 60%, #916746); --jd-shadow: 0 14px 34px rgba(80, 52, 30, .1);
    --jd-page: #f4eee9; --jd-sky: url('/lunaris/jupiter/desk/hero-light.jpg');
    --jd-screen: #15171c; --jd-bezel: #121318; --jd-metal: linear-gradient(180deg, #d9d6d3, #a9a5a2);
    position: relative; display: block; isolation: isolate; overflow: hidden; min-height: 100vh;
    padding: 18px clamp(24px, 2.6vw, 44px) 40px; background: var(--jd-page); color: var(--jd-text);
    font-family: Georgia, 'Times New Roman', serif;
  }
  html[data-theme='dark'] .jd {
    --jd-text: #f4eee8; --jd-muted: #c3bab2; --jd-gold: #c49565; --jd-gold-deep: #b98a5e; --jd-gold-soft: #e2bf94;
    --jd-surface: rgba(16, 21, 28, .72); --jd-surface-2: rgba(20, 26, 34, .58); --jd-line: rgba(207, 170, 130, .24);
    --jd-cta: linear-gradient(115deg, #7c5a40, #bb8f64 60%, #74533b); --jd-shadow: 0 16px 38px rgba(0, 0, 0, .35);
    --jd-page: #0b1016; --jd-sky: url('/lunaris/jupiter/desk/hero-dark.jpg');
    --jd-metal: linear-gradient(180deg, #8d8985, #5b5855);
  }
  .jd *, .jd *::before, .jd *::after { box-sizing: border-box; }
  .jd a { color: inherit; text-decoration: none; }
  .jd button { font: inherit; color: inherit; cursor: pointer; }
  .jd input[type='file'] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
  .jd-sky { position: absolute; z-index: -1; inset: 0 0 auto; height: min(100vh, 66vw); background: var(--jd-sky) right top / cover no-repeat; }
  .jd-sky::after { content: ''; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(to bottom, transparent, var(--jd-page)); }
  .jd-i { width: 20px; height: 20px; flex: none; }
  .jd-i--big { width: 46px; height: 46px; color: var(--jd-gold); }

  /* ---------- top bar ---------- */
  .jd-top { position: relative; z-index: 5; display: flex; align-items: center; gap: clamp(14px, 1.8vw, 30px); margin-bottom: clamp(22px, 3.6vh, 44px); }
  .jd-hello { display: inline-flex; align-items: center; gap: 14px; font-size: clamp(17px, 1.3vw, 21px); white-space: nowrap; }
  .jd-avatar { display: grid; place-items: center; width: 46px; height: 46px; overflow: hidden; border: 2px solid var(--jd-gold-soft); border-radius: 50%; background: var(--jd-surface); box-shadow: var(--jd-shadow); }
  .jd-avatar img { width: 100%; height: 100%; object-fit: cover; }
  .jd-avatar b { font-weight: 400; font-size: 20px; color: var(--jd-gold-deep); }
  .jd-top__sep { width: 1px; height: 30px; background: var(--jd-line); }
  .jd-search { flex: 0 1 380px; display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 18px; border: 1px solid var(--jd-line); border-radius: 999px; background: var(--jd-surface); box-shadow: var(--jd-shadow); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  .jd-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--jd-text); font: 16px Georgia, serif; }
  .jd-search input::placeholder { color: var(--jd-text); opacity: .8; }
  .jd-dropwrap { position: relative; }
  .jd-chipbtn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; border: 1px solid var(--jd-line); border-radius: 14px; background: var(--jd-surface); box-shadow: var(--jd-shadow); font-size: 16px !important; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  .jd-chipbtn .jd-i:last-child { width: 16px; height: 16px; }
  .jd-top__end { display: flex; align-items: center; gap: 22px; margin-left: auto; }
  .jd-bell { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; }
  .jd-bell .jd-i { width: 26px; height: 26px; }
  .jd-bell__dot { position: absolute; right: 9px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: #e9893a; box-shadow: 0 0 0 2px var(--jd-page); }
  .jd-mode { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--jd-line); border-radius: 999px; background: var(--jd-surface); box-shadow: var(--jd-shadow); }
  .jd-mode button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: none; }
  .jd-mode button.is-on { background: linear-gradient(135deg, #f6e6cf, #d9b58a); color: #3b2a1c; box-shadow: 0 3px 10px rgba(120, 80, 40, .25); }
  html[data-theme='dark'] .jd-mode button.is-on { background: linear-gradient(135deg, #3a3029, #1f1a17); color: #f0cf9a; box-shadow: inset 0 0 0 1px rgba(233, 196, 106, .4); }
  .jd-drop { position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; display: grid; min-width: 230px; padding: 8px; border: 1px solid var(--jd-line); border-radius: 16px; background: var(--jd-surface); box-shadow: 0 20px 44px rgba(0, 0, 0, .18); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
  .jd-drop--right { left: auto; right: 0; min-width: 300px; }
  .jd-drop a { padding: 10px 12px; border-radius: 10px; font-size: 15px; }
  .jd-drop a:hover { background: rgba(185, 138, 94, .14); }
  .jd-drop__head { margin: 4px 12px 6px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--jd-gold-deep); }
  .jd-drop__empty { margin: 4px 12px 10px; font-size: 14px; opacity: .75; }

  /* ---------- hero ---------- */
  .jd-hero { position: relative; display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 60%); align-items: start; }
  .jd-copy { position: relative; z-index: 2; padding-top: 4px; }
  .jd-kicker { display: flex; align-items: center; gap: 16px; margin: 0 0 22px; font: 400 clamp(12px, .9vw, 15px) Georgia, serif; letter-spacing: .32em; text-transform: uppercase; white-space: nowrap; }
  .jd-kicker i { width: 44px; height: 1px; background: var(--jd-gold); }
  .jd-h1 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(40px, calc((100vw - var(--jx-side, 0px)) * .043), 76px); font-style: italic; font-weight: 600; line-height: 1.02; letter-spacing: -.02em; white-space: nowrap; }
  .jd-h1 em { background: linear-gradient(100deg, #9a6a42, #c99a68 45%, #a5734a 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
  html[data-theme='dark'] .jd-h1 em { background-image: linear-gradient(100deg, #c08b5c, #e6bf8f 45%, #b9875a 80%); }
  .jd-lead { max-width: 33em; margin: 20px 0 30px; font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(18px, 1.42vw, 25px); font-style: italic; font-weight: 500; line-height: 1.32; }

  .jd-work { display: flex; align-items: center; gap: clamp(16px, 1.6vw, 28px); }
  .jd-work__thumb { position: relative; flex: none; width: clamp(200px, 16.5vw, 300px); aspect-ratio: 265 / 142; border: 1px solid var(--jd-line); border-radius: 12px; box-shadow: var(--jd-shadow); }
  .jd-work__thumb > .jd-pic { position: absolute; inset: 0; border-radius: 12px; }
  .jd-work__busy { position: absolute; inset: 0; border-radius: 12px; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%) 0 0 / 250% 100%; animation: jd-shine 1.6s linear infinite; }
  @keyframes jd-shine { to { background-position: -150% 0; } }
  .jd-check { position: absolute; z-index: 2; right: -6px; top: -6px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #e3c08e, #b78553); color: #fff; box-shadow: 0 4px 12px rgba(120, 80, 40, .35); }
  .jd-check .jd-i { width: 18px; height: 18px; stroke-width: 2.4; }
  .jd-work__info { display: grid; justify-items: start; gap: 6px; min-width: 0; }
  .jd-work__info strong { font-size: clamp(21px, 1.65vw, 29px); font-weight: 400; line-height: 1.15; }
  .jd-work__info small { margin-bottom: 14px; font-size: 15px; opacity: .85; }
  .jd-ghost { position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px; border: 1px solid var(--jd-line); border-radius: 999px; background: var(--jd-surface); box-shadow: var(--jd-shadow); font-size: clamp(16px, 1.15vw, 19px); white-space: nowrap; cursor: pointer; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: border-color .2s, transform .2s; }
  .jd-ghost:hover { border-color: var(--jd-gold); transform: translateY(-1px); }
  .jd-ghost--big { padding: 14px 26px; }
  .jd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(14px, 1.7vw, 28px); margin-top: clamp(26px, 3.6vh, 40px); }
  .jd-cta { position: relative; display: inline-flex; align-items: center; gap: 14px; padding: 15px 30px; border: 1px solid #d5b18c; border-radius: 999px; background: var(--jd-cta); color: #fff8f0 !important; font-size: clamp(17px, 1.25vw, 21px); white-space: nowrap; box-shadow: 0 10px 26px rgba(130, 86, 50, .35), inset 0 1px 0 rgba(255, 255, 255, .3); cursor: pointer; transition: transform .2s, box-shadow .2s; }
  .jd-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(130, 86, 50, .45), inset 0 1px 0 rgba(255, 255, 255, .3); }

  /* ---------- monitor + phone ---------- */
  .jd-devices { position: relative; z-index: 1; height: clamp(380px, 34vw, 600px); margin-top: -10px; perspective: 1800px; }
  .jd-moon { display: none; }
  .jd-monitor { position: absolute; left: 6%; top: 2%; width: 74%; transform: rotateY(-14deg) rotateZ(-.6deg); transform-origin: 60% 50%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .28)); }
  .jd-monitor__screen { position: relative; aspect-ratio: 16 / 10.4; padding: 2.2%; border-radius: 16px 16px 0 0; background: var(--jd-bezel); box-shadow: inset 0 0 0 1.5px #c9a27a, 0 0 0 1px rgba(255, 255, 255, .25); }
  .jd-monitor__chin { height: clamp(26px, 2.6vw, 44px); border-radius: 0 0 16px 16px; background: var(--jd-metal); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5); }
  .jd-monitor__neck { width: 22%; height: clamp(46px, 4.4vw, 80px); margin: 0 auto; background: linear-gradient(90deg, #7c7774, #c8c4c1 45%, #8b8682); clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%); }
  .jd-monitor__foot { width: 42%; height: 12px; margin: 0 auto; border-radius: 50%; background: radial-gradient(ellipse at center, #c9c5c2, #8e8986 70%); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
  .jd-mini { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 4px; background: var(--jd-screen); }
  .jd-mini__bar { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; height: 15%; padding: 0 5%; background: rgba(250, 247, 243, .96); color: #2b2420; }
  html[data-theme='dark'] .jd-mini__bar { background: rgba(18, 20, 26, .94); color: #f1e9e0; }
  .jd-mini__logo { font: clamp(14px, 1.35vw, 24px) Georgia, serif; letter-spacing: -.02em; }
  .jd-mini__nav { display: flex; gap: clamp(10px, 1.6vw, 28px); font: clamp(9px, .72vw, 13px) Georgia, serif; }
  .jd-mini__nav b { position: relative; font-weight: 400; }
  .jd-mini__nav b::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: #c49565; }
  .jd-mini__stage { position: relative; flex: 1; overflow: hidden; }
  .jd-play { position: absolute; z-index: 3; left: 50%; top: 44%; display: grid; place-items: center; width: clamp(34px, 3.4vw, 58px); aspect-ratio: 1; border: 2px solid rgba(255, 255, 255, .9); border-radius: 50%; background: rgba(0, 0, 0, .35); color: #fff; transform: translate(-50%, -50%); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
  .jd-play .jd-i { width: 45%; height: 45%; margin-left: 8%; }
  .jd-mini__thumbs { position: absolute; z-index: 3; left: 50%; bottom: 5%; display: flex; gap: 2.4%; width: 64%; transform: translateX(-50%); }
  .jd-mini__thumbs .jd-pic { flex: 1; aspect-ratio: 16 / 7; border: 1px solid rgba(255, 255, 255, .55); border-radius: 3px; box-shadow: 0 4px 10px rgba(0, 0, 0, .35); }
  .jd-pic--warm img { filter: saturate(1.4) hue-rotate(-12deg); }

  .jd-phone { position: absolute; right: 1%; top: 22%; width: 22%; aspect-ratio: 9 / 18.6; padding: 2.4%; border-radius: 30px; background: linear-gradient(145deg, #c7a27f, #6e5240 40%, #2a2420); box-shadow: 0 30px 50px rgba(0, 0, 0, .35); transform: rotateY(-16deg) rotateZ(1deg); }
  .jd-phone__screen { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 22px; background: #f6f1ec; color: #241f1b; }
  html[data-theme='dark'] .jd-phone__screen { background: #121419; color: #f3ebe2; }
  .jd-phone__bar { display: flex; align-items: center; justify-content: space-between; padding: 22% 9% 6%; font: clamp(10px, .95vw, 16px) Georgia, serif; }
  .jd-phone__bar i { width: 14px; height: 8px; border-top: 1.5px solid; border-bottom: 1.5px solid; position: relative; }
  .jd-phone__bar i::after { content: ''; position: absolute; left: 0; right: 0; top: 2px; border-top: 1.5px solid; }
  .jd-phone__pic { position: relative; height: 46%; }
  .jd-phone__title { margin: 9% 9% 4%; font: clamp(13px, 1.25vw, 22px)/1.1 Georgia, serif; }
  .jd-phone__rule { width: 22%; height: 1.5px; margin-left: 9%; background: #c49565; }

  /* the painting, cut like ArtworkImage */
  .jd-pic { position: relative; display: block; overflow: hidden; background: #1b1c20; }
  .jd-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z, 1)); transform-origin: var(--spot, 50% 50%); transition: transform .6s ease, filter .6s ease; }
  .jd-staged { position: absolute; inset: 0; }

  /* ---------- the four promises ---------- */
  .jd-promises { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(10px, 2vh, 22px) 0 0; padding: 14px 10px; border: 1px solid var(--jd-line); border-radius: 16px; background: var(--jd-surface); box-shadow: var(--jd-shadow); list-style: none; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
  .jd-promises li { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 6px 12px; font-size: clamp(15px, 1.12vw, 19px); line-height: 1.25; }
  .jd-promises li + li { border-left: 1px solid var(--jd-line); }

  /* ---------- presentation styles ---------- */
  .jd-styles { position: relative; z-index: 2; margin-top: clamp(26px, 4vh, 46px); }
  .jd-styles__head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
  .jd-styles__head h2 { margin: 0; font-size: clamp(26px, 2vw, 36px); font-weight: 400; letter-spacing: -.01em; white-space: nowrap; }
  .jd-styles__head > i { width: 110px; height: 1px; margin-right: auto; background: linear-gradient(90deg, var(--jd-gold), transparent); }
  .jd-styles__head span { font-size: 17px; white-space: nowrap; }
  .jd-styles__head button { display: grid; place-items: center; width: 44px; height: 40px; padding: 0; border: 1px solid var(--jd-line); border-radius: 10px; background: var(--jd-surface); box-shadow: var(--jd-shadow); }
  .jd-styles__head button:first-of-type { margin-left: 12px; }
  .jd-styles__row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 1.3vw, 22px); }
  .jd-style { position: relative; display: block; padding: 0; overflow: visible; border: 1px solid var(--jd-line); border-radius: 14px; background: var(--jd-surface); box-shadow: var(--jd-shadow); text-align: center; transition: transform .25s, border-color .25s, box-shadow .25s; }
  .jd-style:hover { transform: translateY(-3px); }
  .jd-style.is-on { border: 2px solid var(--jd-gold); box-shadow: 0 10px 28px rgba(160, 110, 60, .25); }
  .jd-style__img { position: relative; display: block; aspect-ratio: 16 / 8.6; overflow: hidden; border-radius: 12px 12px 0 0; }
  .jd-style__label { display: block; padding: 8px 6px 12px; font-size: clamp(15px, 1.1vw, 19px); }
  .jd-style .jd-check { right: 10px; top: 10px; width: 30px; height: 30px; }

  /* the six looks – on the cards and, for the chosen one, on monitor + phone */
  .jd-style__img, .jd-mini__stage { background: #15171c; }
  .jd-style--cinematic .jd-staged img, .jd--cinematic .jd-mini__stage .jd-staged img, .jd--cinematic .jd-phone__pic img { filter: contrast(1.15) saturate(1.3) brightness(.85) hue-rotate(-10deg); }
  .jd-style--cinematic .jd-style__img::after, .jd--cinematic .jd-mini__stage::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20, 30, 70, .35), transparent 40%, rgba(120, 20, 60, .35)); pointer-events: none; }
  .jd-style--premium .jd-style__img, .jd--premium .jd-mini__stage { background: radial-gradient(ellipse at 50% 30%, #5a4130, #1e1510 75%); }
  .jd-style--premium .jd-staged, .jd--premium .jd-mini__stage .jd-staged { inset: 12% 24% 16%; box-shadow: 0 0 0 4px #d7b07a, 0 0 0 6px #8a6236, 0 12px 26px rgba(0, 0, 0, .55); }
  .jd-style--gallery .jd-style__img, .jd--gallery .jd-mini__stage { background: url('/lunaris/lunaris-room-wall.jpg') center 30% / cover; }
  .jd-style--gallery .jd-staged, .jd--gallery .jd-mini__stage .jd-staged { inset: 14% 28% 30%; box-shadow: 0 0 0 4px #c69a5c, 0 10px 18px rgba(0, 0, 0, .4); }
  .jd-style--minimal .jd-style__img, .jd--minimal .jd-mini__stage { background: linear-gradient(180deg, #e3e2df, #c9c8c4); }
  .jd-style--minimal .jd-staged, .jd--minimal .jd-mini__stage .jd-staged { inset: 13% 22% 15%; outline: 5px solid #fff; box-shadow: 0 10px 20px rgba(0, 0, 0, .2); }
  .jd-style--minimal .jd-staged img, .jd--minimal .jd-staged img { filter: saturate(.85); }
  .jd-style--dynamic .jd-staged img, .jd--dynamic .jd-mini__stage .jd-staged img, .jd--dynamic .jd-phone__pic img { filter: saturate(1.25) contrast(1.08); }
  .jd-style--dynamic .jd-style__img::after, .jd--dynamic .jd-mini__stage::after { content: ''; position: absolute; inset: 0; z-index: 1; background: repeating-linear-gradient(-28deg, transparent 0 22px, rgba(255, 150, 60, .2) 22px 24px), linear-gradient(90deg, rgba(255, 120, 30, .35), transparent 55%); mix-blend-mode: screen; pointer-events: none; }
  .jd-mini__stage .jd-staged { transition: inset .5s ease, box-shadow .5s ease; }

  .jd-phone .jd-phone__pic { position: relative; inset: auto; flex: none; height: 46%; }
  .jd-lead { font-size: clamp(18px, calc((100vw - var(--jx-side, 0px)) * .0152), 25px); max-width: 31em; }

  @media (max-width: 1360px) {
    .jd-hero { grid-template-columns: minmax(0, 44%) minmax(0, 56%); }
    .jd-promises li { gap: 14px; }
    .jd-i--big { width: 38px; height: 38px; }
    .jd-styles__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }
}

/* fit the first screen like the design: buttons side by side (they may reach under the monitor), tighter bands */
@media all {
  .jd-actions { flex-wrap: nowrap; position: relative; z-index: 3; margin-top: clamp(22px, 3vh, 34px); }
  .jd-cta { padding: 14px 28px; }
  .jd-devices { height: clamp(360px, 31vw, 580px); }
  .jd-promises { margin-top: 6px; padding: 10px; }
  .jd-promises li { padding: 2px 12px; }
  .jd-i--big { width: 40px; height: 40px; }
  .jd-styles { margin-top: clamp(20px, 3vh, 36px); }
  .jd-styles__head { margin-bottom: 14px; }
  .jd-style__label { padding: 7px 6px 10px; }
}

/* ---------- the real 7-chapter page on monitor + phone, chapter bar, sharing ---------- */
@media all {
  .jd-mini, .jd-phone__screen { position: relative; container-type: inline-size; }
  .jd-mini { height: 100%; }
  .jd-phone__screen { display: block; }
  .jd-devices { height: calc(clamp(360px, 31vw, 580px) + 46px); }
  .jd-chapbar { position: absolute; z-index: 4; left: 3%; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; }
  .jd-chapters { display: flex; flex: 1; min-width: 0; gap: 4px; margin: 0; padding: 4px; border: 1px solid var(--jd-line); border-radius: 999px; background: var(--jd-surface); box-shadow: var(--jd-shadow); list-style: none; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  .jd-chapters li { flex: 1; min-width: 0; }
  .jd-chapters button { position: relative; display: flex; align-items: center; justify-content: center; gap: 5px; width: 100%; padding: 7px 6px; overflow: hidden; border: 0; border-radius: 999px; background: none; font-size: clamp(11px, .78vw, 14px) !important; white-space: nowrap; text-overflow: ellipsis; }
  .jd-chapters button b { font-weight: 400; color: var(--jd-gold); }
  .jd-chapters button.is-on { background: linear-gradient(135deg, #f6e6cf, #dfbd92); color: #2a1f15; }
  html[data-theme='dark'] .jd-chapters button.is-on { background: linear-gradient(135deg, #5b4330, #8d6744); color: #fff4e6; }
  .jd-chapters button.is-on b { color: inherit; }
  .jd-chapters__bar { position: absolute; left: 14%; right: 14%; bottom: 2px; height: 2px; border-radius: 2px; background: currentColor; opacity: .45; transform-origin: 0 50%; animation: jd-chapter 5.2s linear forwards; }
  .jd-chapters__bar.is-paused { animation-play-state: paused; }
  @keyframes jd-chapter { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  .jd-open { display: inline-flex; flex: none; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--jd-line); border-radius: 999px; background: var(--jd-surface); box-shadow: var(--jd-shadow); font-size: 14px; white-space: nowrap; }
  .jd-open .jd-i { width: 16px; height: 16px; }
  .jd-share { margin-top: 18px; max-width: 560px; }
  @media (max-width: 1360px) { .jd-chapters button { font-size: 0 !important; gap: 0; } .jd-chapters button b { font-size: 12px; } }
}
@media all {
  .jd-chapters li { flex: 0 0 auto; }
  .jd-chapters li:has(.is-on) { flex: 1 1 auto; }
  .jd-chapters { justify-content: space-between; }
  .jd-chapters button { padding: 7px 11px; font-size: 0 !important; gap: 0; }
  .jd-chapters button b { font-size: 13px; }
  .jd-chapters button.is-on { gap: 6px; font-size: 13px !important; }
  .jd-promises { margin-top: 16px; }
}
@media all { .jd-chapters li:has(.is-on) { flex: 0 0 auto; } .jd-chapbar { left: 16%; } }

/* ===================== the living colour (lib/lunaris/site-tint.ts): every colour from --jt-* =====================
   Modern = the painting's dominant colour (black-and-white works → graphite); the other styles bring their
   own colours, sky and effects. All registered → the whole page glides from one look to the next. */
@media all {
  .jd {
    --jd-page: hsl(var(--jt-h) calc(var(--jt-s) * .45%) 95.5%);
    --jd-text: hsl(var(--jt-h) calc(var(--jt-s) * .25%) 12%);
    --jd-muted: hsl(var(--jt-h) calc(var(--jt-s) * .15%) 36%);
    --jd-gold: hsl(var(--jt-ah) calc(var(--jt-as) * 1%) 46%);
    --jd-gold-deep: hsl(var(--jt-ah) calc(var(--jt-as) * 1%) 36%);
    --jd-gold-soft: hsl(var(--jt-ah) calc(var(--jt-as) * .85%) 70%);
    --jd-surface: hsl(var(--jt-h) calc(var(--jt-s) * .35%) 99% / .8);
    --jd-line: hsl(var(--jt-ah) calc(var(--jt-as) * .5%) 38% / .22);
    --jd-cta: linear-gradient(115deg, hsl(var(--jt-ah) calc(var(--jt-as) * 1%) 33%), hsl(var(--jt-ah) calc(var(--jt-as) * 1%) 55%) 60%, hsl(var(--jt-ah) calc(var(--jt-as) * 1%) 31%));
    --jd-shadow: 0 14px 34px hsl(var(--jt-ah) calc(var(--jt-as) * .6%) 25% / .12);
  }
  html[data-theme='dark'] .jd {
    --jd-page: hsl(var(--jt-h) calc(var(--jt-s) * .45%) 6.5%);
    --jd-text: hsl(var(--jt-h) calc(var(--jt-s) * .2%) 94%);
    --jd-muted: hsl(var(--jt-h) calc(var(--jt-s) * .15%) 72%);
    --jd-gold: hsl(var(--jt-ah) calc(var(--jt-as) * 1%) 60%);
    --jd-gold-deep: hsl(var(--jt-ah) calc(var(--jt-as) * 1%) 54%);
    --jd-gold-soft: hsl(var(--jt-ah) calc(var(--jt-as) * .85%) 76%);
    --jd-surface: hsl(var(--jt-h) calc(var(--jt-s) * .35%) 11% / .74);
    --jd-line: hsl(var(--jt-ah) calc(var(--jt-as) * .5%) 70% / .24);
    --jd-cta: linear-gradient(115deg, hsl(var(--jt-ah) calc(var(--jt-as) * 1%) 30%), hsl(var(--jt-ah) calc(var(--jt-as) * 1%) 50%) 60%, hsl(var(--jt-ah) calc(var(--jt-as) * 1%) 27%));
    --jd-shadow: 0 16px 38px rgba(0, 0, 0, .38);
  }
  /* the sky and its planets turn with the colour */
  .jd-sky { filter: hue-rotate(calc(var(--jt-rot) * 1deg)) saturate(var(--jt-sat)) contrast(var(--jt-con)); opacity: var(--jt-sky); }
  .jd-sky::before { content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; pointer-events: none; }

  .jd-h1 em { background-image: linear-gradient(100deg, hsl(var(--jt-ah) calc(var(--jt-as) * 1%) 32%), hsl(var(--jt-ah) calc(var(--jt-as) * 1%) 56%) 45%, hsl(var(--jt-ah) calc(var(--jt-as) * 1%) 36%) 80%); }
  html[data-theme='dark'] .jd-h1 em { background-image: linear-gradient(100deg, hsl(var(--jt-ah) calc(var(--jt-as) * 1%) 52%), hsl(var(--jt-ah) calc(var(--jt-as) * 1%) 76%) 45%, hsl(var(--jt-ah) calc(var(--jt-as) * 1%) 50%) 80%); }
  .jd-check { background: linear-gradient(135deg, hsl(var(--jt-ah) calc(var(--jt-as) * 1%) 72%), hsl(var(--jt-ah) calc(var(--jt-as) * 1%) 44%)); }
  .jd-cta { border-color: hsl(var(--jt-ah) calc(var(--jt-as) * 1%) 70%); box-shadow: 0 10px 26px hsl(var(--jt-ah) calc(var(--jt-as) * 1%) 30% / .35), inset 0 1px 0 rgba(255, 255, 255, .3); }
  .jd-mode button.is-on, .jd-chapters button.is-on { background: linear-gradient(135deg, hsl(var(--jt-ah) calc(var(--jt-as) * .6%) 92%), hsl(var(--jt-ah) calc(var(--jt-as) * 1%) 72%)); color: hsl(var(--jt-ah) 30% 12%); }
  html[data-theme='dark'] .jd-mode button.is-on, html[data-theme='dark'] .jd-chapters button.is-on { background: linear-gradient(135deg, hsl(var(--jt-ah) calc(var(--jt-as) * .7%) 34%), hsl(var(--jt-ah) calc(var(--jt-as) * .7%) 20%)); color: hsl(var(--jt-ah) calc(var(--jt-as) * 1%) 86%); }
  .jd-bell__dot { background: hsl(var(--jt-ah) calc(var(--jt-as) * 1%) 52%); }
  .jd-phone { background: linear-gradient(145deg, hsl(var(--jt-ah) calc(var(--jt-as) * .9%) 66%), hsl(var(--jt-ah) calc(var(--jt-as) * .6%) 30%) 40%, hsl(var(--jt-h) calc(var(--jt-s) * .3%) 13%)); }
  .jd-monitor__screen { box-shadow: inset 0 0 0 1.5px hsl(var(--jt-ah) calc(var(--jt-as) * 1%) 62%), 0 0 0 1px rgba(255, 255, 255, .25); }
  .jd-avatar { border-color: var(--jd-gold-soft); }
  .jd, .jd-promises, .jd-style, .jd-ghost, .jd-search, .jd-chipbtn, .jd-mode, .jd-chapters, .jd-open { transition: background-color 1.1s ease, border-color 1.1s ease, box-shadow 1.1s ease, border-radius .6s ease, transform .25s; }

  /* ---------- each style: its own body ---------- */
  /* Cinematic: night blue, magenta light, a letterbox glow */
  html[data-jd-stil='cinematic'] .jd-sky::before { opacity: 1; background: linear-gradient(180deg, hsl(228 70% 25% / .45), transparent 45%, hsl(322 70% 35% / .3)), radial-gradient(60% 50% at 80% 20%, hsl(322 90% 60% / .25), transparent 70%); }
  html[data-jd-stil='cinematic'] .jd-h1 { letter-spacing: -.035em; }
  /* Premium: warm black-gold glow */
  html[data-jd-stil='premium'] .jd-sky::before { opacity: 1; background: radial-gradient(70% 60% at 75% 25%, hsl(42 90% 60% / .28), transparent 70%); }
  /* Gallery: a quiet white room, soft light from above */
  html[data-jd-stil='gallery'] .jd-sky::before { opacity: 1; background: radial-gradient(50% 70% at 50% 0%, rgba(255, 248, 235, .55), transparent 75%); }
  html[data-jd-stil='gallery'] .jd { --jd-shadow: 0 8px 22px rgba(60, 50, 40, .08); }
  /* Minimal: flat, no glitter, square corners */
  html[data-jd-stil='minimal'] .jd { --jd-shadow: none; }
  html[data-jd-stil='minimal'] .jd-promises, html[data-jd-stil='minimal'] .jd-style, html[data-jd-stil='minimal'] .jd-style__img, html[data-jd-stil='minimal'] .jd-work__thumb, html[data-jd-stil='minimal'] .jd-work__thumb > .jd-pic { border-radius: 4px; }
  html[data-jd-stil='minimal'] .jd-cta, html[data-jd-stil='minimal'] .jd-ghost, html[data-jd-stil='minimal'] .jd-search, html[data-jd-stil='minimal'] .jd-chapters, html[data-jd-stil='minimal'] .jd-mode, html[data-jd-stil='minimal'] .jd-open { border-radius: 6px; }
  /* Dynamic: orange light streaks race across the sky */
  html[data-jd-stil='dynamic'] .jd-sky::before { opacity: 1; background: repeating-linear-gradient(-24deg, transparent 0 70px, hsl(24 100% 60% / .16) 70px 73px), linear-gradient(100deg, hsl(16 100% 55% / .25), transparent 60%); background-size: 400px 400px, auto; animation: jd-streak 6s linear infinite; }
  @keyframes jd-streak { to { background-position: 400px 0, 0 0; } }
}

/* ===================== phones + tablets (below 1100 px): the same start page, stacked =====================
   top bar · kicker · headline · text · monitor + phone with the 7 chapters · the work · buttons · sharing ·
   the four promises (2 × 2) · the styles (swipe). Colours, sky and styles work exactly as on desktop. */
@media (max-width: 1099px) {
  .jd { min-height: 0; padding: max(14px, env(safe-area-inset-top)) 16px 26px; }
  .jd-sky { height: min(78vh, 150vw); background-position: 72% top; }

  /* top bar: greeting + bell + light/dark, below it search + filter */
  .jd-top { flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
  .jd-hello { order: 1; flex: 1; min-width: 0; gap: 10px; font-size: 16px; }
  .jd-hello > span:last-child { overflow: hidden; text-overflow: ellipsis; }
  .jd-avatar { width: 38px; height: 38px; }
  .jd-top__sep { display: none; }
  .jd-top__end { order: 2; gap: 6px; margin-left: 0; }
  .jd-bell { width: 38px; height: 38px; }
  .jd-bell .jd-i { width: 22px; height: 22px; }
  .jd-mode button { width: 32px; height: 32px; }
  .jd-mode .jd-i { width: 17px; height: 17px; }
  .jd-search { order: 3; flex: 1 1 0; min-width: 0; height: 42px; padding: 0 14px; }
  .jd-search input { font-size: 15px; }
  .jd-top > .jd-dropwrap { order: 4; }
  .jd-chipbtn { height: 42px; padding: 0 12px; gap: 6px; font-size: 15px !important; }
  .jd-drop { min-width: 220px; }
  .jd-top > .jd-dropwrap .jd-drop { left: auto; right: 0; }
  .jd-drop--right { min-width: min(300px, calc(100vw - 32px)); }

  /* hero: one column, the devices right after the text */
  .jd-hero { display: flex; flex-direction: column; }
  .jd-copy { display: contents; }
  .jd-kicker { order: 1; gap: 10px; margin-bottom: 14px; font-size: 11px; letter-spacing: .24em; }
  .jd-kicker i { width: 22px; }
  .jd-h1 { order: 2; font-size: clamp(36px, 11vw, 60px); white-space: normal; }
  .jd-lead { order: 3; margin: 14px 0 6px; font-size: clamp(17px, 4.6vw, 21px); }
  .jd-devices { order: 4; width: 100%; height: calc((100vw - 32px) * .74 + 58px); margin: 10px 0 18px; perspective: 1200px; }
  .jd-monitor { left: 0; top: 2%; width: 82%; transform: rotateY(-9deg); }
  .jd-monitor__screen { border-radius: 10px 10px 0 0; }
  .jd-monitor__chin { height: 16px; border-radius: 0 0 10px 10px; }
  .jd-monitor__neck { height: 26px; }
  .jd-monitor__foot { height: 8px; }
  .jd-phone { right: 0; top: 18%; width: 28%; padding: 2%; border-radius: 18px; transform: rotateY(-12deg) rotateZ(1deg); }
  .jd-phone__screen { border-radius: 13px; }
  .jd-chapbar { left: 0; right: 0; gap: 8px; }
  .jd-chapters { overflow-x: auto; scrollbar-width: none; }
  .jd-chapters::-webkit-scrollbar { display: none; }
  .jd-chapters li, .jd-chapters li:has(.is-on) { flex: 0 0 auto; }
  .jd-chapters button { padding: 7px 9px; }
  .jd-open { padding: 8px 12px; font-size: 13px; }
  .jd-work { order: 5; gap: 14px; }
  .jd-work__thumb { width: 42vw; max-width: 240px; }
  .jd-work__info strong { font-size: 20px; }
  .jd-work__info small { margin-bottom: 8px; font-size: 13.5px; }
  .jd-work .jd-ghost { padding: 9px 14px; font-size: 14px; }
  .jd-actions { order: 6; flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 10px; margin-top: 20px; }
  .jd-cta, .jd-ghost--big { justify-content: center; width: 100%; font-size: 17px; }
  .jd-share { order: 7; max-width: none; }

  /* the four promises: 2 × 2 */
  .jd-promises { grid-template-columns: 1fr 1fr; margin-top: 24px; padding: 6px; }
  .jd-promises li { justify-content: flex-start; gap: 10px; padding: 12px 10px; font-size: 14px; }
  .jd-promises li + li { border-left: 0; }
  .jd-promises li:nth-child(2n) { border-left: 1px solid var(--jd-line); }
  .jd-promises li:nth-child(n + 3) { border-top: 1px solid var(--jd-line); }
  .jd-i--big { width: 30px; height: 30px; }

  /* the styles: swipe */
  .jd-styles { margin-top: 28px; }
  .jd-styles__head { flex-wrap: wrap; gap: 8px; }
  .jd-styles__head h2 { flex: 1 1 100%; font-size: 24px; white-space: normal; }
  .jd-styles__head > i { display: none; }
  .jd-styles__head span { margin-right: auto; font-size: 15px; }
  .jd-styles__head button:first-of-type { margin-left: 0; }
  .jd-styles__row { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 44%; gap: 12px; margin: 0 -16px; padding: 4px 16px 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .jd-styles__row::-webkit-scrollbar { display: none; }
  .jd-style { scroll-snap-align: start; }
}
@media (min-width: 700px) and (max-width: 1099px) {
  .jd { padding-left: 28px; padding-right: 28px; }
  .jd-devices { width: 86%; align-self: center; height: calc((100vw - 56px) * .64 + 58px); }
  .jd-actions { flex-direction: row; }
  .jd-styles__row { grid-auto-columns: 30%; }
}
@media (max-width: 1099px) { .jd-search { flex: 1 1 calc(100% - 130px); } .jd-hello { flex: 1 1 auto; } }
@media (max-width: 1099px) { .jd-hello { flex: 1 1 0; min-width: 0; } .jd-hello > span:last-child { white-space: nowrap; } }

/* =====================================================================================================
   The six presentation styles – each one is its own design, not just a colour:
   its own scene (DeskHero.tsx <Scene>), typography, shapes, devices and sidebar. Colour (site-tint.ts)
   comes on top. The style picker sits at the top of the page.
   ===================================================================================================== */
.jd-scenes { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.jd-scene { position: absolute; inset: 0; }
.jd-scene > i, .jd-scene > svg { position: absolute; display: block; }
.jd-scene .jd-sky { z-index: 0; }

/* the picker at the top */
.jd-styles--top { margin: 0 0 clamp(18px, 3vh, 30px); }
.jd-styles--top .jd-styles__head { margin-bottom: 10px; }
.jd-styles--top .jd-styles__head h2 { font-size: clamp(20px, 1.5vw, 26px); }
.jd-styles--top .jd-styles__head span { font-size: 15px; opacity: .85; }
.jd-styles--top .jd-style__img { aspect-ratio: 16 / 6.2; }
.jd-styles--top .jd-style__label { padding: 6px 6px 8px; font-size: clamp(14px, 1vw, 17px); }
.jd-styles--top .jd-style .jd-check { width: 26px; height: 26px; right: 8px; top: 8px; }

/* ---------------- Cinematic: night city, neon, lens flare, film grain ---------------- */
.jd-scene--cinematic { background: #05060d; }
.cin-sky { inset: 0; background: radial-gradient(120% 70% at 70% 0%, #221650 0%, #0c0e26 45%, #05060d 80%); }
.cin-glow { width: 60vw; aspect-ratio: 1; border-radius: 50%; filter: blur(90px); opacity: .55; }
.cin-glow--a { right: -12vw; top: -24vw; background: #c2187a; }
.cin-glow--b { left: 8%; top: 30vh; width: 38vw; background: #1aa3c8; opacity: .26; }
.cin-flare { left: -10%; right: -10%; top: 30vh; height: 2px; background: linear-gradient(90deg, transparent, #7fe4ff 30%, #fff 50%, #7fe4ff 70%, transparent); box-shadow: 0 0 18px 4px rgba(90, 200, 255, .5), 0 0 70px 16px rgba(60, 120, 255, .22); animation: cin-flare 7s ease-in-out infinite alternate; }
@keyframes cin-flare { from { transform: translateX(-4%) scaleX(.9); opacity: .5; } to { transform: translateX(4%) scaleX(1.05); opacity: .9; } }
.cin-city { left: 0; right: 0; top: calc(min(100vh, 980px) - 330px); width: 100%; height: 300px; fill: #03040a; }
.cin-win { fill: #ffcf73; opacity: .75; }
.cin-win:nth-of-type(3n) { fill: #8fe9ff; }
.cin-win:nth-of-type(7n) { fill: #ff6fc0; }
.cin-haze { left: 0; right: 0; top: calc(min(100vh, 980px) - 40px); height: 60vh; background: linear-gradient(180deg, rgba(5, 6, 13, 0), #05060d 35%); }
.cin-grain { inset: -50%; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); opacity: .1; animation: cin-grain .9s steps(4) infinite; }
@keyframes cin-grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-1%, 3%); } 100% { transform: translate(3%, -1%); } }
.cin-bar--top { left: 0; right: 0; top: 0; height: 10px; background: #000; }

/* ---------------- Premium: black marble, gold veins, a golden ringed planet, art déco ---------------- */
.jd-scene--premium { background: #0b0905; }
.pre-marble { inset: 0; background: url('/lunaris/lunaris-gallery-dark.jpg') center top / cover; filter: grayscale(.85) sepia(.6) brightness(.55) contrast(1.15); }
.pre-marble::after { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 55% at 76% 14%, rgba(212, 170, 90, .2), transparent 70%), linear-gradient(180deg, transparent 55%, #0b0905 96%); }
.pre-deco { right: 0; top: 0; width: min(54vw, 820px); fill: none; stroke: #c9a45c; stroke-width: .7; opacity: .32; }
.pre-planet { right: 10%; top: 7vh; width: min(15vw, 230px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #fff1c2, #d9b062 30%, #7a5520 66%, #24170a 92%); box-shadow: 0 0 70px rgba(230, 190, 110, .35), inset -18px -22px 40px rgba(0, 0, 0, .55); animation: pre-float 9s ease-in-out infinite alternate; }
.pre-planet b { position: absolute; left: -48%; right: -48%; top: 41%; height: 18%; border: 3px solid rgba(242, 212, 140, .9); border-radius: 50%; transform: rotate(-16deg); box-shadow: 0 0 14px rgba(240, 200, 120, .5); -webkit-mask: linear-gradient(180deg, transparent 0 46%, #000 46%); mask: linear-gradient(180deg, transparent 0 46%, #000 46%); }
@keyframes pre-float { to { transform: translateY(14px) rotate(4deg); } }
.pre-frame { left: 14px; right: 14px; top: 14px; height: calc(min(100vh, 1000px) - 28px); border: 1px solid rgba(201, 164, 92, .45); outline: 1px solid rgba(201, 164, 92, .22); outline-offset: 5px; }

/* ---------------- Gallery: the white room, track lights, cones of light ---------------- */
.jd-scene--gallery { background: #ebe6dc; }
.gal-wall { inset: 0; background: url('/lunaris/lunaris-gallery-light.jpg') center top / cover; }
.gal-wall::after { content: ''; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(180deg, transparent, #ebe6dc); }
.gal-rail { left: 4%; right: 4%; top: 14px; height: 5px; display: flex; justify-content: space-around; border-radius: 3px; background: #2a2622; }
.gal-rail b { width: 18px; height: 26px; margin-top: 4px; border-radius: 4px 4px 10px 10px; background: #1d1a17; box-shadow: 0 6px 10px rgba(0, 0, 0, .2); }
.gal-beam { top: 34px; width: 36vw; height: min(84vh, 820px); background: linear-gradient(180deg, rgba(255, 244, 214, .75), rgba(255, 244, 214, 0) 88%); clip-path: polygon(47% 0, 53% 0, 100% 100%, 0 100%); filter: blur(8px); mix-blend-mode: screen; }
.gal-beam--a { left: calc(4% + 15.3% - 18vw); }
.gal-beam--b { left: calc(50% - 18vw); }
.gal-beam--c { left: calc(96% - 15.3% - 18vw); }
.gal-floor { display: none; }
html[data-theme='dark'] .jd-scene--gallery { background: #15120e; }
html[data-theme='dark'] .gal-wall { filter: brightness(.26) sepia(.45); }
html[data-theme='dark'] .gal-wall::after { background: linear-gradient(180deg, transparent, #15120e); }
html[data-theme='dark'] .gal-beam { background: linear-gradient(180deg, rgba(255, 222, 160, .5), rgba(255, 222, 160, 0) 88%); }

/* ---------------- Minimal: no pictures – a grid, a line-drawn planet ---------------- */
.jd-scene--minimal { background: #fafafa; color: #111; }
.min-grid { inset: 0; background-image: linear-gradient(rgba(0, 0, 0, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, .055) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask: linear-gradient(180deg, #000 30%, transparent 85%); mask: linear-gradient(180deg, #000 30%, transparent 85%); }
.min-orbit { right: 3%; top: 1vh; width: min(30vw, 440px); fill: none; stroke: currentColor; stroke-width: 1; opacity: .5; animation: min-turn 40s linear infinite; }
.min-moon { fill: currentColor; stroke: none; }
@keyframes min-turn { to { transform: rotate(360deg); } }
.min-line { left: 0; right: 0; top: min(64vh, 640px); height: 1px; background: currentColor; opacity: .12; }
html[data-theme='dark'] .jd-scene--minimal { background: #0b0b0c; color: #eee; }
html[data-theme='dark'] .min-grid { background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); }

/* ---------------- Dynamic: slabs, speed lines, a comet ---------------- */
.jd-scene--dynamic { background: #fff4ec; }
.dyn-bg { inset: 0; background: linear-gradient(115deg, #fff7f0 0%, #ffe3cf 45%, #ffd0b0 100%); }
.dyn-slab { top: -12vh; height: min(110vh, 1000px); transform: skewX(-22deg); -webkit-mask: linear-gradient(180deg, #000 45%, transparent 92%); mask: linear-gradient(180deg, #000 45%, transparent 92%); }
.dyn-slab--a { right: 16%; width: 9vw; background: linear-gradient(180deg, #ff6a1a, #ff9f45); opacity: .85; }
.dyn-slab--b { right: 5%; width: 4vw; background: linear-gradient(180deg, #ffb347, #ff6a1a); opacity: .7; }
.dyn-slab--c { right: 30%; width: 1.6vw; background: #ff3d2e; opacity: .65; }
.dyn-lines { inset: 0; background: repeating-linear-gradient(-22deg, transparent 0 58px, rgba(255, 110, 30, .2) 58px 60px); background-size: 600px 600px; animation: dyn-run 1.4s linear infinite; -webkit-mask: linear-gradient(180deg, #000 25%, transparent 80%); mask: linear-gradient(180deg, #000 25%, transparent 80%); }
@keyframes dyn-run { to { background-position: 600px 0; } }
.dyn-comet { right: 11%; top: 9vh; width: 62px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #fff, #ffd08a 40%, #ff6a1a 76%); box-shadow: 0 0 40px #ff8a3c, 0 0 90px rgba(255, 120, 40, .5); animation: dyn-comet 3.2s ease-in-out infinite alternate; }
.dyn-comet::after { content: ''; position: absolute; right: 50%; top: 50%; width: 38vw; height: 20px; border-radius: 10px; background: linear-gradient(90deg, transparent, rgba(255, 140, 60, .65)); filter: blur(4px); transform: translateY(-50%) rotate(22deg); transform-origin: 100% 50%; }
@keyframes dyn-comet { to { transform: translate(-18px, 10px); } }
html[data-theme='dark'] .jd-scene--dynamic { background: #120806; }
html[data-theme='dark'] .dyn-bg { background: linear-gradient(115deg, #130806, #2a0e07 50%, #4a1607); }

/* ---------------- typography, shapes and devices per style (all sizes) ---------------- */
/* Cinematic and Premium are dark by nature */
html[data-jd-stil='cinematic'] .jd, html[data-jd-stil='premium'] .jd {
  --jd-page: hsl(var(--jt-h) calc(var(--jt-s) * .45%) 5%); --jd-text: hsl(var(--jt-h) calc(var(--jt-s) * .2%) 94%); --jd-muted: hsl(var(--jt-h) calc(var(--jt-s) * .15%) 72%);
  --jd-gold: hsl(var(--jt-ah) calc(var(--jt-as) * 1%) 62%); --jd-gold-deep: hsl(var(--jt-ah) calc(var(--jt-as) * 1%) 56%); --jd-gold-soft: hsl(var(--jt-ah) calc(var(--jt-as) * .85%) 78%);
  --jd-surface: hsl(var(--jt-h) calc(var(--jt-s) * .35%) 9% / .72); --jd-line: hsl(var(--jt-ah) calc(var(--jt-as) * .5%) 70% / .26); --jd-shadow: 0 16px 38px rgba(0, 0, 0, .45);
}

/* Cinematic */
html[data-jd-stil='cinematic'] .jd { font-family: 'Inter', system-ui, sans-serif; }
html[data-jd-stil='cinematic'] .jd-h1 { font-family: 'Bebas Neue', Impact, sans-serif; font-style: normal; font-weight: 400; font-size: clamp(56px, calc((100vw - var(--jx-side, 0px)) * .066), 118px); line-height: .9; letter-spacing: .01em; text-transform: uppercase; }
html[data-jd-stil='cinematic'] .jd-h1 em { font-style: normal; background-image: linear-gradient(90deg, #ff4fb0, #8f7bff 50%, #4fd8ff); }
html[data-jd-stil='cinematic'] .jd-kicker { font-family: 'Inter', sans-serif; letter-spacing: .5em; color: #8fe9ff; }
html[data-jd-stil='cinematic'] .jd-kicker i { background: #8fe9ff; }
html[data-jd-stil='cinematic'] .jd-lead { font-family: 'Inter', sans-serif; font-style: normal; font-weight: 300; font-size: clamp(15px, 1.15vw, 19px); letter-spacing: .01em; }
html[data-jd-stil='cinematic'] .jd-cta { border-radius: 6px; border-color: rgba(255, 255, 255, .25); background: linear-gradient(90deg, #c2187a, #6b3cff); box-shadow: 0 0 34px rgba(194, 24, 122, .5); }
html[data-jd-stil='cinematic'] :is(.jd-ghost, .jd-search, .jd-chipbtn, .jd-mode, .jd-chapters, .jd-open) { border-radius: 6px; }
html[data-jd-stil='cinematic'] :is(.jd-promises, .jd-style, .jd-style__img, .jd-work__thumb, .jd-work__thumb > .jd-pic) { border-radius: 6px; }
html[data-jd-stil='cinematic'] .jd-monitor__screen { border-radius: 6px 6px 0 0; background: #000; box-shadow: inset 0 0 0 1px #3b2a70, 0 0 50px rgba(143, 123, 255, .35); }
html[data-jd-stil='cinematic'] .jd-monitor__chin { border-radius: 0 0 6px 6px; background: linear-gradient(180deg, #23243a, #0d0e18); }
html[data-jd-stil='cinematic'] .jd-monitor__neck { background: linear-gradient(90deg, #0d0e18, #2e2f48 45%, #0d0e18); }
html[data-jd-stil='cinematic'] .jd-monitor__foot { background: radial-gradient(ellipse at center, #2e2f48, #0d0e18 70%); }
html[data-jd-stil='cinematic'] .jd-phone { background: linear-gradient(145deg, #ff4fb0, #2b1a5a 35%, #05060d); box-shadow: 0 0 40px rgba(194, 24, 122, .35); }

/* Premium */
html[data-jd-stil='premium'] .jd { font-family: 'Cormorant Garamond', Georgia, serif; }
html[data-jd-stil='premium'] .jd-h1 { font-family: 'Playfair Display', Georgia, serif; font-style: normal; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; font-size: clamp(36px, calc((100vw - var(--jx-side, 0px)) * .038), 70px); line-height: 1.08; color: #f4ead4; }
html[data-jd-stil='premium'] .jd-h1 em { font-style: normal; background-image: linear-gradient(100deg, #8a6420, #f6e2a4 35%, #b8893a 55%, #f3d58a 75%, #7c5a1c); }
html[data-jd-stil='premium'] .jd-kicker { letter-spacing: .45em; color: #d9b971; }
html[data-jd-stil='premium'] .jd-lead { font-size: clamp(19px, 1.5vw, 26px); color: #e9dcc0; }
html[data-jd-stil='premium'] .jd-cta { border-radius: 0; border: 0; background: linear-gradient(100deg, #8a6420, #f6e2a4 35%, #b8893a 55%, #f3d58a 75%, #7c5a1c); color: #1a1206 !important; outline: 1px solid rgba(217, 185, 113, .6); outline-offset: 4px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
html[data-jd-stil='premium'] :is(.jd-ghost, .jd-search, .jd-chipbtn, .jd-mode, .jd-chapters, .jd-open, .jd-promises, .jd-style, .jd-style__img, .jd-work__thumb, .jd-work__thumb > .jd-pic, .jd-mode button, .jd-chapters button) { border-radius: 0; }
html[data-jd-stil='premium'] :is(.jd-ghost, .jd-promises, .jd-style, .jd-search, .jd-chipbtn, .jd-mode, .jd-chapters, .jd-open) { border-color: rgba(217, 185, 113, .45); }
html[data-jd-stil='premium'] .jd-monitor__screen { border-radius: 0; background: #0c0a06; box-shadow: inset 0 0 0 2px #d4b06a, 0 0 0 1px #6b4f22, 0 20px 50px rgba(0, 0, 0, .6); }
html[data-jd-stil='premium'] .jd-monitor__chin { border-radius: 0; background: linear-gradient(180deg, #e5c57d, #8a6420); }
html[data-jd-stil='premium'] .jd-monitor__neck { background: linear-gradient(90deg, #6b4f22, #e5c57d 45%, #6b4f22); }
html[data-jd-stil='premium'] .jd-monitor__foot { border-radius: 0; height: 8px; background: linear-gradient(90deg, #6b4f22, #e5c57d 50%, #6b4f22); }
html[data-jd-stil='premium'] .jd-phone { border-radius: 8px; background: linear-gradient(145deg, #f6e2a4, #b8893a 40%, #5a3f14); }
html[data-jd-stil='premium'] .jd-phone__screen { border-radius: 2px; }

/* Gallery */
html[data-jd-stil='gallery'] .jd { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
html[data-jd-stil='gallery'] .jd-h1 { font-family: 'Cormorant Garamond', Georgia, serif; font-style: normal; font-weight: 600; font-size: clamp(46px, calc((100vw - var(--jx-side, 0px)) * .05), 90px); line-height: .98; letter-spacing: -.015em; }
html[data-jd-stil='gallery'] .jd-h1 em { font-style: italic; font-weight: 500; }
html[data-jd-stil='gallery'] .jd-kicker { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; letter-spacing: .32em; }
html[data-jd-stil='gallery'] .jd-lead { font-family: 'Plus Jakarta Sans', sans-serif; font-style: normal; font-weight: 400; font-size: clamp(15px, 1.1vw, 18px); line-height: 1.55; }
html[data-jd-stil='gallery'] .jd-work__info { padding: 14px 18px 16px; border-radius: 2px; background: #fff; color: #1d1b19; box-shadow: 0 8px 22px rgba(60, 50, 40, .12); }
html[data-jd-stil='gallery'] .jd-work__info strong { font-family: 'Cormorant Garamond', serif; font-weight: 600; }
html[data-jd-stil='gallery'] .jd-work__info small { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
html[data-jd-stil='gallery'] .jd-work__thumb { padding: 10px; border: 0; background: #fff; box-shadow: 0 0 0 4px #c69a5c, 0 14px 30px rgba(0, 0, 0, .25); border-radius: 0; }
html[data-jd-stil='gallery'] .jd-work__thumb > .jd-pic { inset: 10px; border-radius: 0; }
html[data-jd-stil='gallery'] .jd-cta { border-radius: 2px; border: 0; background: #1d1b19; color: #fff !important; box-shadow: 0 10px 24px rgba(0, 0, 0, .2); }
html[data-jd-stil='gallery'] :is(.jd-ghost, .jd-search, .jd-chipbtn, .jd-mode, .jd-chapters, .jd-open, .jd-promises, .jd-style, .jd-style__img) { border-radius: 2px; }
html[data-jd-stil='gallery'] .jd-monitor__screen { border-radius: 2px; background: #f6f3ee; box-shadow: inset 0 0 0 1px #cfc8bd, 0 0 0 5px #c69a5c, 0 24px 50px rgba(0, 0, 0, .3); }
html[data-jd-stil='gallery'] .jd-monitor__chin, html[data-jd-stil='gallery'] .jd-monitor__neck, html[data-jd-stil='gallery'] .jd-monitor__foot { opacity: 0; }
html[data-jd-stil='gallery'] .jd-monitor { filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .18)); }
html[data-jd-stil='gallery'] .jd-phone { border-radius: 4px; padding: 3%; background: #fff; box-shadow: 0 0 0 4px #c69a5c, 0 22px 40px rgba(0, 0, 0, .3); }
html[data-jd-stil='gallery'] .jd-phone__screen { border-radius: 0; }

/* Minimal */
html[data-jd-stil='minimal'] .jd { font-family: 'Inter', system-ui, sans-serif; }
html[data-jd-stil='minimal'] .jd-h1 { font-family: 'Inter', system-ui, sans-serif; font-style: normal; font-weight: 800; letter-spacing: -.05em; font-size: clamp(40px, calc((100vw - var(--jx-side, 0px)) * .045), 84px); line-height: .98; }
html[data-jd-stil='minimal'] .jd-h1 em { font-style: normal; background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--jd-muted); }
html[data-jd-stil='minimal'] .jd-kicker { font-family: 'Inter', sans-serif; font-weight: 600; letter-spacing: .2em; }
html[data-jd-stil='minimal'] .jd-kicker i { display: none; }
html[data-jd-stil='minimal'] .jd-lead { font-family: 'Inter', sans-serif; font-style: normal; font-weight: 400; font-size: clamp(15px, 1.1vw, 18px); line-height: 1.55; }
html[data-jd-stil='minimal'] .jd-cta { border-radius: 0; border: 0; background: var(--jd-text); color: var(--jd-page) !important; box-shadow: none; }
html[data-jd-stil='minimal'] :is(.jd-ghost, .jd-search, .jd-chipbtn, .jd-mode, .jd-chapters, .jd-open, .jd-promises, .jd-style, .jd-style__img, .jd-work__thumb, .jd-work__thumb > .jd-pic, .jd-mode button, .jd-chapters button, .jd-check) { border-radius: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
html[data-jd-stil='minimal'] :is(.jd-ghost, .jd-promises, .jd-style, .jd-search, .jd-chipbtn, .jd-mode, .jd-chapters, .jd-open) { border-color: color-mix(in srgb, var(--jd-text) 22%, transparent); background: var(--jd-page); }
html[data-jd-stil='minimal'] .jd-monitor { filter: none; }
html[data-jd-stil='minimal'] .jd-monitor__screen { border-radius: 0; background: #111; box-shadow: none; }
html[data-jd-stil='minimal'] .jd-monitor__chin { height: 10px; border-radius: 0; background: #111; }
html[data-jd-stil='minimal'] .jd-monitor__neck { width: 6%; clip-path: none; background: #111; }
html[data-jd-stil='minimal'] .jd-monitor__foot { width: 26%; height: 4px; border-radius: 0; background: #111; box-shadow: none; }
html[data-jd-stil='minimal'] .jd-phone { border-radius: 14px; background: #111; box-shadow: none; }
html[data-theme='dark'][data-jd-stil='minimal'] :is(.jd-monitor__screen, .jd-monitor__chin, .jd-monitor__neck, .jd-monitor__foot, .jd-phone) { background: #e9e9e9; }

/* Dynamic */
html[data-jd-stil='dynamic'] .jd { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
html[data-jd-stil='dynamic'] .jd-h1 { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-style: italic; font-weight: 800; letter-spacing: -.035em; text-transform: uppercase; font-size: clamp(38px, calc((100vw - var(--jx-side, 0px)) * .044), 82px); line-height: .96; }
html[data-jd-stil='dynamic'] .jd-h1 em { background-image: linear-gradient(90deg, #ff3d2e, #ff9f1a); }
html[data-jd-stil='dynamic'] .jd-kicker { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-style: italic; letter-spacing: .28em; color: #ff5a1f; }
html[data-jd-stil='dynamic'] .jd-kicker i { background: #ff5a1f; height: 3px; transform: skewX(-30deg); }
html[data-jd-stil='dynamic'] .jd-lead { font-family: 'Plus Jakarta Sans', sans-serif; font-style: normal; font-weight: 500; font-size: clamp(15px, 1.12vw, 18px); line-height: 1.5; }
html[data-jd-stil='dynamic'] .jd-cta { border: 0; border-radius: 6px; background: linear-gradient(90deg, #ff3d2e, #ff8a1a); transform: skewX(-12deg); font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .02em; box-shadow: 0 12px 30px rgba(255, 80, 30, .4); }
html[data-jd-stil='dynamic'] .jd-ghost--big, html[data-jd-stil='dynamic'] .jd-open { transform: skewX(-12deg); border-radius: 6px; font-weight: 700; }
html[data-jd-stil='dynamic'] :is(.jd-search, .jd-chipbtn, .jd-mode, .jd-chapters, .jd-promises, .jd-style, .jd-style__img, .jd-work__thumb, .jd-work__thumb > .jd-pic) { border-radius: 6px; }
html[data-jd-stil='dynamic'] .jd-style { transform: skewX(-6deg); }
html[data-jd-stil='dynamic'] .jd-style:hover { transform: skewX(-6deg) translateY(-3px); }
html[data-jd-stil='dynamic'] .jd-monitor__screen { background: #120806; box-shadow: inset 0 0 0 2px #ff6a1a, 0 0 40px rgba(255, 106, 26, .35); }
html[data-jd-stil='dynamic'] .jd-monitor__chin { background: linear-gradient(90deg, #ff3d2e, #ff9f1a); }
html[data-jd-stil='dynamic'] .jd-phone { background: linear-gradient(145deg, #ff9f1a, #ff3d2e 45%, #3a0d05); }

/* ---------------- the sidebar takes the style too (desktop start page) ---------------- */
@media (min-width: 1100px) {
  html.jx-home[data-jd-stil] body .jx-side::after { opacity: 0; }
  html.jx-home[data-jd-stil='cinematic'] body .jx-side { background: radial-gradient(120% 60% at 0% 0%, #221650, #070816 60%) !important; color: #e8eaff; border-right-color: rgba(143, 123, 255, .25); font-family: 'Inter', sans-serif; }
  html.jx-home[data-jd-stil='premium'] body .jx-side { background: linear-gradient(rgba(11, 9, 5, .82), rgba(11, 9, 5, .92)), url('/lunaris/lunaris-gallery-dark.jpg') left top / cover !important; color: #f1e2bd; border-right-color: rgba(217, 185, 113, .35); }
  html.jx-home[data-jd-stil='gallery'] body .jx-side { background: url('/lunaris/lunaris-gallery-light.jpg') left top / cover !important; color: #1f1c19; font-family: 'Plus Jakarta Sans', sans-serif; }
  html.jx-home[data-theme='dark'][data-jd-stil='gallery'] body .jx-side { background: linear-gradient(rgba(16, 13, 10, .86), rgba(16, 13, 10, .86)), url('/lunaris/lunaris-gallery-light.jpg') left top / cover !important; color: #efe8dc; }
  html.jx-home[data-jd-stil='minimal'] body .jx-side { background: #fafafa !important; color: #111; border-right: 1px solid #e3e3e3; font-family: 'Inter', sans-serif; }
  html.jx-home[data-theme='dark'][data-jd-stil='minimal'] body .jx-side { background: #0b0b0c !important; color: #eee; border-right-color: #222; }
  html.jx-home[data-jd-stil='dynamic'] body .jx-side { background: linear-gradient(170deg, #fff3ea, #ffd9c2) !important; color: #2a120a; font-family: 'Plus Jakarta Sans', sans-serif; }
  html.jx-home[data-theme='dark'][data-jd-stil='dynamic'] body .jx-side { background: linear-gradient(170deg, #140806, #3a1407) !important; color: #ffe9dc; }
  html.jx-home[data-jd-stil='cinematic'] body .jx-side__item--upload { background: linear-gradient(90deg, #c2187a, #6b3cff) !important; color: #fff !important; }
  html.jx-home[data-jd-stil='premium'] body .jx-side__item--upload { border-radius: 0; background: linear-gradient(100deg, #8a6420, #f6e2a4 40%, #b8893a 70%) !important; color: #1a1206 !important; }
  html.jx-home[data-jd-stil='gallery'] body .jx-side__item--upload { border-radius: 2px; background: #1d1b19 !important; color: #fff !important; }
  html.jx-home[data-jd-stil='minimal'] body .jx-side__item--upload { border-radius: 0; background: #111 !important; color: #fff !important; box-shadow: none; }
  html.jx-home[data-theme='dark'][data-jd-stil='minimal'] body .jx-side__item--upload { background: #eee !important; color: #111 !important; }
  html.jx-home[data-jd-stil='dynamic'] body .jx-side__item--upload { transform: skewX(-10deg); background: linear-gradient(90deg, #ff3d2e, #ff8a1a) !important; color: #fff !important; }
  html.jx-home[data-jd-stil='minimal'] body :is(.jx-side__item, .jx-side__search) { border-radius: 0; }
}

/* phones: the scenes sit a little lower-key behind the stacked page */
@media (max-width: 1099px) {
  .cin-city { top: 52vh; height: 200px; }
  .cin-haze { top: calc(52vh + 160px); }
  .pre-deco { width: 92vw; }
  .pre-planet { width: 30vw; right: 6%; top: 15vh; }
  .min-orbit { width: 60vw; top: 12vh; }
  .dyn-comet { top: 16vh; width: 44px; }
  .gal-beam { width: 70vw; }
  .gal-beam--a { left: -20vw; }
  .gal-beam--b { left: calc(50% - 35vw); }
  .gal-beam--c { left: calc(100% - 50vw); }
}
@media (min-width: 1100px) { .pre-planet { right: 1.6%; top: 1.5vh; width: min(10vw, 170px); } .cin-win { opacity: .55; } }
html[data-jd-stil='gallery'] .jd-work__info .jd-ghost { background: #fff; color: #1d1b19; border-color: rgba(0, 0, 0, .22); box-shadow: none; }
@media (max-width: 1099px) { .jd-styles--top .jd-styles__head span { display: none; } .jd-styles--top .jd-styles__head h2 { flex: 1 1 0; min-width: 0; font-size: 19px; } .jd-styles--top .jd-styles__head { flex-wrap: nowrap; } .pre-planet { top: 34vh; right: -4%; width: 24vw; } .min-orbit { top: 30vh; } .dyn-comet { top: 32vh; } }
