/* ============================================================
   JGC — Premium v2 site
   Dark-first cinematic surface. Real motion. Real depth.
   Built on top of colors_and_type.css; do not duplicate tokens.
   ============================================================ */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 700px at 15% -10%, rgba(66, 214, 200, 0.10), transparent 58%),
    radial-gradient(1000px 600px at 90% 8%, rgba(95, 163, 232, 0.18), transparent 62%),
    var(--jgc-bg-deep);
  color: var(--jgc-fg-on-navy);
  font-family: var(--jgc-font-body);
  overflow-x: hidden;
}

/* Strong selection on dark */
::selection { background: rgba(95, 163, 232, 0.45); color: #fff; }

/* ----------------------------------------------------------
   Page chrome: grain overlay, animated radial-mesh background
   ---------------------------------------------------------- */

.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.12;
  mix-blend-mode: overlay;
  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='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.mesh {
  position: fixed; inset: -10%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(40% 35% at var(--m1x, 20%) var(--m1y, 28%), rgba(95, 163, 232, 0.36), transparent 70%),
    radial-gradient(42% 34% at var(--m2x, 82%) var(--m2y, 18%), rgba(66, 214, 200, 0.18), transparent 72%),
    radial-gradient(45% 40% at var(--m3x, 60%) var(--m3y, 85%), rgba(36, 68, 120, 0.50), transparent 70%);
  filter: blur(20px) saturate(120%);
  animation: meshDrift 24s ease-in-out infinite alternate;
  opacity: 0.85;
}
@keyframes meshDrift {
  0%   { --m1x: 18%; --m1y: 28%; --m2x: 82%; --m2y: 18%; --m3x: 60%; --m3y: 85%; transform: translate3d(0,0,0); }
  50%  { --m1x: 28%; --m1y: 40%; --m2x: 72%; --m2y: 28%; --m3x: 50%; --m3y: 75%; transform: translate3d(0,-1%,0); }
  100% { --m1x: 12%; --m1y: 22%; --m2x: 88%; --m2y: 12%; --m3x: 68%; --m3y: 92%; transform: translate3d(0,1%,0); }
}

/* Soft top vignette to anchor the header */
.vignette {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6,15,36,0.55), transparent 18%, transparent 70%, rgba(0,0,0,0.65) 100%);
}

main { position: relative; z-index: 2; }

/* ----------------------------------------------------------
   Header — glass + thin chrome hairline
   ---------------------------------------------------------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  background: linear-gradient(180deg, rgba(6,15,36,0.78), rgba(10,23,51,0.42));
  border-bottom: 1px solid var(--jgc-border-glass);
}
.nav .inner {
  max-width: 1320px; margin: 0 auto;
  padding: 18px 32px;
  display: flex; align-items: center; gap: 32px;
}
.nav .brand { display: flex; align-items: center; cursor: pointer; }
.nav .brand .txt {
  display: flex;
  flex-direction: column;
  line-height: 1.02;
  padding: 2px 0;
}
.nav .brand .name {
  font-family: var(--jgc-font-display);
  font-size: 14.5px; font-weight: 800;
  letter-spacing: 0.18em; color: #fff;
}
.nav .brand .tag {
  font-family: var(--jgc-font-display);
  font-size: 10px; letter-spacing: 0.22em;
  color: var(--jgc-fg-on-navy-2); text-transform: uppercase;
}
.nav .menu {
  display: flex; gap: 2px; margin-left: auto; align-items: center;
}
.nav .menu button {
  background: transparent; border: 0;
  font-family: var(--jgc-font-body); font-size: 13.5px;
  color: var(--jgc-fg-on-navy-2); font-weight: 500;
  padding: 9px 14px; border-radius: 10px; cursor: pointer;
  transition: color 200ms, background 200ms;
}
.nav .menu button:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nav .menu button.active { color: #fff; background: rgba(255,255,255,0.08); }
.nav .menu a.nav-link {
  background: transparent;
  font-family: var(--jgc-font-body); font-size: 13.5px;
  color: var(--jgc-fg-on-navy-2); font-weight: 500;
  padding: 9px 14px; border-radius: 10px;
  text-decoration: none;
  transition: color 200ms, background 200ms;
  display: inline-flex; align-items: center;
}
.nav .menu a.nav-link:hover { color: #fff; background: rgba(255,255,255,0.05); text-decoration: none; }

.nav .menu .cta {
  margin-left: 12px;
  background: #fff;
  color: var(--jgc-navy-900);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset, 0 8px 24px -8px rgba(95,163,232,0.5);
  transition: transform 200ms var(--jgc-ease-out), box-shadow 200ms;
}
.nav .menu .cta:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset, 0 12px 32px -8px rgba(95,163,232,0.7); }

/* ----------------------------------------------------------
   Hero — the showpiece
   ---------------------------------------------------------- */

.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  padding: 80px 32px 100px;
  display: flex; align-items: center;
}
.hero .inner {
  max-width: 1320px; margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-copy { position: relative; z-index: 2; }

.hero h1 {
  font-family: var(--jgc-font-display);
  font-size: clamp(52px, 7vw, 112px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin: 0 0 40px;
  color: #fff;
  text-wrap: balance;
}
.hero h1 .chrome {
  display: block;
  background: linear-gradient(180deg,
    #f7fbff 0%,
    #d9e4f0 22%,
    #7e8ba0 48%,
    #c7d3e2 55%,
    #f1f6fb 78%,
    #92a0b7 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,0.18)) drop-shadow(0 12px 32px rgba(95,163,232,0.25));
}
.hero h1 .muted { color: var(--jgc-fg-on-navy-2); display: block; }

.hero .lead {
  font-size: 19px; line-height: 1.6;
  color: var(--jgc-fg-on-navy-2);
  max-width: 640px;
  margin-bottom: 36px;
}
.hero .quiet {
  font-family: var(--jgc-font-display);
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--jgc-glow-300);
  display: flex; gap: 16px; align-items: center;
  margin-bottom: 48px;
}
.hero .quiet .l { width: 28px; height: 1px; background: currentColor; opacity: 0.5; }

.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 24px; }

.brand-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 610px;
  margin: 0 0 40px;
}
.brand-proof-pill {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 12px 18px;
  border-radius: var(--jgc-radius-md);
  background: linear-gradient(135deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025));
  border: 1px solid rgba(255,255,255,0.09);
  color: var(--jgc-fg-on-navy);
  font-size: 13.5px;
  font-weight: 600;
  font-family: var(--jgc-font-body);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
  cursor: pointer;
  text-align: left;
  transition: background 180ms, border-color 200ms, color 180ms, box-shadow 200ms;
}
.brand-proof-pill:hover {
  background: linear-gradient(135deg, rgba(0,200,255,0.11), rgba(0,150,220,0.04));
  border-color: rgba(0, 200, 255, 0.38);
  color: #e8f8ff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 0 18px rgba(0,200,255,0.13);
}
.brand-proof-pill:active { transform: scale(0.97); }

.btn {
  font-family: var(--jgc-font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 22px;
  border-radius: 14px;
  border: 0;
  cursor: pointer;
  line-height: 1;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform 240ms var(--jgc-ease-out), box-shadow 240ms;
  text-decoration: none;
}
.btn.primary {
  background: linear-gradient(180deg, #f6f9ff 0%, #d9e4f1 100%);
  color: var(--jgc-navy-900);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 -1px 0 rgba(10,23,51,0.06) inset,
    0 12px 30px -10px rgba(95,163,232,0.55),
    0 0 0 1px rgba(255,255,255,0.4) inset;
  font-weight: 600;
}
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 -1px 0 rgba(10,23,51,0.06) inset, 0 18px 38px -10px rgba(95,163,232,0.7); }
.btn.primary.pill { border-radius: 999px; padding: 16px 26px; }

.btn.glass {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(12px);
}
.btn.glass:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.22); }

.btn .arrow {
  display: inline-flex; transition: transform 240ms var(--jgc-ease-out);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ----- Hero stage (right side): the chrome orb ----- */

.stage {
  position: relative;
  aspect-ratio: 1;
  perspective: 1200px;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --plx-x: 0px;
  --plx-y: 0px;
}

.stage .ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(95,163,232,0.32) 0%, transparent 55%);
  animation: ringPulse 6s ease-in-out infinite;
}
@keyframes ringPulse {
  0%, 100% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.05); opacity: 1; }
}

