/* SiteHero FX toolkit: light, depth, glass and texture from the November 2026 social posts.
   Every class, custom property and keyframe starts with fx-. Run 10 removed the toolkit parts no
   page used (glass, chips and lists, signal rings, the 3D device stage and a few variants); the
   Run 2 versions are in git history if they are needed again.

   Load order: after style.css (it reads style.css's tokens and, for the button modifiers,
   must win against .btn-primary / .btn-ghost).

   Motion setup (optional, only for .fx-reveal, .fx-rise, .fx-breathe and .fx-pulse):
     <head>  <script>if(!matchMedia('(prefers-reduced-motion: reduce)').matches)document.documentElement.classList.add('fx-motion')</script>
     </body> <script src="assets/fx/fx.js" defer></script>
   Without fx-motion (no JS, or reduced motion) everything shows in its finished, still state.

   Rules kept from testing: no live SVG filters, no large blur filters, no huge box-shadows
   (large blurred shadows tiled visibly). Light is built from gradients. Only transform and
   opacity are animated. */

/* ── 1. TOKENS ─────────────────────────────────────────────── */
:root {
  --fx-k:    var(--bg-base, #090909);   /* page black */
  --fx-void: #050506;                   /* planet / device glass, a touch below page black */
  --fx-b:    var(--accent, #4f8eff);    /* brand blue */

  /* Blue light ramp, brightest to darkest, as used across the posts */
  --fx-blue-50:  #e3edff;
  --fx-blue-100: #cfe0ff;
  --fx-blue-200: #a9c6ff;
  --fx-blue-300: #8fb6ff;
  --fx-blue-350: #7fa9ff;
  --fx-blue-400: #6ea3ff;
  --fx-blue-500: var(--fx-b);
  --fx-blue-600: #3f7dee;
  --fx-blue-700: #2f68e0;
  --fx-blue-750: #2358d0;
  --fx-blue-800: #123585;
  --fx-blue-850: #0f2f92;
  --fx-blue-900: #0a1a44;
  --fx-blue-950: #071a5c;

  /* Text on light: the posts' secondary greys, all AA on #090909 and on the glass below */
  --fx-text:      #ffffff;
  --fx-text-soft: #d7dae2;
  --fx-text-tone: #9aa0ae;   /* muted second line of a two-tone headline */
  --fx-text-lt:   #d3dcf0;   /* pale blue second line */

  /* Glass */
  /* The tint is darker than the posts' glass: over the brightest glow it keeps
     --fx-text-soft and white text at AA (tested). Use --fx-text-soft, not the site's
     #a0a0a0 --text-secondary, for small text on glass or blue fields. */
  --fx-glass-fill:    linear-gradient(135deg, rgba(255,255,255,.1), rgba(255,255,255,.025));
  --fx-glass-fill-hi: linear-gradient(135deg, rgba(255,255,255,.17), rgba(255,255,255,.05));
  --fx-glass-tint:    rgba(10,13,22,.62);
  --fx-glass-solid:   linear-gradient(135deg, #22262f, #14161b);  /* no backdrop-filter */
  --fx-glass-line:    rgba(255,255,255,.2);
  --fx-glass-line-hi: rgba(255,255,255,.34);
  --fx-glass-blur:    18px;

  /* Rim highlights: a 1px lit top edge, as on the posts' glass and phone */
  --fx-rim:     inset 0 1px 0 rgba(255,255,255,.22);
  --fx-rim-hi:  inset 0 1px 0 rgba(255,255,255,.38);
  --fx-rim-edge: inset 1px 1px 0 rgba(255,255,255,.12);

  /* Shadows: stacked, moderate blurs only */
  --fx-shadow-sm: 0 1px 2px rgba(0,0,0,.35), 0 4px 10px rgba(0,0,0,.25);
  --fx-shadow-md: 0 1px 2px rgba(0,0,0,.4), 0 8px 18px rgba(0,0,0,.3), 0 20px 40px rgba(2,8,30,.35);
  --fx-shadow-lg: 0 2px 4px rgba(0,0,0,.4), 0 12px 24px rgba(0,0,0,.3), -16px 36px 56px rgba(3,12,50,.5);
  --fx-glow-btn:  0 6px 20px -6px rgba(79,142,255,.7), 0 0 0 1px rgba(79,142,255,.45);

  /* Radii */
  --fx-r-sm: 10px;
  --fx-r-md: 16px;
  --fx-r-lg: 24px;

  /* Motion */
  --fx-ease:      var(--ease, cubic-bezier(.16,1,.3,1));  /* settle */
  --fx-ease-soft: cubic-bezier(.45,0,.55,1);              /* breathing */
  --fx-dur-reveal:  900ms;
  --fx-dur-rise:    1600ms;
  --fx-dur-breathe: 7s;
  --fx-dur-pulse:   6s;
  --fx-stagger:     70ms;
}

/* Shared: decorative layers sit behind content and never catch the pointer */

/* ── 2. GRAIN ──────────────────────────────────────────────── */
/* A 160px pre-rendered tile (assets/fx/grain.png, ~16 KB). Normal blending: the tile is
   white/black with alpha, so it adds texture without shifting the average colour. */
.fx-grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: url("fx/grain.png") 0 0 / 160px 160px repeat;
  opacity: var(--fx-grain, .16);
}

/* ── 3. HORIZON ────────────────────────────────────────────── */
/* A planet edge rising from the bottom of its box: dark disc, a 2-3px white rim, then blue
   light falling off over a few hundred pixels. One radial-gradient, no shadows or filters.

   Geometry: the radius scales with the viewport width, so the curve looks the same at every
   size, and the rim always crosses the box's left and right sides --fx-hz-edge above the
   bottom. Only the dark planet ever meets the bottom edge, so the blue never ends in a
   straight line. With r = 130vw and a half-width of 50vw, the rim drops exactly 10vw from
   the centre to the sides (130 - sqrt(130^2 - 50^2) = 10), hence top = edge + 10vw.
   A box narrower than the viewport (a scrollbar, a container) only raises the side
   crossings, so it stays safe.
   --fx-hz-edge  rim height above the bottom at the left and right sides
   --fx-hz-r     planet radius; change it together with --fx-hz-top
   --fx-hz-top   planet top above the bottom, at the centre
   --fx-hz-g     glow length multiplier                                                  */
.fx-horizon,
.fx-404::after {   /* the 404 draws its horizon as a pseudo-element (section 19) */
  --fx-hz-edge: 40px;
  --fx-hz-r: 130vw;
  --fx-hz-top: calc(var(--fx-hz-edge) + 10vw);
  --fx-hz-g: 1;
  --fx-hz-planet: var(--fx-k);   /* matches the next section; the posts used --fx-void */
  --fx-hz-rim: #fff;
  --fx-hz-c1: var(--fx-blue-100);
  --fx-hz-c2: var(--fx-blue-400);
  --fx-hz-c3: var(--fx-blue-700);
  --fx-hz-c4: var(--fx-blue-800);
  --fx-hz-c5: var(--fx-blue-900);
  --fx-hz-cy: calc(100% + var(--fx-hz-r) - var(--fx-hz-top));
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    /* faint atmosphere just inside the limb, for depth */
    radial-gradient(circle at 50% var(--fx-hz-cy),
      transparent calc(var(--fx-hz-r) - 60px),
      rgba(79,142,255,.07) calc(var(--fx-hz-r) - 2px),
      transparent var(--fx-hz-r)),
    radial-gradient(circle at 50% var(--fx-hz-cy),
      var(--fx-hz-planet) calc(var(--fx-hz-r) - 1px),
      var(--fx-hz-rim) calc(var(--fx-hz-r) + 1.5px),
      var(--fx-hz-c1) calc(var(--fx-hz-r) + 4px  * var(--fx-hz-g)),
      var(--fx-hz-c2) calc(var(--fx-hz-r) + 20px * var(--fx-hz-g)),
      var(--fx-hz-c3) calc(var(--fx-hz-r) + 56px * var(--fx-hz-g)),
      var(--fx-hz-c4) calc(var(--fx-hz-r) + 110px * var(--fx-hz-g)),
      var(--fx-hz-c5) calc(var(--fx-hz-r) + 180px * var(--fx-hz-g)),
      transparent calc(var(--fx-hz-r) + 280px * var(--fx-hz-g)));
}
/* Subtle: same shape, dimmer rim and a shorter, quieter glow. Safe behind body text. */
.fx-horizon--subtle,
.fx-404::after {
  --fx-hz-g: .7;
  --fx-hz-rim: rgba(207,224,255,.7);
  --fx-hz-c1: rgba(143,182,255,.42);
  --fx-hz-c2: rgba(79,142,255,.26);
  --fx-hz-c3: rgba(47,104,224,.17);
  --fx-hz-c4: rgba(18,53,133,.13);
  --fx-hz-c5: rgba(10,26,68,.08);
}
/* Rising entrance: never further than the edge height, so the side crossings stay above the
   bottom edge for the whole animation */
.fx-horizon.fx-rise { --fx-rise-from: calc(var(--fx-hz-edge) * .6); }

/* ── 4. LIGHT FIELDS ───────────────────────────────────────── */
/* Soft blue glow around a point. Position and size with --fx-x, --fx-y, --fx-size. */
.fx-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(circle var(--fx-size, 520px) at var(--fx-x, 50%) var(--fx-y, 50%),
    var(--fx-blue-100) 0, var(--fx-blue-400) 5%, var(--fx-blue-700) 15%, #143a94 30%,
    var(--fx-blue-900) 48%, rgba(9,9,9,0) 70%);
}
/* Without the hot core: a broad, even wash */
/* Low-key: for sections that hold a lot of body text */
.fx-glow--dim {
  background: radial-gradient(circle var(--fx-size, 620px) at var(--fx-x, 50%) var(--fx-y, 50%),
    rgba(47,104,224,.32) 0, rgba(18,53,133,.22) 35%, rgba(10,26,68,.12) 55%, rgba(9,9,9,0) 72%);
}

/* Mesh field: the posts' four blurred blobs, rebuilt as soft elliptical gradients (no filter). */
.fx-mesh {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 12% 8%,   #2a5fd6 0, rgba(42,95,214,0) 70%),
    radial-gradient(ellipse 60% 60% at 88% 34%,  #2358d0 0, rgba(35,88,208,0) 70%),
    radial-gradient(ellipse 70% 55% at 0% 80%,   #0f2f92 0, rgba(15,47,146,0) 72%),
    radial-gradient(ellipse 65% 50% at 92% 100%, #071a5c 0, rgba(7,26,92,0) 72%),
    #123a9c;
}
/* Deep: the posts' brightness(.6) version */
.fx-mesh--deep {
  background:
    radial-gradient(ellipse 70% 55% at 12% 8%,   #193980 0, rgba(25,57,128,0) 70%),
    radial-gradient(ellipse 60% 60% at 88% 34%,  #15357d 0, rgba(21,53,125,0) 70%),
    radial-gradient(ellipse 70% 55% at 0% 80%,   #091c58 0, rgba(9,28,88,0) 72%),
    radial-gradient(ellipse 65% 50% at 92% 100%, #041037 0, rgba(4,16,55,0) 72%),
    #0b225e;
}

/* Soft edges: every blue field, glow and grain that meets a section edge fades to nothing
   before it, on an eased curve (slow start, so there is no visible first line). Without
   this, a glow whose ellipse ran past its box was cut off at the box edge, and the grain
   started abruptly at the edge, leaving a line against the next section. Depth per layer:
   --fx-fade-t (top) and --fx-fade-b (bottom), set where each layer is styled. */
:is(.fx-home-pricing, .fx-pricing-tiers) > :is(.fx-mesh, .fx-grain),
.fx-lit-header .page-header-glow,
.fx-home-feature::before,
.fx-port-feature::before,
.fx-pricing-provide::before,
.fx-contact::before,
.fx-svc-band::before,
.fx-svc-band::after {
  --fx-fade: linear-gradient(180deg,
    rgba(0,0,0,0) 0,
    rgba(0,0,0,.1) calc(var(--fx-fade-t, 18%) * .35),
    rgba(0,0,0,.42) calc(var(--fx-fade-t, 18%) * .65),
    #000 var(--fx-fade-t, 18%),
    #000 calc(100% - var(--fx-fade-b, 18%)),
    rgba(0,0,0,.42) calc(100% - var(--fx-fade-b, 18%) * .65),
    rgba(0,0,0,.1) calc(100% - var(--fx-fade-b, 18%) * .35),
    rgba(0,0,0,0) 100%);
  -webkit-mask-image: var(--fx-fade);
  mask-image: var(--fx-fade);
}

/* ── 7. BUTTONS ────────────────────────────────────────────── */
/* Modifiers for the existing .btn: sizes, padding, font and focus ring stay as they are.
   <a class="btn btn-primary fx-btn-lit">  <a class="btn btn-ghost fx-btn-glass">  */
.btn.fx-btn-lit {
  background: linear-gradient(180deg, #6aa0ff, var(--fx-blue-600));
  color: var(--bg-base, #090909);
  border-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -1px 0 rgba(6,18,42,.25), var(--fx-glow-btn);
}
.btn.fx-btn-glass {
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.03)), rgba(12,15,24,.42);
  color: var(--fx-text);
  border-color: rgba(255,255,255,.24);
  box-shadow: var(--fx-rim);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
@media (hover: hover) and (pointer: fine) {
  .btn.fx-btn-lit:hover {
    background: linear-gradient(180deg, #7eadff, #4a86f2);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -1px 0 rgba(6,18,42,.25), 0 8px 26px -6px rgba(79,142,255,.85), 0 0 0 1px rgba(110,163,255,.6);
    transform: translateY(-1px);
  }
  .btn.fx-btn-glass:hover {
    background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.05)), rgba(12,15,24,.42);
    border-color: rgba(255,255,255,.4);
  }
}
.btn.fx-btn-lit:active, .btn.fx-btn-glass:active { transform: translateY(0) scale(.98); }

/* ── 9. LIT TYPE ───────────────────────────────────────────── */
/* For large display text only (about 40px and up). Solid colour first; the gradient only
   where background-clip:text works. Inline, so each line gets its own gradient.
   fx-lit (ends #7fa9ff): page black and deep fields. On blue fields or glass over glow,
   use fx-lit--cool (ends #a9c6ff), which keeps 3:1 there. */
/* style.css sets Inter on every span (body, p, li, span...). When these are spans inside a
   heading they take the heading's font instead. Only spans: on the heading itself (an h1
   with fx-lit) "inherit" would pull in the body font. */
:where(span).fx-lit, :where(span).fx-lit--cool, :where(span).fx-tone, :where(span).fx-tone-lt { font: inherit; }
.fx-lit, .fx-lit--cool { color: var(--fx-text); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .fx-lit, .fx-lit--cool {
    background-image: linear-gradient(180deg, #fff 20%, var(--fx-blue-350));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
  }
}
@media (forced-colors: active) {
  .fx-lit, .fx-lit--cool { background: none; -webkit-text-fill-color: currentColor; color: CanvasText; }
}

/* ── 11. MOTION ────────────────────────────────────────────── */
/* Entrances (one-shot, transition-based). Hidden only under html.fx-motion until fx.js adds
   .fx-in. If fx.js never runs, a 3s failsafe shows everything. */
.fx-reveal, .fx-reveal-group > * {
  transition: opacity var(--fx-dur-reveal) var(--fx-ease), transform var(--fx-dur-reveal) var(--fx-ease);
  transition-delay: calc(var(--fx-i, 0) * var(--fx-stagger));
}
.fx-rise {
  transition: opacity 1200ms var(--fx-ease), transform var(--fx-dur-rise) var(--fx-ease);
}
.fx-motion .fx-reveal:not(.fx-in),
.fx-motion .fx-reveal-group:not(.fx-in) > * {
  opacity: 0; transform: translate3d(0, 24px, 0);
  animation: fx-failsafe 0s 3s forwards;
}
.fx-motion .fx-rise:not(.fx-in) {
  opacity: 0; transform: translate3d(0, var(--fx-rise-from, 18%), 0);
  animation: fx-failsafe 0s 3s forwards;
}
@keyframes fx-failsafe { to { opacity: 1; transform: none; } }

/* Ambient loops. Paused unless fx.js marks the element on screen (.fx-live) and the tab is
   visible. Frame 0 is the resting state, so a paused loop looks finished, not stuck. */
.fx-breathe { animation: fx-breathe var(--fx-dur-breathe) var(--fx-ease-soft) infinite paused; }
.fx-pulse   { animation: fx-pulse var(--fx-dur-pulse) var(--fx-ease-soft) infinite paused; transform-origin: var(--fx-cx, 50%) var(--fx-cy, 50%); }
.fx-motion .fx-live { animation-play-state: running; }
.fx-motion.fx-tab-hidden .fx-live { animation-play-state: paused; }
@keyframes fx-breathe {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: .78; transform: scale(1.035); }
}
@keyframes fx-pulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: .72; transform: scale(1.025); }
}

/* Reduced motion: the complete still design. Nothing hidden, nothing moving. */
@media (prefers-reduced-motion: reduce) {
  .fx-reveal, .fx-reveal-group > *, .fx-rise {
    opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important;
  }
  .fx-breathe, .fx-pulse { animation: none !important; }
  .btn.fx-btn-lit, .btn.fx-btn-glass { transition: none; }
}

/* ── 12. HOMEPAGE HERO (index.html, .hero-section.fx-hero) ─── */
/* Restyles the existing hero with the toolkit. Every selector is scoped to .fx-hero, so no
   other page is affected even though they share style.css. Copy, links, the headline's
   line breaks and hero.js's build animation are unchanged.                               */

/* Pull the hero up under the fixed 60px nav so its light runs behind the nav with no band.
   The padding below mirrors style.css's hero padding plus those 60px, so the content stays
   exactly where it was. */
.fx-hero {
  --fx-hero-pt: var(--sp-6);
  --fx-hero-edge: 32px;   /* horizon rim height at the sides, also used for the spacing */
  margin-top: -60px;
  padding-top: calc(var(--fx-hero-pt) + 60px);
  min-height: 100svh;
  background: var(--fx-k);
}
@media (min-width: 768px) { .fx-hero { --fx-hero-pt: var(--sp-12); } }
@media (max-width: 767.98px) and (max-height: 700px) { .fx-hero { --fx-hero-pt: var(--sp-3); } }
@media (max-height: 500px) and (orientation: landscape) { .fx-hero { --fx-hero-pt: var(--sp-3); min-height: 0; } }

.fx-hero .hero-grid-bg { display: none; }   /* grain and light replace the dot grid */
.fx-hero .fx-glow { --fx-x: 82%; --fx-y: 0%; --fx-size: 760px; }
.fx-hero .fx-horizon { --fx-hz-edge: var(--fx-hero-edge); }
.fx-hero .fx-grain { z-index: 1; }

/* Copy */
.fx-hero .hero-eyebrow {
  display: inline-flex;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02)), rgba(10,13,22,.66);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: var(--fx-rim);
  color: var(--fx-blue-100);
}
.fx-hero .hero-eyebrow::before { display: none; }
.fx-hero .eyebrow-dot {
  width: 8px; height: 8px;
  background: radial-gradient(circle at 35% 30%, #fff, var(--fx-blue-400) 45%, var(--fx-blue-750));
  box-shadow: 0 0 8px rgba(79,142,255,.85);
}
.fx-hero .hero-sub { color: var(--fx-text-soft); }

/* Glass chips with an orb marker (the check icon is decorative and hidden) */
.fx-hero .hero-chips li {
  gap: var(--sp-2);
  padding: 7px 14px 7px 11px;
  color: var(--fx-text-soft);
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02)), rgba(10,13,22,.66);
  border-color: rgba(255,255,255,.16);
  box-shadow: var(--fx-rim);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.fx-hero .hero-chips li .ti { display: none; }
.fx-hero .hero-chips li::before {
  content: ""; flex: none;
  width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--fx-blue-400) 45%, var(--fx-blue-750));
  box-shadow: 0 0 8px rgba(79,142,255,.85);
}

/* Below 1024 (no device graphic): room under the chips for the horizon, whose top is
   edge + 10vw above the bottom. The glow is shortened on phones. */
@media (max-width: 1023.98px) {
  .fx-hero { min-height: 0; padding-bottom: calc(var(--fx-hero-edge) + 10vw + 72px); }
  /* No entrance below 1024: the horizon is in its finished position from the first paint
     (keeps the phone Speed Index down). 1024 and up keep the one-time rise. */
  .fx-motion .fx-hero .fx-horizon.fx-rise,
  .fx-motion .fx-hero .fx-horizon.fx-rise:not(.fx-in) {
    opacity: 1; transform: none; transition: none; animation: none;
  }
}
@media (max-width: 767.98px) {
  .fx-hero .fx-horizon { --fx-hz-g: .75; }
  .fx-hero .fx-glow { --fx-size: 520px; }
}

/* 1024 and up: the lit browser and phone around hero.js's build animation */
@media (min-width: 1024px) {
  .fx-hero { padding-bottom: calc(var(--sp-12) + var(--fx-hero-edge) + 6vw); }
  .fx-hero .hero-stage { perspective: 1600px; perspective-origin: 30% 45%; }
  .fx-hero .hero-stage::after {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    left: 4%; right: 0; bottom: -9%; height: 16%;
    background: radial-gradient(closest-side, rgba(0,0,0,.55), rgba(0,0,0,.22) 55%, rgba(0,0,0,0));
  }
  .fx-hero .hb-browser {
    transform: rotateY(-9deg) rotateX(4deg);
    transform-origin: 70% 50%;
    background: #0d0e12;
    border-color: rgba(255,255,255,.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12), -2em 4em 6em rgba(3,12,50,.55), -.6em 1.2em 2em rgba(0,0,0,.4);
  }
  .fx-hero .hb-phone {
    transform: rotateY(-9deg) rotateX(4deg) translateZ(4em);
    border: .6em solid transparent;
    background:
      linear-gradient(#0b0c0f, #0b0c0f) padding-box,
      linear-gradient(135deg, #6d7078, #23252b 18%, #14151a 60%, #3b3e46) border-box;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18), -1.6em 3em 4.4em rgba(0,0,0,.6), -3em 6em 8em rgba(2,8,30,.45);
  }
  .fx-hero .hb-phone::before { background: #000; }
  /* Glare across both screens (it stays while hero.js fades the screens between loops) */
  .fx-hero .hb-browser::after,
  .fx-hero .hb-phone::after {
    content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(118deg, rgba(255,255,255,.1), rgba(255,255,255,.025) 28%, rgba(255,255,255,0) 42%);
  }
  .fx-hero .hb-topbar { background: linear-gradient(180deg, #1d1f25, #17191e); border-bottom-color: rgba(255,255,255,.06); }
  .fx-hero .hb-topbar i { background: #4a4e59; opacity: 1; }
  .fx-hero .hb-topbar u { background: #0d0e12; }
  .fx-hero .hb-heroblock,
  .fx-hero .hb-card,
  .fx-hero .hb-phero,
  .fx-hero .hb-pcard {
    background: linear-gradient(160deg, #181b22, #111318);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 0 0 1px rgba(255,255,255,.04);
  }
  /* Lit blue parts, as on the posts' screens */
  .fx-hero .hb-logo, .fx-hero .hb-pill, .fx-hero .hb-card i, .fx-hero .hb-pcard i {
    background: linear-gradient(180deg, #6aa0ff, var(--fx-blue-600));
  }
  .fx-hero .hb-btn, .fx-hero .hb-pbtn {
    background: linear-gradient(180deg, #6aa0ff, var(--fx-blue-600));
    box-shadow: 0 0 2.2em rgba(79,142,255,.65), inset 0 .12em 0 rgba(255,255,255,.45);
  }
  .fx-hero .hb-ring { border-color: var(--fx-blue-300); }
}

/* ── 13. HOMEPAGE SECTIONS (index.html, inside main.page-home) ── */
/* Everything below is scoped to .page-home, the .fx-home-* section hooks or the footer that
   follows main.page-home, so the other eight pages are untouched. Rhythm: calm reading
   sections (ticker, services, process, footer) between the lit moments (hero, featured
   project, pricing, closing call to action). No continuous animation here.              */

/* Section headings: open up the tight tracking so the words read apart, closer to the
   posts. Line breaks are checked against the Run 1 baseline at five widths. */
.page-home .section-title { letter-spacing: 0; word-spacing: 0.16em; }
.page-home .cta-title     { letter-spacing: 0; word-spacing: 0.16em; }
/* Section titles inside the sections (services, steps, project) */
.page-home .svc-row-name,
.page-home .process-title,
.page-home .home-feature-title { letter-spacing: 0.005em; word-spacing: 0.12em; }
/* Phones: the closing heading is one line at 390 with almost no spare room. It keeps the
   same open spacing and steps down slightly in size instead, so the line break holds. */
@media (max-width: 767.98px) { .page-home .cta-title { font-size: min(32px, 7.4vw); } }
/* Accent words (site-wide): a lit blue on black (both ends stay above 3:1 for this large text) */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  :is(.section-title, .page-title, .cta-title) .accent-word {
    background-image: linear-gradient(180deg, var(--fx-blue-300) 10%, var(--fx-b));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
  }
}
@media (forced-colors: active) {
  :is(.section-title, .page-title, .cta-title) .accent-word { background: none; -webkit-text-fill-color: currentColor; color: CanvasText; }
}

/* Ticker: a slim glass band under the hero's planet. Speed and behaviour unchanged. */
.page-home .ticker-outer {
  position: relative;
  padding: 12px 0;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)), rgba(10,13,22,.9);
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.06);
  box-shadow: inset 0 1px 0 rgba(143,182,255,.08);
}
.page-home .ticker-item { color: var(--fx-text-soft); font-size: 13px; }
.page-home .ticker-sep { color: var(--fx-blue-300); text-shadow: 0 0 8px rgba(79,142,255,.7); }

/* What we do: calm and black. Finer rows, lit numbers, a soft light on hover (and on
   keyboard focus, which uses the same state). */
.fx-home-services .svc-row { border-bottom-color: rgba(255,255,255,.07); isolation: isolate; }
.fx-home-services .svc-row::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  border-radius: var(--fx-r-sm);
  background: radial-gradient(ellipse 60% 120% at 0% 50%, rgba(79,142,255,.12), rgba(79,142,255,0) 70%);
  opacity: 0;
  transition: opacity 300ms var(--fx-ease);
}
.fx-home-services .svc-row:focus-within::before { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .fx-home-services .svc-row:hover::before { opacity: 1; }
}
.fx-home-services .svc-row-num { color: var(--fx-blue-300); text-shadow: 0 0 10px rgba(79,142,255,.55); }

/* Featured project: the showcase. A soft blue light behind the card, a lit frame around
   the photo (glare and a fine blue rim; the photo itself is not re-cropped) and the
   information in a solid glass panel. */
.fx-home-feature { position: relative; isolation: isolate; background: var(--fx-k); border-color: rgba(255,255,255,.06); }
.fx-home-feature::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 62% at 32% 60%, rgba(47,104,224,.42), rgba(18,53,133,.2) 42%, rgba(9,9,9,0) 72%),
    radial-gradient(ellipse 34% 40% at 80% 66%, rgba(35,88,208,.16), rgba(9,9,9,0) 70%);
}
.fx-home-feature .home-feature {
  border-color: rgba(255,255,255,.16);
  border-radius: var(--fx-r-md);
  background: var(--fx-glass-fill), var(--fx-glass-solid);
  box-shadow: var(--fx-rim), 0 0 0 1px rgba(79,142,255,.12), var(--fx-shadow-lg);
}
.fx-home-feature .home-feature::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  grid-column: 1 / 2; grid-row: 1 / 2;
  box-shadow: inset 0 0 0 1px rgba(143,182,255,.3), inset 0 1px 0 rgba(255,255,255,.35);
  background: linear-gradient(118deg, rgba(255,255,255,.1), rgba(255,255,255,.02) 30%, rgba(255,255,255,0) 45%);
}
/* The photo frame clips the hover zoom with the card's own inner curve */
.fx-home-feature .home-feature-media { border-radius: calc(var(--fx-r-md) - 1px) 0 0 calc(var(--fx-r-md) - 1px); }
@media (max-width: 768px) {
  .fx-home-feature .home-feature-media { border-radius: calc(var(--fx-r-md) - 1px) calc(var(--fx-r-md) - 1px) 0 0; }
}
.fx-home-feature .home-feature .featured-project-info {
  position: relative; z-index: 1;
  border-left: 1px solid rgba(255,255,255,.08);
}
.fx-home-feature .home-feature-copy { color: var(--fx-text-soft); }
/* Small blue labels and the link sit on the glass panel: the lighter blue keeps them above 4.5:1 */
.fx-home-feature .home-feature .pc-tag, .fx-home-feature .home-feature-link { color: var(--fx-blue-300); }
.fx-home-feature .live-badge {
  background: linear-gradient(180deg, #6aa0ff, var(--fx-blue-600));
  box-shadow: 0 0 16px rgba(79,142,255,.6), inset 0 1px 0 rgba(255,255,255,.5);
}
@media (max-width: 768px) {
  .fx-home-feature .home-feature .featured-project-info { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
}

/* How it works: lit step points joined by a line of light. The services process strip
   (.fx-svc-process, section 16) and the contact page's step list share the lit points. */
:is(.fx-home-process, .fx-svc-process) { position: relative; isolation: isolate; overflow: hidden; }
:is(.fx-home-process, .fx-svc-process) .process-step-num,
.fx-contact .process-num {
  background: linear-gradient(180deg, #6aa0ff, var(--fx-blue-600));
  color: var(--bg-base);
  box-shadow: 0 0 0 4px rgba(79,142,255,.12), 0 0 18px rgba(79,142,255,.55), inset 0 1px 0 rgba(255,255,255,.5);
}
:is(.fx-home-process, .fx-svc-process) .process-grid::before {
  height: 1px;
  background: linear-gradient(90deg, rgba(143,182,255,0), rgba(143,182,255,.7) 12%, rgba(143,182,255,.7) 88%, rgba(143,182,255,0));
  box-shadow: 0 0 8px rgba(79,142,255,.6);
  transform-origin: left center;
  transition: transform 1200ms var(--fx-ease) 200ms;
}
/* One-time draw when the grid is revealed (the site's own reveal adds .up). Hidden only when
   motion is allowed, so reduced motion and no-JS show the line complete. */
.fx-motion :is(.fx-home-process, .fx-svc-process) .process-grid:not(.up)::before { transform: scaleX(0); }

/* Pricing: the page's main blue moment. A deep mesh field that fades in and out of black
   (no straight blue edges), glass cards without live blur (cheaper on a large section),
   and the single highlighted card kept clearly lit. Text colours are re-pointed through
   the section's tokens, so the cards' inline var(--text-muted) styles follow too. */
:is(.fx-home-pricing, .fx-pricing-tiers) {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--fx-k); border-color: transparent;
  --text-muted: #c2cbe0;
  --text-secondary: var(--fx-text-soft);
  --border: rgba(255,255,255,.14);
}
/* The field and its grain share one eased fade at the top and bottom (see "Soft edges") */
:is(.fx-home-pricing, .fx-pricing-tiers) > .fx-mesh { z-index: -1; }
:is(.fx-home-pricing, .fx-pricing-tiers) > .fx-grain { z-index: -1; }
:is(.fx-home-pricing, .fx-pricing-tiers) > :is(.fx-mesh, .fx-grain) { --fx-fade-t: 220px; --fx-fade-b: 220px; }
:is(.fx-home-pricing, .fx-pricing-tiers) .section-label { color: var(--fx-blue-100); }
:is(.fx-home-pricing, .fx-pricing-tiers) .section-title .accent-word {
  background: none; -webkit-text-fill-color: currentColor; color: var(--fx-text-lt);
}
:is(.fx-home-pricing, .fx-pricing-tiers) .pricing-grid { background: rgba(143,182,255,.1); border-color: rgba(143,182,255,.16); }
/* Deep glass, as on the posts: a rich blue-black tint, a fine bright rim and a soft sheen from
   the top left. No live blur. */
:is(.fx-home-pricing, .fx-pricing-tiers) .price-card {
  background:
    radial-gradient(ellipse 85% 55% at 0% 0%, rgba(255,255,255,.085), rgba(255,255,255,0) 62%),
    linear-gradient(180deg, rgba(9,18,48,.88), rgba(4,9,28,.94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24), inset 0 0 0 1px rgba(255,255,255,.07);
}
/* The highlighted card stands out through a brighter rim and more light, not a paler fill */
:is(.fx-home-pricing, .fx-pricing-tiers) .price-card.is-active {
  background:
    radial-gradient(ellipse 90% 50% at 50% 0%, rgba(79,142,255,.3), rgba(79,142,255,0) 72%),
    radial-gradient(ellipse 85% 55% at 0% 0%, rgba(255,255,255,.1), rgba(255,255,255,0) 62%),
    linear-gradient(180deg, rgba(10,21,56,.88), rgba(4,9,28,.94));
  box-shadow: 0 0 0 1px rgba(169,198,255,.8), inset 0 1px 0 rgba(255,255,255,.55), inset 0 0 0 1px rgba(143,182,255,.22), 0 18px 50px rgba(2,6,24,.6), 0 0 36px rgba(79,142,255,.34);
}
@media (hover: hover) and (pointer: fine) {
  :is(.fx-home-pricing, .fx-pricing-tiers) .price-card.is-active:hover {
    box-shadow: 0 0 0 1px rgba(207,224,255,.9), inset 0 1px 0 rgba(255,255,255,.6), inset 0 0 0 1px rgba(143,182,255,.28), 0 26px 64px rgba(2,6,24,.65), 0 0 44px rgba(79,142,255,.4);
  }
}
:is(.fx-home-pricing, .fx-pricing-tiers) .featured-badge {
  background: linear-gradient(180deg, #6aa0ff, var(--fx-blue-600));
  box-shadow: 0 0 14px rgba(79,142,255,.55);
}
@media (max-width: 768px) {
  :is(.fx-home-pricing, .fx-pricing-tiers) .featured-badge { align-self: flex-start; border-radius: 4px; padding: 3px 10px; }
}
:is(.fx-home-pricing, .fx-pricing-tiers) .pf-icon { color: var(--fx-blue-200); }
:is(.fx-home-pricing, .fx-pricing-tiers) .price-feature.off .pf-icon { color: var(--text-muted); }
:is(.fx-home-pricing, .fx-pricing-tiers) .btn-primary {
  background: linear-gradient(180deg, #6aa0ff, var(--fx-blue-600));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), var(--fx-glow-btn);
}
:is(.fx-home-pricing, .fx-pricing-tiers) .btn-ghost {
  background: linear-gradient(135deg, rgba(255,255,255,.1), rgba(255,255,255,.03)), rgba(6,14,44,.45);
  border-color: rgba(255,255,255,.26);
  box-shadow: var(--fx-rim);
}
/* The note under the cards: the body font at a comfortable measure. Its inline style sets the
   mono font, size and colour, so these overrides need !important. Wording unchanged. */
:is(.fx-home-pricing, .fx-pricing-tiers) .pricing-grid + p {
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  line-height: 1.7;
  color: var(--fx-text-soft) !important;
  max-width: 64ch;
  margin-left: auto; margin-right: auto;
}
/* Focus stays clearly visible on blue: a white ring instead of the brand blue */
:is(.fx-home-pricing, .fx-pricing-tiers) .btn:focus-visible { outline-color: #fff; }

/* Closing call to action: a smaller, subtler horizon as a bookend to the hero. The planet
   is page black, so it meets the footer seamlessly. */
:is(.fx-home-cta, .fx-pricing-cta, .fx-services-cta, .fx-portfolio-cta) {
  isolation: isolate;
  background: var(--fx-k);
  border-bottom-color: transparent;
  padding-bottom: calc(24px + 10vw + 88px);
}
:is(.fx-home-cta, .fx-pricing-cta, .fx-services-cta, .fx-portfolio-cta)::before { display: none; }
:is(.fx-home-cta, .fx-pricing-cta, .fx-services-cta, .fx-portfolio-cta) .fx-horizon { --fx-hz-edge: 24px; --fx-hz-g: .8; z-index: -1; }
:is(.fx-home-cta, .fx-pricing-cta, .fx-services-cta, .fx-portfolio-cta) .fx-grain { z-index: -1; }
:is(.fx-home-cta, .fx-pricing-cta, .fx-services-cta, .fx-portfolio-cta) .cta-sub { color: var(--fx-text-soft); }

/* Footer (site-wide): calm, with a fine lit top edge and a very faint light under it */
.footer {
  position: relative;
  border-top-color: transparent;
  background: radial-gradient(ellipse 50% 140px at 50% 0, rgba(79,142,255,.06), rgba(9,9,9,0)), var(--bg-base);
}
.footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, rgba(143,182,255,0), rgba(143,182,255,.32) 30%, rgba(143,182,255,.32) 70%, rgba(143,182,255,0));
}

/* Logo links (nav and footer), site-wide: the same 2px ring as every other link */
.logo:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }

/* ── 14. SHARED SITE STYLES (every page that links fx.css) ─── */
/* Open heading spacing, as on the homepage: display headings lose their tight negative
   tracking. Mono label headings (.service-sub) keep their wide tracking. The homepage's
   own scoped rules resolve to the same values, so it is unchanged. Line breaks are
   checked against Run 1 on every page at five widths. */
:where(main) :is(h1, h2):not(.hero-headline, .visually-hidden, .service-detail-headline) { letter-spacing: 0; word-spacing: 0.16em; }
:where(main) :is(h3, h4):not(.service-sub, .how-card > h3) { letter-spacing: 0.005em; word-spacing: 0.12em; }
/* Where a heading has no spare room, it keeps its original tracking so every line break holds
   (measured against Run 1 on all pages at 390, 768, 1024, 1440 and 1920). Excluded above at
   every width: the services detail headlines and the portfolio how-we-work card headings. */
@media (max-width: 767.98px) {
  /* Phone page titles (Run 7): open spacing, as on the homepage, with balanced lines so no title
     ends on one word. Where a line has no room the title takes one more line, exactly as it
     already does on narrower phones (contact at 390 to about 420, services at about 560 to 680). */
  main .page-title { letter-spacing: 0; word-spacing: 0.16em; text-wrap: balance; }
  main h3.process-title { letter-spacing: -0.01em; word-spacing: 0; }
  main h3.faq-q { letter-spacing: -0.01em; word-spacing: 0.06em; }
  /* as on the homepage: the one-line closing heading steps down slightly instead */
  main .cta-title { font-size: min(32px, 7.4vw); }
}
@media (min-width: 1024px) and (max-width: 1199.98px) {
  main .section-title { letter-spacing: -0.03em; word-spacing: 0; }
}

/* Page headers (services, pricing, portfolio, contact, start): a restrained light field.
   It is centred inside the header and fades to nothing before the top, bottom and left
   edges, so there is no hard edge against the nav or the next section. Height and layout
   are unchanged (the glow layer is absolute). Legal pages and the 404 keep the original. */
.fx-lit-header .page-header-glow {
  inset: 0; top: 0; right: 0;
  width: auto; max-width: none; aspect-ratio: auto;
  background:
    radial-gradient(ellipse 44% 78% at 84% 54%, rgba(47,104,224,.24), rgba(18,53,133,.11) 45%, rgba(9,9,9,0) 74%),
    radial-gradient(ellipse 26% 50% at 62% 70%, rgba(35,88,208,.07), rgba(9,9,9,0) 70%);
  /* The ellipse runs past the header's bottom edge; fade it out before the hairline */
  --fx-fade-t: 28%; --fx-fade-b: 48%;
}

/* Services side tabs (.service-rail-item, 769px and up) had no focus style of their own and fell
   back to the browser's thin default ring; they now get the site's 2px ring, as the phone picker
   (.service-picker-item) already had. */
.service-rail-item:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
/* Plain text links inside page content (no class of their own, e.g. the contact page's email and
   privacy links) also fell back to the browser default; same 2px ring as every other link. */
:where(main) a:not([class]):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

/* ── 15. PRICING PAGE (pricing.html) ───────────────────────── */
/* Tier cards, the blue field, the note and the closing call to action reuse the homepage
   rules above (:is(.fx-home-pricing, .fx-pricing-tiers) and the CTA equivalent). Only the
   page-specific parts are here. The blue field appears once, behind the tiers. */

/* The tiers sit near the top of their section (its heading is visually hidden), so the
   field fades in faster at the top than on the homepage. */
.fx-pricing-tiers > :is(.fx-mesh, .fx-grain) { --fx-fade-t: 160px; --fx-fade-b: 220px; }

/* Guarantee strip: slim deep glass. Fine separators between the items only where all four
   sit on one line (1200px and up); below that the strip wraps exactly as before. */
.fx-pricing-tiers .guarantee-strip {
  padding: 14px 20px;
  background:
    radial-gradient(ellipse 70% 140% at 0% 0%, rgba(255,255,255,.06), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, rgba(9,18,48,.88), rgba(4,9,28,.94));
  border-color: rgba(143,182,255,.18);
  border-radius: var(--fx-r-md);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
}
.fx-pricing-tiers .guarantee-item { color: var(--fx-text-soft); }
.fx-pricing-tiers .guarantee-item i { color: var(--fx-blue-200); }
@media (min-width: 1200px) {
  .fx-pricing-tiers .guarantee-strip { gap: 0; }
  .fx-pricing-tiers .guarantee-item { padding: 2px 16px; }
  .fx-pricing-tiers .guarantee-item:first-child { padding-left: 0; }
  .fx-pricing-tiers .guarantee-item:last-child { padding-right: 0; }
  .fx-pricing-tiers .guarantee-item + .guarantee-item { border-left: 1px solid rgba(255,255,255,.12); }
}

/* Add-ons: calm and black. Finer rows, strong prices, a soft light on the row under the
   pointer. The rows hold no links or buttons, so there is no keyboard focus to show. */
.fx-pricing-addons { background: var(--fx-k); border-color: rgba(255,255,255,.06); }
.fx-pricing-addons .addon-list { border-top-color: rgba(255,255,255,.08); }
.fx-pricing-addons .addon-row { position: relative; isolation: isolate; border-bottom-color: rgba(255,255,255,.08); }
.fx-pricing-addons .addon-row::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 50% 130% at 0% 50%, rgba(79,142,255,.11), rgba(79,142,255,0) 70%);
  opacity: 0;
  transition: opacity 300ms var(--fx-ease);
}
.fx-pricing-addons .addon-row:focus-within::before { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .fx-pricing-addons .addon-row:hover::before { opacity: 1; }
}
.fx-pricing-addons .addon-price { letter-spacing: 0; }

/* What you provide: dark solid glass panels (no live blur; it looks the same here) over a
   soft light behind the grid. */
.fx-pricing-provide { position: relative; isolation: isolate; }
.fx-pricing-provide::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 48% 42% at 50% 68%, rgba(47,104,224,.2), rgba(18,53,133,.09) 45%, rgba(9,9,9,0) 72%);
}
/* The four items use the site's near-black deep glass card, the same surface as the
   portfolio "Example scope" cards (.fx-port-build .build-card--example) and the services
   panels: blue light in the top-right corner, a faint sheen top left, a #0e1015 to #0a0b0e
   fill, a 9% white hairline, the 16px radius, an inset top rim, the medium shadow and a fine
   lit line along the top edge. Padding is the example cards' 24px (unchanged). */
.fx-pricing-provide .provide-item {
  position: relative;
  background:
    radial-gradient(ellipse 50% 42% at 100% 0%, rgba(47,104,224,.12), rgba(47,104,224,0) 70%),
    radial-gradient(ellipse 80% 45% at 0% 0%, rgba(255,255,255,.035), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, #0e1015, #0a0b0e);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--fx-r-md);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), var(--fx-shadow-md);
}
.fx-pricing-provide .provide-item::before {
  content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, rgba(143,182,255,0), rgba(143,182,255,.45) 50%, rgba(143,182,255,0));
}
.fx-pricing-provide .provide-item p { color: var(--fx-text-soft); }
@media (hover: hover) and (pointer: fine) {
  /* As the example cards: only the hairline brightens (the base rule's flat hover fill is not used) */
  .fx-pricing-provide .provide-item:hover {
    background:
      radial-gradient(ellipse 50% 42% at 100% 0%, rgba(47,104,224,.12), rgba(47,104,224,0) 70%),
      radial-gradient(ellipse 80% 45% at 0% 0%, rgba(255,255,255,.035), rgba(255,255,255,0) 60%),
      linear-gradient(180deg, #0e1015, #0a0b0e);
    border-color: rgba(255,255,255,.16);
  }
}

/* FAQ: finer rows and a clear open state (a lit line beside the open question and a lit
   chevron). details/summary, the keyboard behaviour and the layout are unchanged. */
.fx-pricing-faq { background: var(--fx-k); border-color: rgba(255,255,255,.06); }
.fx-pricing-faq .faq-list { border-top-color: rgba(255,255,255,.08); }
.fx-pricing-faq .faq-item { position: relative; border-bottom-color: rgba(255,255,255,.08); }
.fx-pricing-faq .faq-item::before {
  content: ""; position: absolute; left: -14px; top: 18px; bottom: 18px; width: 2px; pointer-events: none;
  border-radius: 1px;
  background: linear-gradient(180deg, var(--fx-blue-300), var(--fx-b));
  box-shadow: 0 0 10px rgba(79,142,255,.6);
  opacity: 0;
  transition: opacity 200ms var(--fx-ease);
}
.fx-pricing-faq .faq-item[open]::before { opacity: 1; }
.fx-pricing-faq .faq-item[open] .faq-chevron { color: var(--fx-blue-300); filter: drop-shadow(0 0 6px rgba(79,142,255,.6)); }
.fx-pricing-faq .faq-a p { color: var(--fx-text-soft); }
@media (max-width: 767.98px) {
  .fx-pricing-faq .faq-item::before { left: -10px; }
}
@media (prefers-reduced-motion: reduce) {
  .fx-pricing-addons .addon-row::before, .fx-pricing-faq .faq-item::before { transition: none; }
}

/* ── 16. SERVICES PAGE (services.html) ─────────────────────── */
/* Scoped to the directory section (.fx-svc-directory) and the closing call to action
   (.fx-services-cta, which shares the homepage bookend above). Calm reading page: near-black
   deep glass panels, one small decorative graphic per service, no continuous animation. */
.fx-svc-directory { --svc-text: #b9bdc7; }

/* Service rail (769px and up): refined dark glass, a fine line of light along its top edge,
   and a lit line beside the active service. Sticky positioning and behaviour unchanged. */
.fx-svc-directory .service-rail {
  background:
    radial-gradient(ellipse 120% 60% at 0% 0%, rgba(255,255,255,.05), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, #12141a, #0b0c10);
  border-color: rgba(255,255,255,.1);
  border-radius: var(--fx-r-md);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), var(--fx-shadow-sm);
}
.fx-svc-directory .service-rail::after {
  content: ""; position: absolute; left: 14%; right: 14%; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, rgba(143,182,255,0), rgba(143,182,255,.55), rgba(143,182,255,0));
}
.fx-svc-directory .service-rail-item { position: relative; border-bottom-color: rgba(255,255,255,.06); }
/* The lit line runs the full height of the tab. It is drawn as the left border of a layer that
   fills the tab, so on the first and last tabs it bends round the rail's rounded corner (the
   rail's inner radius) instead of stopping short of it. */
.fx-svc-directory .service-rail-item::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-left: 2px solid var(--fx-blue-300);
  filter: drop-shadow(0 0 5px rgba(79,142,255,.7));
  opacity: 0;
  transition: opacity 250ms var(--fx-ease);
}
.fx-svc-directory .service-rail-item:first-child::before { border-top-left-radius: calc(var(--fx-r-md) - 1px); }
.fx-svc-directory .service-rail-item:last-child::before { border-bottom-left-radius: calc(var(--fx-r-md) - 1px); }
@media (hover: hover) and (pointer: fine) {
  .fx-svc-directory .service-rail-item:hover { background: rgba(255,255,255,.04); color: var(--fx-text); }
}
.fx-svc-directory .service-rail-item.active {
  background: linear-gradient(90deg, rgba(79,142,255,.18), rgba(79,142,255,.05) 70%, rgba(79,142,255,0));
  color: var(--fx-blue-100);
  border-left: 0;
  box-shadow: none;
}
.fx-svc-directory .service-rail-item.active::before { opacity: 1; }
.fx-svc-directory .service-rail-item.active .rail-num { color: var(--fx-blue-300); text-shadow: 0 0 10px rgba(79,142,255,.55); }

/* Mobile service picker (768px and below): the rail's glass and active state. Behaviour unchanged. */
@media (max-width: 768px) {
  .fx-svc-directory .service-picker {
    background: linear-gradient(180deg, #13151b, #0c0d11);
    border-top-color: rgba(255,255,255,.08);
    border-bottom-color: rgba(255,255,255,.1);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 10px 22px -14px rgba(0,0,0,.9);
  }
  .fx-svc-directory .service-picker::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none;
    background: linear-gradient(90deg, rgba(143,182,255,0), rgba(143,182,255,.45) 30%, rgba(143,182,255,.45) 70%, rgba(143,182,255,0));
  }
  .fx-svc-directory .service-picker.open .service-picker-trigger { background: rgba(255,255,255,.04); }
  .fx-svc-directory .service-picker-trigger .service-picker-num { color: var(--fx-blue-300); text-shadow: 0 0 10px rgba(79,142,255,.55); }
  .fx-svc-directory .service-picker-list {
    background: linear-gradient(180deg, #111318, #0b0c10);
    border-bottom-color: rgba(255,255,255,.1);
  }
  .fx-svc-directory .service-picker-item.active {
    background: linear-gradient(90deg, rgba(79,142,255,.18), rgba(79,142,255,.05) 70%, rgba(79,142,255,0));
    color: var(--fx-blue-100);
    box-shadow: inset 2px 0 0 var(--fx-blue-300);
  }
  .fx-svc-directory .service-picker-item.active .service-picker-num { color: var(--fx-blue-300); opacity: 1; }
}
@media (max-width: 768px) and (hover: hover) and (pointer: fine) {
  .fx-svc-directory .service-picker-trigger:hover,
  .fx-svc-directory .service-picker-item:hover { background: rgba(255,255,255,.04); }
}

/* Service panels: deep glass on near-black instead of the flat blue-tinted boxes. One light
   in the top-right corner (behind the graphic), a lit top rim and a short lit line down the
   left edge, drawn once as the panel scrolls in (the existing one-shot transition). */
.fx-svc-directory .service-detail-col { gap: var(--sp-6); }
.fx-svc-directory .service-detail-panel {
  container: svcpanel / inline-size;
  background:
    radial-gradient(ellipse 46% 60% at 100% 0%, rgba(47,104,224,.13), rgba(47,104,224,0) 70%),
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(255,255,255,.035), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, #0e1015, #0a0b0e);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--fx-r-md);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), var(--fx-shadow-md);
}
@media (hover: hover) and (pointer: fine) {
  .fx-svc-directory .service-detail-panel:hover {
    border-color: rgba(255,255,255,.16);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.16), var(--fx-shadow-md);
  }
}
.fx-svc-directory .service-detail-panel::after {
  content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, rgba(143,182,255,0), rgba(143,182,255,.4) 50%, rgba(143,182,255,0));
}
/* The lit line follows the panel's top-left curve: it is the left and top border of a layer
   with the panel's inner radius, so it bends round the corner and runs a short way along the
   top before fading out. Two masks, intersected: one fades it down the left edge (as before),
   one fades the top run out within 72px. Drawn once on scroll-in, as before. */
.fx-svc-directory .service-detail-panel::before {
  top: 0; left: 0; right: 0; width: auto;
  background: none; box-shadow: none;
  border: 0 solid var(--fx-blue-200);
  border-width: 1px 0 0 1px;
  border-top-left-radius: calc(var(--fx-r-md) - 1px);
  filter: drop-shadow(0 0 3px rgba(79,142,255,.9)) drop-shadow(0 0 8px rgba(79,142,255,.45));
  -webkit-mask-image:
    linear-gradient(180deg, #000 0, rgba(0,0,0,.4) 45%, rgba(0,0,0,0) 100%),
    linear-gradient(90deg, #000 0, #000 var(--fx-r-md), rgba(0,0,0,0) 72px);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(180deg, #000 0, rgba(0,0,0,.4) 45%, rgba(0,0,0,0) 100%),
    linear-gradient(90deg, #000 0, #000 var(--fx-r-md), rgba(0,0,0,0) 72px);
  mask-composite: intersect;
  opacity: 0;
  transition: height 0.8s var(--fx-ease), opacity 0.3s var(--fx-ease);
}
.fx-svc-directory .service-detail-panel.in-view::before { height: 55%; opacity: 1; }

/* Header: open heading spacing, as on the homepage. Balanced lines, so a headline never ends
   on one word alone (these are the only headings whose line breaks may change). */
.fx-svc-directory .service-detail-headline { letter-spacing: 0; word-spacing: .16em; text-wrap: balance; }
.fx-svc-directory .service-detail-headline::after {
  background: linear-gradient(90deg, var(--fx-blue-300), var(--fx-b));
  box-shadow: 0 0 10px rgba(79,142,255,.55);
}
.fx-svc-directory .service-label-line { background: linear-gradient(90deg, var(--fx-blue-200), var(--fx-b)); box-shadow: 0 0 8px rgba(79,142,255,.6); }
.fx-svc-directory .service-label-text { color: var(--fx-blue-300); }
.fx-svc-directory .service-detail-panel .service-detail-body { color: var(--svc-text); }
.fx-svc-directory .service-sub { color: var(--svc-text); }

/* How it's built: no box around the list; finer dividers and a little more air per row */
.fx-svc-directory .spec-list { border: 0; border-radius: 0; background: none; }
.fx-svc-directory .spec-numbered .spec-row { padding: 18px 0; }
.fx-svc-directory .spec-numbered .spec-row:first-child { padding-top: 4px; }
.fx-svc-directory .spec-row + .spec-row { border-top-color: rgba(255,255,255,.06); }
.fx-svc-directory .spec-num { color: var(--fx-blue-300); text-shadow: 0 0 10px rgba(79,142,255,.5); }
.fx-svc-directory .spec-term { color: var(--fx-blue-200); }
.fx-svc-directory .spec-benefit { color: var(--svc-text); }

/* What you receive: the site's lit orb marker. What we need from you: a lit ring, so the two
   lists stay distinct. A little more space between items. */
.fx-svc-directory :is(.service-features, .service-needs) { gap: 10px; }
.fx-svc-directory :is(.service-features, .service-needs) li { color: var(--svc-text); }
.fx-svc-directory :is(.service-features, .service-needs) li strong { color: var(--fx-text); }
.fx-svc-directory :is(.service-features, .service-needs) li::before {
  -webkit-mask: none; mask: none;
  left: 4px; top: 6px; width: 8px; height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--fx-blue-400) 45%, var(--fx-blue-750));
  box-shadow: 0 0 8px rgba(79,142,255,.8);
}
.fx-svc-directory .service-needs li::before {
  background: none;
  border: 1.5px solid var(--fx-blue-300);
  box-shadow: 0 0 6px rgba(79,142,255,.5);
}

/* One decorative graphic per service, in the header space that is already empty. Sized by the
   panel's own width: large beside the headline where there is room (about 1280px and up),
   medium at 768 and 1100 to 1279, small at the end of the label row elsewhere, hidden on very
   narrow phones. It never overlaps text and never changes layout (absolute, aria-hidden). */
.fx-svc-directory .svc-art { display: none; position: absolute; z-index: 0; pointer-events: none; }
.fx-svc-directory .svc-art svg { display: block; width: 100%; height: 100%; }
@container svcpanel (min-width: 290px) {
  .fx-svc-directory .svc-art { display: block; width: 62px; height: 40px; right: 48px; top: 37px; }
  @media (max-width: 768px) {
    .fx-svc-directory .svc-art { right: 24px; top: 21px; }
  }
}
@container svcpanel (min-width: 640px) {
  .fx-svc-directory .svc-art { width: 96px; height: 62px; right: 16px; top: 20px; }
}
/* About 1280px and up: 40% larger (150 to 210px wide) and a little brighter. It sits closer to
   the panel's right edge so it stays clear of the longest headline line; the drawn shapes are
   inset inside the graphic, so they keep about 20px from the edge. */
@container svcpanel (min-width: 700px) {
  .fx-svc-directory .svc-art { width: 210px; height: 137px; right: 4px; top: 12px; filter: brightness(1.2); }
}

/* Jumps from the rail, the picker or a footer link: a panel that has not faded in yet still sits
   16px lower (the site's .reveal offset), so the browser used to stop 16px short and the panel
   then rose above its mark. While it waits to reveal, it gets 16px more scroll margin, so every
   service lands where service 1 does. Reduced motion has no offset, so no change there. */
@media (prefers-reduced-motion: no-preference) {
  .fx-svc-directory .service-detail-panel.reveal:not(.up) { scroll-margin-top: calc(61px + var(--sp-4) + 16px); }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 768px) {
  .fx-svc-directory .service-detail-panel.reveal:not(.up) { scroll-margin-top: calc(61px + 52px + var(--sp-4) + 16px); }
}

/* Statement band: the page's one blue moment. The flat bright blue is replaced by the toolkit's
   deep blue field with a soft light behind the line, faded to black at the top and bottom so the
   band has no hard edges against the sections either side. The old sheen sweep is removed: on
   the deeper field it added nothing, and the band now has no animation at all. White text on the
   brightest point of the field is about 7:1. */
.fx-svc-band {
  isolation: isolate;
  background: transparent; border: 0;   /* the page background shows through, as on the homepage */
  padding: clamp(120px, 13vw, 184px) 0;
}
.fx-svc-band::before {
  z-index: -1;
  background:
    radial-gradient(ellipse 44% 60% at 50% 50%, rgba(79,142,255,.42) 0, rgba(47,104,224,.2) 45%, rgba(47,104,224,0) 75%),
    radial-gradient(ellipse 70% 60% at 10% 35%, #193980 0, rgba(25,57,128,0) 70%),
    radial-gradient(ellipse 60% 60% at 90% 65%, #15357d 0, rgba(21,53,125,0) 70%),
    #0b225e;
  --fx-fade-t: 34%; --fx-fade-b: 34%;   /* eased fade: see "Soft edges" */
}
.fx-svc-band::after {   /* was the sheen; now a still grain over the field */
  z-index: -1; inset: 0; left: 0; width: auto;
  animation: none;
  background: url("fx/grain.png") 0 0 / 160px 160px repeat;
  opacity: .12;
  --fx-fade-t: 34%; --fx-fade-b: 34%;
}
/* A short line of light over the statement, and the homepage's open heading spacing */
.fx-svc-band .container::before {
  content: ""; display: block; width: 96px; height: 1px; margin: 0 auto var(--sp-8);
  background: linear-gradient(90deg, rgba(143,182,255,0), var(--fx-blue-100), rgba(143,182,255,0));
  box-shadow: 0 0 10px rgba(79,142,255,.7);
}
.fx-svc-band .blue-band-text { letter-spacing: 0; word-spacing: .16em; line-height: 1.2; }

/* Process strip: the homepage's How it works treatment (lit points and line of light are the
   shared rules in section 13). The page background (near-black, as on the homepage), no top rule, and the homepage's heading spacing. */
.fx-svc-process { background: transparent; border-top: 0; }   /* the page background, as the homepage process */
.fx-svc-process .section-title { letter-spacing: 0; word-spacing: .16em; }
.fx-svc-process .process-title { letter-spacing: .005em; word-spacing: .12em; }

/* Closing call to action: the smaller horizon bookend (shared rules in section 13) */

@media (prefers-reduced-motion: reduce) {
  .fx-svc-directory .service-rail-item::before { transition: none; }
}

/* ── 17. PORTFOLIO PAGE (portfolio.html) ───────────────────── */
/* Scoped to the section hooks .fx-port-feature (EHthree), .fx-port-build (sample scopes),
   .fx-port-how (how we work) and .fx-portfolio-cta (shares the bookend in section 13).
   The EHthree card is the page's one lit moment; everything after it stays calm and dark.
   Layouts, the EHthree image box and its crop are unchanged. No continuous animation. */
:is(.fx-port-feature, .fx-port-build, .fx-port-how) { --port-text: #b9bdc7; }

/* EHthree: soft blue light behind the card, a lit frame on the photo and deep glass for the
   information, as on the homepage's featured project. */
.fx-port-feature { position: relative; isolation: isolate; background: var(--fx-k); }
.fx-port-feature::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 58% 58% at 34% 52%, rgba(47,104,224,.36), rgba(18,53,133,.17) 42%, rgba(9,9,9,0) 72%),
    radial-gradient(ellipse 32% 40% at 82% 60%, rgba(35,88,208,.14), rgba(9,9,9,0) 70%);
}
.fx-port-feature .featured-project {
  border-color: rgba(255,255,255,.16);
  border-radius: var(--fx-r-md);
  background:
    radial-gradient(ellipse 70% 45% at 100% 0%, rgba(255,255,255,.06), rgba(255,255,255,0) 62%),
    linear-gradient(180deg, rgba(9,18,48,.92), rgba(4,9,28,.96));
  box-shadow: var(--fx-rim), 0 0 0 1px rgba(79,142,255,.12), var(--fx-shadow-lg);
}
@media (hover: hover) and (pointer: fine) {
  .fx-port-feature .featured-project:hover { border-color: rgba(255,255,255,.24); }
}
/* Lit frame and a faint sheen over the photo's grid cell only (the photo box is untouched) */
.fx-port-feature .featured-project::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  grid-column: 1 / 2; grid-row: 1 / 2;
  box-shadow: inset 0 0 0 1px rgba(143,182,255,.3), inset 0 1px 0 rgba(255,255,255,.35);
  background: linear-gradient(118deg, rgba(255,255,255,.1), rgba(255,255,255,.02) 30%, rgba(255,255,255,0) 45%);
}
.fx-port-feature .featured-project-info { position: relative; z-index: 1; border-left: 1px solid rgba(255,255,255,.08); }
@media (max-width: 768px) {
  .fx-port-feature .featured-project-info { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
}
.fx-port-feature .live-badge {
  background: linear-gradient(180deg, #6aa0ff, var(--fx-blue-600));
  box-shadow: 0 0 16px rgba(79,142,255,.6), inset 0 1px 0 rgba(255,255,255,.5);
}

/* Details: one quiet hierarchy. A lit label instead of a boxed tag, lit blue subheadings,
   soft secondary text, the lit orb list marker and tags as plain mono words with a lit dot. */
.fx-port-feature .featured-project-info > .tag {
  background: none; border: 0; padding: 0;
  color: var(--fx-blue-200);
}
.fx-port-feature .featured-project-info > .tag::before,
.fx-port-feature .card-tags .tag::before {
  content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--fx-blue-400) 45%, var(--fx-blue-750));
  box-shadow: 0 0 8px rgba(79,142,255,.8);
}
.fx-port-feature .card-tags { gap: var(--sp-2) var(--sp-6); }
.fx-port-feature .card-tags .tag {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  background: none; border: 0; padding: 0;
  color: var(--fx-text-soft);
}
.fx-port-feature .card-tags .tag::before { width: 5px; height: 5px; box-shadow: 0 0 6px rgba(79,142,255,.7); }
.fx-port-feature .build-card-eyebrow { color: var(--port-text); }
.fx-port-feature .service-sub { color: var(--fx-blue-300); }
.fx-port-feature .tagline { color: var(--port-text); }
.fx-port-feature .build-tier { color: var(--fx-blue-200); }
.fx-port-feature .build-card-divider,
.fx-port-build .build-card-divider { background: linear-gradient(90deg, rgba(143,182,255,.32), rgba(143,182,255,.06) 70%, rgba(143,182,255,0)); }

/* List markers on both the EHthree card and the sample cards: the services page's lit orb */
:is(.fx-port-feature, .fx-port-build) .service-features { gap: 10px; }
:is(.fx-port-feature, .fx-port-build) .service-features li { color: var(--port-text); }
:is(.fx-port-feature, .fx-port-build) .service-features li::before {
  -webkit-mask: none; mask: none;
  left: 4px; top: 6px; width: 8px; height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--fx-blue-400) 45%, var(--fx-blue-750));
  box-shadow: 0 0 8px rgba(79,142,255,.8);
}

/* Sample scopes: near-black deep glass cards with a lit top edge, still clearly labelled
   "Example scope". The section itself drops to page black. */
.fx-port-build { background: var(--fx-k); border-color: rgba(255,255,255,.06); }
.fx-port-build .build-card--example {
  container: samplecard / inline-size;
  background:
    radial-gradient(ellipse 50% 42% at 100% 0%, rgba(47,104,224,.12), rgba(47,104,224,0) 70%),
    radial-gradient(ellipse 80% 45% at 0% 0%, rgba(255,255,255,.035), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, #0e1015, #0a0b0e);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--fx-r-md);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), var(--fx-shadow-md);
}
.fx-port-build .build-card--example::before {
  content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, rgba(143,182,255,0), rgba(143,182,255,.45) 50%, rgba(143,182,255,0));
}
@media (hover: hover) and (pointer: fine) {
  .fx-port-build .build-card--example:hover { border-color: rgba(255,255,255,.16); }
}
.fx-port-build .build-card--example .tag {
  background: rgba(255,255,255,.04);
  border-color: rgba(143,182,255,.28);
  border-radius: 999px;
  color: var(--fx-blue-100);
}
.fx-port-build .build-card-content h3:not(.service-sub) { letter-spacing: 0; word-spacing: .16em; text-wrap: balance; }
.fx-port-build .build-card-eyebrow,
.fx-port-build .service-sub,
.fx-port-build .tagline { color: var(--port-text); }
.fx-port-build .build-tier { color: var(--fx-blue-200); }
.fx-port-build .text-link { color: var(--fx-blue-300); }
@media (hover: hover) and (pointer: fine) {
  .fx-port-build .text-link:hover { color: var(--fx-blue-200); }
}

/* One small decorative graphic per sample, top right in the header space beside the label and
   heading. Sized by the card's own width; hidden on the narrowest phones. Never over text. */
.fx-port-build .port-art { display: none; position: absolute; z-index: 0; pointer-events: none; }
.fx-port-build .port-art svg { display: block; width: 100%; height: 100%; }
@container samplecard (min-width: 300px) {
  .fx-port-build .port-art { display: block; width: 64px; height: 42px; right: 20px; top: 20px; }
}
@container samplecard (min-width: 440px) {
  .fx-port-build .port-art { width: 112px; height: 73px; right: 20px; top: 16px; }
}

/* Built to a standard: one calm dark section. Open rows instead of boxes, each under a fine
   lit line, with a lit step number. Card headings take the open spacing (balanced lines). */
.fx-port-how { background: var(--fx-k); }
.fx-port-how .how-grid { gap: var(--sp-12) var(--sp-12); }
.fx-port-how .how-card {
  position: relative;
  background: none; border: 0; border-radius: 0;
  padding: var(--sp-8) 0 0;
}
.fx-port-how .how-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, rgba(143,182,255,.5), rgba(143,182,255,.08) 70%, rgba(143,182,255,0));
}
.fx-port-how .how-num { color: var(--fx-blue-300); text-shadow: 0 0 10px rgba(79,142,255,.55); }
.fx-port-how .how-card h3 { letter-spacing: 0; word-spacing: .16em; text-wrap: balance; }
.fx-port-how .how-card p { color: var(--port-text); }
@media (max-width: 720px) {
  .fx-port-how .how-grid { gap: var(--sp-8); }
  .fx-port-how .how-card { padding: var(--sp-6) 0 0; }
}

