/* Force Function — REAL design system + motion (from original source, verbatim) */

/* ============================================================
   Force Function \'97 Design Tokens
   Monochrome on near-black. One prismatic accent moment.
   Sharp corners everywhere. No serif. No italic.
   ============================================================ */

:root {
  /* ---- Base surfaces (near-black, never pure black) ---- */
  --ff-bg: #0a0a0a;
  --ff-bg-deeper: #050505;

  /* ---- Ink (near-white, never pure white) ---- */
  --ff-ink: #fafafa;
  --ff-ink-muted: #888888;
  --ff-ink-dim: #555555;

  /* ---- Hairlines & glass ---- */
  --ff-line: rgba(255, 255, 255, 0.08);
  --ff-line-strong: rgba(255, 255, 255, 0.15);
  --ff-line-30: rgba(255, 255, 255, 0.30);
  --ff-glass: rgba(255, 255, 255, 0.04);
  --ff-glass-hover: rgba(255, 255, 255, 0.08);

  /* ---- Spectral accent \'97 the only chromatic moment ---- */
  --ff-spectral-1: #ff5a8c;
  --ff-spectral-2: #ffd879;
  --ff-spectral-3: #5ac8fa;
  --ff-gradient-spectral: linear-gradient(
    90deg,
    var(--ff-spectral-1) 0%,
    var(--ff-spectral-2) 50%,
    var(--ff-spectral-3) 100%
  );

  /* ---- Semantic aliases ---- */
  --surface-page: var(--ff-bg);
  --surface-deep: var(--ff-bg-deeper);
  --surface-card: var(--ff-glass);
  --text-primary: var(--ff-ink);
  --text-secondary: var(--ff-ink-muted);
  --text-tertiary: var(--ff-ink-dim);
  --text-on-light: var(--ff-bg);
  --border: var(--ff-line);
  --border-strong: var(--ff-line-strong);
  --border-button: var(--ff-line-30);
  --accent-gradient: var(--ff-gradient-spectral);
  --accent-1: var(--ff-spectral-1);
  --accent-2: var(--ff-spectral-2);
  --accent-3: var(--ff-spectral-3);

  /* ---- Typography ---- */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;

  --text-h1: clamp(48px, 7vw, 112px);
  --text-h1-tracking: -0.04em;
  --text-h1-leading: 0.95;

  --text-h2: clamp(36px, 4.5vw, 72px);
  --text-h2-tracking: -0.03em;
  --text-h2-leading: 1.05;

  --text-h3: clamp(24px, 2.5vw, 36px);
  --text-h3-tracking: -0.02em;
  --text-h3-leading: 1.15;

  --text-h4: clamp(20px, 1.6vw, 24px);
  --text-h4-tracking: -0.01em;
  --text-h4-leading: 1.25;

  --text-body-lg: 18px;
  --text-body: 16px;
  --text-body-fluid: clamp(15px, 1.1vw, 16px);
  --text-body-leading: 1.5;
  --text-small: 14px;

  --text-label: 11px;
  --text-label-tracking: 0.2em;
  --text-nav: 12px;
  --text-nav-tracking: 0.2em;
  --text-micro: 10px;
  --text-micro-tracking: 0.18em;

  /* ---- Spacing scale ---- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 120px;
  --space-11: 160px;
  --space-12: 200px;

  /* ---- Section rhythm ---- */
  --section-pad-y: clamp(96px, 14vw, 200px);
  --section-pad-x: clamp(24px, 6vw, 80px);
  --edge-inset: 80px;

  /* ---- Radius \'97 sharp corners, always (BRAND LAW) ---- */
  --radius: 0;
  --radius-button: 0;
  --radius-card: 0;
  --radius-input: 0;
  --radius-pill: 0;

  /* ---- Borders ---- */
  --border-width: 1px;

  /* ---- Containers ---- */
  --container-max: 1280px;
  --measure-prose: 720px;
  --measure-narrow: 580px;

  /* ---- Control sizes ---- */
  --control-h-sm: 36px;
  --control-h: 44px;
  --control-h-lg: 48px;

  /* ---- Spectral bar placements ---- */
  --spectral-h: 2px;
  --spectral-w-hero: 240px;
  --spectral-w-diff: 80px;
  --spectral-w-stage: 40px;
  --spectral-w-apply: 120px;
  --spectral-w-footer: 40px;

  /* ---- Effects: blur, glow, easing, durations ---- */
  --blur-nav: blur(18px) saturate(1.35);
  --nav-scrolled-bg: rgba(10, 10, 10, 0.7);

  --glow-spectral-1: 0 0 40px rgba(255, 90, 140, 0.35);
  --glow-spectral-2: 0 0 40px rgba(255, 216, 121, 0.35);
  --glow-spectral-3: 0 0 40px rgba(90, 200, 250, 0.35);


  --shadow-cta: 0 4px 12px rgba(255, 255, 255, 0.08);
  --shadow-cta-hover: 0 8px 24px rgba(255, 255, 255, 0.18);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-card: cubic-bezier(0.22, 0.8, 0.2, 1);
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);

  --dur-fast: 0.2s;
  --dur-mid: 0.3s;
  --dur-reveal: 1.2s;
  --dur-card: 0.55s;
}