.stage .ring-lines {
  position: absolute; inset: 6%;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.10);
  animation: ringSpin 60s linear infinite;
}
.stage .ring-lines::before, .stage .ring-lines::after {
  content: ""; position: absolute; inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05);
}
.stage .ring-lines::after { inset: 18%; border-style: dashed; }
@keyframes ringSpin { to { transform: rotate(360deg); } }

.stage .orb {
  position: absolute; inset: 12%;
  border-radius: var(--jgc-radius-2xl);
  background:
    radial-gradient(60% 50% at 35% 25%, rgba(255,255,255,0.58), transparent 60%),
    radial-gradient(70% 70% at 72% 18%, rgba(66,214,200,0.24), transparent 68%),
    radial-gradient(80% 80% at 60% 80%, rgba(36, 68, 120, 0.62), transparent 70%),
    linear-gradient(180deg, #1a3672 0%, #0a1733 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    inset 0 -40px 80px rgba(0,0,0,0.45),
    0 60px 120px -20px rgba(0,0,0,0.75),
    0 0 0 1px rgba(255,255,255,0.06),
    0 0 60px 0 rgba(95,163,232,0.35);
  display: flex; align-items: center; justify-content: center;
  transform-style: preserve-3d;
  transform:
    translate3d(var(--plx-x), var(--plx-y), 0)
    rotateX(var(--tilt-x))
    rotateY(var(--tilt-y));
  transition: transform 320ms var(--jgc-ease-out);
  overflow: hidden;
}
.stage .orb::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 40%);
  pointer-events: none;
}
.tech-buddy {
  position: relative;
  width: 58%;
  aspect-ratio: 1;
  transform: translateZ(42px);
  display: flex;
  align-items: center;
  justify-content: center;
  filter:
    drop-shadow(0 16px 26px rgba(0,0,0,0.46))
    drop-shadow(0 0 34px rgba(95,163,232,0.26));
  animation: buddyDrift 5.4s ease-in-out infinite;
}
.tech-buddy .antenna {
  position: absolute;
  top: -8%;
  width: 2px;
  height: 18%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(234,241,251,0.85), rgba(95,163,232,0.2));
}
.tech-buddy .antenna::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -9px;
  width: 11px;
  height: 11px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff, var(--jgc-glow-300) 54%, var(--jgc-teal-400));
  box-shadow: 0 0 18px rgba(66,214,200,0.55);
  animation: antennaPulse 2.8s ease-in-out infinite;
}
.tech-buddy .face-screen {
  position: relative;
  width: 100%;
  height: 82%;
  border-radius: 34% 34% 38% 38%;
  background:
    radial-gradient(80% 80% at 34% 20%, rgba(255,255,255,0.22), transparent 56%),
    radial-gradient(70% 70% at 68% 86%, rgba(66,214,200,0.14), transparent 70%),
    linear-gradient(160deg, rgba(15,33,72,0.96), rgba(6,15,36,0.98));
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -22px 40px rgba(0,0,0,0.28),
    0 0 0 8px rgba(255,255,255,0.035),
    0 0 46px rgba(95,163,232,0.25);
}
.tech-buddy .face-screen::before {
  content: "";
  position: absolute;
  inset: 11%;
  border-radius: 30%;
  background:
    linear-gradient(180deg, rgba(95,163,232,0.10), transparent 42%),
    repeating-linear-gradient(180deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 8px);
  opacity: 0.45;
  pointer-events: none;
}
.tech-buddy .eye {
  position: absolute;
  top: 39%;
  width: 16%;
  height: 16%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 30%, #fff 0 18%, var(--jgc-glow-200) 28%, var(--jgc-glow-400) 72%);
  box-shadow:
    0 0 14px rgba(95,163,232,0.72),
    0 0 28px rgba(66,214,200,0.22);
  transform-origin: center;
  animation: buddyBlink 5.8s infinite;
}
.tech-buddy .eye.left { left: 27%; }
.tech-buddy .eye.right { right: 27%; }
.tech-buddy .smile {
  position: absolute;
  left: 50%;
  top: 59%;
  width: 28%;
  height: 14%;
  transform: translateX(-50%);
  border-bottom: 3px solid rgba(234,241,251,0.88);
  border-radius: 0 0 999px 999px;
  filter: drop-shadow(0 0 8px rgba(95,163,232,0.48));
  transition: width 320ms var(--jgc-ease-out), height 320ms var(--jgc-ease-out), top 320ms var(--jgc-ease-out), transform 320ms var(--jgc-ease-out);
}
.tech-buddy.smile .smile {
  width: 36%;
  height: 18%;
}
.tech-buddy.curious .eye.left {
  transform: translateY(-4px) scaleY(0.78);
}
.tech-buddy.curious .eye.right {
  transform: translateY(3px) scaleY(1.08);
}
.tech-buddy.curious .smile {
  width: 20%;
  height: 8%;
  top: 63%;
  transform: translateX(-50%) rotate(-3deg);
}
@keyframes buddyDrift {
  0%, 100% { transform: translate3d(0, 0, 42px) rotate(-1deg); }
  50% { transform: translate3d(0, -8px, 42px) rotate(1.2deg); }
}
@keyframes buddyBlink {
  0%, 7%, 10%, 100% { scale: 1 1; }
  8.2%, 9% { scale: 1 0.08; }
  62%, 65%, 68% { scale: 1 1; }
  66% { scale: 1 0.08; }
}
@keyframes antennaPulse {
  0%, 100% { opacity: 0.72; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.14); }
}

/* Floating chrome side-icons orbiting the orb */
.stage .satellite {
  position: absolute;
  width: 14%; aspect-ratio: 1;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  padding: 14%;
  box-shadow: 0 12px 28px -10px rgba(0,0,0,0.5);
  animation: floaty 8s ease-in-out infinite;
}
.stage .satellite img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4)); }
.stage .satellite.s1 { top: 4%; left: -2%; animation-delay: -1s; }
.stage .satellite.s2 { top: 18%; right: -4%; animation-delay: -3s; }
.stage .satellite.s3 { bottom: 8%; left: 0%; animation-delay: -5s; }
.stage .satellite.s4 { bottom: 0%; right: 4%; animation-delay: -7s; }
@keyframes floaty {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}

