/* ============================================================
   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: var(--jgc-navy-950);
  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.45), transparent 70%),
    radial-gradient(50% 40% at var(--m2x, 82%) var(--m2y, 18%), rgba(60, 110, 200, 0.40), transparent 70%),
    radial-gradient(45% 40% at var(--m3x, 60%) var(--m3y, 85%), rgba(36, 68, 120, 0.55), 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(10,23,51,0.65), rgba(10,23,51,0.35));
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.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; gap: 12px; cursor: pointer; }
.nav .brand img { height: 28px; filter: drop-shadow(0 1px 8px rgba(95,163,232,0.45)); }
.nav .brand .txt {
  display: flex; flex-direction: column; line-height: 1.05;
}
.nav .brand .name {
  font-family: var(--jgc-font-display);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.16em; 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 .stage-pill {
  margin-left: 18px;
  font-family: var(--jgc-font-mono);
  font-size: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(95,163,232,0.14);
  color: var(--jgc-glow-300);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav .stage-pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--jgc-glow-400);
  box-shadow: 0 0 8px var(--jgc-glow-400);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

.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; }

.eyebrow-row {
  display: inline-flex; gap: 10px; align-items: center;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  font-family: var(--jgc-font-display);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--jgc-fg-on-navy-2);
  margin-bottom: 36px;
  backdrop-filter: blur(8px);
}
.eyebrow-row .dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--jgc-glow-400) 70%, var(--jgc-glow-600));
  box-shadow: 0 0 12px rgba(95,163,232,0.7), 0 0 0 1px rgba(255,255,255,0.2) inset;
}
.eyebrow-row strong {
  color: #fff; font-weight: 700; letter-spacing: 0.14em;
}

.hero h1 {
  font-family: var(--jgc-font-display);
  font-size: clamp(56px, 7.4vw, 120px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin: 0 0 32px;
  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.55;
  color: var(--jgc-fg-on-navy-2);
  max-width: 560px;
  margin-bottom: 28px;
}
.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: 40px;
}
.hero .quiet .l { width: 28px; height: 1px; background: currentColor; opacity: 0.5; }

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

.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: 38px;
  background:
    radial-gradient(60% 50% at 35% 25%, rgba(255,255,255,0.65), transparent 60%),
    radial-gradient(80% 80% at 60% 80%, rgba(36, 68, 120, 0.6), 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;
}
.stage .orb .monogram {
  width: 64%; height: auto;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,0.55)) drop-shadow(0 0 28px rgba(95,163,232,0.45));
  transform: translateZ(40px);
}

/* 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;
}

/* ----------------------------------------------------------
   Service marquee
   ---------------------------------------------------------- */

.explainer {
  padding: 32px 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: 16px;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(24px);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.5);
}
.explainer .ex {
  padding: 20px 22px;
  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: 10px;
}
.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,
.explainer .ex h4 {
  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;
}

.marquee {
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 22px 0;
  overflow: hidden;
  background: rgba(6, 15, 36, 0.4);
  backdrop-filter: blur(10px);
  position: relative;
}
.marquee .track {
  display: flex; gap: 48px;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.marquee .item {
  display: inline-flex; gap: 18px; align-items: center;
  font-family: var(--jgc-font-display);
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--jgc-fg-on-navy-2);
  white-space: nowrap;
}
.marquee .item .sep {
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, #fff, var(--jgc-glow-400));
  box-shadow: 0 0 8px rgba(95,163,232,0.5);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ----------------------------------------------------------
   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: 64px; 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: 24px;
  padding: 28px 28px 26px;
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  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: linear-gradient(160deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  padding: 8px;
  transform: translateZ(20px);
}
.bento-card .ico img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.4)); }
.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: 140px 32px;
}
.how .container { max-width: 1320px; margin: 0 auto; }
.how .grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: start;
}
.how .stick {
  position: sticky; top: 120px;
}
.how .stick-card {
  border-radius: 32px;
  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: 48px;
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.how .stick-card .icon-host {
  position: relative;
  width: 70%; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}
.how .stick-card .icon-host img {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 12px 36px rgba(0,0,0,0.5)) drop-shadow(0 0 40px rgba(95,163,232,0.35));
  transition: opacity 480ms var(--jgc-ease-out), transform 480ms var(--jgc-ease-out);
  position: absolute; inset: 0;
}
.how .stick-card .icon-host img.fade { opacity: 0; transform: scale(0.85); }
.how .stick-card .stepnum {
  position: absolute; top: 32px; left: 36px;
  font-family: var(--jgc-font-mono);
  font-size: 13px; letter-spacing: 0.22em;
  color: var(--jgc-glow-300); text-transform: uppercase;
}