/* ---- Base reset / canvas ---- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: var(--fw-regular);
  font-size: var(--text-body);
  line-height: var(--text-body-leading);
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: var(--fw-medium);
  color: var(--text-primary);
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }

button {
  font-family: inherit;
  border-radius: 0;
  cursor: pointer;
}

img { display: block; max-width: 100%; }

::selection {
  background: var(--ff-spectral-3);
  color: var(--ff-bg);
}

/* Sharp corners are a brand law \'97 nothing rounds. */
input, textarea, select, .card, .pill, .badge {
  border-radius: 0;
}

/* ---- Reusable type primitives (will be used everywhere downstream) ---- */
.ff-eyebrow {
  font-family: var(--font-mono);
  font-weight: var(--fw-medium);
  font-size: var(--text-label);
  letter-spacing: var(--text-label-tracking);
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.ff-mono {
  font-family: var(--font-mono);
  font-weight: var(--fw-medium);
  letter-spacing: var(--text-nav-tracking);
  text-transform: uppercase;
}

.ff-h1 {
  font-family: var(--font-sans);
  font-weight: var(--fw-medium);
  font-size: var(--text-h1);
  letter-spacing: var(--text-h1-tracking);
  line-height: var(--text-h1-leading);
  color: var(--text-primary);
}

.ff-h2 {
  font-family: var(--font-sans);
  font-weight: var(--fw-medium);
  font-size: var(--text-h2);
  letter-spacing: var(--text-h2-tracking);
  line-height: var(--text-h2-leading);
  color: var(--text-primary);
}

.ff-h3 {
  font-family: var(--font-sans);
  font-weight: var(--fw-medium);
  font-size: var(--text-h3);
  letter-spacing: var(--text-h3-tracking);
  line-height: var(--text-h3-leading);
  color: var(--text-primary);
}

.ff-body {
  font-family: var(--font-sans);
  font-weight: var(--fw-regular);
  font-size: var(--text-body-fluid);
  line-height: var(--text-body-leading);
  color: var(--text-secondary);
}


/* ============================================================
   Force Function \'97 Component interaction styles
   Hover / focus / press states the component primitives reference
   by className. Everything stays sharp (radius 0).
   ============================================================ */

/* ---- Button ---- */
.ff-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 0;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-standard),
              box-shadow var(--dur-fast) var(--ease-standard),
              background var(--dur-fast) var(--ease-standard),
              border-color var(--dur-fast) var(--ease-standard),
              gap var(--dur-fast) var(--ease-standard);
}
.ff-btn[data-size="sm"] { height: 36px; padding: 0 16px; }
.ff-btn[data-size="md"] { height: 44px; padding: 0 24px; }
.ff-btn[data-size="lg"] { height: 48px; padding: 0 28px; }

.ff-btn--primary {
  background: var(--ff-ink);
  color: var(--ff-bg);
  border-color: var(--ff-ink);
  box-shadow: var(--shadow-cta);
  transition: transform 220ms cubic-bezier(0.22, 0.8, 0.2, 1),
              box-shadow 220ms cubic-bezier(0.22, 0.8, 0.2, 1);
}
.ff-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.18),
              0 0 24px rgba(255, 216, 121, 0.12); /* warm spectral tint */
}
.ff-btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.10);
  transition-duration: 80ms;
}

