/* =====================================================================
   bluFX website v5 — deep stage, studio canvas
   Layout reference: Refero style 31471407 (Webflow): white canvas, ink type,
   one blue for action, hairline structure, product shown in window chrome.
   Brand: bluFX Design System v1.3. Five colours only, Red Hat type,
   spacing 4/8/12/16/24/32/48/64, radius 4/8/16, 1px borders.
   Everything is scoped under .bfx so it can sit inside RapidWeaver Elements.
   Motion: transform and opacity only. Reduced motion respected.
   ===================================================================== */

.bfx {
  /* Brand colours (v1.3) */
  --ink: #120969;            /* primary: text, dark surfaces */
  --blue: #2563EB;           /* logo-main: primary action, active state, focus */
  --ice: #EEEFFF;            /* logo-secondary: tinted bands, cards on white */
  --amber: #FFB666;          /* support: fills and highlights on dark only */
  --teal: #008290;           /* support: decorative, success */
  --white: #FFFFFF;          /* neutral, contrast only */

  /* Ink tints (alpha of primary, checked on white and ice) */
  --ink-2: rgba(18, 9, 105, .74);   /* secondary text, about 8:1 */
  --ink-3: rgba(18, 9, 105, .64);   /* captions, about 5.3:1 */
  --line: rgba(18, 9, 105, .12);    /* hairline borders and dividers */
  --line-2: rgba(18, 9, 105, .2);   /* stronger hairline */
  --field: rgba(18, 9, 105, .5);    /* input outline, 3.6:1 for UI parts */
  --wash: rgba(37, 99, 235, .08);   /* blue tint for hover fills */

  /* On deep blue */
  --on-deep: #EEEFFF;
  --on-deep-2: rgba(238, 239, 255, .76);
  --on-deep-line: rgba(238, 239, 255, .16);

  /* Type */
  --font-display: "Red Hat Display", system-ui, sans-serif;
  --font-text: "Red Hat Text", system-ui, sans-serif;
  --fs-dxl: clamp(44px, 5.6vw + 12px, 80px);
  --fs-d: clamp(36px, 3.6vw + 12px, 56px);
  --fs-h2: clamp(30px, 1.6vw + 18px, 40px);
  --fs-h3: 24px;
  --fs-sub: 20px;
  --fs-body: 16px;
  --fs-sm: 14px;
  --fs-cap: 13px;

  /* Space (brand scale only) */
  --s-4: 4px; --s-8: 8px; --s-12: 12px; --s-16: 16px; --s-24: 24px; --s-32: 32px; --s-48: 48px; --s-64: 64px;
  --s-section: clamp(64px, 9vw, 128px);
  --gutter: clamp(16px, 4vw, 32px);
  --max: 1200px;

  /* Shape */
  --r-sm: 4px; --r-md: 8px; --r-lg: 16px;

  /* Elevation: tinted with ink so depth stays on brand. Never on resting cards. */
  --sh-lg: 0 54px 22px rgba(18, 9, 105, .01), 0 30px 18px rgba(18, 9, 105, .04), 0 13px 13px rgba(18, 9, 105, .07), 0 3px 7px rgba(18, 9, 105, .08);
  --sh-xl: 0 67px 27px rgba(18, 9, 105, .02), 0 38px 23px rgba(18, 9, 105, .05), 0 17px 17px rgba(18, 9, 105, .08), 0 4px 9px rgba(18, 9, 105, .1);
  --sh-float: 0 48px 32px rgba(18, 9, 105, .04), 0 24px 24px rgba(18, 9, 105, .08), 0 6px 13px rgba(18, 9, 105, .12);

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --spring-soft: cubic-bezier(.22, 1.2, .36, 1);
  --t-fast: 180ms; --t-med: 420ms; --t-slow: 900ms;
  --focus-glow: 0 0 0 4px rgba(37, 99, 235, .22);

  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.07 0 0 0 0 0.035 0 0 0 0 0.41 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  font: 400 var(--fs-body)/1.6 var(--font-text);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* Real spring curves where supported (Safari 17.2+, Chrome 113+) */
@supports (transition-timing-function: linear(0, 1)) {
  .bfx {
    --spring: linear(0, .072, .243, .453, .66, .838, .972, 1.062, 1.11, 1.126, 1.119, 1.099, 1.073, 1.046, 1.023, 1.005, .993, .987, .984, .985, .987, .99, .994, .997, .999, 1.001, 1.002, 1.002, 1.001, 1, 1);
    --spring-soft: linear(0, .052, .173, .324, .478, .618, .737, .833, .905, .956, .991, 1.012, 1.024, 1.028, 1.028, 1.025, 1.021, 1.017, 1.013, 1.009, 1.006, 1.004, 1.002, 1.001, 1, 1);
  }
}

/* ---------- Reset inside the scope ---------- */
.bfx *, .bfx *::before, .bfx *::after { box-sizing: border-box; }
.bfx :where(h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd) { margin: 0; }
.bfx :where(ul, ol) { padding: 0; list-style: none; }
.bfx :where(img, svg, video) { display: block; max-width: 100%; }
.bfx :where(img) { height: auto; }
.bfx :where(a) { color: inherit; text-decoration: none; }
.bfx :where(button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.bfx :where(input, select, textarea) { font: inherit; color: inherit; }
.bfx ::selection { background: var(--blue); color: var(--white); }
.bfx :focus { outline: none; }
.bfx :focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; box-shadow: var(--focus-glow); }
.bfx [hidden] { display: none !important; }
.bfx-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bfx-skip { position: fixed; left: var(--s-16); top: var(--s-16); z-index: 200; padding: var(--s-12) var(--s-16); border-radius: var(--r-md); background: var(--ink); color: var(--white); font-weight: 500; transform: translateY(-200%); transition: transform var(--t-med) var(--ease-out); }
.bfx-skip:focus-visible { transform: none; }

/* ---------- Layout ---------- */
.bfx-container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.bfx-narrow { max-width: calc(800px + var(--gutter) * 2); }
.bfx-section { position: relative; padding-block: var(--s-section); isolation: isolate; }
.bfx-section--ice { background: var(--ice); }
.bfx-section--deep { background: var(--ink); color: var(--on-deep); overflow: hidden; }
.bfx-section--line { border-top: 1px solid var(--line); }
.bfx-section--deep::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--noise); opacity: .3; mix-blend-mode: screen; pointer-events: none; }

/* ---------- Type ---------- */
.bfx-dxl, .bfx-d, .bfx-h2, .bfx-h3, .bfx-h4 { font-family: var(--font-display); font-weight: 700; text-wrap: balance; }
.bfx-dxl { font-size: var(--fs-dxl); line-height: 1; letter-spacing: -.025em; }
.bfx-d { font-size: var(--fs-d); line-height: 1.04; letter-spacing: -.02em; }
.bfx-h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -.015em; }
.bfx-h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -.01em; }
.bfx-h4 { font-size: var(--fs-sub); line-height: 1.3; letter-spacing: -.005em; }
.bfx-lede { font-size: var(--fs-sub); line-height: 1.5; color: var(--ink-2); max-width: 560px; text-wrap: pretty; }
.bfx-muted { color: var(--ink-2); text-wrap: pretty; }
.bfx-note { margin-top: var(--s-12); font-size: var(--fs-cap); line-height: 1.4; color: var(--ink-3); }
.bfx-soft { color: var(--ink-3); }
.bfx-blue { color: var(--blue); }
.bfx-section--deep .bfx-lede, .bfx-section--deep .bfx-muted, .bfx-section--deep .bfx-soft { color: var(--on-deep-2); }

/* Numbered section label: number in a 4px tag, label in sentence case */
.bfx-label { display: inline-flex; align-items: center; gap: var(--s-12); margin-bottom: var(--s-16); font-size: var(--fs-cap); line-height: 1.4; font-weight: 500; letter-spacing: .02em; color: var(--ink-2); }
.bfx-label b { display: inline-grid; place-items: center; min-width: 32px; height: 24px; padding-inline: var(--s-8); border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--white); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); letter-spacing: .04em; }
.bfx-section--deep .bfx-label { color: var(--on-deep-2); }
.bfx-section--deep .bfx-label b { background: transparent; border-color: var(--on-deep-line); color: var(--amber); }

/* Flag: the reference's small "NEW" tag in front of a line of copy */
.bfx-flag { display: inline-flex; align-items: center; gap: var(--s-8); padding: var(--s-4) var(--s-12) var(--s-4) var(--s-4); border-radius: var(--r-md); border: 1px solid var(--line); background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: var(--fs-cap); font-weight: 500; color: var(--ink-2); }
.bfx-flag b { padding: 2px var(--s-8); border-radius: var(--r-sm); background: var(--blue); color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: .02em; }

.bfx-head { margin-bottom: var(--s-48); }
.bfx-head--center { text-align: center; display: grid; justify-items: center; }
.bfx-head .bfx-lede { margin-top: var(--s-16); }
.bfx-head--split { display: grid; gap: var(--s-24); align-items: end; }
.bfx-head--split .bfx-lede { margin-top: 0; }
@media (min-width: 900px) { .bfx-head--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--s-48); } .bfx-head--split > :last-child { justify-self: end; } }

/* ---------- Buttons: 8px radius (brand radius-md), never pills ---------- */
.bfx-btn {
  --mx: 0px; --my: 0px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-8);
  min-height: 44px; padding: var(--s-12) var(--s-16);
  border-radius: var(--r-md); border: 1px solid transparent;
  font: 500 var(--fs-sm)/1.2 var(--font-text); letter-spacing: .005em; white-space: nowrap;
  transform: translate3d(var(--mx), var(--my), 0);
  transition: transform 600ms var(--spring), background-color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
  -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none;
}
.bfx-btn svg { width: 16px; height: 16px; flex: none; transition: transform 500ms var(--spring); }
.bfx-btn:hover svg { transform: translateX(3px); }
.bfx-btn:active { transform: translate3d(var(--mx), var(--my), 0) scale(.97); transition-duration: 120ms; }
.bfx-btn--lg { min-height: 52px; padding: var(--s-16) var(--s-24); font-size: var(--fs-body); }
.bfx-btn--sm { padding: var(--s-8) var(--s-12); font-size: var(--fs-cap); }

/* Primary: electric blue, top highlight, light sweep on hover */
.bfx-btn--blue { background: var(--blue); color: var(--white); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -1px 0 rgba(18, 9, 105, .25); }
.bfx-btn--blue::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .3) 50%, transparent 70%); transform: translateX(-110%); transition: transform 900ms var(--ease-out); }
.bfx-btn--blue:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -1px 0 rgba(18, 9, 105, .25), 0 10px 24px -10px rgba(37, 99, 235, .8); }
.bfx-btn--blue:hover::before { transform: translateX(110%); }
/* Secondary: white with hairline; the hairline turns blue with a soft halo */
.bfx-btn--line { background: var(--white); color: var(--ink); border-color: var(--line-2); }
.bfx-btn--line:hover { border-color: rgba(37, 99, 235, .6); box-shadow: 0 0 0 4px var(--wash); }
/* Deep: ink fill */
.bfx-btn--deep { background: var(--ink); color: var(--white); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); }
.bfx-btn--deep:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 10px 24px -10px rgba(18, 9, 105, .7); }
/* Ghost: text action, colour shift, no underline */
.bfx-btn--ghost { color: var(--ink); padding-inline: var(--s-12); }
.bfx-btn--ghost:hover { color: var(--blue); background: var(--wash); }
/* On deep grounds */
.bfx-btn--ice { background: var(--ice); color: var(--ink); }
.bfx-btn--ice:hover { box-shadow: 0 10px 28px -10px rgba(238, 239, 255, .6); }
.bfx-btn--amber { background: var(--amber); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.bfx-btn--amber:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 28px -10px rgba(255, 182, 102, .8); }
.bfx-btn--outline-ice { color: var(--on-deep); border-color: var(--on-deep-line); }
.bfx-btn--outline-ice:hover { border-color: rgba(238, 239, 255, .5); background: rgba(238, 239, 255, .06); }
.bfx-btn--icon { width: 44px; padding: 0; }
.bfx-btn--icon svg { width: 18px; height: 18px; }
.bfx-btn--icon:hover svg { transform: none; }
.bfx-section--deep :focus-visible, .bfx-footer :focus-visible { outline-color: var(--ice); box-shadow: 0 0 0 4px rgba(238, 239, 255, .2); }

.bfx-actions { display: flex; flex-wrap: wrap; gap: var(--s-12); margin-top: var(--s-32); }
.bfx-actions--center { justify-content: center; }
.bfx-foot { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--s-12); margin-top: var(--s-48); }

/* ---------- Status dot (used in the menu) ---------- */
.bfx-ribbon__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: none; animation: bfx-ping 2.4s var(--ease-out) infinite; }
@keyframes bfx-ping { 0% { box-shadow: 0 0 0 0 rgba(255, 182, 102, .7); } 70%, 100% { box-shadow: 0 0 0 8px rgba(255, 182, 102, 0); } }

/* ---------- Top bar (scrolls away, then the floating bar takes over) ---------- */
.bfx-gnav { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid var(--line); }
.bfx-gnav__inner { display: flex; align-items: center; gap: var(--s-24); height: 72px; }
.bfx-gnav__logo { flex: none; display: block; padding: var(--s-4) 0; border-radius: var(--r-sm); }
.bfx-gnav__logo img { width: 160px; height: auto; }
.bfx-gnav nav { flex: 1; display: none; justify-content: center; }
.bfx-gnav__links { display: flex; gap: var(--s-4); }
.bfx-gnav__links a, .bfx-pnav__links a { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--s-12); border-radius: var(--r-md); font-size: var(--fs-sm); font-weight: 500; color: var(--ink-2); transition: color var(--t-fast), transform 500ms var(--spring), background-color var(--t-fast); }
.bfx-gnav__links a:hover, .bfx-pnav__links a:hover { color: var(--blue); transform: translateY(-2px); }
.bfx-gnav__links a[aria-current="page"] { color: var(--ink); background: var(--ice); }
.bfx-gnav__links a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--blue); }
.bfx-gnav__end { display: none; align-items: center; gap: var(--s-8); }
.bfx-gnav__menu { margin-left: auto; display: inline-flex; align-items: center; gap: var(--s-8); min-height: 44px; padding: 0 var(--s-12); border-radius: var(--r-md); border: 1px solid var(--line-2); font-size: var(--fs-sm); font-weight: 500; transition: border-color var(--t-fast), background-color var(--t-fast); }
.bfx-gnav__menu:hover { border-color: var(--blue); background: var(--wash); }
.bfx-gnav__menu svg { width: 18px; height: 18px; }
.bfx-gnav__menu .i-close, .bfx-gnav__menu[aria-expanded="true"] .i-open { display: none; }
.bfx-gnav__menu[aria-expanded="true"] .i-close { display: block; }
@media (min-width: 1024px) {
  .bfx-gnav nav { display: flex; }
  .bfx-gnav__end { display: flex; }
  .bfx-gnav__menu { display: none; }
}