/* ── 18. FORMS: CONTACT (contact.html) AND PROJECT BRIEF (start.html) ── */
/* Scoped to .fx-contact (the contact form section), .fx-intake (the brief form section) and
   .fx-intake-head (the brief page header, which holds the progress). Readability first: dark,
   clearly bordered fields (borders and focus rings at 3:1 or more against their surroundings),
   16px inputs on phones, no live blur, every gradient over a solid fallback colour. The scripts
   set some inline styles (red error borders, error text); the few rules that must beat them
   use !important. No new continuous animation (the existing sending spinner is unchanged). */
:is(.fx-contact, .fx-intake) {
  --fm-field: #070910;          /* field fill, darker than every surface it sits on */
  --fm-line: #5d6a88;           /* field border: 3:1 or more against the field and the panel */
  --fm-line-hi: #7d8bab;        /* hover */
  --fm-focus: #8fb6ff;          /* focus border and ring */
  --fm-label: #c9d0dd;
  --fm-text-2: #b9bdc7;
  --fm-err: #ff8f8f;            /* error text and border, 4.5:1 or more on every surface here */
  position: relative; isolation: isolate;
  background: var(--fx-k);
}

/* Contact: the form panel is the focus. Deep glass (no blur) over a soft light. */
.fx-contact::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 46% 60% at 70% 42%, rgba(47,104,224,.28), rgba(18,53,133,.13) 45%, rgba(9,9,9,0) 72%);
}
@media (max-width: 768px) {
  .fx-contact::before { background: radial-gradient(ellipse 90% 40% at 50% 26%, rgba(47,104,224,.26), rgba(18,53,133,.12) 45%, rgba(9,9,9,0) 72%); }
}
.fx-contact .form-card {
  background-color: #070f26;
  background-image:
    radial-gradient(ellipse 80% 40% at 0% 0%, rgba(255,255,255,.07), rgba(255,255,255,0) 62%),
    linear-gradient(180deg, rgba(9,18,48,.94), rgba(4,9,28,.97));
  border-color: rgba(143,182,255,.22);
  border-radius: var(--fx-r-md);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 0 0 1px rgba(79,142,255,.1), var(--fx-shadow-lg);
}