.ff-btn--ghost {
  background: transparent;
  color: var(--ff-ink);
  border-color: var(--ff-line-30);
  transition: border-color 200ms ease, transform 200ms ease;
}
.ff-btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.85);
  transform: scale(1.015);
}
.ff-btn--ghost:active {
  transform: scale(1.0);
  transition-duration: 80ms;
}

.ff-btn--link {
  background: transparent;
  border: none;
  padding: 0;
  height: auto;
  color: var(--ff-ink);
  gap: 8px;
}
.ff-btn--link:hover { gap: 12px; }

.ff-btn:disabled,
.ff-btn[aria-disabled="true"] { opacity: 0.4; pointer-events: none; }

/* ---- Nav link (mono, brightens on hover) ---- */
.ff-navlink {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ff-ink-muted);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-standard);
}
.ff-navlink:hover { color: var(--ff-ink); }

/* ---- Inline text link (hairline underline) ---- */
.ff-link {
  color: var(--ff-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ff-line-strong);
  padding-bottom: 1px;
  transition: border-color var(--dur-fast) var(--ease-standard);
}
.ff-link:hover { border-color: var(--ff-ink); }

/* ---- Card ---- */
.ff-btn-inward-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.4);
  color: var(--ff-ink);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  height: var(--control-h);
  padding: 0 28px;
  border-radius: 0;
  border: 1px solid transparent;
  border-image: var(--ff-gradient-spectral) 1;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: inset 0 0 20px rgba(255, 90, 140, 0.08),
              inset 0 0 20px rgba(90, 200, 250, 0.08);
}

.ff-btn-inward-glow:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 30px rgba(255, 90, 140, 0.15),
              inset 0 0 30px rgba(90, 200, 250, 0.15);
}

/* ---- Card ---- */
.ff-card {
  background: var(--ff-glass);
  border: 1px solid var(--ff-line);
  border-radius: 0;
  transition: border-color var(--dur-mid) var(--ease-standard);
}
.ff-card--interactive:hover { border-color: var(--ff-line-strong); }

/* ---- Eyebrow index marker ---- */
.ff-eyebrow__dash { color: var(--ff-ink-dim); }

/* ---- Spectral edge glow utilities ---- */
.ff-glow-1 { filter: drop-shadow(0 0 8px rgba(255, 90, 140, 0.45)); }
.ff-glow-2 { filter: drop-shadow(0 0 8px rgba(255, 216, 121, 0.45)); }
.ff-glow-3 { filter: drop-shadow(0 0 8px rgba(90, 200, 250, 0.45)); }


/* ---- Spectral bar \'97 the chromatic moment, shimmering like a caught beam ---- */
.ff-spectral-bar:not(.ff-spectral-bar--v) {
  background-image: linear-gradient(
    90deg,
    var(--ff-spectral-1) 0%,
    var(--ff-spectral-2) 25%,
    var(--ff-spectral-3) 50%,
    var(--ff-spectral-1) 75%,
    var(--ff-spectral-2) 100%
  );
  background-size: 200% 100%;
  animation: ff-spectral-shimmer 12s linear infinite;
}
@keyframes ff-spectral-shimmer {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}
/* Vertical bars keep their inline gradient \'97 no shimmer. */
.ff-spectral-bar--v { animation: none; }

@media (prefers-reduced-motion: reduce) {
  .ff-spectral-bar:not(.ff-spectral-bar--v) { animation: none; }
  .ff-btn--primary, .ff-btn--ghost { transition: none; }
  .ff-btn--primary:hover, .ff-btn--ghost:hover { transform: none; }
}

/* ============================================================
   Layout shell \'97 nav responsiveness + living spectral CTA
   ============================================================ */