/* Hero footer strip: status, response time, contact */
.hero-strip {
  position: absolute;
  left: 32px; right: 32px; bottom: 36px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px 24px;
  border-radius: 18px;
  background: rgba(10,23,51,0.45);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--jgc-fg-on-navy-2);
  gap: 24px;
  flex-wrap: wrap;
}
.hero-strip .group { display: flex; gap: 28px; align-items: center; }
.hero-strip .item { display: flex; gap: 10px; align-items: center; }
.hero-strip .item .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ad97f; box-shadow: 0 0 10px rgba(74,217,127,0.6);
}
.hero-strip .item strong { color: #fff; font-weight: 600; }
.hero-strip .mail {
  font-family: var(--jgc-font-mono);
  color: #fff; font-size: 13px;
}

/* ----------------------------------------------------------
   Digital side rails
   ---------------------------------------------------------- */

.digital-rails {
  position: fixed;
  inset: 76px 0 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.digital-rails .rail {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 42px;
  display: flex;
  justify-content: center;
  overflow: hidden;
  opacity: 0.34;
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
}
.digital-rails .rail.left { left: 18px; }
.digital-rails .rail.right { right: 18px; }
.digital-rails .rail::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(95,163,232,0.48), transparent);
  box-shadow: 0 0 18px rgba(95,163,232,0.26);
}
.digital-rails .rail-track {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  width: max-content;
  animation: railScroll 42s linear infinite;
}
.digital-rails .rail.right .rail-track {
  animation-direction: reverse;
}
.digital-rails .rail-track span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--jgc-font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(212,232,255,0.72);
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(95,163,232,0.22);
}
.digital-rails .rail-track span::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-block: 18px;
  border-radius: 50%;
  background: rgba(159,200,244,0.9);
  box-shadow: 0 0 10px rgba(159,200,244,0.72);
}
@keyframes railScroll {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

@media (max-width: 1280px) {
  .digital-rails { display: none; }
}

/* ----------------------------------------------------------
   Explainer
   ---------------------------------------------------------- */

.explainer {
  padding: 52px 32px 0;
  position: relative;
  z-index: 3;
}
.explainer .container { max-width: 1320px; margin: 0 auto; }
.explainer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 30px;
  border-radius: var(--jgc-radius-xl);
  background: linear-gradient(160deg, rgba(255,255,255,0.065), rgba(255,255,255,0.018));
  border: 1px solid var(--jgc-border-glass);
  backdrop-filter: blur(24px);
  box-shadow: var(--jgc-shadow-premium);
}
.explainer .ex {
  padding: 26px 24px;
  border-radius: 16px;
  background: rgba(10, 23, 51, 0.4);
  border: 1px solid rgba(255,255,255,0.04);
  display: flex; flex-direction: column; gap: 14px;
}
.explainer .ex-h { display: flex; align-items: center; gap: 12px; }
.explainer .ex-num {
  font-family: var(--jgc-font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(95,163,232,0.18);
  color: var(--jgc-glow-300);
  font-weight: 600;
}
.explainer .ex h2 {
  font-family: var(--jgc-font-display);
  font-size: 15px; font-weight: 600;
  color: #fff; margin: 0;
  letter-spacing: -0.005em;
}
.explainer .ex p {
  font-size: 13.5px; line-height: 1.55;
  color: var(--jgc-fg-on-navy-2); margin: 0;
}

/* Jehiah-note: a single warm aside between AI callout and Safety */
.jehiah-note { padding: 60px 32px 20px; }
.jehiah-note .container { max-width: 920px; margin: 0 auto; }
.jehiah-note .note-card {
  position: relative;
  padding: 40px 44px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(20px);
}
.jehiah-note .signature-block {
  display: flex; gap: 14px; align-items: baseline;
  margin-bottom: 16px;
}
.jehiah-note .hello {
  font-family: var(--jgc-font-display);
  font-size: 28px; font-weight: 700;
  color: #fff; letter-spacing: -0.015em;
}
.jehiah-note .byline {
  font-family: var(--jgc-font-display);
  font-size: 11px; letter-spacing: 0.22em;
  color: var(--jgc-glow-300);
  text-transform: uppercase;
}
.jehiah-note p {
  font-size: 17px; line-height: 1.65;
  color: var(--jgc-fg-on-navy-2);
  margin: 0 0 12px;
  max-width: 720px;
}
.jehiah-note p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.jehiah-note .sign-off {
  font-family: var(--jgc-font-display);
  font-size: 14px; color: #fff;
  margin-top: 18px; opacity: 0.85;
  letter-spacing: 0.04em;
}

/* ----------------------------------------------------------
   Sections
   ---------------------------------------------------------- */

section { position: relative; }

.section {
  padding: 140px 32px 100px;
  position: relative;
}
.section.tight { padding: 88px 32px; }
.section .container { max-width: 1320px; margin: 0 auto; position: relative; }

.section-head { margin-bottom: 80px; max-width: 800px; }
.section-head .num {
  font-family: var(--jgc-font-mono);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--jgc-fg-on-navy-2);
  margin-bottom: 16px;
  display: inline-flex; gap: 12px; align-items: center;
}
.section-head .num::before {
  content: ""; width: 28px; height: 1px;
  background: var(--jgc-glow-400);
}
.section-head h2 {
  font-family: var(--jgc-font-display);
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.018em;
  font-weight: 700;
  color: #fff; margin: 0 0 18px;
  text-wrap: balance;
}
.section-head p {
  font-size: 18px; line-height: 1.55;
  color: var(--jgc-fg-on-navy-2); margin: 0;
  max-width: 640px;
}

/* ----------------------------------------------------------
   Bento services
   ---------------------------------------------------------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 18px;
}
.bento-card {
  position: relative;
  border-radius: var(--jgc-radius-xl);
  padding: 28px 28px 26px;
  background:
    linear-gradient(150deg, rgba(255,255,255,0.075), rgba(255,255,255,0.02)),
    radial-gradient(70% 70% at 110% -10%, rgba(66,214,200,0.08), transparent 65%);
  border: 1px solid var(--jgc-border-glass);
  backdrop-filter: blur(20px) saturate(140%);
  display: flex; flex-direction: column; gap: 14px;
  overflow: hidden;
  transform-style: preserve-3d;
  transform: perspective(1200px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
  transition: transform 320ms var(--jgc-ease-out), border-color 320ms, background 320ms;
  cursor: pointer;
}
.bento-card::before {
  content: ""; position: absolute; inset: 0; border-radius: 24px;
  background:
    radial-gradient(50% 80% at var(--gx, 50%) var(--gy, 0%), rgba(95,163,232,0.20), transparent 60%);
  opacity: 0; transition: opacity 320ms;
  pointer-events: none;
}
.bento-card:hover { border-color: rgba(95,163,232,0.35); background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)); }
.bento-card:hover::before { opacity: 1; }

.bento-card .ico {
  width: 56px; height: 56px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.14), transparent 58%),
    linear-gradient(160deg, rgba(95,163,232,0.13), rgba(255,255,255,0.025));
  border: 1px solid rgba(212,232,255,0.12);
  display: flex; align-items: center; justify-content: center;
  padding: 8px;
  transform: translateZ(20px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 18px 36px -28px rgba(95,163,232,0.58);
}
.bento-card .ico img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 5px 12px rgba(0,0,0,0.38))
    drop-shadow(0 0 12px rgba(212,232,255,0.18));
}
.bento-card h3 {
  font-family: var(--jgc-font-display);
  font-size: 22px; font-weight: 600;
  color: #fff; margin: 0;
  letter-spacing: -0.005em;
  transform: translateZ(15px);
}
.bento-card p {
  font-size: 14.5px; line-height: 1.55;
  color: var(--jgc-fg-on-navy-2); margin: 0;
  transform: translateZ(10px);
}
.bento-card .more {
  margin-top: auto;
  font-size: 13px; color: var(--jgc-glow-300);
  font-family: var(--jgc-font-body);
  display: inline-flex; gap: 6px; align-items: center;
  transform: translateZ(15px);
}

/* Feature / hero card */
.bento-card.feature {
  grid-column: span 3; grid-row: span 2;
  padding: 36px;
  background:
    radial-gradient(80% 60% at 90% -10%, rgba(95,163,232,0.25), transparent 60%),
    linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
}
.bento-card.feature h3 { font-size: 36px; line-height: 1.05; }
.bento-card.feature p { font-size: 16px; max-width: 90%; }
.bento-card.feature .ico { width: 96px; height: 96px; border-radius: 22px; padding: 14px; }

.bento-card.wide { grid-column: span 3; }
.bento-card.tall { grid-column: span 2; grid-row: span 2; }
.bento-card.std { grid-column: span 2; }

/* ----------------------------------------------------------
   How it works — sticky-scroll
   ---------------------------------------------------------- */

