/* Site-wide theme layer: black, white, one green (Juice study, 2026-12-05).
   Loaded last on every styles.css page. Parallax glow + particles come from juice.js. */
:root {
  --bg: #0E0E0E;
  --surface: #1A1A1A;
  --text: #F4F4F1;
  --text-strong: #ECECE8;
  --text-soft: #B4B4AF;
  --text-muted: #8E8E89;
  --text-dim: #74746F;
  --text-faint: #62625E;
  --line: rgba(255,255,255,.1);
  --line-soft: rgba(255,255,255,.06);
  --line-strong: rgba(255,255,255,.16);
  --acc: #1FE34B;
  --acc2: rgba(31,227,75,.13);
}
html, body { background: var(--bg); }
body > *:not(.jx-bg) { position: relative; z-index: 1; }

/* background: glow, parallax spots, particles */
.jx-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background: radial-gradient(70vw 46vw at 50% -14%, rgba(31,227,75,.15), transparent 70%); }
.jx-bg i { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; }
.jx-bg i:nth-child(1) { width: 46vw; height: 46vw; left: -12vw; top: 18vh; background: radial-gradient(circle, rgba(31,227,75,.18), transparent 65%); }
.jx-bg i:nth-child(2) { width: 38vw; height: 38vw; right: -10vw; top: 46vh; background: radial-gradient(circle, rgba(124,255,178,.12), transparent 65%); }
.jx-bg i:nth-child(3) { width: 30vw; height: 30vw; left: 34vw; top: 70vh; background: radial-gradient(circle, rgba(255,255,255,.05), transparent 65%); }
.jx-bg i:nth-child(4) { width: 24vw; height: 24vw; left: 58vw; top: -6vh; background: radial-gradient(circle, rgba(31,227,75,.09), transparent 65%); }
.jx-bg canvas { position: absolute; inset: 0; }

/* buttons: green pill = the one action */
.btn { border: 0; border-radius: 99px; background: var(--acc); color: #04130A; padding: 14px 28px;
  font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; transition: background .2s, transform .2s; }
.btn:hover, .btn:focus-visible { background: #4CEE6E; color: #04130A; transform: translateY(-1px); }

/* chips: dark pills, active = green ring */
.chip { border: 1px solid var(--line-strong); border-radius: 99px; background: #1E1E1E; color: var(--text-soft);
  padding: 9px 16px; font-size: 13px; letter-spacing: .02em; text-transform: none; }
.chip:hover, .chip:focus-visible { border-color: rgba(255,255,255,.3); color: var(--text); }
.chip[aria-pressed="true"] { border-color: rgba(31,227,75,.55); color: var(--acc); background: var(--acc2); }

/* section labels: dashed rule + green dot */
.section-label { color: var(--text-muted); }
.section-label::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--acc); margin-right: 10px; vertical-align: 1px; box-shadow: 0 0 10px rgba(31,227,75,.6); }

/* cards and media */
.case-video, .case-still, .case-video-lg { border-radius: 18px; overflow: hidden; }
.service { padding: 26px; border: 1px solid var(--line); border-top: 1px solid var(--line); border-radius: 22px;
  background: rgba(26,26,26,.82); backdrop-filter: blur(12px); }
.service-link, .case-link { border-bottom-color: rgba(31,227,75,.35); }
.service-link:hover, .service-link:focus-visible, .case-link:hover { border-bottom-color: var(--acc); color: var(--acc); }
.tag { border-radius: 99px; }

/* forms */
.contact input, .contact textarea { padding: 14px 18px; border: 1px solid var(--line-strong); border-radius: 16px; background: #171717; }
.contact input:focus, .contact textarea:focus { border-color: rgba(31,227,75,.6); box-shadow: 0 0 0 3px rgba(31,227,75,.12); }
.consent button { border-radius: 99px; }
.consent button.on { background: var(--acc); border-color: var(--acc); color: #04130A; }

/* italic accents go green */
.hero h1 em, .cta h2 em, .case-hero h1 em { color: var(--acc); }

/* portrait: never drops under the text on narrow screens */
@media (max-width: 959px) {
  .hero-photo { order: -1; width: min(240px, 58vw); border-radius: 22px; }
}
@media (max-width: 860px) {
  .cd-hero .cd-photo { order: -1; max-width: 240px; border-radius: 22px; }
}
