/* ============================================================
   FastFlip — Component Styles (WordPress build)
   Generated from design-source/styles.css
   Modifications: removed mode/accent token blocks (Deep Blue
   tokens live in style.css :root), promoted [data-mode="black"]
   component rules to global since Deep Blue is the default mode,
   added WordPress-specific layout helpers at the bottom.
   ============================================================ */

/* ============================================================
   Base
   ============================================================ */

.ff-page * { box-sizing: border-box; }

.ff-page {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-feature-settings: "ss01", "cv11", "tnum";
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
}

.ff-page h1, .ff-page h2, .ff-page h3, .ff-page h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

.ff-page p { margin: 0; text-wrap: pretty; }

.ff-page a:not(.ff-btn) { color: inherit; text-decoration: none; }
.ff-page a.ff-btn { text-decoration: none; }

.ff-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============================================================
   Type utilities
   ============================================================ */

.ff-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.ff-eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.ff-serif { font-family: var(--font-serif); font-style: italic; letter-spacing: -0.015em; font-weight: 400; }

.ff-mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0; color: var(--muted); }

.ff-h1 { font-size: clamp(48px, 6.4vw, 92px); font-weight: 500; line-height: 0.98; letter-spacing: -0.03em; }
.ff-h2 { font-size: clamp(36px, 4vw, 56px); font-weight: 500; line-height: 1.02; letter-spacing: -0.025em; margin-bottom: 24px; }
.ff-h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; }
.ff-lead { font-size: clamp(18px, 1.4vw, 22px); line-height: 1.4; color: var(--ink-soft); max-width: 60ch; margin-top: 20px; }
.ff-body { font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.ff-small { font-size: 14px; line-height: 1.5; color: var(--muted); }

.ff-accent { color: var(--accent); }
.ff-muted { color: var(--muted); }

/* ============================================================
   Buttons — accent-led, sharp, futuristic
   ============================================================ */

.ff-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .25s ease;
  white-space: nowrap;
  position: relative;
}

/* Primary: accent-filled — the main call to action */
.ff-btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid var(--accent);
  box-shadow:
    0 1px 0 0 rgba(255,255,255,0.22) inset,
    0 1px 2px rgba(9, 12, 155, 0.16),
    0 4px 14px -4px var(--accent-line);
}
.ff-btn--primary:hover {
  background: color-mix(in oklab, var(--accent) 90%, white);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 0 rgba(255,255,255,0.28) inset,
    0 2px 4px rgba(9, 12, 155, 0.22),
    0 10px 24px -6px var(--accent-line);
}

/* Accent: identical alias kept for back-compat */
.ff-btn--accent {
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid var(--accent);
}
.ff-btn--accent:hover { transform: translateY(-1px); }

/* Ink: rare, used for emergency contrast */
.ff-btn--ink {
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
}
.ff-btn--ink:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* Ghost: bordered, accent on hover */
.ff-btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border-strong);
}
.ff-btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Link: bottom-bar underline */
.ff-btn--link {
  background: transparent;
  color: var(--accent);
  padding: 14px 0;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--accent);
  font-weight: 600;
}
.ff-btn--link:hover { color: var(--ink); border-bottom-color: var(--ink); }

.ff-btn .ff-arrow {
  display: inline-block;
  transition: transform .25s ease;
}
.ff-btn:hover .ff-arrow { transform: translateX(3px); }

/* ============================================================
   Layout primitives
   ============================================================ */

.ff-section { padding: 120px 0; border-top: 1px solid var(--border); }
.ff-section--tight { padding: 80px 0; }
.ff-section--hero { padding: 64px 0 100px; border-top: none; overflow: hidden; }
.ff-section--dark { background: var(--surface); }

/* Inverted band — uses slate as bg, off-white as ink. Strong visual rhythm break. */
.ff-section--invert {
  --bg: var(--slate-panel);
  --surface: color-mix(in oklab, var(--slate-panel) 82%, white 18%);
  --surface-2: color-mix(in oklab, var(--slate-panel) 72%, white 28%);
  --ink: #F7F9F7;
  --ink-soft: #C9C5D4;
  --muted: #9690A3;
  --faint: #5A5566;
  --border: color-mix(in oklab, var(--slate-panel) 72%, white 22%);
  --border-strong: color-mix(in oklab, var(--slate-panel) 58%, white 38%);
  background: var(--bg);
  color: var(--ink);
  border-top: none;
  /* Deep Blue mode: tint surface with accent */
  --surface: color-mix(in oklab, var(--slate-panel) 78%, var(--accent) 12%);
}