/* ---------- Floating section bar ---------- */
.bfx-pnav { position: fixed; left: 0; right: 0; top: var(--s-12); z-index: 80; pointer-events: none; opacity: 0; transform: translate3d(0, -24px, 0) scale(.98); transition: opacity var(--t-med) var(--ease-out), transform 700ms var(--spring); }
.bfx-pnav.is-on { opacity: 1; transform: none; }
.bfx-pnav.is-on .bfx-pnav__bar, .bfx-pnav.is-on .bfx-pnav__drop { pointer-events: auto; }
.bfx-pnav__bar { display: flex; align-items: center; gap: var(--s-8); min-height: 60px; padding: var(--s-8) var(--s-8) var(--s-8) var(--s-8); border-radius: var(--r-lg); border: 1px solid var(--line); background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px); box-shadow: var(--sh-float); }
.bfx-pnav__links { display: none; flex: 1; justify-content: center; overflow: hidden; }
.bfx-pnav__links a { min-height: 36px; font-size: var(--fs-cap); }
.bfx-pnav__links a[aria-current="true"] { color: var(--ink); background: var(--ice); }
.bfx-pnav__toggle { margin-left: auto; width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: var(--r-md); transition: background-color var(--t-fast); }
.bfx-pnav__toggle:hover { background: var(--ice); }
.bfx-pnav__toggle svg { width: 18px; height: 18px; transition: transform 500ms var(--spring); }
.bfx-pnav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.bfx-pnav__drop { margin-top: var(--s-8); padding: var(--s-8); border-radius: var(--r-lg); border: 1px solid var(--line); background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: var(--sh-float); display: grid; gap: 2px; max-height: 70vh; overflow-y: auto; }
.bfx-pnav__drop a { padding: var(--s-12); border-radius: var(--r-md); font-weight: 500; transition: background-color var(--t-fast), color var(--t-fast); }
.bfx-pnav__drop a:hover { background: var(--ice); color: var(--blue); }
.bfx-pnav__group { padding: var(--s-12) var(--s-12) var(--s-4); font-size: 12px; font-weight: 500; letter-spacing: .02em; color: var(--ink-3); }
@media (min-width: 1024px) {
  .bfx-pnav__links { display: flex; }
  .bfx-pnav__toggle { margin-left: 0; }
  .bfx-pnav__drop { margin-left: auto; width: 280px; }
}

/* ---------- Ambient light: pre-blurred radial lights drift on transform ---------- */
.bfx-aura { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bfx-aura i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; will-change: transform; }
.bfx-aura .a1 { left: -18vmax; top: -30vmax; background: radial-gradient(closest-side, rgba(37, 99, 235, .2), transparent); animation: bfx-drift-a 22s var(--ease-io) infinite alternate; }
.bfx-aura .a2 { right: -22vmax; top: -16vmax; background: radial-gradient(closest-side, rgba(0, 130, 144, .12), transparent); animation: bfx-drift-b 26s var(--ease-io) infinite alternate; }
.bfx-aura .a3 { left: 24%; top: 34%; width: 46vmax; height: 46vmax; background: radial-gradient(closest-side, rgba(255, 182, 102, .16), transparent); animation: bfx-drift-c 30s var(--ease-io) infinite alternate; }
.bfx-aura .a4 { left: 50%; top: 30%; width: 40vmax; height: 40vmax; margin: -20vmax 0 0 -20vmax; background: radial-gradient(closest-side, rgba(37, 99, 235, .14), transparent); transform: translate3d(var(--ax, 0), var(--ay, 0), 0); transition: transform 1.8s var(--ease-out); }
.bfx-aura::after { content: ""; position: absolute; inset: 0; background-image: var(--noise); opacity: .4; mix-blend-mode: multiply; }
.bfx-section--deep .bfx-aura .a1 { background: radial-gradient(closest-side, rgba(37, 99, 235, .55), transparent); }
.bfx-section--deep .bfx-aura .a2 { background: radial-gradient(closest-side, rgba(0, 130, 144, .4), transparent); }
.bfx-section--deep .bfx-aura .a3 { display: none; }
.bfx-section--deep .bfx-aura::after { mix-blend-mode: screen; opacity: .25; }
@keyframes bfx-drift-a { to { transform: translate3d(8vmax, 6vmax, 0) scale(1.1); } }
@keyframes bfx-drift-b { to { transform: translate3d(-6vmax, 10vmax, 0) scale(.92); } }
@keyframes bfx-drift-c { to { transform: translate3d(-10vmax, -4vmax, 0) scale(1.15); } }

/* The 12-column grid, drawn as faint hairlines behind heroes */
.bfx-guides { position: absolute; inset: 0; z-index: -1; pointer-events: none; -webkit-mask: linear-gradient(180deg, #000, rgba(0, 0, 0, .4) 55%, transparent 90%); mask: linear-gradient(180deg, #000, rgba(0, 0, 0, .4) 55%, transparent 90%); }
.bfx-guides > div { height: 100%; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--s-24); }
.bfx-guides i { border-left: 1px solid rgba(18, 9, 105, .045); }
.bfx-guides i:last-child { border-right: 1px solid rgba(18, 9, 105, .045); }
@media (max-width: 759px) { .bfx-guides i:nth-child(n+5) { display: none; } .bfx-guides > div { grid-template-columns: repeat(4, 1fr); } .bfx-guides i:nth-child(4) { border-right: 1px solid rgba(18, 9, 105, .045); } }

/* ---------- Home hero ---------- */
.bfx-hero { position: relative; isolation: isolate; padding-top: clamp(48px, 7vw, 96px); text-align: center; background: linear-gradient(180deg, var(--white) 0%, var(--white) 30%, var(--ice) 100%); overflow: hidden; }
.bfx-hero .bfx-flag { margin-bottom: var(--s-24); }
.bfx-hero h1 { max-width: 13ch; margin-inline: auto; }
.bfx-hero .bfx-lede { margin: var(--s-24) auto 0; }

/* Three-card choice row */
.bfx-choice { display: grid; gap: var(--s-16); max-width: 1008px; margin: var(--s-48) auto 0; text-align: left; }
@media (min-width: 760px) { .bfx-choice { grid-template-columns: repeat(3, 1fr); } }

/* Hero window */
.bfx-hero__stage { position: relative; max-width: 1104px; margin: var(--s-64) auto 0; perspective: 1800px; }
.bfx-hero__tilt { transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transform-style: preserve-3d; transition: transform 1.4s var(--ease-out); }
/* Three windows: studio video, the site itself, studio video */
.bfx-trio { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-16); align-items: end; }
.bfx-trio__side { display: none; }
@media (min-width: 760px) {
  .bfx-trio { grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr) minmax(0, 1fr); gap: var(--s-24); }
  .bfx-trio__side { display: block; transform: translateY(32px); }
}
.bfx-trio__main .bfx-window { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }
.bfx-trio__main .bfx-window__view { aspect-ratio: 16 / 11.5; }
.bfx-trio__side .bfx-window { box-shadow: var(--sh-lg); }

/* Mini bluFX site inside the main window */
.bfx-mock { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 4% 5%; color: var(--on-deep); }
.bfx-mock__nav { display: flex; align-items: center; gap: 4%; }
.bfx-mock__nav img { width: 7%; min-width: 22px; height: auto; border-radius: 4px; }
.bfx-mock__nav span { width: 8%; height: 5px; border-radius: 3px; background: rgba(238, 239, 255, .3); }
.bfx-mock__nav span:first-of-type { margin-left: auto; }
.bfx-mock__nav i { width: 14%; height: 18px; border-radius: 4px; background: var(--blue); }
.bfx-mock__body { flex: 1; display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 4%; }
.bfx-mock__copy { display: grid; gap: 10px; justify-items: start; }
.bfx-mock__copy b { font: 700 clamp(18px, 2.6vw, 34px)/1.02 var(--font-display); letter-spacing: -.02em; }
.bfx-mock__copy span { width: 90%; height: 6px; border-radius: 3px; background: rgba(238, 239, 255, .3); }
.bfx-mock__copy .s2 { width: 64%; }
.bfx-mock__copy i { width: 44%; height: 22px; margin-top: 6px; border-radius: 4px; background: var(--amber); }
.bfx-mock__body img { width: 100%; height: auto; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .35)); animation: bfx-bob2 6s var(--ease-io) infinite alternate; }
.bfx-mock__glow { position: absolute; right: -10%; top: 0; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(37, 99, 235, .5), transparent); z-index: -1; }
.bfx-trio__main .bfx-window__view { isolation: isolate; }
/* ---------- Window chrome: the reference's browser frame, used for all media ---------- */
.bfx-window { position: relative; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--white); box-shadow: var(--sh-xl); overflow: hidden; isolation: isolate; }
.bfx-window--flat { box-shadow: none; }
.bfx-window__bar { position: relative; display: flex; align-items: center; height: 32px; padding: 0 var(--s-12); background: var(--ice); border-bottom: 1px solid var(--line); }
.bfx-window__dots { display: flex; gap: 6px; }
.bfx-window__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.bfx-window__dots i:nth-child(2) { background: var(--amber); }
.bfx-window__dots i:nth-child(3) { background: var(--teal); }
.bfx-window__url { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 6px; max-width: calc(100% - 120px); height: 20px; padding: 0 var(--s-12); border-radius: var(--r-sm); background: var(--white); border: 1px solid var(--line); font-size: 12px; font-weight: 500; color: var(--ink-3); white-space: nowrap; overflow: hidden; font-variant-numeric: tabular-nums; }
.bfx-window__url svg { width: 10px; height: 10px; flex: none; }
.bfx-window__url span { overflow: hidden; text-overflow: ellipsis; }
.bfx-window__view { position: relative; overflow: hidden; background: var(--ice); }
.bfx-window__view > img:not(.bfx-media-center), .bfx-window__view > video { width: 100%; height: 100%; object-fit: cover; }
.bfx-window--deep .bfx-window__view { background: var(--ink); }
.bfx-window--amber .bfx-window__view { background: var(--amber); }
.bfx-window--white .bfx-window__view { background: var(--white); }
.bfx-window--teal .bfx-window__view { background: var(--teal); }
.bfx-r-1 { aspect-ratio: 1; } .bfx-r-1610 { aspect-ratio: 16 / 10; } .bfx-r-45 { aspect-ratio: 4 / 5; } .bfx-r-43 { aspect-ratio: 4 / 3; } .bfx-r-169 { aspect-ratio: 16 / 9; } .bfx-r-21 { aspect-ratio: 2 / 1; }
.bfx-media-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 60%; height: auto; }
.bfx-grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(238, 239, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(238, 239, 255, .09) 1px, transparent 1px); background-size: 32px 32px; background-position: center; -webkit-mask: radial-gradient(closest-side, #000, transparent); mask: radial-gradient(closest-side, #000, transparent); }
.bfx-window--white .bfx-grid-lines, .bfx-window--ice .bfx-grid-lines { background-image: linear-gradient(rgba(18, 9, 105, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 9, 105, .07) 1px, transparent 1px); }
.bfx-glow { position: absolute; left: 50%; top: 50%; width: 70%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(37, 99, 235, .45), transparent); }
.bfx-logostage { display: grid; place-items: center; }
.bfx-logostage img { position: relative; width: min(56%, 520px); }

/* Skeleton loader: shimmer until the media has decoded */
.bfx-js [data-skeleton]::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .6) 50%, transparent 80%) var(--ice); background-size: 200% 100%; transition: opacity 700ms var(--ease-out); animation: bfx-shimmer 1.4s linear infinite; }
.bfx-js [data-skeleton].is-ready::after { opacity: 0; animation: none; }
@keyframes bfx-shimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }

/* ---------- Cards: white on ice bands, ice on white bands. Hairline at rest; lift and lit ring on hover ---------- */
.bfx-card { --sx: 50%; --sy: 50%; position: relative; isolation: isolate; display: flex; flex-direction: column; gap: var(--s-12); padding: var(--s-24); border-radius: var(--r-md); border: 1px solid var(--line); background: var(--ice); color: var(--ink); overflow: hidden; transition: transform 700ms var(--spring), box-shadow var(--t-med) var(--ease-out), border-color var(--t-fast); }
.bfx-section--ice .bfx-card, .bfx-hero .bfx-card { background: var(--white); }
a.bfx-card:hover, .bfx-card[data-lift]:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: transparent; }
a.bfx-card:active { transform: translateY(-1px) scale(.99); transition-duration: 150ms; }
/* Gradient ring: masked to the 1px border, spun with transform only */
.bfx-ring { position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1px; pointer-events: none; overflow: hidden; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: 0; transition: opacity var(--t-med) var(--ease-out); }
.bfx-ring::before { content: ""; position: absolute; left: 50%; top: 50%; width: 300%; aspect-ratio: 1; background: conic-gradient(from 0deg, rgba(18, 9, 105, .12) 0 50%, var(--blue) 66%, var(--teal) 76%, var(--amber) 86%, rgba(18, 9, 105, .12) 97%); transform: translate(-50%, -50%) rotate(0deg); animation: bfx-rot 3.6s linear infinite paused; }
a.bfx-card:hover .bfx-ring, [data-lift]:hover .bfx-ring, a.bfx-card:focus-visible .bfx-ring { opacity: 1; }
a.bfx-card:hover .bfx-ring::before, [data-lift]:hover .bfx-ring::before, a.bfx-card:focus-visible .bfx-ring::before { animation-play-state: running; }
@keyframes bfx-rot { to { transform: translate(-50%, -50%) rotate(360deg); } }
/* Pointer spotlight: a soft light that follows the cursor (transform only) */
.bfx-spot { position: absolute; left: 0; top: 0; z-index: -1; width: 360px; height: 360px; margin: -180px 0 0 -180px; border-radius: 50%; background: radial-gradient(closest-side, rgba(37, 99, 235, .12), transparent); transform: translate3d(var(--sx), var(--sy), 0); opacity: 0; transition: opacity var(--t-med) var(--ease-out); pointer-events: none; }
.bfx-card:hover .bfx-spot { opacity: 1; }
.bfx-section--deep .bfx-spot { background: radial-gradient(closest-side, rgba(255, 182, 102, .12), transparent); }