.how .steps { display: flex; flex-direction: column; gap: 36px; }
.how .step {
  padding: 28px 0;
  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: 10px;
}
.how .step h3 {
  font-family: var(--jgc-font-display);
  font-size: 36px; font-weight: 600;
  color: #fff; margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.how .step p {
  font-size: 16px; line-height: 1.55;
  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: 1fr 1.05fr; gap: 80px;
  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: 460px;
}
.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;
}

.glass-form {
  padding: 40px;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(24px);
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: 0 60px 140px -50px rgba(0,0,0,0.6);
}
.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 {
  font-family: var(--jgc-font-body);
  font-size: 15px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(10, 23, 51, 0.55);
  border: 1px solid rgba(255,255,255,0.10);
  color: #fff;
  outline: 0;
  transition: border-color 240ms, box-shadow 240ms, background 240ms;
}
.glass-form input::placeholder, .glass-form textarea::placeholder {
  color: rgba(170, 187, 213, 0.55);
}
.glass-form input:focus, .glass-form textarea:focus {
  border-color: var(--jgc-glow-400);
  box-shadow: 0 0 0 4px rgba(95,163,232,0.18);
  background: rgba(10, 23, 51, 0.75);
}
.glass-form textarea { resize: vertical; min-height: 130px; }
.glass-form .submit {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 6px; 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; }

/* ----------------------------------------------------------
   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 1fr;
  gap: 48px;
  align-items: start;
}
.foot img.lockup { height: 36px; margin-bottom: 18px; }
.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 .brand .badges { display: flex; gap: 8px; }
.foot .brand .badges span {
  font-family: var(--jgc-font-mono); font-size: 10.5px;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.06); color: #fff;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.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; }

/* ----------------------------------------------------------
   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 .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-strip { position: static; margin: 32px 0 0; }
  .nav .stage-pill { display: none; }
  .glass-form { padding: 24px; }
  .glass-form .row { grid-template-columns: 1fr; }
  .contact { padding-left: 20px; padding-right: 20px; }
}

/* The blurred animated mesh is a constant GPU/battery cost on phones. */
@media (max-width: 768px) {
  .mesh { animation: none; }
}

/* 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, .marquee .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;
  }
  .nav .stage-pill { display: none; }
}

/* ===================================================================
   Restored from pre-redesign premium.css (commit 4308c59).
   These rules style the professional/community pages: the scrolling
   digital rails, the animated tech-buddy character, and the contact
   intake form chrome. The redesign commit 9dedf1e removed them while
   reworking index.html, but both React pages still use these classes.
   =================================================================== */

.brand-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 610px;
  margin: 0 0 40px;
}

.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);
}

/* ----------------------------------------------------------
   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);
}

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

.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-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;
}

.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;
}

.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; }

.pill-group {
  display: flex;
  gap: 8px;
  margin-top: 2px;
  flex-wrap: wrap;
}

.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;
}

.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;
}

@media (max-width: 640px) {
  .brand-proof { grid-template-columns: 1fr; }
  .form-topline { flex-direction: column; }
  .secure-chip { align-self: flex-start; }
}

@media (max-width: 480px) {
  .form-topline h3 { font-size: 22px; }
}

@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); }
}

@keyframes railScroll {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

@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 statusSweep {
  0%, 100% { opacity: 0.42; transform: translateX(-10px) scaleX(0.78); }
  50% { opacity: 1; transform: translateX(10px) scaleX(1.05); }
}

/* ---- Second recovery pass (same provenance as section above): brain
   mind-map modal, brand-proof hero pills, form toggle pills, select
   styling. These render only on interaction, so the first DOM-based
   audit missed them. ---- */

.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); }

.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 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);
}

.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);
}

/* 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;
}

/* ==========================================================
   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;
}

.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);
}

/* 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;
}

/* 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;
}

/* 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); }

@keyframes brainOverlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes brainModalIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to   { opacity: 1; transform: scale(1)    translateY(0);    }
}

@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); }
}