.ff-grid { display: grid; gap: 32px; }

.ff-rule { height: 1px; background: var(--border); width: 100%; }
.ff-rule--accent { background: var(--accent); height: 2px; width: 56px; }

/* ============================================================
   Nav
   ============================================================ */

.ff-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.ff-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}
.ff-nav__links { display: flex; gap: 36px; align-items: center; }
.ff-nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
  position: relative;
  padding: 8px 0;
}
.ff-nav__link:hover { color: var(--ink); }
.ff-nav__link--has-dd::after {
  content: "▾";
  font-size: 9px;
  margin-left: 4px;
  opacity: 0.5;
}
.ff-nav__cta { display: flex; gap: 12px; align-items: center; }

/* ============================================================
   Cards
   ============================================================ */

.ff-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 36px;
  transition: border-color .2s ease;
}
.ff-card:hover { border-color: var(--border-strong); }

.ff-card__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 28px;
  display: block;
}
.ff-card__title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.2;
}
.ff-card__body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ============================================================
   Stat block (LOUD case study)
   ============================================================ */

.ff-stat {
  border-top: 1px solid var(--border-strong);
  padding: 28px 0 0;
}
.ff-stat__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(56px, 7.5vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 400;
  color: var(--ink);
}
.ff-stat__label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
  letter-spacing: 0.01em;
  max-width: 28ch;
  line-height: 1.4;
}

/* ============================================================
   Trust strip (logos)
   ============================================================ */

.ff-logos {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  align-items: center;
}
.ff-logo-cell {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--ink-soft);
  text-align: center;
  padding: 16px 8px;
  opacity: 0.7;
  filter: saturate(0);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
}
.ff-logo-cell:last-child { border-right: none; }

/* ============================================================
   Diagram chrome (for system / workflow diagrams)
   ============================================================ */

.ff-diagram {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
  position: relative;
}
.ff-node {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 500;
}
.ff-node--accent {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

/* ============================================================
   Animated reveal (subtle)
   ============================================================ */

@keyframes ff-fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.ff-reveal { animation: ff-fade-up .8s cubic-bezier(.2,.7,.2,1) both; }
.ff-reveal--d1 { animation-delay: .08s; }
.ff-reveal--d2 { animation-delay: .16s; }
.ff-reveal--d3 { animation-delay: .24s; }
.ff-reveal--d4 { animation-delay: .32s; }

/* ============================================================
   Footer
   ============================================================ */

.ff-footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  font-size: 14px;
  color: var(--muted);
}
.ff-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}
.ff-footer__col-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 18px;
}
.ff-footer__link {
  display: block;
  padding: 4px 0;
  color: var(--muted);
}
.ff-footer__link:hover { color: var(--ink); }
.ff-footer__base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ============================================================
   System bar (Figma-file vibe) — thin status strip
   SysBar fix: Deep Blue mode uses slate-panel bg + off-white ink.
   This overrides the original light-mode default (var(--ink) bg).
   ============================================================ */

.ff-sysbar {
  display: none;
}
.ff-sysbar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.ff-sysbar__group {
  display: flex;
  gap: 24px;
  align-items: center;
}
.ff-sysbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: color-mix(in oklab, var(--bg) 70%, transparent);
}
.ff-sysbar__item strong {
  color: var(--bg);
  font-weight: 500;
}
.ff-pulse {
  display: none;
}
.ff-pulse--accent {
  display: none;
}

/* Accent tracer — animated dash flowing along a path */
@keyframes ff-tracer {
  to { stroke-dashoffset: -16; }
}
.ff-tracer {
  stroke-dasharray: 4 6;
  animation: ff-tracer 1.2s linear infinite;
}

/* Live status strip — futuristic dashboard-row under hero CTAs */
.ff-live-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  overflow: hidden;
}
.ff-live-strip__cell {
  padding: 16px 20px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.ff-live-strip__cell:last-child { border-right: none; }
.ff-live-strip__cell::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 12px;
  background: var(--accent);
  opacity: 0.5;
}
.ff-live-strip__lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ff-live-strip__val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

/* ============================================================
   Figma-frame container — corner crosshairs + label
   ============================================================ */

.ff-frame {
  position: relative;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 6px;
  padding: 40px;
}
.ff-frame--bare { padding: 0; overflow: hidden; }