.bfx-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-16); margin-bottom: var(--s-4); }
.bfx-card__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-md); background: var(--ink); color: var(--ice); flex: none; transition: transform 700ms var(--spring); }
.bfx-card__icon svg { width: 22px; height: 22px; }
.bfx-card:hover .bfx-card__icon { transform: rotate(-6deg) scale(1.06); }
.bfx-card__num { font: 700 var(--fs-cap)/1 var(--font-display); color: var(--ink-3); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.bfx-card h3 { font: 700 var(--fs-sub)/1.3 var(--font-display); letter-spacing: -.005em; }
.bfx-card p { font-size: var(--fs-sm); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.bfx-card ul { display: grid; gap: var(--s-8); margin-top: var(--s-4); padding-top: var(--s-16); border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--ink-2); }
.bfx-card ul li { position: relative; padding-left: var(--s-24); }
.bfx-card ul li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 10px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.bfx-card__foot { margin-top: auto; padding-top: var(--s-16); display: flex; align-items: center; justify-content: space-between; gap: var(--s-12); flex-wrap: wrap; }
.bfx-card__go { margin-top: auto; padding-top: var(--s-8); display: inline-flex; align-items: center; gap: var(--s-8); font-size: var(--fs-sm); font-weight: 500; color: var(--blue); }
.bfx-card__go svg { width: 16px; height: 16px; transition: transform 600ms var(--spring); }
a.bfx-card:hover .bfx-card__go svg { transform: translateX(4px); }
/* Choice card: compact title with a thumbnail top right */
.bfx-card--choice { gap: var(--s-8); }
.bfx-card--choice h3 { font-size: var(--fs-body); line-height: 1.35; padding-right: 64px; }
.bfx-card__thumb { position: absolute; right: var(--s-16); top: var(--s-16); width: 48px; height: 48px; border-radius: var(--r-md); display: grid; place-items: center; overflow: hidden; transition: transform 700ms var(--spring); }
.bfx-card__thumb svg { width: 22px; height: 22px; }
.bfx-card--choice:hover .bfx-card__thumb { transform: translateY(-2px) rotate(-5deg) scale(1.06); }
.bfx-card--choice p { padding-right: 56px; text-wrap: pretty; }
@media (min-width: 760px) and (max-width: 1099px) {
  .bfx-card--choice .bfx-card__thumb { position: static; width: 40px; height: 40px; margin-bottom: var(--s-8); }
  .bfx-card--choice h3, .bfx-card--choice p { padding-right: 0; }
}
.bfx-thumb--ink { background: var(--ink); color: var(--amber); }
.bfx-thumb--blue { background: var(--blue); color: var(--white); }
.bfx-thumb--amber { background: var(--amber); color: var(--ink); }
.bfx-thumb--teal { background: var(--teal); color: var(--white); }
.bfx-tag { display: inline-flex; align-items: center; min-height: 24px; padding: 2px var(--s-8); border-radius: var(--r-sm); background: var(--white); border: 1px solid var(--line); font-size: 12px; font-weight: 500; color: var(--ink-2); }
.bfx-section--ice .bfx-tag, .bfx-work .bfx-tag { background: var(--ice); }

.bfx-cards { display: grid; gap: var(--s-16); }
@media (min-width: 640px) { .bfx-cards--2, .bfx-cards--3, .bfx-cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bfx-cards--3 { grid-template-columns: repeat(3, 1fr); } .bfx-cards--4 { grid-template-columns: repeat(4, 1fr); } }

/* Cards on deep bands */
.bfx-section--deep .bfx-card { background: rgba(238, 239, 255, .05); border-color: var(--on-deep-line); color: var(--on-deep); }
.bfx-section--deep .bfx-card p { color: var(--on-deep-2); }

/* ---------- Split feature section: 50/50 ---------- */
.bfx-split { display: grid; gap: var(--s-48); align-items: center; }
@media (min-width: 900px) {
  .bfx-split { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(48px, 5vw, 64px); }
  .bfx-split--flip > :first-child { order: 2; }
}
.bfx-split__copy .bfx-lede, .bfx-split__copy .bfx-muted { margin-top: var(--s-16); }
@media (max-width: 899px) { .bfx-split > .bfx-window, .bfx-split > [data-reveal] { max-width: 600px; width: 100%; margin-inline: auto; } }

/* Arrow-link list (the reference's feature list) */
.bfx-links { margin-top: var(--s-32); border-top: 1px solid var(--line); }
.bfx-links a { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--s-16); min-height: 64px; padding: var(--s-12) var(--s-8) var(--s-12) 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--ink); transition: color var(--t-fast); }
.bfx-links a::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 600ms var(--ease-out); }
.bfx-links a > span { display: inline-flex; align-items: center; gap: var(--s-12); transition: transform 600ms var(--spring); }
.bfx-links a > span i { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: var(--r-md); background: var(--ice); color: var(--ink); transition: background-color var(--t-fast), color var(--t-fast), transform 700ms var(--spring); }
.bfx-links a > span i svg { width: 18px; height: 18px; }
.bfx-links a > span small { display: block; font-size: var(--fs-cap); font-weight: 400; color: var(--ink-3); }
.bfx-links a > svg { width: 18px; height: 18px; flex: none; color: var(--ink-3); transition: transform 600ms var(--spring), color var(--t-fast); }
.bfx-links a:hover, .bfx-links a.is-active { color: var(--blue); }
.bfx-links a:hover > span, .bfx-links a.is-active > span { transform: translateX(4px); }
.bfx-links a:hover > svg, .bfx-links a.is-active > svg { transform: translateX(4px); color: var(--blue); }
.bfx-links a:hover::before, .bfx-links a.is-active::before { transform: scaleX(1); }
.bfx-links a:hover > span i, .bfx-links a.is-active > span i { background: var(--blue); color: var(--white); transform: rotate(-6deg); }
.bfx-section--ice .bfx-links a > span i { background: var(--white); }

/* Ticks list */
.bfx-ticks { display: grid; gap: var(--s-12); margin-top: var(--s-24); }
.bfx-ticks li { position: relative; padding-left: 32px; color: var(--ink-2); }
.bfx-ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: var(--r-sm); background: var(--ice); border: 1px solid var(--line); }
.bfx-ticks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 9px; height: 5px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.bfx-section--ice .bfx-ticks li::before { background: var(--white); }
.bfx-section--deep .bfx-ticks li { color: var(--on-deep-2); }
.bfx-section--deep .bfx-ticks li::before { background: transparent; border-color: var(--on-deep-line); }
.bfx-section--deep .bfx-ticks li::after { border-color: var(--amber); }

/* Facts (best for / part of) */
.bfx-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--s-12); margin-top: var(--s-24); }
.bfx-fact { padding: var(--s-16); border-radius: var(--r-md); border: 1px solid var(--line); background: var(--ice); font-size: var(--fs-sm); line-height: 1.5; color: var(--ink-2); }
.bfx-section--ice .bfx-fact { background: var(--white); }
.bfx-fact strong { display: block; margin-bottom: var(--s-4); font-size: var(--fs-cap); font-weight: 700; color: var(--ink); }

/* Brand board (branding visual) */
.bfx-board { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr auto auto; gap: var(--s-12); padding: 9%; background: var(--white); }
.bfx-board__logo { display: grid; place-items: center; border-radius: var(--r-md); background: var(--ice); border: 1px solid var(--line); padding: 8% 12%; }
.bfx-board__logo img { width: 100%; max-width: 340px; }
.bfx-board__sw { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-8); }
.bfx-board__sw span { aspect-ratio: 1; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); }
.bfx-board__type { display: flex; justify-content: space-between; align-items: center; padding: var(--s-12) var(--s-16); border-radius: var(--r-md); border: 1px solid var(--line); }
.bfx-board__type b { font: 700 clamp(28px, 3vw, 40px)/1 var(--font-display); letter-spacing: -.02em; }
.bfx-board__type span { font-size: var(--fs-cap); color: var(--ink-2); text-align: right; line-height: 1.4; }

/* ---------- Statement (deep band, words light up as you scroll) ---------- */
.bfx-say p { font: 700 clamp(32px, 4.2vw + 10px, 64px)/1.08 var(--font-display); letter-spacing: -.02em; max-width: 19ch; text-wrap: balance; }
.bfx-say .bfx-sw { opacity: .22; transition: opacity 500ms var(--ease-out); }
.bfx-say .bfx-sw.is-lit { opacity: 1; }
.bfx-say .bfx-sw--hl.is-lit { color: var(--amber); }
.bfx-say__meta { display: flex; align-items: center; gap: var(--s-16); margin-top: var(--s-48); color: var(--on-deep-2); font-size: var(--fs-sm); }
.bfx-say__meta img { width: 56px; height: 56px; border-radius: var(--r-md); object-fit: cover; object-position: 50% 25%; border: 1px solid var(--on-deep-line); }
.bfx-say__meta strong { display: block; color: var(--on-deep); font-weight: 700; }

/* ---------- Bento + metrics ---------- */
.bfx-bento { display: grid; gap: var(--s-16); }
@media (min-width: 760px) { .bfx-bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bfx-bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(216px, auto); } .bfx-bento .span-2 { grid-column: span 2; } .bfx-bento .row-2 { grid-row: span 2; } }
.bfx-card .bfx-metric, .bfx-metric { font: 700 clamp(48px, 3vw + 24px, 72px)/1 var(--font-display); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; margin-bottom: auto; }
.bfx-metric small { font-size: .36em; letter-spacing: 0; color: var(--blue); margin-left: var(--s-4); }
.bfx-card--media { padding: 0; min-height: 400px; justify-content: flex-end; color: var(--white); border: 0; background: var(--ink) !important; }
.bfx-card--media > video, .bfx-card--media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease-out); }
.bfx-card--media:hover > video { transform: scale(1.03); }
.bfx-card--media::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .72)); }
.bfx-card__cap { padding: var(--s-24); }
.bfx-card--media h3 { font-size: var(--fs-h3); line-height: 1.2; }
.bfx-card--media p { color: rgba(255, 255, 255, .88); margin-top: var(--s-8); max-width: 44ch; }

/* ---------- Work grid ---------- */
.bfx-work { display: grid; gap: var(--s-48) var(--s-24); }
@media (min-width: 760px) { .bfx-work { grid-template-columns: repeat(2, 1fr); } .bfx-work .is-wide { grid-column: 1 / -1; } }
.bfx-work__item > a, .bfx-work__item > div:first-child { display: block; border-radius: var(--r-md); }
.bfx-work__item .bfx-window { box-shadow: none; transition: transform 800ms var(--spring), box-shadow var(--t-med) var(--ease-out); }
.bfx-work__item:hover .bfx-window { transform: translateY(-6px); box-shadow: var(--sh-xl); }
.bfx-work__item .bfx-window__view { aspect-ratio: 4 / 3; }
.bfx-work__item.is-wide .bfx-window__view { aspect-ratio: 21 / 9; }
.bfx-work__item .bfx-media-center { transition: transform 1.2s var(--ease-out); }
.bfx-work__item:hover .bfx-media-center { transform: translate(-50%, -50%) scale(1.04); }
.bfx-work__meta { display: flex; gap: var(--s-8); margin: var(--s-24) 0 var(--s-8); }
.bfx-work__item h3 { font: 700 var(--fs-h3)/1.25 var(--font-display); letter-spacing: -.01em; }
.bfx-work__item > p:last-child { margin-top: var(--s-8); color: var(--ink-2); max-width: 56ch; }
@media (max-width: 759px) { .bfx-work__item.is-wide .bfx-window__view { aspect-ratio: 4 / 3; } }

/* Before / after */
.bfx-ba { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--ink); --pos: 50%; }
.bfx-ba svg { width: 100%; height: 100%; }
.bfx-ba .ba-after { clip-path: inset(0 0 0 var(--pos)); }
.bfx-ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--ice); pointer-events: none; box-shadow: 0 0 16px rgba(37, 99, 235, .9); }
.bfx-ba__knob { position: absolute; top: 50%; left: var(--pos); width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: var(--r-md); background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .7); box-shadow: var(--sh-lg), 0 0 0 6px rgba(37, 99, 235, .28); display: grid; place-items: center; color: var(--ink); pointer-events: none; transition: transform 500ms var(--spring); }
.bfx-ba:hover .bfx-ba__knob { transform: scale(1.08); }
.bfx-ba__knob svg { width: 22px; height: 22px; }
.bfx-ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.bfx-ba input:focus-visible ~ .bfx-ba__knob { box-shadow: 0 0 0 2px var(--white), 0 0 0 5px var(--blue); }
/* ---------- Process ---------- */
.bfx-steps-wrap { position: relative; }
.bfx-steps { position: relative; display: grid; gap: var(--s-12); }
@media (min-width: 900px) { .bfx-steps { grid-template-columns: repeat(5, 1fr); } }
.bfx-steps__line { display: none; }
@media (min-width: 900px) {
  .bfx-steps__line { display: block; position: absolute; left: 48px; right: 48px; top: 44px; z-index: 0; height: 2px; border-radius: 2px; background: var(--on-deep-line); overflow: hidden; }
  .bfx-steps__line i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--blue), var(--teal), var(--amber)); transform-origin: left; transform: scaleX(var(--p, 0)); }
  .bfx-section--ice .bfx-steps__line, .bfx-section:not(.bfx-section--deep) .bfx-steps__line { background: var(--line); }
}
.bfx-step { position: relative; z-index: 1; }
.bfx-step .bfx-card { height: 100%; }
.bfx-step__n { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-md); border: 1px solid var(--on-deep-line); background: var(--ink); font: 700 var(--fs-body)/1 var(--font-display); color: var(--on-deep); transition: background-color var(--t-med), color var(--t-med), transform 700ms var(--spring), border-color var(--t-med); }
.bfx-step.is-lit .bfx-step__n { background: var(--amber); color: var(--ink); border-color: var(--amber); transform: scale(1.1); }
.bfx-step h3 { margin-top: var(--s-12); }