.how {
  position: relative;
  padding: 96px 32px 110px;
}
.how .container { max-width: 1320px; margin: 0 auto; }
.how .grid {
  display: grid; grid-template-columns: 1fr 0.92fr; gap: 72px;
  align-items: start;
}
.how .stick {
  position: sticky; top: 96px;
}
.how .stick-card {
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(24px);
  padding: 36px;
  aspect-ratio: 1.05;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.how .stick-card .stepnum {
  position: absolute; top: 26px; left: 30px;
  font-family: var(--jgc-font-mono);
  font-size: 13px; letter-spacing: 0.22em;
  color: var(--jgc-glow-300); text-transform: uppercase;
}

.step-scene {
  position: relative;
  width: min(68%, 330px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: auto;
  isolation: isolate;
  animation: miniBob 3.8s ease-in-out infinite;
}
.step-scene::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 36%;
  background:
    radial-gradient(circle at 32% 24%, rgba(255,255,255,0.16), transparent 52%),
    radial-gradient(circle at 72% 78%, rgba(66,214,200,0.12), transparent 62%),
    linear-gradient(150deg, rgba(95,163,232,0.13), rgba(255,255,255,0.026));
  border: 1px solid rgba(212,232,255,0.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 34px 80px -58px rgba(95,163,232,0.70);
  animation: sceneBreathe 4.8s ease-in-out infinite;
  z-index: -2;
}
.buddy-mini {
  position: relative;
  width: 38%;
  aspect-ratio: 1;
  border-radius: 34% 34% 38% 38%;
  background:
    radial-gradient(circle at 34% 22%, rgba(255,255,255,0.24), transparent 54%),
    linear-gradient(160deg, rgba(15,33,72,0.98), rgba(6,15,36,0.98));
  border: 1px solid rgba(212,232,255,0.20);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 0 0 8px rgba(255,255,255,0.035),
    0 22px 38px -28px rgba(0,0,0,0.85),
    0 0 38px rgba(95,163,232,0.23);
  transition: transform 360ms var(--jgc-ease-out);
}
.mini-eye {
  position: absolute;
  top: 38%;
  width: 16%;
  height: 16%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 16%, #d4e8ff 28%, #5fa3e8 75%);
  box-shadow: 0 0 12px rgba(95,163,232,0.65);
  animation: miniBlink 5.2s infinite;
}
.mini-eye.left { left: 28%; }
.mini-eye.right { right: 28%; }
.mini-smile {
  position: absolute;
  left: 50%;
  top: 60%;
  width: 28%;
  height: 12%;
  transform: translateX(-50%);
  border-bottom: 2px solid rgba(234,241,251,0.9);
  border-radius: 0 0 999px 999px;
}
.scene-orbit {
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  border: 1px dashed rgba(212,232,255,0.14);
  animation: sceneSpin 18s linear infinite;
  z-index: -1;
}
.scene-status {
  position: absolute;
  bottom: 16%;
  width: 34%;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(212,232,255,0.86), transparent);
  box-shadow: 0 0 16px rgba(95,163,232,0.36);
  animation: statusSweep 3.8s ease-in-out infinite;
}

.step-scene.point-0 .buddy-mini {
  transform: translate(-4%, -8%) rotate(-3deg);
}
.step-scene.point-0 .mini-eye.left,
.step-scene.point-0 .mini-eye.right {
  translate: -2px -2px;
}
.step-scene.point-1 .buddy-mini {
  transform: translate(-5%, -2%) rotate(-4deg);
}
.step-scene.point-1 .mini-eye.left,
.step-scene.point-1 .mini-eye.right {
  translate: -3px 0;
}
.step-scene.point-2 .buddy-mini {
  transform: translate(-4%, 2%) rotate(-2deg);
}
.step-scene.point-2 .mini-eye.left,
.step-scene.point-2 .mini-eye.right {
  translate: -2px 1px;
}
.step-scene.point-3 .buddy-mini {
  transform: translate(1%, 4%) rotate(2deg);
}
.step-scene.point-3 .mini-eye.left,
.step-scene.point-3 .mini-eye.right {
  translate: 1px 2px;
}
.step-scene.point-4 .buddy-mini {
  transform: translate(4%, 7%) rotate(3deg);
}
.step-scene.point-4 .mini-eye.left,
.step-scene.point-4 .mini-eye.right {
  translate: 2px 3px;
}

.step-scene.reply .mini-smile {
  width: 36%;
  height: 16%;
}
.step-scene.next .buddy-mini {
  animation: miniNod 4.6s ease-in-out infinite;
}
@keyframes sceneBreathe {
  0%, 100% { transform: scale(0.98); opacity: 0.84; }
  50% { transform: scale(1.02); opacity: 1; }
}
@keyframes miniBob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}
@keyframes miniNod {
  0%, 82%, 100% { scale: 1 1; }
  88% { scale: 1.04 0.94; }
}
@keyframes miniBlink {
  0%, 8%, 11%, 100% { scale: 1 1; }
  9.2%, 10% { scale: 1 0.08; }
  66%, 69%, 72% { scale: 1 1; }
  70% { scale: 1 0.08; }
}
@keyframes sceneSpin { to { transform: rotate(360deg); } }
@keyframes statusSweep {
  0%, 100% { opacity: 0.42; transform: translateX(-10px) scaleX(0.78); }
  50% { opacity: 1; transform: translateX(10px) scaleX(1.05); }
}

.how .steps { display: flex; flex-direction: column; gap: 12px; }
.how .step {
  padding: 18px 0 20px;
  border-top: 1px solid rgba(255,255,255,0.10);
  opacity: 0.45;
  transition: opacity 360ms;
}
.how .step.active { opacity: 1; }
.how .step .stepnum {
  font-family: var(--jgc-font-mono);
  font-size: 12px; letter-spacing: 0.22em;
  color: var(--jgc-glow-300); text-transform: uppercase;
  margin-bottom: 8px;
}
.how .step h3 {
  font-family: var(--jgc-font-display);
  font-size: clamp(24px, 2.2vw, 31px); font-weight: 600;
  color: #fff; margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.how .step p {
  font-size: 14.5px; line-height: 1.5;
  color: var(--jgc-fg-on-navy-2); margin: 0;
  max-width: 480px;
}

/* ----------------------------------------------------------
   AI rule callout
   ---------------------------------------------------------- */

.callout {
  position: relative;
  padding: 160px 32px;
  text-align: center;
  overflow: hidden;
}
.callout .container { max-width: 1100px; margin: 0 auto; position: relative; z-index: 2; }
.callout .rule-pre {
  font-family: var(--jgc-font-display);
  font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--jgc-glow-300); margin-bottom: 32px;
}
.callout .rule {
  font-family: var(--jgc-font-display);
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 700; line-height: 1.04;
  letter-spacing: -0.015em;
  color: #fff;
  text-wrap: balance;
}
.callout .rule .chrome {
  background: linear-gradient(180deg, #f7fbff 0%, #d9e4f0 22%, #7e8ba0 48%, #c7d3e2 55%, #f1f6fb 78%, #92a0b7 100%);
  background-clip: text; -webkit-background-clip: text; color: transparent;
}
.callout .rule .quiet { color: var(--jgc-fg-on-navy-2); display: block; }
.callout .signature {
  margin-top: 40px;
  font-size: 15px; color: var(--jgc-fg-on-navy-2);
  letter-spacing: 0.08em;
}

.callout::before, .callout::after {
  content: "";
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95,163,232,0.18), transparent 70%);
  filter: blur(40px);
}
.callout::before { top: -200px; left: -200px; }
.callout::after { bottom: -200px; right: -200px; }

/* ----------------------------------------------------------
   Safety band
   ---------------------------------------------------------- */

.safety-band {
  padding: 80px 32px;
}
.safety-band .container { max-width: 1320px; margin: 0 auto; }
.safety-band .panel {
  position: relative;
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 40px; align-items: center;
  padding: 36px 40px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(196,122,44,0.10), rgba(196,122,44,0.04));
  border: 1px solid rgba(196,122,44,0.25);
  backdrop-filter: blur(20px);
}
.safety-band .shield {
  width: 200px; height: 200px;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,0.5)) drop-shadow(0 0 32px rgba(196,122,44,0.25));
}
.safety-band h2,
.safety-band h3 {
  font-family: var(--jgc-font-display);
  font-size: 26px; color: #fff;
  margin: 0 0 10px; font-weight: 600;
}
.safety-band p {
  font-size: 14.5px; line-height: 1.55;
  color: var(--jgc-fg-on-navy-2); margin: 0;
}
.safety-band .pill {
  padding: 8px 14px; border-radius: 999px;
  background: rgba(196,122,44,0.18);
  color: #f0c896; font-size: 12px; letter-spacing: 0.04em;
  font-weight: 600;
  border: 1px solid rgba(196,122,44,0.30);
}

/* ----------------------------------------------------------
   Contact
   ---------------------------------------------------------- */

