/* ============================================================
   Virtualaw Nexus -- page styles, on top of the shared brand (site.css).
   Loaded only on pages using the "Virtualaw Nexus" template.
   ============================================================ */

.wordmark .nx { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--accent-ink); letter-spacing: 0.02em; margin-left: 3px; }

/* immersive hero */
.nexus-hero { position: relative; overflow: hidden; background: var(--hero-ink); color: var(--paper); min-height: min(90vh, 880px); display: flex; align-items: center; padding: 72px 0; }
#nexus-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.nexus-hero .hero-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, var(--hero-ink) 0%, color-mix(in oklch, var(--hero-ink) 78%, transparent) 42%, transparent 74%),
    linear-gradient(0deg, var(--hero-ink) 2%, transparent 34%),
    radial-gradient(120% 90% at 78% 22%, transparent 40%, color-mix(in oklch, var(--hero-ink) 62%, transparent) 100%); }
.nexus-hero .hero-glow { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0.9; mix-blend-mode: screen;
  background: radial-gradient(260px 260px at var(--mx, 70%) var(--my, 34%), oklch(0.84 0.13 215 / 0.16), transparent 70%); transition: opacity 400ms var(--ease); }
.nexus-hero .wrap { position: relative; z-index: 3; }
.nexus-hero-inner { max-width: 60ch; }
.nexus-hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.nexus-hero .eyebrow .dot { width: 7px; height: 7px; border-radius: 999px; background: var(--cyan-on-dark); box-shadow: 0 0 0 4px oklch(0.84 0.13 215 / 0.18); }
.nexus-hero .eyebrow .kicker { color: var(--cyan-on-dark); }
.nexus-hero h1 { font-weight: 600; font-size: clamp(46px, 6.4vw, 88px); line-height: 0.96; letter-spacing: -0.04em; margin: 0; max-width: 14ch; color: var(--paper); }
.nexus-hero h1 em { color: var(--cyan-on-dark); }
.nexus-hero .lede { font-size: 19px; line-height: 1.5; color: var(--hero-soft); max-width: 54ch; margin: 26px 0 0; }
.nexus-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 34px; }
.nexus-hero .btn-primary { background: var(--cyan-on-dark); color: var(--hero-ink); }
.nexus-hero .btn-primary:hover { background: var(--cyan-hot); }
.nexus-hero .btn-ghost { border-color: var(--hero-rule); color: var(--paper); }
.nexus-hero .btn-ghost:hover { border-color: var(--paper); }
.nexus-hero .reassure { margin-top: 20px; font-family: var(--mono); font-size: 12px; color: var(--hero-mute); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.nexus-hero .reassure span::before { content: "+ "; color: var(--cyan-on-dark); }

/* three pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { border: 1px solid var(--rule-strong); border-radius: 8px; padding: 28px 26px; background: var(--paper); transition: border-color 240ms var(--ease), transform 240ms var(--ease); }
.pillar:hover { border-color: var(--ink); transform: translateY(-3px); }
.pillar .p-ix { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-ink); display: flex; align-items: center; gap: 9px; }
.pillar .p-ix .sq { width: 8px; height: 8px; border-radius: 2px; background: var(--accent); display: inline-block; }
.pillar h3 { font-weight: 600; font-size: 23px; letter-spacing: -0.02em; margin: 16px 0 0; }
.pillar p { font-size: 15.5px; color: var(--ink-soft); margin: 12px 0 0; line-height: 1.55; }

/* who-it-is-for tags */
.whofor { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.whofor span { font-family: var(--mono); font-size: 13px; color: var(--ink); border: 1px solid var(--rule-strong); border-radius: 999px; padding: 8px 16px; background: var(--paper); }
.whofor span b { color: var(--accent-ink); font-weight: 500; }

/* join band */
.join { background: var(--hero-ink); color: var(--paper); border: 0; position: relative; overflow: hidden; }
.join .j-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center; }
.join .kicker { color: var(--cyan-on-dark); }
.join h2 { font-weight: 600; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.04; letter-spacing: -0.03em; margin: 14px 0 0; color: var(--paper); max-width: 16ch; }
.join h2 em { color: var(--cyan-on-dark); }
.join p.j-lede { font-size: 17.5px; color: var(--hero-soft); margin: 18px 0 0; max-width: 46ch; }
.join .j-card { border: 1px solid var(--hero-rule); border-radius: 10px; background: color-mix(in oklch, var(--strip-ink) 84%, transparent); padding: 30px 28px; }
.join .j-card .c-mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cyan-on-dark); margin-bottom: 16px; }
.join-form { display: flex; flex-direction: column; gap: 12px; }
.join-form label { font-size: 13px; color: var(--hero-soft); }
.join-form input[type="email"] { font-family: var(--sans); font-size: 15px; color: var(--paper); background: oklch(0.20 0.012 250); border: 1px solid var(--hero-rule); border-radius: 6px; padding: 14px 15px; width: 100%; transition: border-color 200ms var(--ease); }
.join-form input[type="email"]::placeholder { color: var(--hero-mute); }
.join-form input[type="email"]:focus-visible { outline: none; border-color: var(--cyan-on-dark); }
.join-form button { font-family: var(--mono); font-size: 14px; font-weight: 500; background: var(--cyan-on-dark); color: var(--hero-ink); border: 0; border-radius: 6px; padding: 14px 18px; cursor: pointer; transition: background 220ms var(--ease); }
.join-form button:hover { background: var(--cyan-hot); }
.join-form .j-fine { font-family: var(--mono); font-size: 11px; color: var(--hero-mute); line-height: 1.5; margin-top: 2px; }
.join .j-ok { display: none; text-align: left; }
.join .j-ok.show { display: block; }
.join .j-ok .tick { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 999px; background: var(--cyan-on-dark); color: var(--hero-ink); font-family: var(--mono); font-weight: 600; margin-bottom: 12px; }
.join .j-ok h3 { color: var(--paper); font-size: 20px; font-weight: 600; margin: 0 0 6px; letter-spacing: -0.01em; }
.join .j-ok p { color: var(--hero-soft); font-size: 14.5px; margin: 0; }