.bfx-phase { display: grid; gap: var(--s-16) var(--s-48); padding-block: var(--s-48); border-top: 1px solid var(--line); }
.bfx-phase:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .bfx-phase { grid-template-columns: 2fr 5fr 5fr; } }
.bfx-phase__num { font: 700 var(--fs-d)/1 var(--font-display); letter-spacing: -.03em; color: var(--blue); font-variant-numeric: tabular-nums; }
.bfx-phase h3 { margin-bottom: var(--s-8); }
.bfx-phase p { color: var(--ink-2); }
.bfx-phase .bfx-ticks { margin-top: 0; }
.bfx-phase__you { margin-top: var(--s-24); padding: var(--s-16); border-radius: var(--r-md); background: var(--ice); border: 1px solid var(--line); font-size: var(--fs-sm); color: var(--ink-2); }
.bfx-phase__you strong { display: block; font-size: var(--fs-cap); color: var(--ink); margin-bottom: var(--s-4); }

/* ---------- FAQ ---------- */
.bfx-faq { border-top: 1px solid var(--line); }
.bfx-faq details { border-bottom: 1px solid var(--line); }
.bfx-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--s-16); min-height: 72px; padding: var(--s-16) 0; font: 700 var(--fs-sub)/1.3 var(--font-display); letter-spacing: -.005em; transition: color var(--t-fast); border-radius: var(--r-sm); }
.bfx-faq summary::-webkit-details-marker { display: none; }
.bfx-faq summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat; transition: transform 600ms var(--spring), border-color var(--t-fast); }
.bfx-faq details[open] summary::after { transform: rotate(135deg); border-color: var(--blue); }
.bfx-faq summary:hover { color: var(--blue); }
.bfx-faq details > div { padding: 0 var(--s-48) var(--s-24) 0; color: var(--ink-2); }
.bfx-faq details[open] > div { animation: bfx-rise 500ms var(--ease-out); }
@keyframes bfx-rise { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- About sign-off ---------- */
.bfx-sign { display: flex; align-items: center; gap: var(--s-16); margin-top: var(--s-32); padding-top: var(--s-24); border-top: 1px solid var(--line); }
.bfx-sign img { width: 48px; height: 48px; border-radius: var(--r-md); object-fit: cover; object-position: 50% 25%; }
.bfx-sign strong { display: block; font: 700 var(--fs-body)/1.3 var(--font-display); }
.bfx-sign span { font-size: var(--fs-sm); color: var(--ink-2); }

/* ---------- Page hero (inner pages) ---------- */
.bfx-phero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(56px, 8vw, 112px) 0 clamp(56px, 7vw, 96px); text-align: center; background: linear-gradient(180deg, var(--white), var(--ice)); border-bottom: 1px solid var(--line); }
.bfx-phero .bfx-flag { margin-bottom: var(--s-24); }
.bfx-phero h1 { max-width: 15ch; margin-inline: auto; }
.bfx-phero .bfx-lede { margin: var(--s-24) auto 0; }

/* ---------- CTA ---------- */
.bfx-cta { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--s-section) + 48px) 0 var(--s-section); text-align: center; background: linear-gradient(180deg, var(--ice), var(--white)); border-top: 1px solid var(--line); }
.bfx-cta__card { position: relative; max-width: 880px; margin-inline: auto; padding: 80px var(--s-24) clamp(32px, 6vw, 64px); border-radius: var(--r-lg); border: 1px solid rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .64); -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); box-shadow: var(--sh-xl); }
.bfx-cta__blu { position: absolute; left: 50%; top: -72px; width: 136px; margin-left: -68px; animation: bfx-bob2 5s var(--ease-io) infinite alternate; }
@keyframes bfx-bob2 { to { transform: translateY(-8px) rotate(-2deg); } }
.bfx-cta .bfx-lede { margin: var(--s-16) auto 0; }
.bfx-cta__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-8) var(--s-24); margin-top: var(--s-32); font-size: var(--fs-cap); color: var(--ink-3); }
.bfx-cta__meta span { display: inline-flex; align-items: center; gap: var(--s-8); }
.bfx-cta__meta svg { width: 16px; height: 16px; color: var(--blue); }

/* ---------- Contact ---------- */
.bfx-contact { display: grid; gap: var(--s-48); align-items: start; }
@media (min-width: 1024px) { .bfx-contact { grid-template-columns: 4fr 7fr; column-gap: var(--s-64); } .bfx-contact aside { position: sticky; top: 96px; } }
.bfx-list { display: grid; gap: var(--s-8); margin-top: var(--s-24); }
.bfx-list a, .bfx-list div { display: flex; align-items: center; gap: var(--s-16); padding: var(--s-12); border-radius: var(--r-md); border: 1px solid var(--line); background: var(--white); transition: transform 600ms var(--spring), border-color var(--t-fast), box-shadow var(--t-med); }
.bfx-list a:hover { transform: translateX(4px); border-color: rgba(37, 99, 235, .55); box-shadow: 0 0 0 4px var(--wash); }
.bfx-list .ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: var(--r-md); background: var(--ink); color: var(--amber); }
.bfx-list .ico svg { width: 20px; height: 20px; }
.bfx-list small { display: block; font-size: 12px; color: var(--ink-3); }
.bfx-list strong { font-weight: 500; font-size: var(--fs-sm); }

.bfx-form { position: relative; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--white); box-shadow: var(--sh-xl); overflow: hidden; }
.bfx-form__body { padding: clamp(24px, 4vw, 48px); transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out); }
.bfx-form h2 { font: 700 var(--fs-h2)/1.1 var(--font-display); letter-spacing: -.015em; }
.bfx-form__body > p { margin-top: var(--s-8); color: var(--ink-2); font-size: var(--fs-sm); }
.bfx-form__grid { display: grid; gap: var(--s-24) var(--s-16); margin-top: var(--s-32); }
@media (min-width: 640px) { .bfx-form__grid { grid-template-columns: 1fr 1fr; } .bfx-form__grid .span-2 { grid-column: span 2; } }
.bfx-field { position: relative; display: grid; gap: var(--s-8); align-content: start; }
.bfx-field > label { font-size: var(--fs-sm); font-weight: 500; }
.bfx-field .opt { font-weight: 400; color: var(--ink-3); }
.bfx-field input:not([type="checkbox"]), .bfx-field select, .bfx-field textarea { width: 100%; min-height: 48px; padding: var(--s-12) 44px var(--s-12) var(--s-12); border-radius: var(--r-md); border: 1px solid var(--field); background-color: var(--white); font-size: var(--fs-body); transition: border-color var(--t-fast), box-shadow var(--t-med) var(--ease-out), background-color var(--t-fast); -webkit-appearance: none; appearance: none; }
.bfx-field select { background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23120969' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat; cursor: pointer; }
.bfx-field textarea { min-height: 144px; resize: vertical; }
.bfx-field input:not([type="checkbox"]):hover, .bfx-field select:hover, .bfx-field textarea:hover { border-color: var(--ink); }
.bfx-field input:not([type="checkbox"]):focus-visible, .bfx-field select:focus-visible, .bfx-field textarea:focus-visible { outline: none; border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), 0 0 0 5px rgba(37, 99, 235, .18); }
.bfx-field__ok { position: absolute; right: var(--s-12); top: 41px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--teal); color: var(--white); opacity: 0; transform: scale(.4) rotate(-20deg); transition: opacity var(--t-fast), transform 600ms var(--spring); pointer-events: none; }
.bfx-field__ok svg { width: 14px; height: 14px; }
.bfx-field.is-valid .bfx-field__ok { opacity: 1; transform: none; }
.bfx-field.is-valid input:not([type="checkbox"]), .bfx-field.is-valid textarea, .bfx-field.is-valid select { border-color: var(--teal); }
.bfx-error { display: none; align-items: center; gap: var(--s-8); font-size: var(--fs-cap); font-weight: 500; color: var(--ink); }
.bfx-error::before { content: "!"; width: 18px; height: 18px; flex: none; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--amber); color: var(--ink); font-size: 12px; font-weight: 700; }
.bfx-field.is-invalid .bfx-error { display: flex; animation: bfx-rise 400ms var(--ease-out); }
.bfx-field.is-invalid input:not([type="checkbox"]), .bfx-field.is-invalid select, .bfx-field.is-invalid textarea { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.bfx-field.is-shake { animation: bfx-shake 400ms var(--ease-out); }
@keyframes bfx-shake { 20% { transform: translateX(-4px); } 40% { transform: translateX(4px); } 60% { transform: translateX(-2px); } 80% { transform: translateX(2px); } }
.bfx-check { display: flex; align-items: flex-start; gap: var(--s-12); font-size: var(--fs-sm); color: var(--ink-2); cursor: pointer; }
.bfx-check input { flex: none; width: 22px; height: 22px; margin: 0; border-radius: var(--r-sm); border: 1px solid var(--field); background: var(--white); display: grid; place-items: center; transition: background-color var(--t-fast), border-color var(--t-fast); -webkit-appearance: none; appearance: none; cursor: pointer; }
.bfx-check input::after { content: ""; width: 10px; height: 6px; margin-top: -3px; border-left: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(-45deg) scale(0); transition: transform 500ms var(--spring); }
.bfx-check input:checked { background: var(--blue); border-color: var(--blue); }
.bfx-check input:checked::after { transform: rotate(-45deg) scale(1); }
.bfx-check a { color: var(--blue); font-weight: 500; padding: 0 2px; border-radius: var(--r-sm); background: var(--wash); }
.bfx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bfx-submit { margin-top: var(--s-32); width: 100%; }
@media (min-width: 640px) { .bfx-submit { width: auto; } }
.bfx-spin { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: var(--white); animation: bfx-rot2 700ms linear infinite; }
@keyframes bfx-rot2 { to { transform: rotate(360deg); } }
.bfx-form.is-sending .bfx-spin { display: block; }
.bfx-form.is-sending .bfx-submit > svg { display: none; }
.bfx-form.is-sending .bfx-form__grid { pointer-events: none; }
.bfx-form.is-sending .bfx-field input:not([type="checkbox"]), .bfx-form.is-sending .bfx-field select, .bfx-form.is-sending .bfx-field textarea { color: transparent; border-color: var(--line); background: linear-gradient(100deg, var(--ice) 20%, var(--white) 50%, var(--ice) 80%); background-size: 200% 100%; animation: bfx-shimmer 1.2s linear infinite; }
.bfx-form__status { margin-top: var(--s-16); font-size: var(--fs-sm); font-weight: 500; min-height: 1.5em; }
.bfx-done { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: var(--s-16); padding: var(--s-32); text-align: center; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity var(--t-med) var(--ease-out), transform 700ms var(--spring), visibility 0s linear var(--t-med); }
.bfx-done h2 { font-size: var(--fs-h3); max-width: 20ch; }
.bfx-form.is-done .bfx-form__body { opacity: 0; transform: translateY(-16px); pointer-events: none; visibility: hidden; }
.bfx-form.is-done .bfx-done { opacity: 1; visibility: visible; transform: none; transition-delay: 150ms, 150ms, 0s; }
.bfx-done__tick { width: 64px; height: 64px; display: grid; place-items: center; border-radius: var(--r-lg); background: var(--teal); color: var(--white); box-shadow: 0 0 0 8px rgba(0, 130, 144, .14); transform: scale(.5); transition: transform 800ms var(--spring) 250ms; }
.bfx-form.is-done .bfx-done__tick { transform: none; }
.bfx-done__tick svg { width: 32px; height: 32px; }

/* ---------- Prose (privacy) ---------- */
.bfx-prose { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.bfx-prose h2 { margin: var(--s-48) 0 var(--s-12); font: 700 var(--fs-h3)/1.25 var(--font-display); color: var(--ink); letter-spacing: -.01em; }
.bfx-prose p + p, .bfx-prose ul + p, .bfx-prose p + ul { margin-top: var(--s-16); }
.bfx-prose ul { display: grid; gap: var(--s-8); }
.bfx-prose li { position: relative; padding-left: var(--s-24); }
.bfx-prose li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 2px; background: var(--blue); }
.bfx-prose a { color: var(--blue); font-weight: 500; padding: 0 2px; border-radius: var(--r-sm); background: var(--wash); transition: background-color var(--t-fast); }
.bfx-prose a:hover { background: rgba(37, 99, 235, .16); }

/* ---------- 404 ---------- */
.bfx-lost__num { font: 700 clamp(120px, 22vw, 240px)/.9 var(--font-display); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px rgba(18, 9, 105, .16); user-select: none; }
.bfx-lost__blu { position: relative; width: 200px; margin: calc(clamp(120px, 22vw, 240px) * -.55) auto 0; animation: bfx-bob2 5s var(--ease-io) infinite alternate; }

/* ---------- Footer (deep band) ---------- */
.bfx-footer { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--on-deep-2); font-size: var(--fs-sm); padding: var(--s-64) 0 var(--s-32); }
.bfx-footer::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--noise); opacity: .3; mix-blend-mode: screen; pointer-events: none; }
.bfx-footer__grid { display: grid; gap: var(--s-48) var(--s-24); }
@media (min-width: 640px) { .bfx-footer__grid { grid-template-columns: repeat(3, 1fr); } .bfx-footer__grid > :first-child { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .bfx-footer__grid { grid-template-columns: 5fr 2fr 2fr 3fr; } .bfx-footer__grid > :first-child { grid-column: auto; } }
.bfx-footer__logo { width: 180px; }
.bfx-footer__about p { margin-top: var(--s-16); max-width: 32ch; }
.bfx-footer h3 { margin-bottom: var(--s-12); font: 500 var(--fs-cap)/1.4 var(--font-text); letter-spacing: .02em; color: var(--on-deep); }
.bfx-footer ul { display: grid; gap: 2px; }
.bfx-footer ul a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 var(--s-8); margin-left: calc(var(--s-8) * -1); border-radius: var(--r-sm); transition: color var(--t-fast), transform 500ms var(--spring), background-color var(--t-fast); }
.bfx-footer ul a:hover { color: var(--on-deep); transform: translateY(-2px); background: rgba(238, 239, 255, .06); }
.bfx-footer__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-16); margin-top: var(--s-64); padding-top: var(--s-24); border-top: 1px solid var(--on-deep-line); font-size: var(--fs-cap); }