.contact { padding: 100px 32px 160px; }
.contact .container { max-width: 1320px; margin: 0 auto; }
.contact .grid {
  display: grid; grid-template-columns: 0.88fr 1.12fr; gap: 64px;
  align-items: start;
}
.contact .copy h2 {
  font-family: var(--jgc-font-display);
  font-size: clamp(40px, 4.6vw, 60px);
  line-height: 1.03; margin: 0 0 24px;
  color: #fff; font-weight: 700;
  letter-spacing: -0.015em; text-wrap: balance;
}
.contact .copy p {
  font-size: 17px; line-height: 1.6;
  color: var(--jgc-fg-on-navy-2);
  max-width: 540px;
}
.contact .copy .facts { display: flex; flex-direction: column; gap: 12px; margin: 32px 0 0; }
.contact .copy .fact {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 14.5px; color: var(--jgc-fg-on-navy);
  font-weight: 500;
}
.contact .copy .fact .dot {
  flex-shrink: 0; margin-top: 7px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--jgc-glow-400);
  box-shadow: 0 0 8px rgba(95,163,232,0.7);
}
.contact .copy .quiet {
  font-family: var(--jgc-font-mono);
  font-size: 13px; color: var(--jgc-fg-on-navy-2);
  letter-spacing: 0.04em;
}

.intake-side-panel {
  margin-top: 34px;
  padding: 24px;
  border-radius: var(--jgc-radius-xl);
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(66,214,200,0.12), transparent 68%),
    linear-gradient(150deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
  border: 1px solid var(--jgc-border-glass);
  box-shadow: var(--jgc-shadow-premium);
  max-width: 540px;
}
.intake-side-panel .panel-kicker {
  display: block;
  font-family: var(--jgc-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--jgc-teal-300);
  margin-bottom: 8px;
}
.intake-side-panel strong {
  display: block;
  color: #fff;
  font-family: var(--jgc-font-display);
  font-size: 20px;
  line-height: 1.25;
  margin-bottom: 16px;
}
.intake-side-panel ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
  counter-reset: intake;
}
.intake-side-panel li {
  counter-increment: intake;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  color: var(--jgc-fg-on-navy-2);
  font-size: 14px;
  line-height: 1.45;
}
.intake-side-panel li::before {
  content: counter(intake);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(95,163,232,0.14);
  color: var(--jgc-glow-300);
  font-family: var(--jgc-font-mono);
  font-size: 11px;
  box-shadow: inset 0 0 0 1px rgba(95,163,232,0.24);
}
.intake-side-panel p {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  line-height: 1.55;
  color: #f0c896;
}

.glass-form {
  position: relative;
  padding: 38px;
  border-radius: var(--jgc-radius-2xl);
  background:
    radial-gradient(70% 45% at 18% -8%, rgba(95,163,232,0.16), transparent 72%),
    radial-gradient(78% 58% at 100% 8%, rgba(66,214,200,0.12), transparent 72%),
    linear-gradient(160deg, rgba(255,255,255,0.082), rgba(255,255,255,0.024));
  border: 1px solid var(--jgc-border-glass);
  backdrop-filter: blur(24px);
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: var(--jgc-shadow-premium);
  overflow: hidden;
}
.glass-form::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.34), rgba(95,163,232,0.18), rgba(66,214,200,0.24), rgba(255,255,255,0.04));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.form-topline {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.form-kicker {
  display: block;
  font-family: var(--jgc-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--jgc-teal-300);
  margin-bottom: 8px;
}
.form-topline h3 {
  margin: 0;
  color: #fff;
  font-family: var(--jgc-font-display);
  font-size: 28px;
  line-height: 1.1;
}
.secure-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 11px;
  border-radius: var(--jgc-radius-pill);
  background: rgba(47,143,96,0.14);
  color: #a9f0c9;
  border: 1px solid rgba(47,143,96,0.24);
  font-family: var(--jgc-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.form-helper,
.helper-line {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--jgc-fg-on-navy-2);
  margin: -4px 0 0;
}
.helper-line { font-size: 12.5px; margin: 0; }
.glass-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.glass-form .field { display: flex; flex-direction: column; gap: 8px; }
.glass-form .field label {
  font-family: var(--jgc-font-display);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--jgc-fg-on-navy-2); font-weight: 600;
}
.glass-form input,
.glass-form textarea,
.glass-form select {
  font-family: var(--jgc-font-body);
  font-size: 15px;
  padding: 14px 16px;
  border-radius: var(--jgc-radius-md);
  background: var(--jgc-control-bg);
  border: 1px solid var(--jgc-control-border);
  color: #fff;
  outline: 0;
  transition: border-color 240ms, box-shadow 240ms, background 240ms;
}
.glass-form select {
  appearance: none;
  cursor: pointer;
  color: var(--jgc-fg-on-navy-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238ca3c0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}
.glass-form select.has-value { color: #fff; }
.glass-form option {
  color: var(--jgc-navy-900);
  background: #fff;
}
.glass-form input::placeholder, .glass-form textarea::placeholder {
  color: rgba(170, 187, 213, 0.55);
}
.glass-form input:focus,
.glass-form textarea:focus,
.glass-form select:focus {
  border-color: var(--jgc-glow-400);
  box-shadow: 0 0 0 4px var(--jgc-control-focus), var(--jgc-glow-soft);
  background: rgba(10, 23, 51, 0.75);
}
.glass-form textarea { resize: vertical; min-height: 130px; }
.pill-group {
  display: flex;
  gap: 8px;
  margin-top: 2px;
  flex-wrap: wrap;
}
.pill-option {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--jgc-radius-md);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--jgc-fg-on-navy-2);
  transition: background 180ms, border-color 180ms, color 180ms, transform 180ms;
}
.pill-option:hover {
  transform: translateY(-1px);
  color: #fff;
  border-color: rgba(95,163,232,0.26);
}
.pill-option.active {
  font-weight: 700;
  background: linear-gradient(135deg, rgba(95,163,232,0.20), rgba(66,214,200,0.12));
  border-color: rgba(95,163,232,0.48);
  color: var(--jgc-glow-200);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
}
.glass-form .submit {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 12px; gap: 16px; flex-wrap: wrap;
}
.glass-form .submit .note { font-size: 12.5px; color: var(--jgc-fg-on-navy-2); }
.glass-form .submit .note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.glass-form .donot {
  margin-top: 6px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(196,122,44,0.08);
  border: 1px solid rgba(196,122,44,0.22);
  font-size: 12.5px; color: #f0c896; line-height: 1.5;
}
.glass-form .donot strong { color: #fff; }
.consent-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  margin-top: 4px;
  padding: 14px;
  border-radius: var(--jgc-radius-md);
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.075);
}
.consent-row input {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--jgc-glow-400);
  width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 4px;
}
.consent-row span {
  font-size: 13.5px;
  color: var(--jgc-fg-on-navy-2);
  line-height: 1.55;
}
.form-state {
  margin-top: 2px;
  padding: 13px 16px;
  border-radius: var(--jgc-radius-md);
  font-size: 13.5px;
  line-height: 1.5;
}
.form-state.success {
  background: rgba(47,143,96,0.12);
  border: 1px solid rgba(47,143,96,0.30);
  color: #bceccd;
}
.form-state.error {
  background: rgba(196,122,44,0.10);
  border: 1px solid rgba(196,122,44,0.30);
  color: #f0c896;
}

/* ----------------------------------------------------------
   Footer
   ---------------------------------------------------------- */