/* ---- Living spectral hum on the nav CTA ---- */
.ff-cta-alive {
  animation: ff-cta-hum 7s ease-in-out infinite;
}
.ff-cta-alive > a, .ff-cta-alive > button {
  transition: background .3s ease, box-shadow .3s ease !important;
}
.ff-cta-alive:hover {
  animation: none;
  box-shadow: none;
}
.ff-cta-alive:hover > a, .ff-cta-alive:hover > button {
  background: var(--ff-gradient-spectral) !important;
  background-size: 200% 100% !important;
  animation: ff-cta-hum-inside 3.5s ease-in-out infinite !important;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.45), inset 0 0 6px rgba(255, 255, 255, 0.3) !important;
  color: #141414 !important;
}
@keyframes ff-cta-hum-inside {
  0%, 100% { background-position: 0% 0; }
  50%      { background-position: 100% 0; }
}
@keyframes ff-cta-hum {
  0%, 100% { box-shadow: 0 0 12px rgba(255, 90, 140, 0.50), 0 0 28px rgba(255, 90, 140, 0.22); }
  33%      { box-shadow: 0 0 12px rgba(255, 216, 121, 0.55), 0 0 28px rgba(255, 216, 121, 0.24); }
  66%      { box-shadow: 0 0 12px rgba(90, 200, 250, 0.55), 0 0 28px rgba(90, 200, 250, 0.24); }
}

/* ---- Nav responsive breakpoint ---- */
@media (max-width: 991px) {
  .ff-nav-center { display: none !important; }
  .ff-nav-burger { display: flex !important; }
}

/* ---- Footer responsive ---- */
@media (max-width: 768px) {
  .ff-footer-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
}

/* ---- Reduced motion for the shell ---- */
@media (prefers-reduced-motion: reduce) {
  .ff-cta-alive { animation: none !important; box-shadow: 0 0 12px rgba(255, 216, 121, 0.4); }
  .ff-cta-alive:hover > a, .ff-cta-alive:hover > button { animation: none !important; }
}

/* ============================================================
   Hero \'97 letter-block reveal, bar expansion, content sequencing
   ============================================================ */

html { scroll-behavior: smooth; }

/* ---- Hero letter-block reveal ---- */
.ff-word {
  transform: translateY(110%);
  opacity: 0;
  animation: ff-word-up 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes ff-word-up { to { transform: translateY(0); opacity: 1; } }

/* ---- Hero spectral bar expansion ---- */
.ff-hero-bar {
  transform: scaleX(0);
  animation: ff-bar-expand 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 1s;
}
@keyframes ff-bar-expand { to { transform: scaleX(1); } }

/* ---- Hero paragraph sequencing ---- */
.ff-hero-p { opacity: 0; animation: ff-fade-in 0.6s ease forwards; animation-delay: 0.8s; }
.ff-fade-in-anim { animation: ff-fade-in 0.4s ease forwards; }
@keyframes ff-fade-in { to { opacity: 1; } }

/* ---- Hero responsive ---- */
@media (max-width: 768px) {
  .ff-hero { --edge-inset: 24px; padding-left: 24px; padding-right: 24px; }
}

/* ---- Hero reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .ff-word, .ff-hero-p, .ff-hero-bar, .ff-fade-in-anim {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* ============================================================
   Homepage sections \'97 ticker, FAQ, thesis glow, Aurelius preview
   ============================================================ */

/* ---- Capability numbers ticker ---- */
.ff-ticker { width: 100%; }
.ff-ticker-track {
  display: flex;
  width: max-content;
  animation: ff-ticker 42s linear infinite;
  will-change: transform;
}
.ff-ticker-group {
  display: flex;
  gap: clamp(72px, 9vw, 140px);
  padding-right: clamp(72px, 9vw, 140px);
  flex: none;
  align-items: flex-start;
}
@keyframes ff-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ff-ticker:hover .ff-ticker-track { animation-play-state: paused; }

/* ---- FAQ cards (quiet rows; only the open item gets card chrome) ---- */
.ff-faq-card { border: 1px solid transparent; background: transparent; transition: border-color .3s ease, background .3s ease; }
.ff-faq-card:hover { border-color: var(--ff-line); }
.ff-faq-card.open { border-color: var(--ff-line); background: var(--ff-glass); }

/* ---- Closing thesis: moving spectral glow at the section bottom ---- */
.ff-thesis-glow {
  position: absolute;
  left: -12%; right: -12%; bottom: -40px;
  height: 280px;
  background: linear-gradient(90deg, #ff5a8c, #ffd879, #5ac8fa, #ffd879, #ff5a8c);
  background-size: 300% 100%;
  filter: blur(90px);
  opacity: 0.22;
  pointer-events: none;
  animation: ff-glow-move 16s linear infinite;
  will-change: background-position;
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 30%, #000 60%, transparent 100%);
  mask-image: linear-gradient(to top, transparent 0%, #000 30%, #000 60%, transparent 100%);
}
@keyframes ff-glow-move {
  from { background-position: 0% 0; }
  to   { background-position: 300% 0; }
}

/* ---- Aurelius preview pulse + typing caret ---- */
.ff-aurelius-pulse { animation: ff-aurelius-pulse 2.4s ease-in-out infinite; }
@keyframes ff-aurelius-pulse {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 1; }
}
.ff-aurelius-thinking { animation: ff-aurelius-pulse 1.2s ease-in-out infinite; }

.ff-caret::after {
  content: "";
  display: inline-block;
  width: 7px; height: 13px;
  background: var(--ff-ink);
  margin-left: 3px;
  vertical-align: -2px;
  animation: ff-caret-blink 1s steps(2, start) infinite;
}
@keyframes ff-caret-blink { to { visibility: hidden; } }

/* ---- Staircase responsive ---- */
@media (max-width: 860px) {
  .ff-stair { display: none !important; }
  .ff-stair-mobile { display: flex !important; }
}
@media (max-width: 768px) {
  .ff-why-grid { grid-template-columns: 1fr !important; gap: 36px !important; }
}

/* ---- Reduced motion for these sections ---- */
@media (prefers-reduced-motion: reduce) {
  .ff-ticker-track { animation: none !important; }
  .ff-thesis-glow { animation: none !important; }
  .ff-aurelius-pulse, .ff-aurelius-thinking { animation: none !important; }
  .ff-caret::after { animation: none !important; }
}

/* ============================================================
   Intelligence page \'97 console, Command Center shell, responsive
   ============================================================ */

.ff-console-tab:hover { color: var(--ff-ink) !important; }

/* ---- Command Center shell: 3D tilt + sheen ---- */
.ff-shell {
  transition: transform .22s ease, border-color .22s ease;
  transform: perspective(1400px);
}
.ff-shell:hover {
  transform: perspective(1400px) rotateX(1deg) rotateY(-1.2deg) translateY(-8px);
  border-color: var(--ff-line-30);
}
.ff-shell::after, .ff-shell-interactive::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.05) 50%, transparent 62%);
  transform: translateX(-34%);
  opacity: 0;
  transition: transform .52s ease, opacity .52s ease;
  pointer-events: none;
}
.ff-shell:hover::after, .ff-shell-interactive:hover::after { transform: translateX(34%); opacity: 1; }