/* Quick bar (phones, after the hero) */
.bfx-quick { position: fixed; left: var(--s-12); right: var(--s-12); bottom: calc(var(--s-12) + env(safe-area-inset-bottom)); z-index: 70; display: flex; gap: var(--s-8); padding: var(--s-8); border-radius: var(--r-lg); border: 1px solid var(--line); background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8); box-shadow: var(--sh-float); opacity: 0; transform: translateY(24px); pointer-events: none; transition: opacity var(--t-med) var(--ease-out), transform 700ms var(--spring); }
.bfx-quick .bfx-btn--blue { flex: 1; }
.bfx-quick.is-on { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 760px) { .bfx-quick { display: none; } }

/* ---------- Entrance choreography ---------- */
.bfx-js [data-reveal] { opacity: 0; transform: translate3d(0, 24px, 0) scale(.985); transition: opacity 900ms var(--ease-out), transform 1100ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.bfx-js [data-reveal].is-in { opacity: 1; transform: none; }
.bfx-kinetic .bfx-w { display: inline-block; overflow: clip; overflow-clip-margin: .14em; vertical-align: top; }
.bfx-kinetic .bfx-w > span { display: inline-block; opacity: 0; transform: translate3d(0, .72em, 0) scale(.96); transform-origin: 0 100%; transition: opacity 700ms var(--ease-out), transform 1100ms var(--spring-soft); transition-delay: calc(var(--w) * 60ms + 80ms); }
.bfx-kinetic.is-in .bfx-w > span { opacity: 1; transform: none; }

.bfx-hide-sm { display: none; }
@media (min-width: 640px) { .bfx-hide-sm { display: inline; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .bfx *, .bfx *::before, .bfx *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .bfx-js [data-reveal], .bfx-kinetic .bfx-w > span { opacity: 1; transform: none; }
  .bfx-say .bfx-sw { opacity: 1; }
}
@media (forced-colors: active) {
  .bfx-btn, .bfx-card, .bfx-window { border: 1px solid CanvasText; }
}

/* =====================================================================
   v5 layer: the blend. Deep blue stage up top (from v3), the white
   studio canvas below (from v4). Browser frames only around websites.
   ===================================================================== */

/* ---------- Top bar on the deep stage ---------- */
.bfx-gnav { background: var(--ink); color: var(--on-deep); border-bottom: 1px solid var(--on-deep-line); -webkit-backdrop-filter: none; backdrop-filter: none; }
.bfx-gnav__links a { color: var(--on-deep-2); }
.bfx-gnav__links a:hover { color: var(--white); }
.bfx-gnav__links a[aria-current="page"] { color: var(--white); background: rgba(238, 239, 255, .1); }
.bfx-gnav__links a[aria-current="page"]::after { background: var(--amber); }
.bfx-gnav :focus-visible { outline-color: var(--ice); box-shadow: 0 0 0 4px rgba(238, 239, 255, .2); }
.bfx-btn--ghost-ice { color: var(--on-deep); padding-inline: var(--s-12); }
.bfx-btn--ghost-ice:hover { color: var(--white); background: rgba(238, 239, 255, .08); }
.bfx-btn--ghost-ice:hover svg { transform: none; }
.bfx-gnav__menu { color: var(--on-deep); border-color: var(--on-deep-line); }
.bfx-gnav__menu:hover { border-color: rgba(238, 239, 255, .5); background: rgba(238, 239, 255, .06); }

/* Two-line burger that folds into a cross */
.bfx-burger { position: relative; width: 18px; height: 12px; display: inline-block; }
.bfx-burger i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform 600ms var(--spring); }
.bfx-burger i:first-child { top: 1px; }
.bfx-burger i:last-child { bottom: 1px; }
.bfx-burger.is-x i:first-child { transform: translateY(4px) rotate(45deg); }
.bfx-burger.is-x i:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Deep stage heroes ---------- */
.bfx-hero, .bfx-phero { color: var(--on-deep); border-bottom: 0; }
.bfx-hero { background: linear-gradient(180deg, var(--ink) 0, var(--ink) calc(100% - 120px), var(--white) calc(100% - 120px)); }
.bfx-phero { background: var(--ink); }
.bfx-hero::after, .bfx-phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--noise); opacity: .28; mix-blend-mode: screen; pointer-events: none; }
.bfx-hero .bfx-aura .a1, .bfx-phero .bfx-aura .a1 { background: radial-gradient(closest-side, rgba(37, 99, 235, .6), transparent); }
.bfx-hero .bfx-aura .a2, .bfx-phero .bfx-aura .a2 { background: radial-gradient(closest-side, rgba(0, 130, 144, .42), transparent); }
.bfx-hero .bfx-aura .a3, .bfx-phero .bfx-aura .a3 { background: radial-gradient(closest-side, rgba(255, 182, 102, .1), transparent); }
.bfx-hero .bfx-aura .a4, .bfx-phero .bfx-aura .a4 { background: radial-gradient(closest-side, rgba(37, 99, 235, .3), transparent); }
.bfx-hero .bfx-aura::after, .bfx-phero .bfx-aura::after { mix-blend-mode: screen; opacity: .2; }
.bfx-hero .bfx-guides i, .bfx-phero .bfx-guides i { border-color: rgba(238, 239, 255, .05) !important; }
.bfx-hero .bfx-lede, .bfx-phero .bfx-lede { color: var(--on-deep-2); }
.bfx-hero .bfx-flag, .bfx-phero .bfx-flag, .bfx-section--deep .bfx-flag { background: rgba(238, 239, 255, .06); border-color: var(--on-deep-line); color: var(--on-deep-2); }
.bfx-hero .bfx-flag b, .bfx-phero .bfx-flag b { background: var(--amber); color: var(--ink); }
.bfx-hero :focus-visible, .bfx-phero :focus-visible { outline-color: var(--ice); box-shadow: 0 0 0 4px rgba(238, 239, 255, .2); }
.bfx-hero h1 { max-width: 12ch; }

/* Choice cards as glass on the deep stage */
.bfx-hero .bfx-card { background: rgba(238, 239, 255, .07); border-color: var(--on-deep-line); color: var(--on-deep); }
.bfx-hero a.bfx-card:hover { background: rgba(238, 239, 255, .1); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .6); }
.bfx-hero .bfx-card p { color: var(--on-deep-2); }
.bfx-hero .bfx-card__go { color: var(--amber); }
.bfx-hero .bfx-spot { background: radial-gradient(closest-side, rgba(255, 182, 102, .14), transparent); }

/* Hero stage: website mock in the middle, two photo frames either side */
.bfx-trio__side.bfx-frame { aspect-ratio: 4 / 5; box-shadow: var(--sh-xl); }
.bfx-trio__side.bfx-frame img { transition: transform 1.6s var(--ease-out); }
.bfx-hero__stage:hover .bfx-trio__side.bfx-frame img { transform: scale(1.04); }
.bfx-trio__main .bfx-window { box-shadow: 0 -24px 80px -24px rgba(37, 99, 235, .55), var(--sh-xl); }

/* Inner page hero with a photo beside the words */
@media (min-width: 900px) {
  .bfx-phero--split { text-align: left; }
  .bfx-phero--split .bfx-container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-64); align-items: center; }
  .bfx-phero--split h1 { margin-inline: 0; }
  .bfx-phero--split .bfx-lede { margin-inline: 0; }
  .bfx-phero--split .bfx-actions--center, .bfx-phero--split .bfx-actions { justify-content: flex-start; }
}
.bfx-frame--hero { aspect-ratio: 4 / 3; box-shadow: 0 32px 80px -24px rgba(0, 0, 0, .55); border-color: var(--on-deep-line) !important; }
@media (max-width: 899px) { .bfx-phero--split .bfx-frame--hero { aspect-ratio: 4 / 3; margin-top: var(--s-48); } }

/* ---------- Plain photo frame (no browser chrome) ---------- */
.bfx-frame { position: relative; isolation: isolate; overflow: hidden; margin: 0; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--ice); }
.bfx-frame > img:not(.bfx-media-center), .bfx-frame > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bfx-frame--deep { background: var(--ink); border-color: transparent; }
.bfx-frame--white { background: var(--white); }
.bfx-frame--ice { background: var(--ice); }
.bfx-section--ice .bfx-frame--ice { background: var(--white); }
.bfx-work__item .bfx-frame { transition: transform 800ms var(--spring), box-shadow var(--t-med) var(--ease-out); }
.bfx-work__item:hover .bfx-frame { transform: translateY(-6px); box-shadow: var(--sh-xl); }
.bfx-work__item .bfx-frame > img:not(.bfx-media-center) { transition: transform 1.4s var(--ease-out); }
.bfx-work__item:hover .bfx-frame > img:not(.bfx-media-center) { transform: scale(1.04); }
.bfx-work__item .bfx-frame { aspect-ratio: 4 / 3; }
.bfx-work__item.is-wide .bfx-frame { aspect-ratio: 21 / 9; }
@media (max-width: 759px) { .bfx-work__item.is-wide .bfx-frame { aspect-ratio: 4 / 3; } }
.bfx-split > .bfx-frame { width: 100%; }

/* ---------- blu on a brand gradient stage ---------- */
.bfx-scene { position: absolute; inset: 0; overflow: hidden; container-type: size; background: radial-gradient(120% 80% at 50% 100%, rgba(0, 130, 144, .55), transparent 60%), radial-gradient(90% 70% at 50% 30%, rgba(37, 99, 235, .55), transparent 70%), var(--ink); }
.bfx-scene::after { content: ""; position: absolute; left: 50%; bottom: 9cqh; width: min(30cqw, 50cqh); height: 5cqh; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .45), transparent); }
.bfx-scene__blu { position: absolute; z-index: 1; left: 50%; bottom: 10cqh; width: min(34cqw, 58cqh); max-width: none; height: auto; transform: translateX(-50%); transform-origin: 50% 100%; animation: bfx-sway 5.5s var(--ease-io) infinite alternate; filter: drop-shadow(0 10px 14px rgba(18, 9, 105, .35)); }
.bfx-scene--paint .bfx-scene__blu { width: min(46cqw, 64cqh); bottom: 7cqh; }
.bfx-scene--paint::after { width: min(40cqw, 54cqh); bottom: 6cqh; }
@keyframes bfx-sway { from { transform: translateX(-50%) rotate(-1.5deg); } to { transform: translateX(-50%) translateY(-1.5%) rotate(1.5deg); } }

/* ---------- Portfolio strip (replaces the crafts banner) ---------- */
.bfx-brands { padding: var(--s-48) 0; background: var(--white); border-bottom: 1px solid var(--line); overflow: hidden; }
.bfx-brands__label { text-align: center; font: 500 var(--fs-cap)/1.4 var(--font-text); letter-spacing: .02em; color: var(--ink-3); margin-bottom: var(--s-32); }
.bfx-brands__track { display: flex; width: max-content; animation: bfx-marquee 50s linear infinite; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.bfx-brands:hover .bfx-brands__track { animation-play-state: paused; }
.bfx-brands__list { display: flex; align-items: center; gap: clamp(40px, 6vw, 80px); padding-right: clamp(40px, 6vw, 80px); }
.bfx-brands__list img { height: 44px; width: auto; max-width: none; opacity: .72; transition: opacity var(--t-fast), transform 600ms var(--spring); }
.bfx-brands__list li:hover img { opacity: 1; transform: translateY(-3px) scale(1.06); }
@keyframes bfx-marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- Service posters ---------- */
.bfx-posters { display: grid; gap: var(--s-16); }
@media (min-width: 760px) { .bfx-posters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-24); } }
.bfx-poster {
  --rx: 0deg; --ry: 0deg; --fg: var(--white); --acc: var(--amber); --soft: rgba(255, 255, 255, .9);
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: var(--s-16);
  min-height: 560px; padding: clamp(24px, 3.6vw, 48px); border-radius: var(--r-lg); color: var(--fg);
  transform: perspective(1400px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 900ms var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}
.bfx-poster::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--noise); opacity: .35; mix-blend-mode: soft-light; pointer-events: none; }
.bfx-poster::after { content: ""; position: absolute; inset: -40%; z-index: -1; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .16) 50%, transparent 60%); transform: translate3d(-60%, 0, 0); transition: transform 1.4s var(--ease-out); pointer-events: none; }
.bfx-poster:hover { box-shadow: var(--sh-xl); }
.bfx-poster:hover::after { transform: translate3d(60%, 0, 0); }
.bfx-poster--deep { background: radial-gradient(120% 80% at 100% 0%, rgba(37, 99, 235, .7), transparent 60%), radial-gradient(90% 70% at 0% 100%, rgba(0, 130, 144, .45), transparent 60%), var(--ink); }
.bfx-poster--blue { --acc: var(--ice); background: radial-gradient(110% 80% at 100% 0%, rgba(238, 239, 255, .3), transparent 55%), radial-gradient(90% 80% at 0% 100%, rgba(18, 9, 105, .7), transparent 60%), var(--blue); }
.bfx-poster--teal { --acc: var(--amber); background: radial-gradient(110% 80% at 100% 0%, rgba(255, 182, 102, .3), transparent 55%), radial-gradient(90% 80% at 0% 100%, rgba(18, 9, 105, .55), transparent 60%), var(--teal); }
.bfx-poster--amber { --fg: var(--ink); --acc: var(--ink); --soft: var(--ink); background: radial-gradient(110% 80% at 100% 0%, rgba(255, 255, 255, .55), transparent 55%), radial-gradient(90% 80% at 0% 100%, rgba(37, 99, 235, .28), transparent 60%), var(--amber); }
.bfx-poster__num { position: absolute; right: -.04em; bottom: -.2em; z-index: -1; font: 900 clamp(180px, 22vw, 300px)/1 var(--font-display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px currentColor; opacity: .18; transition: transform 1.2s var(--ease-out); pointer-events: none; }
.bfx-poster:hover .bfx-poster__num { transform: translate3d(-12px, -8px, 0); }
.bfx-poster__icon { position: absolute; right: clamp(20px, 3vw, 40px); top: clamp(20px, 3vw, 40px); width: clamp(72px, 9vw, 112px); aspect-ratio: 1; background: var(--acc); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; transition: transform 900ms var(--spring); animation: bfx-float 7s var(--ease-io) infinite alternate; }
.bfx-poster:hover .bfx-poster__icon { transform: rotate(-8deg) scale(1.08); }
@keyframes bfx-float { to { translate: 0 -8px; } }
.bfx-poster__kicker { align-self: flex-start; display: inline-flex; align-items: center; min-height: 28px; padding: 2px var(--s-12); border-radius: var(--r-sm); border: 1px solid currentColor; font: 700 var(--fs-cap)/1.2 var(--font-text); letter-spacing: .02em; }
.bfx-poster__title { margin-top: clamp(48px, 7vw, 96px); max-width: 13ch; font: 700 clamp(32px, 2.4vw + 16px, 52px)/1.02 var(--font-display); letter-spacing: -.025em; text-wrap: balance; }
.bfx-poster__why { max-width: 42ch; font-size: var(--fs-body); line-height: 1.55; color: var(--soft); text-wrap: pretty; }
.bfx-poster__get { display: grid; gap: var(--s-8) var(--s-24); margin-top: var(--s-8); padding-top: var(--s-16); border-top: 1px solid currentColor; border-top-color: color-mix(in srgb, currentColor 28%, transparent); font-size: var(--fs-sm); line-height: 1.45; }
@media (min-width: 1100px) { .bfx-poster__get { grid-template-columns: 1fr 1fr; } }
.bfx-poster__get li { position: relative; padding-left: var(--s-24); }
.bfx-poster__get li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 10px; height: 6px; border-left: 2px solid var(--acc); border-bottom: 2px solid var(--acc); transform: rotate(-45deg); }
.bfx-poster__go { margin-top: auto; padding-top: var(--s-16); display: inline-flex; align-items: center; gap: var(--s-8); align-self: flex-start; min-height: 44px; padding-inline: var(--s-16); border-radius: var(--r-md); background: var(--fg); color: var(--ink); font-weight: 700; font-size: var(--fs-sm); padding-block: 0; transition: transform 600ms var(--spring); }
.bfx-poster--amber .bfx-poster__go { color: var(--amber); }
.bfx-poster--blue .bfx-poster__go { color: var(--blue); }
.bfx-poster--teal .bfx-poster__go { color: var(--ink); }
.bfx-poster__go svg { width: 16px; height: 16px; transition: transform 600ms var(--spring); }
.bfx-poster:hover .bfx-poster__go svg { transform: translateX(4px); }
.bfx-poster:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
@media (max-width: 759px) { .bfx-poster { min-height: 0; } .bfx-poster__title { margin-top: var(--s-48); } }