.foot {
  padding: 80px 32px 36px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(6, 15, 36, 0.5);
  backdrop-filter: blur(12px);
}
.foot .inner {
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.foot-name {
  font-family: var(--jgc-font-display);
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #fff; margin: 0 0 5px;
}
.foot-tag {
  font-family: var(--jgc-font-display);
  font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--jgc-fg-on-navy-2);
  margin: 0 0 22px;
}
.foot .brand p { font-size: 14px; color: var(--jgc-fg-on-navy-2); max-width: 360px; line-height: 1.6; margin: 0 0 24px; }
.foot h3,
.foot h5 {
  font-family: var(--jgc-font-display);
  font-size: 11px; letter-spacing: 0.22em;
  color: var(--jgc-glow-300); margin: 0 0 16px;
  text-transform: uppercase; font-weight: 600;
}
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot a {
  color: var(--jgc-fg-on-navy); font-size: 14px;
  text-decoration: none; opacity: 0.85; transition: opacity 200ms, color 200ms;
}
.foot a:hover { opacity: 1; color: #fff; }
.foot .legal {
  max-width: 1320px; margin: 56px auto 0;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: var(--jgc-fg-on-navy-2);
  flex-wrap: wrap; gap: 16px;
}
.foot .legal .mono { font-family: var(--jgc-font-mono); letter-spacing: 0.04em; }

/* ----------------------------------------------------------
   Static document and service pages
   ---------------------------------------------------------- */

body:has(.doc-wrap),
body:has(.about-wrap) {
  background:
    radial-gradient(900px 520px at 12% 0%, rgba(66,214,200,0.10), transparent 65%),
    radial-gradient(920px 620px at 86% 14%, rgba(95,163,232,0.16), transparent 68%),
    var(--jgc-bg-deep);
}

body .doc-nav {
  background: linear-gradient(180deg, rgba(6,15,36,0.78), rgba(10,23,51,0.42));
  border-bottom: 1px solid var(--jgc-border-glass);
}

body .doc-nav .brand {
  gap: 0 !important;
}

body .doc-nav .brand .tag {
  color: var(--jgc-fg-on-navy-2);
}

body .doc-nav .brand .name {
  font-size: 14.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.18em !important;
}

body .doc-nav .brand .txt {
  padding: 2px 0 !important;
}

body .doc-wrap,
body .about-wrap {
  isolation: isolate;
}

body .doc-wrap::before,
body .about-wrap::before {
  content: "";
  position: fixed;
  inset: 92px clamp(20px, 5vw, 76px) auto auto;
  width: min(42vw, 560px);
  height: min(42vw, 560px);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.015)),
    radial-gradient(70% 70% at 24% 18%, rgba(95,163,232,0.18), transparent 64%),
    radial-gradient(60% 60% at 74% 80%, rgba(66,214,200,0.10), transparent 72%);
  border: 1px solid rgba(255,255,255,0.055);
  box-shadow: var(--jgc-shadow-premium);
  transform: rotate(8deg);
  z-index: -1;
  pointer-events: none;
  opacity: 0.72;
}

body .doc-eyebrow,
body .about-eyebrow {
  color: var(--jgc-teal-300);
}

body .doc-intro {
  padding: 22px 0 36px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

body .doc-section {
  padding: 24px 0;
  margin-bottom: 20px;
}

body .doc-section h2 {
  color: #fff;
}

body .notice-box,
body .pillar-block,
body .photo-caption {
  background:
    radial-gradient(80% 80% at 100% 0%, rgba(66,214,200,0.10), transparent 70%),
    linear-gradient(150deg, rgba(255,255,255,0.072), rgba(255,255,255,0.024));
  border: 1px solid var(--jgc-border-glass);
  box-shadow: 0 24px 72px -48px rgba(0,0,0,0.78);
}

body .doc-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(80% 80% at 100% 0%, rgba(95,163,232,0.18), transparent 70%),
    radial-gradient(70% 80% at 0% 100%, rgba(66,214,200,0.09), transparent 72%),
    linear-gradient(150deg, rgba(255,255,255,0.082), rgba(255,255,255,0.024));
  border: 1px solid var(--jgc-border-glass);
  box-shadow: var(--jgc-shadow-premium);
}

body .doc-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.10), transparent 32%, transparent 68%, rgba(66,214,200,0.06));
  pointer-events: none;
}

body .doc-cta > *,
body .cta-row {
  position: relative;
  z-index: 1;
}

body .doc-foot {
  border-top: 1px solid rgba(255,255,255,0.08);
}

body .photo-frame {
  position: relative;
  border-color: var(--jgc-border-glass);
  box-shadow: var(--jgc-shadow-premium);
}

body .photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 45%, rgba(6,15,36,0.22) 100%),
    radial-gradient(80% 55% at 50% 0%, rgba(95,163,232,0.12), transparent 70%);
  pointer-events: none;
}

@media (max-width: 760px) {
  body .doc-wrap::before,
  body .about-wrap::before {
    display: none;
  }
}

/* ----------------------------------------------------------
   Reveal animation
   ---------------------------------------------------------- */

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 720ms var(--jgc-ease-out), transform 720ms var(--jgc-ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 80ms; }
.reveal.d2 { transition-delay: 160ms; }
.reveal.d3 { transition-delay: 240ms; }
.reveal.d4 { transition-delay: 320ms; }

/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */

@media (max-width: 1100px) {
  .hero { min-height: 0; }
  .hero .inner { grid-template-columns: 1fr; gap: 48px; }
  .stage { max-width: 460px; margin: 0 auto; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card.feature, .bento-card.wide, .bento-card.tall, .bento-card.std { grid-column: span 2; grid-row: auto; }
  .how .grid { grid-template-columns: 1fr; gap: 48px; }
  .how .stick { position: relative; top: auto; }
  .contact .grid { grid-template-columns: 1fr; gap: 48px; }
  .foot .inner { grid-template-columns: 1fr 1fr; }
  .safety-band .panel { grid-template-columns: 1fr; text-align: center; }
  .safety-band .shield { margin: 0 auto; }
}
@media (max-width: 640px) {
  .section { padding: 80px 24px; }
  .hero { padding: 60px 24px 80px; }
  .hero h1 { font-size: clamp(36px, 10vw, 52px); }
  .section-head h2 { font-size: clamp(28px, 7.5vw, 40px); }
  .brand-proof { grid-template-columns: 1fr; }
  .hero-strip { position: static; margin: 32px 0 0; flex-direction: column; gap: 14px; align-items: flex-start; }
  .hero-strip .group { flex-direction: column; align-items: flex-start; gap: 10px; }
  .stage { max-width: 280px; }
  .glass-form { padding: 24px; border-radius: 24px; }
  .glass-form .row { grid-template-columns: 1fr; }
  .form-topline { flex-direction: column; }
  .secure-chip { align-self: flex-start; }

  /* Bento cards */
  .bento { grid-template-columns: 1fr; }
  .bento-card.feature, .bento-card.wide, .bento-card.tall, .bento-card.std { grid-column: span 1; }
  .bento-card h3 { font-size: 18px; }
  .bento-card.feature h3 { font-size: 26px; }

  /* How section */
  .how { padding: 64px 24px 72px; }

  /* Callout section */
  .callout { padding: 80px 24px; }

  /* Jehiah note */
  .jehiah-note { padding: 48px 24px 16px; }
  .jehiah-note .note-card { padding: 28px 24px; }
  .jehiah-note .hello { font-size: 22px; }

  /* Contact section */
  .contact { padding: 64px 24px 80px; }

  /* Footer: collapse to single column */
  .foot { padding: 56px 24px 28px; }
  .foot .inner { grid-template-columns: 1fr; gap: 32px; }
}

/* Respect users who prefer reduced motion. Calm by default. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .mesh, .digital-rails .rail-track, .stage .ring, .stage .ring-lines, .stage .satellite { animation: none !important; }
  .stage .orb { transform: none !important; }
  html { scroll-behavior: auto; }
}

/* Explainer band responsive collapse */
@media (max-width: 900px) {
  .explainer-grid { grid-template-columns: 1fr; }
}

/* ---- Accessibility: skip link ---- */
.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: #fff; color: var(--jgc-navy-900);
  font-size: 14px; font-weight: 600;
  padding: 10px 18px; border-radius: 0 0 8px 8px;
  text-decoration: none; z-index: 9999;
  transition: top 200ms;
}
.skip-link:focus { top: 0; }