.ff-frame__label {
  position: absolute;
  top: -8px;
  left: 16px;
  background: var(--bg);
  padding: 0 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  z-index: 2;
}
.ff-frame__meta {
  position: absolute;
  top: -8px;
  right: 16px;
  background: var(--bg);
  padding: 0 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ff-frame::before, .ff-frame::after,
.ff-frame > .ff-corner-tl, .ff-frame > .ff-corner-br {
  content: "";
  position: absolute;
  width: 6px; height: 6px;
  border: 1px solid var(--accent);
  pointer-events: none;
}
.ff-frame::before { top: -3px; left: -3px; border-right: none; border-bottom: none; }
.ff-frame::after  { top: -3px; right: -3px; border-left: none; border-bottom: none; }

/* ============================================================
   Status pill
   ============================================================ */

.ff-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 8px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-soft);
  background: var(--bg);
}
.ff-pill--accent {
  border-color: var(--accent-line);
  color: var(--accent);
  /* Deep Blue mode: semi-transparent accent background */
  background: color-mix(in oklab, var(--accent) 14%, transparent);
}
.ff-pill__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}

/* ============================================================
   Sparkline (inline mini-chart)
   ============================================================ */

.ff-spark {
  display: inline-block;
  height: 22px;
  vertical-align: middle;
  color: var(--accent);
}

/* ============================================================
   Numeric / tabular utility
   ============================================================ */

.ff-nums { font-variant-numeric: tabular-nums; letter-spacing: 0; }

/* ============================================================
   Logo marquee (drift-scrolling trust strip)
   ============================================================ */

.ff-marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ff-marquee__track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: ff-marquee 60s linear infinite;
}
@keyframes ff-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ff-marquee:hover .ff-marquee__track { animation-play-state: paused; }

.ff-marquee .ff-logo-cell {
  min-width: 240px;
  border-right: 1px solid var(--border);
  border-bottom: none;
  height: 72px;
}

.ff-marquee__fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  pointer-events: none;
  z-index: 2;
}
.ff-marquee__fade--l {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}
.ff-marquee__fade--r {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

/* ============================================================
   Ambient gradient mesh (hero spotlight) — slowly drifts (aurora)
   Promoted to global using Deep Blue / dark-mode values.
   ============================================================ */

.ff-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 22% 8%, color-mix(in oklab, var(--accent) 28%, transparent) 0%, transparent 60%),
    radial-gradient(ellipse 60% 45% at 88% 4%, color-mix(in oklab, var(--accent-deep) 30%, transparent) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 50% 90%, color-mix(in oklab, var(--accent) 10%, transparent) 0%, transparent 60%);
  mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
  animation: ff-aurora-dark 32s ease-in-out infinite alternate;
}

@keyframes ff-aurora {
  0%   { background-position: 0% 0%, 0% 0%, 0% 0%; }
  100% { background-position: 8% -6%, -10% 4%, 4% 6%; }
}
@keyframes ff-aurora-dark {
  0%   { background-position: 0% 0%, 0% 0%, 0% 0%; opacity: 1; }
  50%  { opacity: 0.85; }
  100% { background-position: 6% -5%, -8% 3%, 5% 5%; opacity: 1; }
}

/* Aurora sweep — slow horizontal wave near top of hero (Linear-style) */
.ff-aurora-wave {
  position: absolute;
  top: 0; left: -10%; right: -10%;
  height: 380px;
  z-index: 0;
  pointer-events: none;
  /* Deep Blue mode opacity */
  opacity: 0.78;
  mask-image: linear-gradient(to bottom, black 0%, black 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 50%, transparent 100%);
}
.ff-aurora-wave svg { width: 100%; height: 100%; display: block; }
.ff-aurora-wave .wave-1 {
  animation: ff-wave-drift 22s ease-in-out infinite alternate;
}
.ff-aurora-wave .wave-2 {
  animation: ff-wave-drift 30s ease-in-out infinite alternate-reverse;
}
.ff-aurora-wave .wave-3 {
  animation: ff-wave-drift 38s ease-in-out infinite alternate;
}
@keyframes ff-wave-drift {
  0%   { transform: translateX(0)   translateY(0); }
  100% { transform: translateX(-3%) translateY(-12px); }
}

.ff-section--hero { position: relative; }
.ff-section--hero > .ff-container { position: relative; z-index: 1; }

/* ============================================================
   Boot-up animation for SystemDiagram
   ============================================================ */