/* Service icons from the studio's own icon set */
.bfx-ico-logo-design { --icon: url("../img/icons/logo-design.png"); }
.bfx-ico-web-design { --icon: url("../img/icons/web-design.png"); }
.bfx-ico-social-media { --icon: url("../img/icons/social-media.png"); }
.bfx-ico-graphic-design { --icon: url("../img/icons/graphic-design.png"); }
.bfx-ico-illustration { --icon: url("../img/icons/illustration.png"); }

/* Jump tiles on the services hero */
.bfx-jump { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-12); max-width: 900px; margin: var(--s-48) auto 0; }
@media (min-width: 760px) { .bfx-jump { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bfx-jump a { display: flex; flex-direction: column; align-items: center; gap: var(--s-12); padding: var(--s-24) var(--s-12); border-radius: var(--r-md); border: 1px solid var(--on-deep-line); background: rgba(238, 239, 255, .06); color: var(--on-deep); font: 700 var(--fs-sm)/1.3 var(--font-display); text-align: center; transition: transform 700ms var(--spring), background-color var(--t-fast), border-color var(--t-fast); }
.bfx-jump a:hover { transform: translateY(-4px); background: rgba(238, 239, 255, .1); border-color: rgba(238, 239, 255, .4); }
.bfx-jump b { display: block; margin-bottom: 2px; font-size: 12px; color: var(--amber); letter-spacing: .04em; }
.bfx-jump__ico { width: 44px; height: 44px; background: var(--on-deep); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; transition: transform 700ms var(--spring); }
.bfx-jump a:hover .bfx-jump__ico { transform: rotate(-8deg) scale(1.08); background: var(--amber); }

/* "Why it matters" panel */
.bfx-why { margin-top: var(--s-24); padding: var(--s-16) var(--s-24); border-radius: var(--r-md); border: 1px solid var(--line); background: var(--ice); }
.bfx-section--ice .bfx-why { background: var(--white); }
.bfx-why__tag { display: inline-flex; align-items: center; gap: var(--s-8); margin-bottom: var(--s-8); font: 700 var(--fs-cap)/1.2 var(--font-text); letter-spacing: .02em; color: var(--blue); }
.bfx-why__tag::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--amber); }
.bfx-why p:last-child { color: var(--ink-2); text-wrap: pretty; }

/* ---------- Menu for iPad and phones ---------- */
.bfx-sheet { position: fixed; inset: 0; z-index: 95; display: flex; flex-direction: column; background: var(--ink); color: var(--on-deep); overflow-y: auto; overscroll-behavior: contain; opacity: 0; transform: scale(1.015); transform-origin: 50% 0; transition: opacity var(--t-med) var(--ease-out), transform 700ms var(--ease-out); }
.bfx-sheet.is-open { opacity: 1; transform: none; }
.bfx-sheet::after { content: ""; position: fixed; inset: 0; z-index: -1; background-image: var(--noise); opacity: .25; mix-blend-mode: screen; pointer-events: none; }
.bfx-sheet__bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bfx-sheet__bg i { position: absolute; border-radius: 50%; width: 70vmax; height: 70vmax; }
.bfx-sheet__bg .s1 { left: -30vmax; top: -30vmax; background: radial-gradient(closest-side, rgba(37, 99, 235, .55), transparent); animation: bfx-drift-a 18s var(--ease-io) infinite alternate; }
.bfx-sheet__bg .s2 { right: -34vmax; bottom: -30vmax; background: radial-gradient(closest-side, rgba(0, 130, 144, .42), transparent); animation: bfx-drift-b 22s var(--ease-io) infinite alternate; }
.bfx-sheet__bg .s3 { right: -10vmax; top: 10vh; width: 40vmax; height: 40vmax; background: radial-gradient(closest-side, rgba(255, 182, 102, .1), transparent); animation: bfx-drift-c 26s var(--ease-io) infinite alternate; }
.bfx-sheet__top { flex: none; display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: var(--s-16); }
.bfx-sheet__logo { display: block; border-radius: var(--r-sm); }
.bfx-sheet__logo img { width: 160px; height: auto; }
.bfx-sheet__close { display: inline-flex; align-items: center; gap: var(--s-8); min-height: 44px; padding: 0 var(--s-12); border-radius: var(--r-md); border: 1px solid var(--on-deep-line); font-size: var(--fs-sm); font-weight: 500; color: var(--on-deep); transition: border-color var(--t-fast), background-color var(--t-fast); }
.bfx-sheet__close:hover { border-color: rgba(238, 239, 255, .5); background: rgba(238, 239, 255, .06); }
.bfx-sheet :focus-visible { outline-color: var(--ice); box-shadow: 0 0 0 4px rgba(238, 239, 255, .2); }
.bfx-sheet__grid { flex: 1; display: grid; gap: var(--s-32); align-content: start; padding-top: var(--s-16); padding-bottom: calc(var(--s-32) + env(safe-area-inset-bottom)); }
@media (min-width: 700px) { .bfx-sheet__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-48); padding-top: var(--s-32); align-items: start; } }
.bfx-sheet__nav { border-top: 1px solid var(--on-deep-line); }
.bfx-sheet__nav a { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) 24px; align-items: center; gap: var(--s-12); padding: var(--s-16) 0; border-bottom: 1px solid var(--on-deep-line); opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 600ms var(--ease-out), transform 1000ms var(--spring-soft); transition-delay: calc(var(--i, 0) * 55ms + 100ms); }
.bfx-sheet.is-open .bfx-sheet__nav a { opacity: 1; transform: none; }
.bfx-sheet__nav a::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, var(--blue), var(--teal), var(--amber)); transform: scaleX(0); transform-origin: left; transition: transform 700ms var(--ease-out); }
.bfx-sheet__n { font: 700 var(--fs-cap)/1 var(--font-display); letter-spacing: .06em; color: var(--on-deep-2); font-variant-numeric: tabular-nums; }
.bfx-sheet__t { display: block; font: 700 clamp(28px, 3.4vw + 14px, 44px)/1.04 var(--font-display); letter-spacing: -.02em; transition: transform 700ms var(--spring), color var(--t-fast); }
.bfx-sheet__t small { display: block; margin-top: 6px; font: 400 var(--fs-sm)/1.4 var(--font-text); letter-spacing: 0; color: var(--on-deep-2); }
.bfx-sheet__nav a > svg { width: 22px; height: 22px; color: var(--on-deep-2); transition: transform 700ms var(--spring), color var(--t-fast); }
.bfx-sheet__nav a:hover .bfx-sheet__t, .bfx-sheet__nav a:focus-visible .bfx-sheet__t { transform: translate3d(6px, -2px, 0); color: var(--amber); }
.bfx-sheet__nav a:hover > svg, .bfx-sheet__nav a:focus-visible > svg { transform: translateX(4px); color: var(--amber); }
.bfx-sheet__nav a:hover::before, .bfx-sheet__nav a[aria-current="page"]::before { transform: scaleX(1); }
.bfx-sheet__nav a[aria-current="page"] .bfx-sheet__n { color: var(--amber); }
.bfx-sheet__nav a[aria-current="page"] .bfx-sheet__n::after { content: ""; display: block; width: 6px; height: 6px; margin-top: 6px; border-radius: 50%; background: var(--amber); }
.bfx-sheet__side { display: grid; gap: var(--s-12); opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity 700ms var(--ease-out) 380ms, transform 1000ms var(--spring-soft) 380ms; }
.bfx-sheet.is-open .bfx-sheet__side { opacity: 1; transform: none; }
.bfx-sheet__card { position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--on-deep-line); background: rgba(238, 239, 255, .05); }
.bfx-sheet__card .bfx-scene { position: relative; aspect-ratio: 16 / 9; }
.bfx-sheet__cardcopy { display: grid; gap: var(--s-12); justify-items: start; padding: var(--s-24); }
.bfx-sheet__status { display: inline-flex; align-items: center; gap: var(--s-8); font-size: var(--fs-cap); font-weight: 700; color: var(--amber); }
.bfx-sheet__pitch { color: var(--on-deep-2); font-size: var(--fs-sm); }
.bfx-sheet__quick { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-12); }
.bfx-sheet__quick a { display: flex; align-items: center; gap: var(--s-12); min-height: 64px; padding: var(--s-12); border-radius: var(--r-md); border: 1px solid var(--on-deep-line); background: rgba(238, 239, 255, .05); font-size: var(--fs-sm); font-weight: 500; overflow-wrap: anywhere; transition: transform 600ms var(--spring), border-color var(--t-fast), background-color var(--t-fast); }
.bfx-sheet__quick a:hover { transform: translateY(-3px); border-color: rgba(238, 239, 255, .45); background: rgba(238, 239, 255, .1); }
.bfx-sheet__quick small { display: block; font-size: 12px; font-weight: 400; color: var(--on-deep-2); }
.bfx-sheet__quick .ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: var(--r-md); background: var(--amber); color: var(--ink); }
.bfx-sheet__quick .ico svg { width: 20px; height: 20px; }
@media (max-width: 419px), (min-width: 700px) { .bfx-sheet__quick { grid-template-columns: 1fr; } }

