:root {
  --fba-ink: var(--ast-global-color-2, #111827);
  --fba-body: var(--ast-global-color-3, #334155);
  --fba-accent: var(--ast-global-color-0, #1d53dd);
  --fba-accent-2: var(--ast-global-color-1, #0f3fb3);
  --fba-surface: var(--ast-global-color-4, #ffffff);
  --fba-muted: color-mix(in srgb, var(--fba-ink) 6%, #fff);
  --fba-line: color-mix(in srgb, var(--fba-ink) 14%, #fff);
  --fba-max: 1180px;
}

body.page .entry-title { display: none; }
body { color: var(--fba-body); }
body:has(.fba-page) .ast-container { max-width: none; padding-left: 0; padding-right: 0; }
body:has(.fba-page) .site-content .ast-container { display: block; }
body:has(.fba-page) .entry-content { margin: 0; }
.ast-primary-header-bar { background: rgba(255,255,255,.94) !important; backdrop-filter: saturate(145%) blur(14px); box-shadow: 0 1px 0 rgba(15,23,42,.08); }
.ast-header-button-1 { display: none !important; }
.site-header-primary-section-left { gap: clamp(22px, 3vw, 42px); align-items: center; }
.fba-header-logo { display: inline-flex !important; align-items: center; flex: 0 0 auto; text-decoration: none !important; padding: 0 !important; }
.fba-logo-menu-item { display: inline-flex !important; align-items: center; margin-right: clamp(18px, 2.4vw, 34px); }
.fba-logo-menu-item .menu-link, .fba-logo-menu-item a { padding: 0 !important; }
.fba-header-logo img { width: clamp(132px, 14vw, 190px); height: auto; display: block; }
.main-header-menu .menu-link { letter-spacing: .02em; font-weight: 600; }
.main-header-menu .menu-item:last-child > .menu-link {
  color: #fff !important;
  background: var(--fba-accent);
  border-radius: 999px;
  padding: 12px 18px;
  line-height: 1;
}
.main-header-menu .menu-item:last-child > .menu-link:hover { background: var(--fba-accent-2); }

.fba-page { background: var(--fba-surface); overflow: hidden; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw; max-width: 100vw; }
.fba-section, .fba-hero { padding: clamp(64px, 8vw, 128px) clamp(20px, 4vw, 56px); width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.fba-inner { max-width: var(--fba-max); margin: 0 auto; }
.fba-kicker {
  margin: 0 0 18px;
  color: var(--fba-accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.fba-display {
  margin: 0;
  color: var(--fba-ink);
  font-size: clamp(3rem, 8.3vw, 6.5rem);
  line-height: .94;
  letter-spacing: -.075em;
  max-width: 980px;
}
.fba-lede {
  color: var(--fba-body);
  font-size: clamp(1.15rem, 2.1vw, 1.55rem);
  line-height: 1.55;
  max-width: 820px;
  margin: 28px 0 0;
}
.fba-copy { max-width: 780px; font-size: 1.04rem; line-height: 1.8; }
.fba-hero {
  min-height: min(840px, 88vh);
  display: flex;
  align-items: center;
  position: relative;
  background:
    radial-gradient(circle at 85% 12%, color-mix(in srgb, var(--fba-accent) 16%, transparent), transparent 36%),
    linear-gradient(135deg, color-mix(in srgb, var(--fba-ink) 5%, #fff), #fff 48%);
}
.fba-hero > .fba-inner { position: relative; z-index: 1; }
.fba-hero:after {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  width: min(52vw, 760px);
  height: 44%;
  background: linear-gradient(135deg, transparent 0 18%, color-mix(in srgb, var(--fba-accent) 12%, transparent) 18% 19%, transparent 19% 34%, color-mix(in srgb, var(--fba-ink) 10%, transparent) 34% 35%, transparent 35%);
  opacity: .28;
  transform: translateY(14%);
  display: none;
}
.fba-hero-actions, .fba-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.fba-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--fba-ink);
  color: var(--fba-ink);
  font-weight: 800;
  text-decoration: none !important;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.fba-button:hover { transform: translateY(-1px); color: #fff; background: var(--fba-ink); }
.fba-button.primary { background: var(--fba-accent); border-color: var(--fba-accent); color: #fff; }
.fba-button.primary:hover { background: var(--fba-accent-2); border-color: var(--fba-accent-2); }

.fba-proofbar { border-block: 1px solid var(--fba-line); background: #fff; }
.fba-proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--fba-line); }
.fba-proof { background: #fff; padding: clamp(24px, 4vw, 42px); }
.fba-proof strong { display: block; color: var(--fba-ink); font-size: clamp(1.6rem, 3vw, 2.65rem); line-height: 1; letter-spacing: -.04em; }
.fba-proof span { display: block; margin-top: 10px; font-size: .92rem; line-height: 1.55; }

.fba-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr); gap: clamp(36px, 7vw, 90px); align-items: start; }
.fba-section h2, .fba-page h2 { color: var(--fba-ink); font-size: clamp(2.15rem, 5vw, 4.2rem); line-height: 1.02; letter-spacing: -.055em; margin: 0 0 22px; }
.fba-section h3, .fba-card h3 { color: var(--fba-ink); font-size: clamp(1.35rem, 2.3vw, 1.85rem); line-height: 1.12; letter-spacing: -.03em; margin: 0 0 12px; }
.fba-section p { margin-bottom: 1rem; }
.fba-muted { background: var(--fba-muted); }
.fba-dark { background: var(--fba-ink); color: color-mix(in srgb, #fff 76%, var(--fba-accent)); }
.fba-dark h2, .fba-dark h3, .fba-dark .fba-display { color: #fff; }
.fba-dark .fba-kicker { color: color-mix(in srgb, var(--fba-accent) 42%, #fff); }

.fba-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fba-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fba-card {
  border: 1px solid var(--fba-line);
  background: #fff;
  padding: clamp(24px, 3.2vw, 38px);
  min-height: 100%;
  box-shadow: 0 22px 60px rgba(15, 23, 42, .06);
}
.fba-card .fba-kicker { margin-bottom: 12px; font-size: .7rem; }
.fba-card p, .fba-card li { font-size: .98rem; line-height: 1.68; }
.fba-card ul { margin: 18px 0 0 1.05rem; }
.fba-card a { font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.fba-card.emphasis { border-top: 5px solid var(--fba-accent); }

.fba-agenda { counter-reset: agenda; border-top: 1px solid var(--fba-line); }
.fba-agenda-item { counter-increment: agenda; display: grid; grid-template-columns: 84px 1fr; gap: 26px; padding: 30px 0; border-bottom: 1px solid var(--fba-line); }
.fba-agenda-item:before { content: counter(agenda, decimal-leading-zero); color: var(--fba-accent); font-weight: 800; letter-spacing: .08em; }
.fba-agenda-item h3 { margin-bottom: 6px; }

.fba-case-filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 28px 0 36px; }
.fba-case-filters button { border: 1px solid var(--fba-line); background: #fff; color: var(--fba-ink); border-radius: 999px; padding: 10px 16px; font-weight: 800; cursor: pointer; }
.fba-case-filters button[aria-pressed="true"] { background: var(--fba-ink); color: #fff; }
.fba-case-card { display: grid; grid-template-columns: .6fr 1.4fr; gap: clamp(24px, 5vw, 68px); padding: clamp(34px, 6vw, 76px) 0; border-top: 1px solid var(--fba-line); }
.fba-case-card:last-child { border-bottom: 1px solid var(--fba-line); }
.fba-case-label { color: var(--fba-accent); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.fba-case-meta { margin-top: 18px; color: var(--fba-body); font-size: .92rem; line-height: 1.65; }
.fba-deliverables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.fba-deliverable { background: var(--fba-muted); border-left: 4px solid var(--fba-accent); padding: 16px 18px; color: var(--fba-ink); font-weight: 700; }

.fba-process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid color-mix(in srgb, #fff 18%, var(--fba-ink)); }
.fba-process-step { padding: clamp(24px, 3vw, 34px); border-right: 1px solid color-mix(in srgb, #fff 18%, var(--fba-ink)); }
.fba-process-step:last-child { border-right: 0; }
.fba-process-step span { color: color-mix(in srgb, var(--fba-accent) 35%, #fff); font-weight: 800; letter-spacing: .12em; }

.fba-cta { background: linear-gradient(135deg, var(--fba-ink), color-mix(in srgb, var(--fba-ink) 72%, var(--fba-accent))); color: #fff; }
.fba-cta h2, .fba-cta p { color: #fff; }
.fba-cta .fba-button { color: #fff; border-color: rgba(255,255,255,.7); }
.fba-cta .fba-button.primary { background: #fff; color: var(--fba-ink); border-color: #fff; }

.fba-contact-panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 42px; align-items: start; }
.fba-contact-panel .uagb-forms__outer-wrap, .fba-contact-form { box-shadow: 0 28px 80px rgba(15,23,42,.12); padding: clamp(22px, 4vw, 42px); background: #fff; }
.fba-contact-panel input, .fba-contact-panel textarea { min-height: 48px; }
.fba-contact-form { display: grid; gap: 18px; border: 1px solid var(--fba-line); }
.fba-contact-form label { display: grid; gap: 8px; color: var(--fba-ink); font-weight: 800; }
.fba-contact-form input, .fba-contact-form textarea { width: 100%; border: 1px solid var(--fba-line); border-radius: 2px; padding: 12px 14px; font: inherit; color: var(--fba-ink); background: #fff; }
.fba-contact-form textarea { resize: vertical; }
.fba-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fba-form-note { margin: -6px 0 0; font-size: .88rem; line-height: 1.55; color: var(--fba-body); }

@media (max-width: 921px) {
  #ast-mobile-header .ast-primary-header-bar { position: relative; min-height: 72px; }
  #ast-mobile-header .ast-primary-header-bar:before { content: ""; position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 112px; height: 58px; background: url('../uploads/2025/04/Logo-Site-Logo-300x157.png') left center / contain no-repeat; }
  #ast-mobile-header .site-header-primary-section-left { width: 100%; justify-content: flex-end; gap: 14px; }
  #ast-mobile-header .fba-header-logo { order: 1; }
  #ast-mobile-header .fba-header-logo img { width: 126px; }
  #ast-mobile-header [data-section="section-header-mobile-trigger"] { order: 2; margin-left: auto; }
  #ast-mobile-header .menu-toggle { color: var(--fba-ink) !important; }
  #ast-mobile-header .mobile-menu { color: var(--fba-ink) !important; font-weight: 800; }
  .main-header-menu .menu-item:last-child > .menu-link { border-radius: 0; padding: .9em 1em; background: transparent; color: var(--fba-accent) !important; }
  .fba-split, .fba-case-card, .fba-contact-panel { grid-template-columns: 1fr; }
  .fba-grid, .fba-grid.two, .fba-proof-grid, .fba-process, .fba-form-grid { grid-template-columns: 1fr; }
  .fba-process-step { border-right: 0; border-bottom: 1px solid color-mix(in srgb, #fff 18%, var(--fba-ink)); }
  .fba-process-step:last-child { border-bottom: 0; }
  .fba-deliverables { grid-template-columns: 1fr; }
  .fba-agenda-item { grid-template-columns: 1fr; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { scroll-behavior: auto !important; transition: none !important; }
}