/* ---- Accessibility: focus-visible ---- */
:focus-visible {
  outline: 2px solid rgba(95, 163, 232, 0.85);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Form inputs have their own focus style — keep it */
.glass-form input:focus-visible,
.glass-form textarea:focus-visible,
.glass-form select:focus-visible {
  outline: none;
}

/* ---- Nav hamburger ---- */
.nav .hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 8px;
  background: transparent; border: 0; cursor: pointer;
  border-radius: 8px; margin-left: auto; flex-shrink: 0;
}
.nav .hamburger:hover { background: rgba(255,255,255,0.07); }
.nav .hamburger span {
  display: block; height: 2px; border-radius: 2px;
  background: #fff; transition: transform 220ms, opacity 220ms;
}
.nav .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav .hamburger.open span:nth-child(2) { opacity: 0; }
.nav .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav .hamburger { display: flex; }
  .nav .inner { flex-wrap: wrap; gap: 0; padding: 14px 24px; }
  .nav .menu {
    display: none;
    width: 100%; flex-direction: column; gap: 2px;
    border-top: 1px solid rgba(255,255,255,0.07);
    margin-top: 10px; padding: 10px 0 12px;
  }
  .nav .menu.open { display: flex; }
  .nav .menu button, .nav .menu a.nav-link {
    width: 100%; text-align: left; font-size: 15px;
    padding: 11px 16px; border-radius: 8px;
  }
  .nav .menu .cta {
    margin-left: 0; margin-top: 10px;
    width: 100%; justify-content: center; border-radius: 10px;
  }
}

@media (max-width: 640px) {
  body .doc-nav .brand .name { font-size: 12.5px !important; }
}

/* ==========================================================
   Brand Comparison Slider
   ========================================================== */

.brand-compare-section {
  padding: 100px 32px 80px;
  position: relative;
}
.brand-compare-intro { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.brand-compare-intro .num {
  font-family: var(--jgc-font-mono); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--jgc-fg-on-navy-2);
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.brand-compare-intro .num::before { content: ""; width: 24px; height: 1px; background: var(--jgc-glow-400); }
.brand-compare-intro h2 {
  font-family: var(--jgc-font-display);
  font-size: clamp(26px, 3.5vw, 40px); font-weight: 700;
  color: #fff; margin: 0 0 14px; letter-spacing: -0.015em;
}
.brand-compare-intro p {
  font-size: 16px; line-height: 1.6; color: var(--jgc-fg-on-navy-2); margin: 0;
}

.comp-wrap {
  position: relative;
  max-width: 1100px; margin: 0 auto;
  height: 460px;
  border-radius: 28px;
  overflow: hidden;
  cursor: ew-resize;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
  user-select: none;
}

/* ---- Left panel: community / warm ---- */
.comp-community {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #120d04 0%, #1c1206 45%, #0d1504 100%);
}
.comp-community::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 70% at 20% 50%, rgba(245,158,11,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(245,158,11,0.05) 0%, transparent 60%);
}

/* ---- Right panel: professional / cool ---- */
.comp-professional {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #050d1f 0%, #0a1733 55%, #061226 100%);
}
.comp-professional::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 70% at 80% 50%, rgba(95,163,232,0.09) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 90% 80%, rgba(95,163,232,0.05) 0%, transparent 60%);
}

/* ---- Content positioning ---- */
/* Each side's content is anchored to its own half, staying clear of the centre divider */
.comp-community .comp-content {
  position: absolute; inset: 0;
  padding: 52px 52% 52px 64px; /* large right-padding keeps text in left half */
  display: flex; flex-direction: column; justify-content: center;
  pointer-events: none;
}
.comp-professional .comp-content {
  position: absolute; inset: 0;
  padding: 52px 64px 52px 52%; /* large left-padding keeps text in right half */
  display: flex; flex-direction: column; justify-content: center;
  pointer-events: none;
}

.comp-eyebrow {
  font-family: var(--jgc-font-mono);
  font-size: 9.5px; letter-spacing: 0.3em; text-transform: uppercase;
  margin-bottom: 12px;
}
.comp-community .comp-eyebrow  { color: rgba(245,158,11,0.6); }
.comp-professional .comp-eyebrow { color: var(--jgc-glow-300); opacity: 0.7; }

.comp-heading {
  font-family: var(--jgc-font-display);
  font-size: clamp(22px, 2.8vw, 38px); font-weight: 700;
  line-height: 1.0; letter-spacing: -0.02em; margin: 0 0 12px;
}
.comp-community .comp-heading { color: #fff; }
.comp-professional .comp-heading {
  background: linear-gradient(180deg, #f7fbff 0%, #cdd9ea 35%, #8899b2 65%, #e8f0fa 100%);
  background-clip: text; -webkit-background-clip: text; color: transparent;
}

.comp-sub {
  font-size: 13.5px; line-height: 1.6; margin: 0 0 22px;
}
.comp-community .comp-sub    { color: rgba(255,220,150,0.6); }
.comp-professional .comp-sub  { color: var(--jgc-fg-on-navy-2); }

.comp-list {
  list-style: none; margin: 0 0 28px; padding: 0;
  display: flex; flex-direction: column; gap: 9px;
}
.comp-list li { font-size: 13.5px; font-weight: 500; display: flex; align-items: baseline; gap: 9px; }
.comp-community .comp-list li    { color: rgba(255,230,170,0.75); }
.comp-community .comp-list li::before  { content: "✓"; color: #f59e0b; font-size: 11px; flex-shrink: 0; }
.comp-professional .comp-list li  { color: rgba(180,210,255,0.72); }
.comp-professional .comp-list li::before { content: "→"; color: var(--jgc-glow-300); font-size: 11px; flex-shrink: 0; }

.comp-cta {
  display: inline-flex; align-items: center;
  font-family: var(--jgc-font-display); font-size: 13px; font-weight: 600;
  padding: 10px 22px; border-radius: 999px; width: fit-content;
}
.comp-cta.community {
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.3);
  color: #f5a623;
}
.comp-cta.professional {
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.06) 100%);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
}

/* ---- Divider ---- */
.comp-divider {
  position: absolute; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(255,255,255,0.55) 15%,
    rgba(255,255,255,0.55) 85%,
    transparent 100%
  );
  transform: translateX(-50%);
  z-index: 20;
  cursor: ew-resize;
  transition: none;
}
.comp-divider::before {
  content: "";
  position: absolute; inset: 0;
  filter: blur(4px);
  background: rgba(255,255,255,0.3);
}
.comp-handle {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.55);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  display: flex; align-items: center; justify-content: center;
  color: #fff; gap: 2px;
  box-shadow: 0 0 0 6px rgba(255,255,255,0.05), 0 8px 32px rgba(0,0,0,0.5);
  transition: background 160ms, box-shadow 160ms;
}
.comp-divider:hover .comp-handle {
  background: rgba(255,255,255,0.22);
  box-shadow: 0 0 0 8px rgba(255,255,255,0.08), 0 8px 32px rgba(0,0,0,0.5);
}

/* ---- Corner labels ---- */
.comp-label {
  position: absolute; top: 22px;
  font-family: var(--jgc-font-mono); font-size: 9.5px;
  letter-spacing: 0.22em; text-transform: uppercase;
  pointer-events: none; z-index: 10;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(0,0,0,0.28); backdrop-filter: blur(8px);
  transition: opacity 240ms;
}
.comp-label-left  { left: 20px;  color: rgba(245,190,80,0.85); border: 1px solid rgba(245,158,11,0.22); }
.comp-label-right { right: 20px; color: var(--jgc-glow-300);   border: 1px solid rgba(95,163,232,0.22); }

.comp-hint {
  text-align: center; margin-top: 18px;
  font-family: var(--jgc-font-mono); font-size: 10.5px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--jgc-fg-on-navy-2); opacity: 0.45;
}

@media (max-width: 900px) {
  .comp-community .comp-content  { padding: 40px 52% 40px 40px; }
  .comp-professional .comp-content { padding: 40px 40px 40px 52%; }
  .comp-heading { font-size: 22px; }
}
@media (max-width: 640px) {
  .brand-compare-section { padding: 64px 16px 48px; }
  .comp-wrap { height: 500px; border-radius: 20px; }
  /* On small screens content fills the full panel — readable only when dragged to one side */
  .comp-community .comp-content  { padding: 36px 56% 36px 28px; }
  .comp-professional .comp-content { padding: 36px 28px 36px 56%; }
  .comp-heading { font-size: 20px; }
  .comp-sub, .comp-list li { font-size: 12.5px; }
}