@keyframes ff-boot-fade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: none; }
}
.ff-diagram-boot .ff-boot-step {
  opacity: 0;
  animation: ff-boot-fade .55s cubic-bezier(.2,.7,.2,1) forwards;
}
.ff-diagram-boot .ff-boot-1 { animation-delay: .05s; }
.ff-diagram-boot .ff-boot-2 { animation-delay: .25s; }
.ff-diagram-boot .ff-boot-3 { animation-delay: .5s; }
.ff-diagram-boot .ff-boot-4 { animation-delay: .8s; }
.ff-diagram-boot .ff-boot-5 { animation-delay: 1.1s; }

/* ============================================================
   Bento card (Figma-frame-flavored)
   ============================================================ */

.ff-bento {
  position: relative;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 6px;
  padding: 28px;
  overflow: hidden;
}
.ff-bento__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}

/* ============================================================
   Code/terminal block
   ============================================================ */

.ff-code {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px 20px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink);
  position: relative;
}
.ff-code__prompt { color: var(--accent); margin-right: 8px; }
.ff-code__dim { color: var(--muted); }

/* ============================================================
   Glass card — frosted accent panel (value props)
   Promoted to global using Deep Blue backdrop values.
   ============================================================ */

.ff-glass {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px;
  /* Deep Blue: surface-tinted with accent, frosted */
  background: color-mix(in oklab, var(--surface) 75%, var(--accent) 6%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.ff-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* Deep Blue: stronger accent glow */
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, color-mix(in oklab, var(--accent) 28%, transparent), transparent 60%),
    radial-gradient(ellipse 50% 40% at 0% 100%, color-mix(in oklab, var(--accent-deep) 22%, transparent), transparent 60%);
  opacity: 0.7;
  mask-image: linear-gradient(135deg, black 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(135deg, black 0%, transparent 80%);
}
.ff-glass:hover {
  border-color: var(--accent-line);
  transform: translateY(-3px);
}
.ff-glass > * { position: relative; }

/* ============================================================
   Annotation card — floats around a diagram with a leader line
   Promoted to global using Deep Blue frosted values.
   ============================================================ */

.ff-annotation {
  position: absolute;
  border: 1px solid var(--border-strong);
  /* Deep Blue: frosted surface */
  background: color-mix(in oklab, var(--surface) 82%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 6px;
  padding: 10px 14px;
  z-index: 3;
  min-width: 140px;
  box-shadow: 0 8px 24px -10px rgba(0,0,0,0.18);
  font-family: var(--font-display);
}
.ff-annotation__lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  margin-bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ff-annotation__val {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.ff-annotation__leader {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* ============================================================
   Image slot — for marquee logo cells
   Promoted to global using Deep Blue image-slot filter values.
   ============================================================ */

.ff-marquee image-slot {
  --is-bg: transparent;
  --is-border: transparent;
  --is-placeholder-text: var(--muted);
  width: 200px;
  height: 56px;
  display: block;
  margin: 0 24px;
  filter: saturate(0) brightness(1.4) invert(0.85);
  opacity: 0.7;
  transition: filter .3s ease, opacity .3s ease;
}
.ff-marquee image-slot:hover {
  filter: saturate(0) brightness(1.6) invert(0.95);
  opacity: 1;
}

/* ============================================================
   WordPress-specific layout helpers
   (not in original design source — added for WP build)
   ============================================================ */

/* Mobile nav — hidden on desktop, shown at mobile breakpoint */
.ff-nav__mobile { display: none; }
.ff-nav__mobile-dd { display: none; }

/* Section header spacing */
.ff-section-header { margin-bottom: 64px; }

/* Process step spacing */
.ff-process-step__num { margin-bottom: 16px; }
.ff-process-step__title { margin-bottom: 12px; }

/* Hero split layout */
.ff-hero-split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 80px; align-items: center; }
.ff-hero-split__copy { }
.ff-hero-split__diagram { position: relative; overflow: hidden; padding: 0; min-width: 0; }
.ff-hero-split__diagram svg { max-width: 100%; height: auto; }
.ff-hero-pill-row { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.ff-hero-cta-row { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }

/* Hero meta strip */
.ff-hero-meta { margin-top: 80px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); }
.ff-hero-meta__cell { padding: 24px 20px 0 0; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 16px; }
.ff-hero-meta__cell:last-child { border-right: none; }
.ff-hero-meta__cell .ff-spark { margin-bottom: 8px; }
.ff-hero-meta__num { font-family: var(--font-serif); font-size: 38px; line-height: 1; letter-spacing: -0.03em; margin-top: 4px; }

/* Value props */
.ff-value-props-header { display: grid; grid-template-columns: 0.85fr 2.15fr; gap: 64px; margin-bottom: 56px; }
.ff-value-props-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ff-value-card { min-height: 320px; display: flex; flex-direction: column; }
.ff-value-card__num { margin-bottom: 36px; }
.ff-value-card__title { margin-bottom: 14px; }
.ff-value-card__body { flex: 1; }
.ff-value-card__link { margin-top: 24px; color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: color .2s ease; }
.ff-value-card__link:hover { color: var(--accent); }

/* Logo text fallback */
.ff-logo-cell__text { display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -0.02em; color: var(--ink-soft); opacity: 0.7; }

/* Nav dropdown */
.ff-nav__dd-wrap { position: relative; }
.ff-nav__dropdown { display: none; position: absolute; top: 100%; left: -16px; min-width: 260px; padding: 12px 0; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.3); z-index: 60; flex-direction: column; }
.ff-nav__dd-wrap:hover .ff-nav__dropdown, .ff-nav__dd-wrap:focus-within .ff-nav__dropdown { display: flex; }
.ff-nav__dd-item { display: block; padding: 10px 20px; font-size: 14px; font-weight: 500; color: var(--ink-soft); transition: color .15s, background .15s; }
.ff-nav__dd-item:hover { color: var(--ink); background: var(--surface-2); }
.ff-nav__dd-item--cta { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--border); color: var(--accent); font-weight: 600; }

/* Dual path halves (WordPress uses __half not __side) */
.ff-dual-path__half { flex: 1; padding: 48px 40px; }
.ff-dual-path__half--accent { background: var(--accent-soft); }

/* GEO stat numbers */
.ff-geo__stat-num { font-family: var(--font-serif); font-size: clamp(36px, 4vw, 56px); font-style: italic; line-height: 1; letter-spacing: -0.03em; color: var(--ink); display: block; margin-bottom: 4px; }

/* Case study stat numbers - constrained for grid */
.ff-stat__num { font-family: var(--font-serif); font-size: clamp(48px, 5vw, 80px); line-height: 1; letter-spacing: -0.03em; }

/* Case study grid */
.ff-case-study__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-bottom: 1px solid var(--border); }
.ff-case-study__stat { padding: 24px 20px 32px 0; border-right: 1px solid var(--border); }
.ff-case-study__stat:last-child { border-right: none; }
.ff-case-study__proofs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 48px; }

