/* Cosmos Journey extras */
.cj-wa { position: fixed; z-index: 30; right: max(16px, calc(var(--gut) - 10px)); bottom: 14px; display: inline-flex; align-items: center; gap: .5rem; height: 44px; padding: 0 1rem 0 .85rem; border-radius: 22px; background: #25d366; color: #052e16; font: 600 .85rem/1 var(--font); text-decoration: none; box-shadow: 0 8px 24px rgba(37, 211, 102, .32), 0 2px 8px rgba(0, 0, 0, .4); transition: transform .25s ease, box-shadow .25s ease; }
.cj-wa:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(37, 211, 102, .45), 0 2px 8px rgba(0, 0, 0, .4); }
.cj-wa:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
html.cj-js .cj-bottom { right: calc(var(--gut) + 132px); }
@media (max-width: 820px) {
  .cj-wa { width: 46px; height: 46px; padding: 0; justify-content: center; right: 14px; bottom: 12px; }
  .cj-wa span { display: none; }
  html.cj-js .cj-bottom { right: 72px; }
}
.cj-trail { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; mix-blend-mode: screen; }
.cj-snd { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: .6rem; height: 40px; padding: 0 .9rem; border: 1px solid var(--line); border-radius: var(--r); font: 400 .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); transition: color .2s ease, border-color .2s ease; }
.cj-snd:hover, .cj-snd.on { color: var(--ink); border-color: var(--accent); }
.cj-snd:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.cj-snd__bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.cj-snd__bars i { width: 2px; height: 3px; background: currentColor; transition: height .2s ease; }
.cj-snd.on .cj-snd__bars i { animation: cj-eq 1s ease-in-out infinite; }
.cj-snd.on .cj-snd__bars i:nth-child(2) { animation-delay: .15s; }
.cj-snd.on .cj-snd__bars i:nth-child(3) { animation-delay: .3s; }
.cj-snd.on .cj-snd__bars i:nth-child(4) { animation-delay: .45s; }
@keyframes cj-eq { 0%, 100% { height: 3px; } 50% { height: 12px; } }
@media (max-width: 1100px) { .cj-snd__t { display: none; } .cj-snd { padding: 0 .75rem; } }
.cj-modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity .22s ease; }
.cj-modal[hidden] { display: none; }
.cj-modal.on { opacity: 1; }
.cj-modal__bd { position: absolute; inset: 0; background: rgba(8, 4, 20, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cj-modal__box { position: relative; width: min(100%, 640px); max-height: calc(100svh - 40px); overflow: auto; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(149, 62, 237, .25); transform: translateY(14px) scale(.98); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.cj-modal.on .cj-modal__box { transform: none; }
.cj-modal__x { all: unset; cursor: pointer; position: absolute; top: 10px; right: 12px; z-index: 2; width: 34px; height: 34px; display: grid; place-items: center; font-size: 1.7rem; line-height: 1; color: var(--ink); border-radius: 50%; background: rgba(8, 4, 20, .55); }
.cj-modal__x:hover { background: rgba(149, 62, 237, .5); }
.cj-modal__x:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.cj-modal h3 { margin: 1.1rem 0 0; font: 600 1.5rem/1.15 var(--font); letter-spacing: -.02em; }
.cj-modal p { margin: .6rem 0 0; color: var(--ink-2); line-height: 1.55; }
.cj-modal .cj-actions { margin-top: 1.3rem; }
.cj-pv { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #0b0716; }
.cj-pv .cj-bar { height: 26px; gap: 5px; padding: 0 10px; }
.cj-pv .cj-bar b { margin-left: 10px; font: 400 .7rem/1 var(--mono); letter-spacing: .06em; color: var(--ink-2); font-weight: 400; }
.cj-pv img, .cj-pv .cj-ph { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.cj-gallery a { cursor: pointer; }
@media (max-width: 820px) { .cj-modal__box { padding: 16px; } .cj-modal h3 { font-size: 1.25rem; } }
@media (prefers-reduced-motion: reduce) { .cj-modal, .cj-modal__box { transition: none; } .cj-snd.on .cj-snd__bars i { animation: none; height: 8px; } }
.cj-intro { position: fixed; inset: 0; z-index: 100; background: var(--bg); transition: background-color .9s ease .1s, opacity .6s ease; }
.cj-intro.reveal { background-color: transparent; }
.cj-intro.out { opacity: 0; pointer-events: none; }
.cj-intro canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cj-intro__skip { all: unset; cursor: pointer; position: absolute; right: var(--gut); bottom: 26px; font: 400 .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); padding: 10px 0; border-bottom: 1px solid transparent; }
.cj-intro__skip:hover { color: var(--ink); border-bottom-color: var(--ink); }
.cj-intro__skip:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.cj-hint { position: fixed; z-index: 7; left: 0; top: 0; pointer-events: none; display: flex; flex-direction: column; gap: 3px; padding: 8px 12px; border: 1px solid rgba(149, 62, 237, .55); border-radius: 6px; background: rgba(11, 7, 22, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s ease; font: 400 .66rem/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.cj-hint.on { opacity: 1; }
.cj-hint span { color: var(--ink); font: 600 .8rem/1.2 var(--font); letter-spacing: -.005em; text-transform: none; }
.cj-hint b { font-weight: 400; color: var(--accent); }
.cj-planet-hover .cj-canvas { cursor: pointer; }
.cj-rip { position: fixed; z-index: 7; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; border: 2px solid #ca55f3; pointer-events: none; animation: cj-rip .75s ease-out forwards; }
@keyframes cj-rip { to { transform: scale(7); opacity: 0; } }
.cj-gyro { all: unset; box-sizing: border-box; cursor: pointer; position: fixed; z-index: 31; left: 50%; bottom: 64px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .6rem; height: 38px; padding: 0 1rem; border: 1px solid rgba(149, 62, 237, .6); border-radius: 19px; background: rgba(11, 7, 22, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font: 400 .7rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); transition: opacity .35s ease; animation: cj-gy 2.2s ease-in-out infinite; }
.cj-gyro i { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 10px var(--accent); }
.cj-gyro.out { opacity: 0; pointer-events: none; }
@keyframes cj-gy { 50% { box-shadow: 0 0 0 6px rgba(149, 62, 237, .16); } }
.cj-name { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }
.cj-name__cap { position: fixed; z-index: 4; transform: translateX(-50%); pointer-events: none; opacity: 0; font: 400 .68rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; transition: opacity .3s ease; }

.cj-mtags { position: fixed; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.cj-mtag { position: absolute; left: 0; top: 0; opacity: 0; white-space: nowrap; font: 400 .66rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #efe6ff; padding: 5px 8px; border: 1px solid rgba(120, 230, 210, .3); background: rgba(14, 8, 30, .55); backdrop-filter: blur(4px); will-change: transform, opacity; transition: border-color .2s ease, color .2s ease; }
.cj-mtag.hv { border-color: rgba(255, 210, 120, .85); color: #fff; }
@media (max-width: 820px) { .cj-mtag { font-size: .58rem; letter-spacing: .1em; padding: 4px 6px; } }

.cj-mtags,.cj-hint{display:none!important}

body.cj-rock-hover .cj-canvas { cursor: grab; }
body.cj-rock-drag, body.cj-rock-drag .cj-canvas { cursor: grabbing; user-select: none; }

/* client logos: orbit + marquee chips */
.cj-orbit { position: fixed; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; opacity: 0; visibility: hidden; }
.cj-orbit__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.cj-orbit__lines ellipse { fill: none; stroke: rgba(240, 225, 255, .55); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 0.1 9; }
.cj-orb { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: var(--ow, 96px); height: var(--oh, 44px); text-decoration: none; cursor: pointer; will-change: transform, opacity; outline: none; }
.cj-orb::before { content: ""; position: absolute; inset: -26px -34px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(9, 4, 24, .72), rgba(9, 4, 24, 0)); transition: background .25s ease; }
.cj-orb img { max-width: 100%; max-height: 100%; width: auto; height: auto; filter: drop-shadow(0 0 10px rgba(200, 160, 255, .35)); transition: filter .25s ease; -webkit-user-drag: none; }
.cj-orb.hot::before, .cj-orb:focus-visible::before { background: radial-gradient(closest-side, rgba(70, 20, 140, .7), rgba(9, 4, 24, 0)); }
.cj-orb.hot img, .cj-orb:focus-visible img { filter: drop-shadow(0 0 14px rgba(215, 170, 255, .95)); }
.cj-orb__n { position: absolute; left: 50%; top: calc(100% + 10px); transform: translate(-50%, 4px); white-space: nowrap; font: 400 .66rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .2s ease, transform .2s ease; pointer-events: none; text-shadow: 0 1px 8px rgba(5, 2, 15, .9); }
.cj-orb.hot .cj-orb__n, .cj-orb:focus-visible .cj-orb__n { opacity: 1; transform: translate(-50%, 0); }
html.cj-orbit-on .cj-sites li[data-top] { display: none; }
html.cj-js .cj-sites a { position: relative; display: grid; place-items: center; height: 64px; padding: 12px 18px; border-radius: 10px; background: rgba(12, 6, 30, .38); border: 1px solid rgba(226, 205, 255, .12); box-shadow: none; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
html.cj-js .cj-sites a img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; opacity: .86; transition: opacity .25s ease, transform .25s ease; }
html.cj-js .cj-sites a .cj-dom { position: absolute; left: 0; right: 0; bottom: 3px; padding: 0; background: none; border: 0; text-align: center; font: 400 .56rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); opacity: 0; transition: opacity .2s ease; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.cj-js .cj-sites a:hover, html.cj-js .cj-sites a:focus-visible { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(149, 62, 237, .38); border-color: rgba(190, 140, 255, .6); }
html.cj-js .cj-sites a:hover img, html.cj-js .cj-sites a:focus-visible img { opacity: 1; transform: translateY(-4px) scale(1.04); }
html.cj-js .cj-sites a:hover .cj-dom, html.cj-js .cj-sites a:focus-visible .cj-dom { opacity: 1; }
.cj-pv--logo { display: grid; place-items: center; height: 190px; padding: 24px; background: radial-gradient(ellipse at 50% 55%, rgba(120, 50, 230, .38), rgba(11, 7, 22, 0) 70%), #0b0716; }
.cj-pv--logo img { width: auto; height: auto; max-width: min(78%, 260px); max-height: 100%; aspect-ratio: auto; object-fit: contain; filter: drop-shadow(0 0 18px rgba(200, 160, 255, .5)); }
@media (prefers-reduced-motion: reduce) { .cj-orb__n, .cj-orb img { transition: none; } }

/* logo chips v2: taller, never clipped */
html.cj-js .cj-sites li{width:clamp(176px,14vw,216px)}
html.cj-js .cj-sites a{display:flex;align-items:center;justify-content:center;height:104px;padding:0 24px}
html.cj-js .cj-sites a img{max-height:62px;max-width:100%;width:auto;height:auto;object-fit:contain}
html.cj-js .cj-sites a .cj-dom{bottom:7px}
@media (max-width:820px){html.cj-js .cj-sites li{width:150px}html.cj-js .cj-sites a{height:88px;padding:0 16px}html.cj-js .cj-sites a img{max-height:50px}}

/* highlighted title words: Cosmos violet gradient instead of dim grey */
.cj-stop .dim{color:#c58bff;background:linear-gradient(100deg,#e6d2ff 0%,#b983ff 38%,#8f4dff 72%,#d46bff 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;-webkit-box-decoration-break:clone;box-decoration-break:clone;filter:drop-shadow(0 0 22px rgba(150,80,255,.35))}
:root{--ink-2:rgba(241,236,251,.8)}

/* ===== header + hero refresh ===== */
html.cj-js .cj-top::before { content: ""; position: absolute; inset: 0 0 -38px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 4, 15, .94) 0, rgba(6, 4, 15, .66) 55%, rgba(6, 4, 15, 0) 100%);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent); mask-image: linear-gradient(180deg, #000 58%, transparent); }
.cj-brand img { filter: drop-shadow(0 0 14px rgba(149, 62, 237, .55)); }
.cj-nav { gap: clamp(18px, 2.4vw, 40px); }
.cj-nav button { font: 500 .93rem/1 var(--font); letter-spacing: .005em; text-transform: none; color: rgba(241, 236, 251, .86); text-shadow: 0 1px 12px rgba(0, 0, 0, .6); padding: 12px 0; border-bottom-width: 2px; }
.cj-nav button:hover { color: #fff; }
.cj-nav button[aria-current="true"] { color: #fff; border-image: linear-gradient(90deg, #7a2df0, #ca55f3) 1; }
.cj-btn { border-radius: 999px; }
.cj-top .cj-btn { height: 42px; padding: 0 1.3rem; font-weight: 600; color: #fff; border-color: transparent; background: linear-gradient(100deg, #6a2cf0, #a143f0 60%, #c455f3); box-shadow: 0 6px 26px -6px rgba(149, 62, 237, .85), inset 0 0 0 1px rgba(255, 255, 255, .16); transition: transform .2s ease, box-shadow .2s ease; }
.cj-top .cj-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -6px rgba(180, 77, 241, 1), inset 0 0 0 1px rgba(255, 255, 255, .3); }
.cj-snd { width: 42px; height: 42px; padding: 0; justify-content: center; gap: 0; border-radius: 50%; background: rgba(12, 8, 26, .55); border-color: rgba(241, 236, 251, .28); color: rgba(241, 236, 251, .92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cj-snd:hover, .cj-snd.on { border-color: #b44df1; color: #fff; }
.cj-snd.on { box-shadow: 0 0 18px rgba(180, 77, 241, .45); }
.cj-snd svg { width: 19px; height: 19px; display: block; overflow: visible; }
.cj-snd .mx { transition: opacity .2s ease; }
.cj-snd .w1, .cj-snd .w2 { opacity: 0; transition: opacity .2s ease; }
.cj-snd.on .mx { opacity: 0; }
.cj-snd.on .w1, .cj-snd.on .w2 { opacity: 1; animation: cj-wave 1.4s ease-in-out infinite; }
.cj-snd.on .w2 { animation-delay: .25s; }
@keyframes cj-wave { 50% { opacity: .35; } }
.cj-eyebrow { display: inline-flex; align-items: center; gap: .65rem; padding: .5rem 1rem .5rem .85rem; margin-bottom: 1.5rem; border: 1px solid rgba(241, 236, 251, .2); border-radius: 999px; background: rgba(255, 255, 255, .04); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font: 500 .82rem/1 var(--font); letter-spacing: .02em; color: rgba(241, 236, 251, .88); }
.cj-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: #c455f3; box-shadow: 0 0 0 0 rgba(196, 85, 243, .6); animation: cj-pulse 2.4s ease-out infinite; }
@keyframes cj-pulse { 0% { box-shadow: 0 0 0 0 rgba(196, 85, 243, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(196, 85, 243, 0); } }
.cj-stop--hero .cj-btn--solid { height: 54px; padding: 0 1.7rem 0 1.9rem; gap: .7rem; font-weight: 600; font-size: 1rem; background: linear-gradient(100deg, #6a2cf0, #a143f0 60%, #c455f3); border-color: transparent; box-shadow: 0 10px 34px -8px rgba(149, 62, 237, .9), inset 0 0 0 1px rgba(255, 255, 255, .16); transition: transform .2s ease, box-shadow .2s ease; }
.cj-stop--hero .cj-btn--solid:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(196, 85, 243, 1), inset 0 0 0 1px rgba(255, 255, 255, .3); }
.cj-stop--hero .cj-btn--solid svg { width: 18px; height: 18px; transition: transform .2s ease; }
.cj-stop--hero .cj-btn--solid:hover svg { transform: translateX(4px); }
@media (max-width: 720px) { .cj-eyebrow { font-size: .76rem; margin-bottom: 1.1rem; } .cj-top .cj-btn { height: 38px; padding: 0 1rem; font-size: .82rem; } }
@media (prefers-reduced-motion: reduce) { .cj-eyebrow i, .cj-snd.on .w1, .cj-snd.on .w2 { animation: none; } }

/* ===== service pages: link on each stop + footer links ===== */
.cj-stop .cj-more { height: 46px; padding: 0 1.2rem 0 1.4rem; gap: .6rem; font-weight: 600; font-size: .92rem; background: rgba(255, 255, 255, .05); border-color: rgba(241, 236, 251, .34); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cj-stop .cj-more:hover { border-color: #c455f3; background: rgba(149, 62, 237, .24); }
.cj-stop .cj-more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.cj-stop .cj-more:hover svg { transform: translateX(4px); }
.cj-foot nav { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.cj-foot nav a:hover, .cj-foot > a:hover { color: #fff; }
@media (max-width: 820px) {
  html.cj-js .cj-stop .cj-actions { margin-top: 1rem; }
  .cj-stop .cj-more { height: 42px; font-size: .88rem; }
  html.cj-js .cj-stop:has(.cj-more) li:nth-child(3) { display: none; }
}

/* ===== sound button on phones ===== */
@media (max-width: 820px) {
  html.cj-js .cj-top { gap: 10px; }
  .cj-snd { width: 38px; height: 38px; margin-left: auto; flex: none; }
  .cj-snd svg { width: 17px; height: 17px; }
}
@media (max-width: 400px) {
  html.cj-js .cj-top { gap: 8px; }
  .cj-brand img { height: 23px; }
  .cj-snd { width: 34px; height: 34px; }
  .cj-top .cj-btn { height: 36px; padding: 0 .7rem; font-size: .74rem; }
}
@media (max-width: 340px) { .cj-snd { display: none; } }