/* ---------- Floating bar: icon on its own, then the controls ---------- */
.bfx-pnav__home { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-md); transition: transform 600ms var(--spring); }
.bfx-pnav__home:hover { transform: scale(1.06) rotate(-4deg); }
.bfx-pnav__home img { width: 40px; height: 40px; }
.bfx-pnav__rule { flex: none; width: 1px; height: 28px; margin: 0 var(--s-4); background: var(--line-2); }
.bfx-pnav__toggle { flex: 1; width: auto; min-width: 0; height: 44px; margin-left: 0; display: flex; align-items: center; justify-content: space-between; gap: var(--s-8); padding: 0 var(--s-12); border: 1px solid var(--line); text-align: left; }
.bfx-pnav__now { display: grid; min-width: 0; line-height: 1.15; }
.bfx-pnav__now small { font-size: 11px; color: var(--ink-3); }
.bfx-pnav__now b { font: 700 var(--fs-sm)/1.2 var(--font-display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 1024px) {
  .bfx-pnav__toggle { flex: none; width: 44px; padding: 0; justify-content: center; border-color: transparent; }
  .bfx-pnav__now { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- Before and after: labels sit below the slider, not on it ---------- */
.bfx-ba-legend { display: flex; justify-content: space-between; align-items: center; gap: var(--s-12); padding: var(--s-12) var(--s-16); background: var(--ink); border-top: 1px solid var(--on-deep-line); color: var(--on-deep-2); font-size: var(--fs-cap); font-weight: 500; }
.bfx-ba-legend span:first-child, .bfx-ba-legend span:last-child { color: var(--on-deep); font-weight: 700; }

/* ---------- Portfolio logo wall ---------- */
.bfx-logowall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-12); }
@media (min-width: 640px) { .bfx-logowall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-16); } }
@media (min-width: 1024px) { .bfx-logowall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bfx-logowall li { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: var(--s-16); border-radius: var(--r-md); border: 1px solid var(--line); background: var(--ice); transition: transform 700ms var(--spring), box-shadow var(--t-med) var(--ease-out); }
.bfx-logowall li:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.bfx-logowall img { height: clamp(36px, 4vw, 50px); width: auto; max-width: 80%; }
.bfx-logowall .bfx-logowall__you { padding: 0; background: var(--blue); border-color: transparent; }
.bfx-logowall__you a { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; gap: var(--s-8); border-radius: inherit; color: var(--white); font: 700 var(--fs-body)/1.2 var(--font-display); }
.bfx-logowall__you svg { width: 18px; height: 18px; transition: transform 600ms var(--spring); }
.bfx-logowall__you:hover svg { transform: translateX(4px); }

/* Roles card on the music band */
.bfx-roles { gap: var(--s-16); padding: var(--s-32); }
.bfx-roles .bfx-card__icon { background: var(--amber); color: var(--ink); }
.bfx-section--deep .bfx-roles ul { border-top-color: var(--on-deep-line); color: var(--on-deep-2); }
.bfx-section--deep .bfx-roles ul li::before { border-color: var(--amber); }

/* ---------- CTA: deep card with blu's scene ---------- */
.bfx-cta { padding: var(--s-section) 0; background: linear-gradient(180deg, var(--white), var(--ice)); }
.bfx-cta__card { display: grid; max-width: 1104px; padding: 0; overflow: hidden; text-align: left; border: 0; background: var(--ink); color: var(--on-deep); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: var(--sh-xl); }
@media (min-width: 900px) { .bfx-cta__card { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.bfx-cta__art { position: relative; min-height: 280px; }
.bfx-cta__copy { padding: clamp(32px, 5vw, 64px); }
.bfx-cta .bfx-lede { margin: var(--s-16) 0 0; color: var(--on-deep-2); }
.bfx-cta__meta { justify-content: flex-start; color: var(--on-deep-2); }
.bfx-cta__meta svg { color: var(--amber); }
.bfx-cta :focus-visible { outline-color: var(--ice); box-shadow: 0 0 0 4px rgba(238, 239, 255, .2); }

/* 404 on the deep stage */
.bfx-phero .bfx-lost__num { -webkit-text-stroke: 2px rgba(238, 239, 255, .2); }

/* ---------- Reduced motion for the v5 pieces ---------- */
@media (prefers-reduced-motion: reduce) {
  .bfx-brands__track { animation: none; width: auto; justify-content: center; -webkit-mask: none; mask: none; }
  .bfx-brands__list { flex-wrap: wrap; justify-content: center; gap: var(--s-24) var(--s-48); padding: 0 var(--gutter); }
  .bfx-brands__list[aria-hidden="true"] { display: none; }
  .bfx-sheet__nav a, .bfx-sheet__side { opacity: 1; transform: none; }
}

/* Process steps sit side by side with their number on narrow screens */
@media (max-width: 899px) {
  .bfx-step .bfx-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: var(--s-16); row-gap: var(--s-4); align-items: start; padding: var(--s-16); }
  .bfx-step .bfx-step__n { grid-row: span 2; }
  .bfx-step .bfx-card h3 { margin-top: 2px; }
}

/* =====================================================================
   v5 round 2
   ===================================================================== */

/* Brow: plain amber text above a heading, no pill */
.bfx-brow { margin: 0 auto var(--s-16); font: 600 var(--fs-sub)/1.35 var(--font-display); letter-spacing: .01em; color: var(--amber); text-wrap: balance; }
.bfx-phero--split .bfx-brow { margin-inline: 0; }

/* Home hero: two big words, a calmer stage */
.bfx-hero__title { max-width: none; font-size: clamp(40px, 10.6vw, 124px); line-height: .98; letter-spacing: -.035em; }
.bfx-hero .bfx-aura .a3, .bfx-hero .bfx-aura .a4 { display: none; }
.bfx-hero .bfx-aura i { animation: none; }
.bfx-actions--slim .bfx-btn { min-height: 42px; padding: 8px 18px; font-size: var(--fs-sm); }

/* Choice cards: brow on top, icon below, then the words */
.bfx-card--choice { align-items: center; text-align: center; gap: var(--s-12); padding: var(--s-32) var(--s-24); }
.bfx-card--choice .bfx-choice__brow { padding: 0; font: 700 var(--fs-cap)/1.3 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--amber); }
.bfx-card--choice .bfx-card__thumb, .bfx-card--choice .bfx-card__thumb[class] { position: static; width: 52px; height: 52px; margin: var(--s-4) 0; }
.bfx-card--choice p { padding-right: 0; font-size: var(--fs-sm); line-height: 1.6; }
.bfx-card--choice .bfx-card__go { justify-content: center; }
.bfx-thumb--teal { background: var(--teal); color: var(--white); }

/* Statement band: the belief, then the next step */
.bfx-say__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-24) var(--s-48); margin-top: var(--s-48); }
.bfx-say__foot .bfx-say__meta { margin-top: 0; }
.bfx-say__foot .bfx-actions { margin-top: 0; }

/* ---------- Studio reel: untwist, then zoom into the centre tile ---------- */
.bfx-reel { position: relative; height: 260vh; background: var(--ink); }
.bfx-reel__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; perspective: 1400px; background: radial-gradient(70% 60% at 50% 50%, rgba(37, 99, 235, .35), transparent 70%), var(--ink); }
.bfx-reel__grid {
  --r: 0; --z: 0; --s: 4;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  /* sized so all three rows fit the screen height, not just the width */
  width: min(92vw, 1100px, 58vh); width: min(92vw, 1100px, 58svh);
  transform-style: preserve-3d; will-change: transform;
  transform: rotateX(calc(30deg * (1 - var(--r)))) rotateZ(calc(-20deg * (1 - var(--r)))) scale(calc(.72 + .28 * var(--r) + (var(--s) - 1) * var(--z)));
}
.bfx-reel__col { display: grid; gap: 12px; will-change: transform; }
.bfx-reel__col:nth-child(1) { transform: translateY(calc(-18% * (1 - var(--r)))); }
.bfx-reel__col:nth-child(3) { transform: translateY(calc(18% * (1 - var(--r)))); }
.bfx-tile { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; display: grid; place-items: center; padding: 10%; background: var(--blue); color: var(--white); }
.bfx-tile > img, .bfx-tile > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bfx-tile--cover { padding: 0; background: var(--ink); }
.bfx-tile--amber { background: var(--amber); color: var(--ink); }
.bfx-tile--teal { background: var(--teal); }
.bfx-tile--blue { background: var(--blue); }
.bfx-tile--tint { background: var(--ice); color: var(--ink); }
.bfx-tile--center { background: var(--ink); border: 1px solid rgba(238, 239, 255, .2); }
.bfx-tile--center > * { opacity: calc(1 - var(--z) * 2.5); }
.bfx-tile__word { font: 700 clamp(15px, 2.6vw, 36px)/1.05 var(--font-display); letter-spacing: -.02em; text-align: center; text-wrap: balance; }
.bfx-tile__word em { display: block; margin-top: .5em; font-style: normal; font-weight: 500; font-size: .5em; letter-spacing: .04em; opacity: .85; }
.bfx-reel__caption { position: absolute; inset: 0; display: grid; place-items: center; padding: var(--gutter); text-align: center; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease-out); }
.bfx-reel__caption.is-on { opacity: 1; pointer-events: auto; }
.bfx-reel__caption h2 { font: 700 clamp(40px, 8vw, 104px)/.98 var(--font-display); letter-spacing: -.035em; color: var(--white); text-wrap: balance; }
.bfx-reel__caption h2 em { display: block; font-style: normal; color: var(--amber); }
.bfx-reel__caption p { max-width: 34em; margin: var(--s-24) auto 0; font-size: var(--fs-sub); line-height: 1.5; color: var(--on-deep-2); }
.bfx-reel__caption .bfx-actions { margin-top: var(--s-32); }
.bfx-reel.is-static { height: auto; }
.bfx-reel.is-static .bfx-reel__stage { position: relative; height: auto; padding: var(--s-section) 0; display: block; }
.bfx-reel.is-static .bfx-reel__grid, .bfx-reel.is-static .bfx-reel__col { transform: none; }
.bfx-reel.is-static .bfx-reel__grid { margin: 0 auto; }
.bfx-reel.is-static .bfx-reel__caption { position: relative; opacity: 1; pointer-events: auto; margin-top: var(--s-32); }
.bfx-reel.is-static .bfx-tile--center > * { opacity: 1; }

/* ---------- Home work: one tall feature beside two stacked pieces ---------- */
.bfx-work--feature .bfx-work__item .bfx-frame { aspect-ratio: 16 / 10; }
@media (min-width: 760px) {
  .bfx-work--feature { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: auto auto; }
  .bfx-work--feature .is-tall { grid-row: span 2; display: flex; flex-direction: column; }
  .bfx-work--feature .is-tall .bfx-frame { aspect-ratio: auto; flex: 1; min-height: 420px; }
}
.bfx-work--feature .bfx-frame--white { background: var(--white); }

/* ---------- Services: second insight box, and the graphic design list ---------- */
.bfx-why--alt { border-color: var(--teal); background: rgba(0, 130, 144, .06); }
.bfx-why--alt .bfx-why__tag { color: var(--teal); }
.bfx-chips { display: grid; gap: var(--s-12); margin-top: var(--s-24); }
.bfx-chips__tag { font: 700 var(--fs-cap)/1.3 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.bfx-chips ul { display: flex; flex-wrap: wrap; gap: var(--s-8); margin-bottom: var(--s-8); }
.bfx-chips li { padding: 6px 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--white); font-size: var(--fs-sm); color: var(--ink-2); }
.bfx-section--ice .bfx-chips li { background: var(--white); }

/* ---------- Footer with more life ---------- */
.bfx-footer__bar { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--teal), var(--amber), var(--ice), var(--blue)); background-size: 200% 100%; animation: bfx-bar 12s linear infinite; }
@keyframes bfx-bar { to { background-position: -200% 0; } }
.bfx-footer__status { display: inline-flex; align-items: center; gap: var(--s-8); margin-top: var(--s-16); padding: 6px 12px; border-radius: var(--r-sm); background: rgba(255, 182, 102, .1); color: var(--amber); font-weight: 600; font-size: var(--fs-cap); }
.bfx-footer ul a:hover { color: var(--amber); }
.bfx-footer h3 { color: var(--amber); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.bfx-footer__mark { margin-top: var(--s-48); height: clamp(72px, 13vw, 190px); overflow: hidden; line-height: 0; -webkit-mask: linear-gradient(180deg, #000 20%, transparent 100%); mask: linear-gradient(180deg, #000 20%, transparent 100%); }
.bfx-footer__mark img { width: 100%; height: auto; opacity: .1; }
.bfx-js .bfx-footer__mark[data-reveal] { transform: translateY(40px); }
.bfx-js .bfx-footer__mark[data-reveal].is-in { transform: none; transition: opacity 1.2s var(--ease-out), transform 1.4s var(--ease-out); }
.bfx-footer__base { margin-top: 0; }
.bfx-footer__end { display: inline-flex; flex-wrap: wrap; gap: var(--s-8); }
.bfx-footer__top svg { transition: transform 600ms var(--spring); }
.bfx-footer__top:hover svg { transform: translateY(-3px); }

@media (prefers-reduced-motion: reduce) {
  .bfx-footer__bar { animation: none; }
}

/* ---------- New blu in the hero mock ---------- */
.bfx-mock__body img { width: 58%; justify-self: center; }

/* ---------- About hero: Allan standing, cut out against the deep stage ---------- */
.bfx-standing { position: relative; width: 100%; margin: var(--s-32) auto 0; height: clamp(440px, 66vh, 660px); }
.bfx-standing::before { content: ""; position: absolute; left: 50%; top: 8%; width: min(90%, 460px); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(37, 99, 235, .55), rgba(0, 130, 144, .2) 60%, transparent); }
.bfx-standing::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 46%; height: 22px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .5), transparent); }
.bfx-standing img { position: absolute; z-index: 1; left: 50%; bottom: 0; transform: translateX(-50%); height: 100%; width: auto; max-width: none; filter: drop-shadow(0 24px 32px rgba(0, 0, 0, .45)); }
@media (min-width: 900px) { .bfx-standing { margin-top: 0; } }
.bfx-phero:has(.bfx-standing) { padding-bottom: var(--s-32); }

/* ---------- Boathouse case study ---------- */
.bfx-case { display: grid; gap: var(--s-16); margin-top: var(--s-48); }
.bfx-case__hero { aspect-ratio: 16 / 9; }
.bfx-case__marks { display: grid; gap: var(--s-16); }
.bfx-case__marks .bfx-frame { aspect-ratio: auto; min-height: clamp(200px, 24vw, 320px); }
.bfx-case__posters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-16); }
.bfx-case__posters .bfx-frame { aspect-ratio: 9 / 16; }
@media (min-width: 760px) { .bfx-case__marks { grid-template-columns: 1fr 1.6fr; } }
@media (max-width: 599px) { .bfx-case__posters { gap: var(--s-8); } }
.bfx-case__copy { display: grid; gap: var(--s-32); margin-top: var(--s-48); align-items: start; }
@media (min-width: 900px) { .bfx-case__copy { grid-template-columns: 1fr 1fr; gap: var(--s-64); } }
.bfx [id] { scroll-margin-top: 84px; }

/* Boathouse: three pieces, one shared height */
.bfx-case--three { grid-template-columns: 1fr .5625fr; grid-template-areas: "hero hero" "mark poster"; align-items: stretch; }
.bfx-case--three .bfx-case__hero { grid-area: hero; }
.bfx-case--three .bfx-case__mark { grid-area: mark; aspect-ratio: 1; }
.bfx-case--three .bfx-case__poster { grid-area: poster; aspect-ratio: 9 / 16; }
@media (min-width: 760px) { .bfx-case--three { grid-template-columns: 1fr 1.7778fr .5625fr; grid-template-areas: "mark hero poster"; } .bfx-case--three .bfx-case__hero { aspect-ratio: auto; } }

/* ===== Round 5 ===== */