/* Fields (both pages) */
:is(.fx-contact, .fx-intake) .form-group label { color: var(--fm-label); }
:is(.fx-contact, .fx-intake) .form-group :is(input, select, textarea) {
  background-color: var(--fm-field);
  border-color: var(--fm-line);
  border-radius: 8px;
  font-size: 15px;
  color: var(--fx-text);
  caret-color: var(--fm-focus);
  transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
}
@media (max-width: 768px) {
  /* 16px stops iOS zooming into a field when it is tapped */
  :is(.fx-contact, .fx-intake) .form-group :is(input, select, textarea) { font-size: 16px; }
}
:is(.fx-contact, .fx-intake) .form-group :is(input, textarea)::placeholder { color: #8f97a8; opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  :is(.fx-contact, .fx-intake) .form-group :is(input, select, textarea):hover { border-color: var(--fm-line-hi); }
}
:is(.fx-contact, .fx-intake) .form-group :is(input, select, textarea):focus {
  outline: none;
  background-color: #0a0e19;
  border-color: var(--fm-focus);
  box-shadow: 0 0 0 1px var(--fm-focus), 0 0 0 4px rgba(79,142,255,.22);
}
/* Selects: appearance is off, so draw the chevron that says "this opens a list" */
:is(.fx-contact, .fx-intake) .form-group select {
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9c6ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  cursor: pointer;
}
:is(.fx-contact, .fx-intake) .form-group select option { background-color: #0d1018; color: #fff; }
/* Browser autofill: keep the dark field and white text instead of the yellow or blue fill */
:is(.fx-contact, .fx-intake) .form-group input:-webkit-autofill,
:is(.fx-contact, .fx-intake) .form-group input:-webkit-autofill:hover,
:is(.fx-contact, .fx-intake) .form-group input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px #0b1222 inset;
  box-shadow: 0 0 0 1000px #0b1222 inset;
  border-color: var(--fm-line-hi);
  transition: background-color 9999s 0s;
}
:is(.fx-contact, .fx-intake) .form-group input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #0b1222 inset, 0 0 0 1px var(--fm-focus);
  box-shadow: 0 0 0 1000px #0b1222 inset, 0 0 0 1px var(--fm-focus);
  border-color: var(--fm-focus);
}
/* Invalid (the scripts set aria-invalid and an inline red border): a clear red rim and a
   readable message with a marker, not colour alone. Corrected fields return to normal. */