/* ---- Intelligence responsive ---- */
@media (max-width: 991px) {
  .ff-intel-hero-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 768px) {
  .ff-roadmap-row, .ff-roadmap-days { grid-template-columns: 80px 1fr !important; gap: 12px !important; }
  .ff-road-playhead { display: none !important; }
  .ff-stack-grid { grid-template-columns: 1fr !important; gap: 16px !important; align-items: start !important; }
  .ff-stack-nav { flex-direction: row !important; flex-wrap: wrap; gap: 14px !important; }
  .ff-stack-cols { grid-template-columns: 1fr !important; }
  .ff-stack-cols > p { display: none; }
  .ff-stack-sub { display: none; }
  .ff-shell-body { grid-template-columns: 1fr !important; }
  .ff-shell-side { border-right: none !important; border-bottom: 1px solid var(--ff-line); }
  .ff-shell-side > div { flex-direction: row !important; flex-wrap: wrap; }
  .ff-cc-row { grid-template-columns: 48px 1fr !important; }
  .ff-cc-col-hide { display: none !important; }
  .ff-cc-cards { flex-direction: column !important; }
  .ff-cc-search { display: none !important; }
  .ff-shell-toast { position: static !important; margin: 0 18px 18px; }
}

/* ============================================================
   2030 page \'97 responsive
   ============================================================ */
@media (max-width: 768px) {
  .ff-2030-stats { grid-template-columns: 1fr !important; gap: 40px !important; }
  .ff-2030-gapgrid { grid-template-columns: 1fr !important; gap: 40px !important; }
}

/* ============================================================
   Funnel inputs, Culture responsive, funnel responsive
   ============================================================ */

/* ---- Funnel inputs ---- */
.ff-input {
  width: 100%; box-sizing: border-box;
  background: transparent;
  border: 1px solid var(--ff-line-strong);
  border-radius: 0;
  color: var(--ff-ink);
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .2s ease;
  color-scheme: dark;
}
.ff-input::-webkit-calendar-picker-indicator { filter: invert(0.7); cursor: pointer; }
.ff-input:focus { border-color: var(--ff-ink); }
.ff-funnel-panel button:disabled { opacity: 0.35; cursor: default; }