/* Founder */
.ff-founder__grid { display: grid; grid-template-columns: 0.4fr 0.6fr; gap: 64px; align-items: start; }
.ff-founder__portrait { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 6px; background: var(--surface); }
.ff-founder__portrait-placeholder { width: 100%; aspect-ratio: 3/4; background: var(--surface); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; }
.ff-founder__quote { font-family: var(--font-serif); font-size: clamp(24px, 2.5vw, 32px); font-style: italic; line-height: 1.3; color: var(--ink); margin: 24px 0 40px; }
.ff-founder__credentials { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ============================================================
   Responsive overrides for WordPress-specific classes
   ============================================================ */

@media (max-width: 1023px) {
  .ff-hero-split { grid-template-columns: 1fr; gap: 48px; }
  .ff-hero-meta { grid-template-columns: repeat(2, 1fr); }
  .ff-value-props-header { grid-template-columns: 1fr; gap: 24px; }
  .ff-value-props-grid { grid-template-columns: repeat(2, 1fr); }
  .ff-case-study__stats { grid-template-columns: repeat(2, 1fr); }
  .ff-case-study__proofs { grid-template-columns: 1fr; }
  .ff-founder__grid { grid-template-columns: 1fr; gap: 32px; }
  .ff-dual-path { flex-direction: column; }
  .ff-dual-path__divider { width: 100%; height: 1px; }
  /* Show mobile hamburger, hide desktop nav */
  .ff-nav__mobile { display: block; }
  .ff-nav__mobile-dd { display: block; }
  .ff-nav__links { display: none; }
  .ff-nav__cta { display: none; }
}
@media (max-width: 767px) {
  .ff-hero-meta { grid-template-columns: 1fr; }
  .ff-hero-meta__cell { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
  .ff-hero-meta__cell:last-child { border-bottom: none; }
  .ff-value-props-grid { grid-template-columns: 1fr; }
  .ff-dual-path__half { padding: 32px 24px; }
  .ff-founder__credentials { grid-template-columns: 1fr; }
}