/* ==========================================================
   Brain Mind-Map Modal
   ========================================================== */

.brain-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(2, 6, 22, 0.52);
  backdrop-filter: blur(4px) saturate(115%);
  -webkit-backdrop-filter: blur(4px) saturate(115%);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: brainOverlayIn 200ms ease;
}
@keyframes brainOverlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.brain-modal {
  position: relative;
  width: min(680px, 100%);
  background: rgba(2, 9, 30, 0.98);
  border: 1px solid rgba(0, 200, 255, 0.26);
  border-radius: 24px;
  box-shadow:
    0 0 0 1px rgba(0, 180, 255, 0.07),
    0 0 80px rgba(0, 180, 255, 0.18),
    0 0 160px rgba(0, 100, 220, 0.08),
    inset 0 0 80px rgba(0, 60, 160, 0.04);
  overflow: hidden;
  padding: 32px 32px 28px;
  animation: brainModalIn 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes brainModalIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to   { opacity: 1; transform: scale(1)    translateY(0);    }
}
/* Scanlines */
.brain-modal::before {
  content: ""; position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 3px,
    rgba(0, 180, 255, 0.016) 3px, rgba(0, 180, 255, 0.016) 4px
  );
}
/* Ambient corner glow */
.brain-modal::after {
  content: ""; position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
  background:
    radial-gradient(circle at 0% 0%,   rgba(0,200,255,0.07) 0%, transparent 45%),
    radial-gradient(circle at 100% 0%,  rgba(0,200,255,0.07) 0%, transparent 45%),
    radial-gradient(circle at 50% 105%, rgba(0,100,220,0.05) 0%, transparent 45%);
}

/* Corner accent brackets */
.brain-corner {
  position: absolute; z-index: 2; pointer-events: none;
  width: 16px; height: 16px;
  border-color: rgba(0, 200, 255, 0.55); border-style: solid;
}
.brain-corner.tl { top: 14px; left: 14px; border-width: 2px 0 0 2px; border-radius: 4px 0 0 0; }
.brain-corner.tr { top: 14px; right: 14px; border-width: 2px 2px 0 0; border-radius: 0 4px 0 0; }
.brain-corner.bl { bottom: 14px; left: 14px; border-width: 0 0 2px 2px; border-radius: 0 0 0 4px; }
.brain-corner.br { bottom: 14px; right: 14px; border-width: 0 2px 2px 0; border-radius: 0 0 4px 0; }

.brain-close {
  position: absolute; top: 16px; right: 20px; z-index: 10;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.45); font-size: 13px; font-weight: 500;
  width: 30px; height: 30px; border-radius: 8px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 180ms, color 180ms;
}
.brain-close:hover { background: rgba(255,255,255,0.1); color: #fff; }

.brain-eyebrow {
  font-family: var(--jgc-font-mono);
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(0, 210, 255, 0.5);
  margin: 0 0 6px; position: relative; z-index: 2;
}
.brain-modal-title {
  font-family: var(--jgc-font-display);
  font-size: 21px; font-weight: 700; color: #fff;
  letter-spacing: -0.01em; margin: 0 0 18px;
  position: relative; z-index: 2;
  text-shadow: 0 0 28px rgba(0,200,255,0.28);
}

/* Brain map container */
.brain-map {
  position: relative;
  width: 100%;
  margin-bottom: 22px;
  z-index: 2;
}
.brain-svg {
  display: block; width: 100%; height: auto;
}

/* Synapse background network */
.syn-edge {
  stroke: rgba(0, 200, 255, 0.07);
  stroke-width: 0.6;
  stroke-linecap: round;
  animation: synEdgePulse 5.5s ease-in-out infinite;
}
@keyframes synEdgePulse {
  0%, 100% { opacity: 0.55; }
  50%       { opacity: 1; }
}
.syn-node {
  animation: synNodePulse 4.2s ease-in-out infinite;
}
@keyframes synNodePulse {
  0%, 100% { opacity: 0.32; }
  50%       { opacity: 0.9; }
}

/* Spoke lines: hub → word labels — should stand out above synapse bg */
.b-line {
  stroke: rgba(0, 200, 255, 0.22);
  stroke-width: 0.85;
  stroke-linecap: round;
  animation: bLinePulse 3.2s ease-in-out infinite;
}
@keyframes bLinePulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 0.8; }
}

/* Word nodes */
.brain-node {
  position: absolute;
  transform: translate(-50%, -50%);
  font-family: var(--jgc-font-display);
  font-size: 11px; font-weight: 600; letter-spacing: 0.01em;
  color: rgba(100, 220, 255, 0.78);
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(0, 25, 65, 0.72);
  border: 1px solid rgba(0, 200, 255, 0.18);
  white-space: nowrap;
  z-index: 3;
  animation: bNodeFloat 4.5s ease-in-out infinite;
  text-shadow: 0 0 8px rgba(0,200,255,0.35);
  transition: background 200ms, border-color 200ms, color 200ms;
  cursor: default;
  user-select: none;
}
.brain-node:hover {
  background: rgba(0, 45, 100, 0.9);
  border-color: rgba(0, 200, 255, 0.48);
  color: rgba(180, 240, 255, 1);
}
.brain-node.hub {
  font-size: 13.5px; font-weight: 700;
  color: #fff;
  padding: 8px 16px;
  background: rgba(0, 40, 110, 0.88);
  border: 1px solid rgba(0, 200, 255, 0.42);
  border-radius: 999px;
  animation: bHubGlow 3s ease-in-out infinite;
  text-shadow: 0 0 18px rgba(0,200,255,0.55);
  box-shadow: 0 0 0 1px rgba(0,200,255,0.1);
  cursor: default;
}
@keyframes bNodeFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0px); }
  50%       { transform: translate(-50%, -50%) translateY(-5px); }
}
@keyframes bHubGlow {
  0%, 100% { box-shadow: 0 0 22px rgba(0,200,255,0.32), 0 0 0 1px rgba(0,200,255,0.1); }
  50%       { box-shadow: 0 0 36px rgba(0,200,255,0.52), 0 0 0 1px rgba(0,200,255,0.18); }
}

/* CTA row */
.brain-cta {
  display: flex; justify-content: center;
  padding-top: 6px; position: relative; z-index: 10;
}
.brain-enquiry {
  font-family: var(--jgc-font-display);
  font-size: 15px; font-weight: 600;
  padding: 14px 32px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(0,200,255,0.16) 0%, rgba(0,110,210,0.10) 100%);
  border: 1px solid rgba(0, 200, 255, 0.38);
  color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 0 28px rgba(0,200,255,0.18);
  text-shadow: 0 0 14px rgba(0,200,255,0.4);
  transition: background 200ms, box-shadow 200ms, transform 200ms;
}
.brain-enquiry:hover {
  background: linear-gradient(180deg, rgba(0,200,255,0.26) 0%, rgba(0,110,210,0.18) 100%);
  box-shadow: 0 0 44px rgba(0,200,255,0.34);
  transform: translateY(-1px);
}
.brain-enquiry:active { transform: translateY(0); }

/* Mobile adjustments */
@media (max-width: 640px) {
  .brain-modal { padding: 22px 18px 20px; border-radius: 18px; }
  .brain-modal-title { font-size: 17px; margin-bottom: 12px; }
  .brain-eyebrow { display: none; }
  .brain-node { font-size: 8.5px; padding: 3px 7px; }
  .brain-node.hub { font-size: 10.5px; padding: 5px 11px; }
  .brain-enquiry { font-size: 14px; padding: 12px 24px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: clamp(30px, 9vw, 36px); }
  .section-head h2 { font-size: clamp(24px, 7vw, 28px); }
  .bento-card.feature h3 { font-size: 22px; }
  .callout { padding: 64px 20px; }
  .jehiah-note .note-card { padding: 22px 18px; }
  .contact { padding: 48px 20px 64px; }
  .how { padding: 48px 20px 56px; }
  .foot .inner { gap: 24px; }
  .callout .rule { font-size: clamp(30px, 8.5vw, 40px); }
  .form-topline h3 { font-size: 22px; }
  .safety-band .shield { width: 140px; height: 140px; }
}