/* ---- Culture + funnel responsive ---- */
@media (max-width: 768px) {
  .ff-culture-2col { grid-template-columns: 1fr !important; gap: 28px !important; }
  .ff-culture-tabs { grid-template-columns: 1fr !important; gap: 28px !important; }
  .ff-culture-tablist { flex-direction: row !important; flex-wrap: wrap; gap: 14px !important; }
  .ff-culture-donts { grid-template-columns: 1fr !important; }
  .ff-funnel-pains { grid-template-columns: 1fr !important; }
  .ff-funnel-fields { grid-template-columns: 1fr !important; }
}

/* ---- Reusable Text Gradient ---- */
.ff-culture-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.ff-culture-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.06) 50%, transparent 60%);
  background-size: 300% 100%;
  background-position: -100% 0;
  transition: background-position 0.6s ease;
  pointer-events: none;
}
.ff-culture-card:hover {
  transform: translateY(-4px);
}
.ff-culture-card:hover::after {
  background-position: 200% 0;
}

@keyframes ff-culture-border-pulse {
  0%, 100% { border-color: rgba(255, 255, 255, 0.06) !important; }
  50% { border-color: rgba(255, 255, 255, 0.12) !important; }
}

.ff-culture-card-mission {
  animation: ff-culture-border-pulse 3s ease-in-out infinite;
  border-color: rgba(255, 255, 255, 0.09) !important;
}
.ff-culture-card-mission:hover {
  animation: none;
  box-shadow: 0 0 30px rgba(224, 177, 92, 0.15) !important;
  border-color: rgba(224, 177, 92, 0.3) !important;
}

.ff-culture-card-vision {
  animation: ff-culture-border-pulse 3s ease-in-out infinite;
  border-color: rgba(255, 255, 255, 0.09) !important;
}
.ff-culture-card-vision:hover {
  animation: none;
  box-shadow: 0 0 30px rgba(93, 202, 250, 0.15) !important;
  border-color: rgba(93, 202, 250, 0.3) !important;
}

.ff-boundary-card {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.ff-boundary-card:hover {
  border-color: rgba(180, 60, 60, 0.4) !important;
  box-shadow: 0 0 20px rgba(180, 60, 60, 0.1);
}
.ff-boundary-text span {
  position: relative;
}
.ff-boundary-text span::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  transition: width 0.4s ease;
}
.ff-boundary-card:hover .ff-boundary-text span::after {
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .ff-culture-card { transition: none; }
  .ff-culture-card:hover { transform: none; }
  .ff-culture-card::after { display: none; }
  .ff-culture-card-mission, .ff-culture-card-vision { animation: none; }
  .ff-boundary-card { transition: none; }
  .ff-boundary-card:hover { transform: none; box-shadow: none; border-color: var(--ff-line) !important; }
  .ff-boundary-text span::after { transition: none; width: 0 !important; }
}

/* ---- Reusable Text Gradient ---- */
.text-gradient {
  background: var(--ff-gradient-spectral) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
}

/* ---- Reusable Text Glow Weight ---- */
.text-glow-weight {
  color: #ffffff !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.4), 0 0 40px rgba(255, 255, 255, 0.15) !important;
}

/* ---- Command Center Rich Effects ---- */
.ff-ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
  animation: ff-orb-drift 20s ease-in-out infinite alternate;
}
@keyframes ff-orb-drift {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
  100% { transform: translate(40px, 40px) scale(1.05); }
}