/* ---- FluentForm [fluentform id="38"] dropped into the dark join card ---- */
.j-card .fluentform { margin: 0; }
.j-card .fluentform .ff-el-group { margin-bottom: 12px; }
.j-card .fluentform .ff-el-input--label label,
.j-card .fluentform label { color: var(--hero-soft); font-family: var(--sans); font-weight: 500; font-size: 13px; }
.j-card .fluentform input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.j-card .fluentform textarea,
.j-card .fluentform select { font-family: var(--sans); font-size: 15px; color: var(--paper); background: oklch(0.20 0.012 250); border: 1px solid var(--hero-rule); border-radius: 6px; padding: 13px 14px; width: 100%; box-shadow: none; }
.j-card .fluentform input::placeholder,
.j-card .fluentform textarea::placeholder { color: var(--hero-mute); }
.j-card .fluentform input:focus,
.j-card .fluentform textarea:focus,
.j-card .fluentform select:focus { border-color: var(--cyan-on-dark); outline: none; box-shadow: none; }
.j-card .fluentform .ff-btn-submit,
.j-card .fluentform button[type="submit"] { font-family: var(--mono); font-size: 14px; font-weight: 500; background: var(--cyan-on-dark); color: var(--hero-ink); border: 0; border-radius: 6px; padding: 14px 18px; cursor: pointer; width: 100%; transition: background 220ms var(--ease); }
.j-card .fluentform .ff-btn-submit:hover,
.j-card .fluentform button[type="submit"]:hover { background: var(--cyan-hot); }
.j-card .fluentform .ff-el-group.ff-text-right { text-align: stretch; }
.j-card .ff-message-success,
.j-card .fluentform .ff-message-success { color: var(--cyan-on-dark); font-size: 14.5px; }
.j-card .fluentform .ff-el-form-check-label,
.j-card .fluentform .ff_t_c label { color: var(--hero-mute); font-size: 12px; }

/* Reveal + hero-entrance guards live in motion.css (the `vlos-anim` class),
   which is loaded site-wide, so nothing is needed here for that. */

@media (max-width: 900px) {
  .nexus-hero { min-height: 82vh; padding: 52px 0; }
  .nexus-hero .hero-veil { background: linear-gradient(0deg, var(--hero-ink) 8%, color-mix(in oklch, var(--hero-ink) 55%, transparent) 60%, color-mix(in oklch, var(--hero-ink) 30%, transparent) 100%); }
  .pillars { grid-template-columns: 1fr; }
  .join .j-grid { grid-template-columns: 1fr; gap: 30px; }
}