:is(.fx-contact, .fx-intake) .form-group [aria-invalid="true"] {
  border-color: var(--fm-err) !important;
  box-shadow: 0 0 0 1px var(--fm-err);
}
:is(.fx-contact, .fx-intake) .form-group [aria-invalid="true"]:focus {
  box-shadow: 0 0 0 1px var(--fm-err), 0 0 0 4px rgba(255,120,120,.2);
}
:is(.fx-contact, .fx-intake) .form-group > div[role="alert"] {
  position: relative;
  padding-left: 22px;
  color: var(--fm-err) !important;
  font-size: 13px !important;
  line-height: 1.45;
  margin-top: 6px !important;
}
:is(.fx-contact, .fx-intake) .form-group > div[role="alert"]::before {
  content: "!";
  position: absolute; left: 0; top: 1px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--fm-err); color: #1a0505;
  font: 700 11px/15px var(--font-body); text-align: center;
}

/* Buttons: the lit primary (added as fx-btn-lit) keeps hover, busy and retry states clear */
:is(.fx-contact, .fx-intake) .btn.fx-btn-lit:disabled { opacity: .72; cursor: progress; transform: none; }
:is(.fx-contact, .fx-intake) .btn.fx-btn-lit[aria-busy="true"] { cursor: progress; }
:is(.fx-contact, .fx-intake) .btn.fx-btn-glass { border-color: var(--fm-line); }   /* Back and Back to home: 3:1 edge */
:is(.fx-contact, .fx-intake) .fx-btn-lit .btn-spinner { border-color: rgba(9,9,9,.25); border-top-color: #090909; }

/* Sending failed: a contained, easy-to-spot message, the same quiet language as the panel */
:is(.fx-contact, .fx-intake) .form-error-msg.show {
  margin-top: 14px; padding: 12px 14px 12px 40px;
  position: relative;
  text-align: left;
  color: #ffd0d0;
  background-color: rgba(120,20,20,.28);
  border: 1px solid rgba(255,143,143,.55);
  border-radius: 10px;
  line-height: 1.5;
}
:is(.fx-contact, .fx-intake) .form-error-msg.show::before {
  content: "!";
  position: absolute; left: 14px; top: 13px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--fm-err); color: #1a0505;
  font: 700 11px/16px var(--font-body); text-align: center;
}
:is(.fx-contact, .fx-intake) .form-error-msg a { color: #fff; }

/* Sent: the lit tick in a ring instead of a flat green disc (the heading still says it) */
.fx-contact #contact-page-success > div[aria-hidden="true"],
.fx-intake .intake-success-icon {
  background: radial-gradient(circle at 50% 35%, rgba(79,142,255,.3), rgba(10,26,68,.5)) !important;
  border: 1.5px solid var(--fx-blue-300) !important;
  color: var(--fx-blue-50) !important;
  box-shadow: 0 0 22px rgba(79,142,255,.45), inset 0 1px 0 rgba(255,255,255,.3);
}

/* Contact details: open rows with lit icons instead of four boxes */
.fx-contact .contact-item {
  background: none; border: 0; border-radius: 0;
  padding: var(--sp-3) 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.fx-contact .contact-item i {
  color: var(--fx-blue-300);
  filter: drop-shadow(0 0 6px rgba(79,142,255,.55));
}
/* How a project works: one calm near-black panel, the homepage's lit step points joined by a
   fine line of light */
.fx-contact .process-box {
  background-color: #0b0c10;
  background-image: linear-gradient(180deg, #0e1015, #0a0b0e);
  border-color: rgba(255,255,255,.09);
  border-radius: var(--fx-r-md);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), var(--fx-shadow-sm);
}
.fx-contact .process-box-label { color: var(--fm-text-2); }
.fx-contact .process-list { position: relative; }
.fx-contact .process-list::before {
  content: ""; position: absolute; left: 21.5px; top: 22px; bottom: 22px; width: 1px; pointer-events: none;
  background: linear-gradient(180deg, rgba(143,182,255,.7), rgba(143,182,255,.25));
  box-shadow: 0 0 6px rgba(79,142,255,.5);
}
.fx-contact .process-num {
  position: relative;
  background: linear-gradient(180deg, #6aa0ff, var(--fx-blue-600));
  color: var(--bg-base);
  box-shadow: 0 0 0 4px rgba(79,142,255,.12), 0 0 18px rgba(79,142,255,.55), inset 0 1px 0 rgba(255,255,255,.5);
}
.fx-contact .process-text { color: var(--fm-text-2); }

/* Project brief: progress as a line of light. The current step is lit and also marked with a
   dot and heavier type, and "Step N of 4" stays in words, so it reads without colour. */
.fx-intake-head .intake-progress-track { height: 4px; background: rgba(255,255,255,.14); border-radius: 2px; }
.fx-intake-head .intake-progress-fill {
  background: linear-gradient(90deg, var(--fx-blue-600), var(--fx-blue-300));
  box-shadow: 0 0 10px rgba(79,142,255,.7);
}
.fx-intake-head .isl { display: inline-flex; align-items: center; gap: 6px; color: #9aa0ae; }
.fx-intake-head .isl.active { color: var(--fx-blue-100); font-weight: 700; }
.fx-intake-head .isl.active::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 30%, #fff, var(--fx-blue-400) 45%, var(--fx-blue-750));
  box-shadow: 0 0 8px rgba(79,142,255,.85);
}
.fx-intake-head .intake-step-counter { color: var(--fx-text-soft); }

/* Option cards: dark glass. Selected = bright rim, a tick and light, not colour alone. */
.fx-intake .intake-card {
  background-color: #101218;
  background-image: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  border-color: var(--fm-line);   /* 3:1 against the page, so each option reads as a control */
  border-radius: 12px;
  color: #c3c8d2;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}
.fx-intake .intake-card i { color: #9aa6c0; }
/* Wide (one-column) options keep room on the right for the selected tick */
.fx-intake .intake-card--wide { padding-right: 40px; }
@media (hover: hover) and (pointer: fine) {
  .fx-intake .intake-card:hover { background-color: #151821; border-color: var(--fm-line-hi); color: #fff; }
  .fx-intake .intake-card:hover i { color: var(--fx-blue-300); }
}
.fx-intake .intake-card:focus-visible { outline: 2px solid var(--fm-focus); outline-offset: 3px; }
.fx-intake .intake-card.selected {
  background-color: #0c1a3d;
  background-image: radial-gradient(ellipse 90% 80% at 50% 0%, rgba(79,142,255,.22), rgba(79,142,255,.06) 70%);
  border-color: var(--fx-blue-300);
  color: #fff;
  box-shadow: 0 0 0 1px var(--fx-blue-300), 0 0 12px rgba(79,142,255,.14), inset 0 1px 0 rgba(255,255,255,.24);   /* soft: the rim keeps 3:1 */
}
.fx-intake .intake-card.selected i { color: var(--fx-blue-200); }
.fx-intake .intake-card.selected::after {
  content: "✓";
  position: absolute; top: 8px; right: 8px;
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #8fb6ff, var(--fx-blue-600));
  color: #050a18;
  font-size: 12px; font-weight: 700; line-height: 20px;
  box-shadow: 0 0 10px rgba(79,142,255,.7);
}
.fx-intake .intake-nav-row { border-top-color: rgba(255,255,255,.1); }
.fx-intake .intake-step-sub { color: var(--fm-text-2); }

@media (prefers-reduced-motion: reduce) {
  :is(.fx-contact, .fx-intake) .form-group :is(input, select, textarea) { transition: none; }
  .fx-intake-head .intake-progress-fill { transition: none; }
}

/* ── 19. CHAT WIDGET, COOKIE BANNER, MOBILE MENU, LEGAL PAGES, 404 ── */
/* Styling only: chat.js and consent.js are unchanged. Overlays are opaque deep glass (a solid
   colour under the gradients, no live blur), so their text never depends on what sits behind
   them: the hero, the pricing field or the footer. Control edges and focus rings are 3:1 or
   more. No new continuous animation; reduced motion stops the chat's own motion. */

/* Chat launcher: the lit button. Size, position and the homepage's waiting rules unchanged. */
#sh-chat-btn {
  background: linear-gradient(180deg, #6aa0ff, var(--fx-blue-600));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -1px 0 rgba(6,18,42,.25), 0 0 0 1px rgba(5,10,24,.55), 0 6px 22px -4px rgba(79,142,255,.75);
}
@media (hover: hover) and (pointer: fine) {
  #sh-chat-btn:hover {
    background: linear-gradient(180deg, #7eadff, #4a86f2);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -1px 0 rgba(6,18,42,.25), 0 0 0 1px rgba(5,10,24,.55), 0 8px 28px -4px rgba(79,142,255,.9);
  }
}
/* Dark glyphs on the lit fill (white failed 3:1 on the light top of the gradient) */
#sh-chat-btn svg { fill: #06102a; }
#sh-chat-btn .ico-close path { stroke: #06102a; }
/* A pale ring reads on page black and on the blue fields alike */
#sh-chat-btn:focus-visible { outline: 2px solid var(--fx-blue-100); outline-offset: 3px; }

/* Panel: deep blue-black glass with a fine lit rim */
#sh-chat-panel {
  background-color: #070d20;
  background-image:
    radial-gradient(ellipse 90% 30% at 0% 0%, rgba(255,255,255,.06), rgba(255,255,255,0) 62%),
    linear-gradient(180deg, rgba(9,18,48,.96), rgba(4,9,28,.98));
  border-color: rgba(143,182,255,.26);
  border-radius: var(--fx-r-md);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 0 0 1px rgba(5,10,24,.6), var(--fx-shadow-lg), 0 24px 60px rgba(0,0,0,.55);
}
#sh-chat-panel .chat-header {
  background: linear-gradient(180deg, rgba(79,142,255,.12), rgba(79,142,255,.03));
  border-bottom-color: rgba(143,182,255,.16);
}
#sh-chat-panel :is(.chat-avatar, .msg-avatar) {
  background: linear-gradient(180deg, #8fb6ff, var(--fx-blue-600));
  color: #050a18;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 0 10px rgba(79,142,255,.45);
}
#sh-chat-panel .chat-name { font-size: 14px; }
#sh-chat-panel .chat-msg.is-bot .msg-bubble {
  background: rgba(255,255,255,.065);
  border-color: rgba(255,255,255,.12);
  color: #f2f5fb;
}
#sh-chat-panel .chat-msg.is-user .msg-bubble {
  background: rgba(79,142,255,.22);
  border-color: rgba(143,182,255,.5);
}
#sh-chat-panel .typing-dot { background: var(--fx-blue-300); }
/* Suggestions: the site's chips. A visible 3:1 edge, light blue text, 44px tap targets. */
/* The suggestions area keeps its usual height (four chips) even while it is empty, so the message
   list does not shrink after chat.js has scrolled to the newest answer: the whole answer stays in
   view. Before, the chips arriving pushed most of a long answer below the fold. */
#sh-chat-panel { --chip-h: 44px; }
@media (hover: hover) and (pointer: fine) { #sh-chat-panel { --chip-h: 40px; } }
#sh-chat-panel #sh-chat-suggestions { background: transparent; border-top-color: rgba(143,182,255,.14); gap: 6px; min-height: min(45%, calc(4 * var(--chip-h) + 3 * 6px + 16px)); }
#sh-chat-panel .chat-suggestion {
  min-height: var(--chip-h);
  background: rgba(255,255,255,.04);
  border-color: rgba(143,182,255,.58);
  border-radius: 10px;
  color: var(--fx-blue-100);
  font-size: 13px;
}
@media (hover: hover) and (pointer: fine) {
  #sh-chat-panel .chat-suggestion:hover { background: rgba(79,142,255,.18); border-color: var(--fx-blue-300); color: #fff; }
}
#sh-chat-panel .chat-suggestion:focus-visible { outline: 2px solid var(--fx-blue-100); outline-offset: 2px; }
#sh-chat-panel .chat-footer { border-top-color: rgba(143,182,255,.14); color: #a3acc0; }
#sh-chat-panel #sh-chat-messages::-webkit-scrollbar-thumb { background: rgba(143,182,255,.3); }
@media (prefers-reduced-motion: reduce) {
  #sh-chat-panel, #sh-chat-panel.is-open { transition: opacity 120ms linear, visibility 0s linear 120ms; transform: none; }
  #sh-chat-panel.is-open { transition-delay: 0s; }
  #sh-chat-btn, #sh-chat-btn svg { transition: none; }
  #sh-chat-panel .typing-dot { animation: none; }
  #sh-chat-panel #sh-chat-messages { scroll-behavior: auto; }
}

/* Cookie banner (and the same banner reopened from "Cookie settings"): deep glass. Reject and
   Accept keep one identical style, size and weight, neutral glass, so neither is nudged. */
.cc-banner {
  background-color: #070f26;
  background-image:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(255,255,255,.07), rgba(255,255,255,0) 62%),
    linear-gradient(180deg, rgba(9,18,48,.96), rgba(4,9,28,.98));
  border-color: rgba(143,182,255,.26);
  border-radius: var(--fx-r-md);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 0 0 1px rgba(5,10,24,.6), var(--fx-shadow-lg);
}
.cc-text { color: var(--fx-text-soft); }
.cc-btn {
  background: rgba(255,255,255,.06);
  border-color: #6b7a99;
  border-radius: 10px;
  color: #fff;
}
@media (hover: hover) and (pointer: fine) {
  .cc-btn:hover { background: rgba(79,142,255,.18); border-color: var(--fx-blue-300); }
}
.cc-btn:focus-visible, .cc-text a:focus-visible { outline: 2px solid var(--fx-blue-100); outline-offset: 2px; }
/* Wider screens: the two buttons share one width (the wider label decides), so Reject and Accept are
   exactly the same size. Phones already split the row equally. */
@media (min-width: 720px) {
  .cc-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cc-btn { width: 100%; }
}

/* Mobile menu: a deep, calm panel. The current page is marked by a lit line and heavier type
   (not colour alone); the Start a project button is the lit button. Behaviour unchanged. */
@media (max-width: 768px) {
  .nav-wrap .mobile-menu,
  .nav-wrap .mobile-menu.open {
    background-color: #07080c !important;
    background-image: radial-gradient(ellipse 90% 40% at 50% 0%, rgba(47,104,224,.14), rgba(9,9,9,0) 70%), linear-gradient(180deg, #0a0d16, #07080c) !important;
  }
  .nav-wrap .mobile-menu a { color: #c3c8d2; }
  .nav-wrap .mobile-menu a[aria-current="page"]:not(.mobile-cta) {
    color: #fff; font-weight: 700;
    background: linear-gradient(90deg, rgba(79,142,255,.16), rgba(79,142,255,0));
    box-shadow: inset 2px 0 0 var(--fx-blue-300);
  }
  .nav-wrap .mobile-menu a:focus-visible { outline: 2px solid var(--fx-blue-100); outline-offset: -2px; }
  .nav-wrap .mobile-menu .mobile-cta {
    justify-content: center;
    background: linear-gradient(180deg, #6aa0ff, var(--fx-blue-600)) !important;
    color: #090909;
    font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.5), var(--fx-glow-btn);
    /* Run 10: inset from the screen edges like a button, not a full-width bar. Height unchanged (48px). */
    margin-left: var(--sp-4); margin-right: var(--sp-4);
  }
  /* With side room, its focus ring sits outside the lit fill, where it reads clearly */
  .nav-wrap .mobile-menu .mobile-cta:focus-visible { outline-offset: 3px; }
  /* Run 10: the chat launcher (and the panel, if it was open) step aside while the menu is open, so
     nothing sits on top of the menu. html.menu-open is set and cleared by the existing menu script,
     so both return as soon as the menu closes. chat.js is unchanged. */
  html.menu-open #sh-chat-btn,
  html.menu-open #sh-chat-panel { visibility: hidden !important; pointer-events: none !important; }
  /* The menu button: a visible 3:1 edge, lit while the menu is open */
  .nav-toggle { border-color: #626b80; }
  .nav-toggle.open { border-color: var(--fx-blue-300); box-shadow: 0 0 10px rgba(79,142,255,.35); }
  .nav-toggle:focus-visible { outline: 2px solid var(--fx-blue-100); outline-offset: 2px; }
}

/* Privacy policy and terms: plain and readable. Small refinements only: quieter link underlines
   that light on hover, lit list markers, a calmer note box and a lit marker on the side navigation. */
.legal-wrap a { text-decoration-color: rgba(143,182,255,.6); }
@media (hover: hover) and (pointer: fine) {
  .legal-wrap a:hover { color: var(--fx-blue-200); text-decoration-color: currentColor; }
}
.legal-wrap a:focus-visible, .legal-toc a:focus-visible { outline: 2px solid var(--fx-blue-100); }
.legal-wrap li::marker { color: var(--fx-blue-300); }
.legal-note {
  position: relative;
  background-color: #0b0c10;
  background-image: linear-gradient(180deg, #0e1015, #0a0b0e);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--fx-r-md);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}
.legal-note::before {
  content: ""; position: absolute; left: -1px; top: 16px; bottom: 16px; width: 2px; border-radius: 1px; pointer-events: none;
  background: linear-gradient(180deg, var(--fx-blue-200), var(--fx-b));
  box-shadow: 0 0 8px rgba(79,142,255,.6);
}
.legal-toc ol { border-left-color: rgba(255,255,255,.1); }
.legal-toc a.is-active { border-left-color: var(--fx-blue-300); box-shadow: -6px 0 10px -6px rgba(79,142,255,.7); }

/* 404: one restrained lighting moment, the small horizon under the buttons */
.fx-404 {
  isolation: isolate;
  border-bottom-color: transparent;
  padding-bottom: calc(var(--sp-12) + 24px + 10vw);
}
.fx-404::after { content: ""; --fx-hz-edge: 24px; --fx-hz-g: .8; z-index: -1; }
.fx-404 .page-header-glow { z-index: -1; }
.fx-404 .btn.fx-btn-glass { border-color: #6b7a99; }