.ff-pulse-green {
  animation: ff-pulse-green-anim 2s infinite;
}
@keyframes ff-pulse-green-anim {
  0% { box-shadow: 0 0 0 0 rgba(93, 202, 165, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(93, 202, 165, 0); }
  100% { box-shadow: 0 0 0 0 rgba(93, 202, 165, 0); }
}

.ff-breathe-gold {
  animation: ff-breathe-gold-anim 3s ease-in-out infinite alternate;
}
@keyframes ff-breathe-gold-anim {
  0% { border-left-color: rgba(224, 177, 92, 0.4); box-shadow: inset 15px 0 20px -15px rgba(224, 177, 92, 0.1); background: rgba(224, 177, 92, 0.05); }
  100% { border-left-color: rgba(224, 177, 92, 1); box-shadow: inset 15px 0 20px -15px rgba(224, 177, 92, 0.3); background: rgba(224, 177, 92, 0.15); }
}

.ff-chip-scroll::-webkit-scrollbar {
  display: none;
}
.ff-chip-scroll {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ---- Intelligence Hero Particles ---- */
@keyframes ff-drift-up {
  0% { transform: translateY(0); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(-100px); opacity: 0; }
}

/* ---- Foundations Button Pulse ---- */
.ff-gold-pulse {
  animation: ff-gold-pulse-anim 2.5s ease-in-out infinite alternate;
  border: 1px solid transparent;
}
@keyframes ff-gold-pulse-anim {
  0% { box-shadow: 0 0 0 rgba(224, 177, 92, 0); border-color: transparent; }
  100% { box-shadow: 0 0 15px rgba(224, 177, 92, 0.5); border-color: rgba(224, 177, 92, 0.5); }
}


/* ============================================================
   Chat Widget Visual Treatment
   ============================================================ */
chat-widget {
  --chat-widget-primary-color: #0E1A2A;
  --chat-widget-active-color: #0E1A2A;
  --chat-widget-bubble-color: #0E1A2A;
  --chat-widget-input-color: #0E1A2A;
  --chat-widget-input-text-color: #0E1A2A;
  transition: transform 0.3s ease !important;
}

chat-widget:hover {
  transform: scale(1.04) !important;
}

chat-widget::before {
  content: "";
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 76px;
  height: 76px;
  border-radius: 9999px;
  background: conic-gradient(from 180deg, #fafafa22, #fafafa66, #fafafa22);
  filter: blur(6px);
  z-index: -2;
  pointer-events: none;
  animation: ff-widget-spin 8s linear infinite;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

chat-widget::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 80px;
  height: 80px;
  border-radius: 9999px;
  background: rgba(250, 250, 250, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(250, 250, 250, 0.18);
  z-index: -1;
  pointer-events: none;
}

chat-widget:hover::before {
  opacity: 1;
}

@keyframes ff-widget-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  chat-widget::before {
    animation: none;
  }
}

/* ============================================================
   Static-build integration glue (maps rebuild classes onto the
   real design-system behaviors above; no new design decisions)
   ============================================================ */
.grad-line{background-image:linear-gradient(90deg,var(--ff-spectral-1) 0%,var(--ff-spectral-2) 25%,var(--ff-spectral-3) 50%,var(--ff-spectral-1) 75%,var(--ff-spectral-2) 100%);background-size:200% 100%;animation:ff-spectral-shimmer 12s linear infinite}
.ff-clip{overflow:hidden;display:inline-block;padding-bottom:.08em}
.btn-white{background:var(--ff-ink);color:var(--ff-bg)!important;transition:transform 220ms cubic-bezier(.22,.8,.2,1),box-shadow 220ms cubic-bezier(.22,.8,.2,1)}
.btn-white:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(255,255,255,.18),0 0 24px rgba(255,216,121,.12)}
.btn-white:active{transform:translateY(0);box-shadow:0 4px 12px rgba(255,255,255,.1);transition-duration:80ms}
.btn-outline{transition:border-color 200ms ease,transform 200ms ease}
.btn-outline:hover{border-color:rgba(255,255,255,.85);transform:scale(1.015)}
.btn-outline:active{transform:scale(1);transition-duration:80ms}
.closer{position:relative;overflow:hidden}
.closer>*{position:relative;z-index:1}
.dash{position:relative;border-radius:8px}
.dash .chips span{border-radius:16px}
.ff-shell-interactive{transition:transform .1s ease-out;will-change:transform}
.ff-particles{position:absolute;inset:0;z-index:1;pointer-events:none}
.ff-particles i{position:absolute;width:3px;height:3px;background:rgba(255,255,255,.35);animation:ff-drift-up 7s linear infinite}
.ghl-slot,.ghl-chat-marker,.todo{border-radius:0}
@media (prefers-reduced-motion: reduce){
  .grad-line{animation:none}
  .ff-particles i{animation:none;opacity:0}
  [data-reveal]{opacity:1!important;transform:none!important}
}