/* Hero cards: brow, icon, image. A panel in the icon's colour slides up on hover. */
.bfx-card--flip { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: var(--s-12); padding: var(--s-24); min-height: 380px; }
.bfx-card--flip .bfx-choice__brow { padding: 0; font: 700 var(--fs-cap)/1.3 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--amber); }
.bfx-card--flip .bfx-card__thumb, .bfx-card--flip .bfx-card__thumb[class] { position: static; width: 44px; height: 44px; margin: 0; }
.bfx-flip__img { position: relative; width: 100%; aspect-ratio: 16 / 10; margin-top: auto; border-radius: var(--r-md); overflow: hidden; background: var(--ink); }
.bfx-flip__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.bfx-flip__img--brand { display: grid; place-items: center; background: radial-gradient(70% 80% at 50% 40%, rgba(37, 99, 235, .55), transparent 70%), var(--ink); }
.bfx-flip__img--brand img { position: relative; inset: auto; width: 64%; height: auto; object-fit: contain; }
.bfx-flip__img--ice { background: var(--ice); }
.bfx-flip__panel { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; gap: var(--s-12); padding: var(--s-24); transform: translateY(102%); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.bfx-flip__panel p { font-size: var(--fs-sm); line-height: 1.6; text-wrap: pretty; }
.bfx-flip__panel .bfx-flip__brow { font: 700 var(--fs-cap)/1.3 var(--font-display); letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.bfx-flip__panel--amber { background: var(--amber); color: var(--ink); }
.bfx-flip__panel--teal { background: var(--teal); color: var(--white); }
.bfx-flip__panel--blue { background: var(--blue); color: var(--white); }
.bfx-flip__btn { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font: 600 14px/1 var(--font-display); background: var(--white); color: var(--ink); transition: transform var(--t-fast); }
.bfx-flip__panel--amber .bfx-flip__btn { background: var(--ink); color: var(--white); }
.bfx-flip__btn svg { width: 16px; height: 16px; }
.bfx-card--flip:hover .bfx-flip__btn { transform: translateX(3px); }
@media (hover: hover) { .bfx-card--flip:hover .bfx-flip__panel { transform: none; } .bfx-card--flip:hover .bfx-flip__img img { transform: scale(1.05); } }
.bfx-card--flip:focus-visible .bfx-flip__panel, .bfx-card--flip.is-open .bfx-flip__panel { transform: none; }
@media (prefers-reduced-motion: reduce) { .bfx-flip__panel { transition: none; } }

/* Hero centre: a true 16:9 window. The blu intro plays once over the site mock. */
.bfx-trio__main .bfx-window__view { aspect-ratio: 16 / 9; }
.bfx-intro { position: absolute; inset: 0; z-index: 5; background: #000; opacity: 0; transition: opacity .7s var(--ease-out), transform 1s cubic-bezier(.7, 0, .2, 1); }
.bfx-intro video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bfx-intro.is-in { opacity: 1; }
.bfx-intro.is-out { opacity: 0; transform: translateX(-100%); }

/* Testimonials: two columns drift in opposite directions and fade at the edges */
.bfx-quotes { --q-speed: 46s; position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent); }
.bfx-trio__side.bfx-quotes { align-self: stretch; transform: none; }
.bfx-quotes__track { display: flex; flex-direction: column; animation: bfx-q-up var(--q-speed) linear infinite; }
.bfx-quotes--down .bfx-quotes__track { animation-name: bfx-q-down; }
.bfx-quotes:hover .bfx-quotes__track { animation-play-state: paused; }
.bfx-quotes__set { display: grid; gap: 12px; padding-bottom: 12px; }
.bfx-quote { padding: var(--s-16) var(--s-16) var(--s-16); border-radius: var(--r-lg); background: rgba(238, 239, 255, .06); border: 1px solid rgba(238, 239, 255, .14); color: var(--on-deep); text-align: left; }
.bfx-quote__stars { display: block; font-size: 12px; letter-spacing: 2px; color: var(--amber); }
.bfx-quote blockquote { margin: var(--s-8) 0 0; font: 500 15px/1.5 var(--font-text); text-wrap: pretty; }
.bfx-quote figcaption { margin-top: var(--s-8); font: 600 12px/1.3 var(--font-display); letter-spacing: .04em; text-transform: uppercase; color: var(--on-deep-2); }
@keyframes bfx-q-up { to { transform: translateY(-50%); } }
@keyframes bfx-q-down { from { transform: translateY(-50%); } to { transform: none; } }
.bfx-quotes--row { display: none; margin-top: var(--s-48); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.bfx-quotes--row .bfx-quotes__track { flex-direction: row; width: max-content; animation-name: bfx-q-left; animation-duration: 70s; }
.bfx-quotes--row .bfx-quotes__set { display: flex; gap: 12px; padding: 0 12px 0 0; }
.bfx-quotes--row .bfx-quote { width: 270px; }
@keyframes bfx-q-left { to { transform: translateX(-50%); } }
@media (max-width: 759px) { .bfx-quotes--row { display: block; } }
@media (prefers-reduced-motion: reduce) { .bfx-quotes__track { animation: none; } .bfx-quotes--row { overflow-x: auto; } }

/* Scroll gallery: five columns. Outer columns carry messages and art, and everything fades in as it untwists. */
.bfx-reel__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); width: min(153vw, 1834px, 96.7vh); width: min(153vw, 1834px, 96.7svh); }
.bfx-reel__col { opacity: clamp(.12, calc(var(--r) * 1.6 - var(--d, 0) * .35 + .2), 1); }
.bfx-reel__col:nth-child(1) { transform: translateY(calc(26% * (1 - var(--r)))); }
.bfx-reel__col:nth-child(2) { transform: translateY(calc(-18% * (1 - var(--r)))); }
.bfx-reel__col:nth-child(3) { transform: none; }
.bfx-reel__col:nth-child(4) { transform: translateY(calc(18% * (1 - var(--r)))); }
.bfx-reel__col:nth-child(5) { transform: translateY(calc(-26% * (1 - var(--r)))); }
.bfx-tile--quote { background: rgba(238, 239, 255, .07); border: 1px solid rgba(238, 239, 255, .18); color: var(--on-deep); }
.bfx-tile__quote { font: 600 clamp(11px, 1.45vw, 21px)/1.3 var(--font-display); letter-spacing: -.01em; text-wrap: balance; }
.bfx-tile__quote em { display: block; margin-top: .8em; font: 600 .62em/1.2 var(--font-display); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--amber); }
.bfx-tile--ice { background: var(--ice); }
.bfx-reel.is-static .bfx-reel__col { opacity: 1; }
.bfx-reel.is-static .bfx-reel__grid { width: min(92vw, 1100px); }
@media (max-width: 759px) { .bfx-reel.is-static .bfx-reel__col:nth-child(1), .bfx-reel.is-static .bfx-reel__col:nth-child(5) { display: none; } .bfx-reel.is-static .bfx-reel__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* the quote columns take the window's height, never their own */
.bfx-trio__side.bfx-quotes .bfx-quotes__track { position: absolute; top: 0; left: 0; right: 0; }
@media (min-width: 760px) { .bfx-trio { grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr) minmax(0, 1fr); align-items: stretch; } }

/* ===== Whole images, always =====
   Every photo and artwork shows edge to edge: frames take the image's own shape, nothing is cropped. */
.bfx-frame:has(> img:not(.bfx-media-center)), .bfx-frame:has(> video) { aspect-ratio: auto !important; min-height: 0 !important; flex: none !important; }
.bfx-frame > img:not(.bfx-media-center), .bfx-frame > video { position: relative !important; inset: auto !important; display: block; width: 100%; height: auto !important; object-fit: contain !important; }
.bfx-work__item:hover .bfx-frame > img:not(.bfx-media-center), .bfx-hero__stage:hover .bfx-trio__side.bfx-frame img { transform: none; }
.bfx-work--feature { align-items: start; }
.bfx-tile > img, .bfx-tile > video { object-fit: contain; }
.bfx-flip__img { aspect-ratio: 3 / 2; }
.bfx-flip__img img { object-fit: contain; }
@media (hover: hover) { .bfx-card--flip:hover .bfx-flip__img img { transform: none; } }
.bfx-footer__mark { height: auto; overflow: visible; -webkit-mask: none; mask: none; }
.bfx-logowall img { object-fit: contain; }

/* Panel text takes the panel's colour, not the hero's */
.bfx-hero .bfx-flip__panel p, .bfx-flip__panel p { color: inherit; }
.bfx-flip__panel--amber, .bfx-flip__panel--amber p { color: var(--ink); }
/* Hero cards sit tight: the image fills the card's lower half, no empty gap */
.bfx-card--flip { min-height: 0; padding-bottom: var(--s-16); }
.bfx-card--flip .bfx-flip__img { margin-top: var(--s-4); width: calc(100% + var(--s-24) * 2 - var(--s-16) * 2); margin-left: calc(var(--s-16) - var(--s-24)); margin-right: calc(var(--s-16) - var(--s-24)); }
.bfx-flip__panel { padding: var(--s-20, 20px) var(--s-24); gap: var(--s-8); }
.bfx-flip__panel p { font-size: 14px; line-height: 1.55; }
@media (max-width: 959px) { .bfx-choice--flip { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }

/* ===== blu helper ===== */
.bfx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bfx-helper { position: fixed; right: calc(var(--s-16) + env(safe-area-inset-right)); bottom: calc(var(--s-16) + env(safe-area-inset-bottom)); z-index: 80; font-family: var(--font-text); transition: transform var(--t-med) var(--ease-out); }
.bfx-quick.is-on ~ .bfx-helper { transform: translateY(-72px); }
.bfx-helper__fab { display: flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; border: 0; border-radius: 999px; background: var(--ink); color: var(--white); font: 600 15px/1 var(--font-display); cursor: pointer; box-shadow: 0 12px 32px -8px rgba(18, 9, 105, .55), 0 0 0 1px rgba(238, 239, 255, .16) inset; transition: transform 500ms var(--spring); }
.bfx-helper__fab:hover { transform: translateY(-2px); }
.bfx-helper__fab img, .bfx-helper__head img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; background: linear-gradient(160deg, var(--blue), var(--ink)); }
.bfx-helper.is-open .bfx-helper__fab { display: none; }
.bfx-helper__panel { position: relative; width: min(380px, calc(100vw - 32px)); height: min(580px, calc(100svh - 120px)); display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--white); color: var(--ink); box-shadow: 0 24px 64px -16px rgba(18, 9, 105, .45), 0 0 0 1px var(--line); }
.bfx-helper__panel[hidden] { display: none; }
.bfx-helper__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--ink); color: var(--white); }
.bfx-helper__head p { flex: 1; display: grid; font: 700 16px/1.2 var(--font-display); }
.bfx-helper__head small { font: 500 12px/1.3 var(--font-text); color: var(--on-deep-2); }
.bfx-helper__close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(238, 239, 255, .12); color: var(--white); font-size: 22px; line-height: 1; cursor: pointer; }
.bfx-helper__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--ice); overscroll-behavior: contain; }
.bfx-helper__msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; animation: bfx-pop .35s var(--ease-out); }
.bfx-helper__msg--blu { align-self: flex-start; background: var(--white); border-bottom-left-radius: 4px; box-shadow: 0 1px 0 var(--line); }
.bfx-helper__msg--you { align-self: flex-end; background: var(--blue); color: var(--white); border-bottom-right-radius: 4px; }
.bfx-helper__msg a { color: var(--blue); font-weight: 600; }
.bfx-helper__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px; background: var(--ice); border-top: 1px solid var(--line); }
.bfx-helper__chips:empty { display: none; }
.bfx-helper__chips button { padding: 7px 12px; border: 1px solid rgba(37, 99, 235, .35); border-radius: 999px; background: var(--white); color: var(--ink); font: 600 13px/1.2 var(--font-display); cursor: pointer; transition: background var(--t-fast), color var(--t-fast); }
.bfx-helper__chips button:hover { background: var(--blue); color: var(--white); }
.bfx-helper__form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.bfx-helper__form input { flex: 1; min-width: 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; font: 500 16px/1.2 var(--font-text); color: var(--ink); background: var(--white); }
.bfx-helper__form input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.bfx-helper__form button { width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--blue); color: var(--white); font-size: 16px; cursor: pointer; }
@keyframes bfx-pop { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 759px) { .bfx-helper.is-open { left: 8px; right: 8px; bottom: 8px; transform: none; } .bfx-helper__panel { width: 100%; height: min(620px, calc(100svh - 24px)); } .bfx-helper__fab span { display: none; } .bfx-helper__fab { padding: 6px; } }
@media (prefers-reduced-motion: reduce) { .bfx-helper__msg { animation: none; } }
.bfx-quote figcaption b { display: block; margin-bottom: 2px; font: 700 14px/1.3 var(--font-display); letter-spacing: 0; text-transform: none; color: var(--white); }
/* stepped motion: JS moves one card at a time, then holds */
.bfx-quotes.is-step .bfx-quotes__track { animation: none; transition: transform .9s cubic-bezier(.65, 0, .35, 1); }
.bfx-trio__side.bfx-quotes { margin-bottom: 132px; } /* stop above the white strip at the foot of the hero */
/* Hero quotes: one card per side, slides towards the centre and vanishes behind the window */
.bfx-quote figcaption span { display: block; font: 600 13px/1.3 var(--font-display); letter-spacing: 0; text-transform: none; color: var(--amber); }
.bfx-quote figcaption small { display: block; margin-top: 2px; font: 500 11px/1.3 var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--on-deep-2); }
.bfx-trio__main { position: relative; z-index: 2; }
.bfx-trio__side.bfx-quotes.is-slide { z-index: 1; overflow: visible; -webkit-mask-image: none; mask-image: none; }
.bfx-quotes.is-slide .bfx-quotes__track { position: absolute; inset: 0; animation: none; transform: none !important; }
.bfx-quotes.is-slide .bfx-quotes__set + .bfx-quotes__set { display: none; }
.bfx-quotes.is-slide .bfx-quotes__set { position: absolute; inset: 0; display: block; padding: 0; }
.bfx-quotes.is-slide .bfx-quote { position: absolute; left: 0; right: 0; top: 50%; background: rgba(28, 20, 120, .92); box-shadow: var(--sh-xl); opacity: 0; transform: translate(var(--q-from), -50%); transition: transform 1.2s cubic-bezier(.65, 0, .35, 1), opacity .6s var(--ease-out); }
.bfx-quotes.is-slide { --q-from: -28%; --q-to: 115%; }
.bfx-quotes--down.is-slide { --q-from: 28%; --q-to: -115%; }
.bfx-quotes.is-slide .bfx-quote.is-wait { transition: none; }
.bfx-quotes.is-slide .bfx-quote.is-on { opacity: 1; transform: translate(0, -50%); }
.bfx-quotes.is-slide .bfx-quote.is-gone { opacity: 1; transform: translate(var(--q-to), -50%); transition: transform 1.2s cubic-bezier(.65, 0, .35, 1), opacity .3s 1s; }
