/* One Up Plus Digital (/business): a quiet, boutique page in the One Up Plus games-site palette
   (navy, bright blue, gold). One sans-serif typeface (Inter) throughout, generous space, a gentle fade-in on scroll.
   Separate from the games-site styling. Motion switches off under prefers-reduced-motion. */
:root {
  --b-bg: #0a0d1a;
  --b-alt: #0e1226;
  --b-card: #131936;
  --b-line: rgba(255, 255, 255, 0.08);
  --b-line-hi: rgba(255, 255, 255, 0.18);
  --b-text: #e9edff;
  --b-muted: #9ea7cc;
  --b-accent: #00aeef;
  --b-accent-hi: #33c1f5;
  --b-accent-soft: rgba(0, 174, 239, 0.14);
  --b-accent-ink: #8fdcff;
  --b-on: #06101c;
  --b-gold: #ffc531;
  --b-radius: 18px;
  --b-wrap: 1120px;
  --b-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; background: var(--b-bg); }
body.biz {
  margin: 0; background: var(--b-bg); color: var(--b-text);
  font-family: var(--b-font); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
img, svg { display: block; }
img { height: auto; max-width: 100%; }
.skip { position: absolute; left: -9999px; top: 0; padding: 0.6rem 1rem; background: var(--b-accent); color: var(--b-on); z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
.hp { position: absolute; left: -9999px; }
::selection { background: var(--b-accent-soft); }

.bwrap { width: min(var(--b-wrap), 100% - 32px); margin-inline: auto; }
.bi { width: 1.25em; height: 1.25em; flex: none; }
em { font-style: italic; }

/* header */
.bhead { position: sticky; top: 0; z-index: 30; background: rgba(10, 13, 26, 0.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.bhead.is-scrolled { border-bottom-color: var(--b-line); }
.bhead__in { display: flex; align-items: center; gap: 2rem; height: 72px; }
.bbrand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.bbrand .bi { width: 1.4em; height: 1.4em; color: var(--b-accent); }
.bbrand--sm { font-size: 0.76rem; }
.bnav { display: flex; gap: 2rem; margin-left: auto; }
.bnav a { text-decoration: none; color: var(--b-muted); font-size: 0.94rem; transition: color 0.2s; }
.bnav a:hover { color: var(--b-text); }
.blang { padding: 0.35rem 0.75rem; border: 1px solid var(--b-line-hi); border-radius: 999px; font-size: 0.85rem; font-weight: 600; text-decoration: none; color: var(--b-muted); white-space: nowrap; transition: color 0.2s, border-color 0.2s; }
.blang:hover { color: var(--b-text); border-color: var(--b-text); }
.bnav + .blang { margin-left: -0.5rem; }
/* Chinese: no faux-italic on CJK, and a touch more line height */
:lang(zh) em { font-style: normal; }
:lang(zh) .beyebrow, :lang(zh) .bpanel__k, :lang(zh) .bperson__role { letter-spacing: 0.06em; }

/* buttons */
.bbtn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; padding: 0.9rem 1.5rem; border-radius: 999px; border: 1px solid transparent; font: inherit; font-size: 0.96rem; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.bbtn .bi { width: 1.1em; height: 1.1em; transition: transform 0.2s; }
.bbtn:hover .bi { transform: translateX(3px); }
.bbtn--primary { background: var(--b-accent); color: var(--b-on); }
.bbtn--primary:hover { background: var(--b-accent-hi); }
.bbtn--line { background: transparent; color: var(--b-text); border-color: var(--b-line-hi); }
.bbtn--line:hover { border-color: var(--b-text); }
.bbtn--sm { padding: 0.6rem 1.15rem; font-size: 0.86rem; }
.bbtn--full { width: 100%; }
.bbtn:disabled { opacity: 0.6; cursor: wait; }
.show-sm { display: none; }

/* type */
.beyebrow { margin: 0 0 1rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--b-accent); }
.bh1, .bh2 { font-weight: 600; text-wrap: balance; }
.bh1 { margin: 0 0 1.4rem; font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.15; letter-spacing: -0.025em; }
.bh2 { margin: 0 0 1.2rem; font-size: clamp(1.75rem, 3vw, 2.3rem); line-height: 1.2; letter-spacing: -0.02em; }
.bh1 em, .bh2 em { color: var(--b-gold); }
.bh3 { margin: 0 0 0.5rem; font-size: 1.15rem; line-height: 1.3; font-weight: 600; }
.blead { margin: 0 0 1.5rem; max-width: 38rem; font-size: clamp(1.04rem, 1.4vw, 1.15rem); color: var(--b-muted); }
.bmuted { color: var(--b-muted); }
.bmuted a { color: var(--b-text); }

.rise { opacity: 0; transform: translateY(14px); animation: rise 0.9s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s cubic-bezier(.2,.7,.2,1), transform 0.8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

/* hero */
.bhero { position: relative; isolation: isolate; padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 8vw, 6.5rem); }

/* aura: soft glow that drifts slowly, faint streaks of light (canvas, business.js) and film grain, all behind the hero.
   Fades out top and bottom so it melts into the page. */
.baura { position: absolute; inset: -72px 0 0; z-index: -1; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 88%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 88%, transparent 100%); }
.baura__fog { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.9; mix-blend-mode: screen; will-change: transform; }
.baura__fog--a { width: 60vw; height: 44vw; max-height: 600px; left: -16vw; bottom: 2%; background: radial-gradient(closest-side, rgba(30, 90, 255, 0.85), rgba(25, 45, 170, 0.45) 55%, transparent); animation: aura-a 22s ease-in-out infinite alternate; }
.baura__fog--b { width: 50vw; height: 40vw; max-height: 540px; right: -10vw; top: 6%; background: radial-gradient(closest-side, rgba(0, 150, 239, 0.7), rgba(40, 60, 210, 0.4) 60%, transparent); animation: aura-b 28s ease-in-out infinite alternate; }
.baura__fog--c { width: 34vw; height: 22vw; max-height: 300px; left: 30%; top: 22%; background: radial-gradient(closest-side, rgba(255, 197, 49, 0.3), transparent); opacity: 0.5; animation: aura-c 34s ease-in-out infinite alternate; }
@keyframes aura-a { to { transform: translate3d(8vw, -6%, 0) scale(1.12); } }
@keyframes aura-b { to { transform: translate3d(-10vw, -10%, 0) scale(0.9); } }
@keyframes aura-c { to { transform: translate3d(-14vw, 18%, 0) scale(1.25); } }
.baura__fog--d { width: 70vw; height: 30vw; max-height: 420px; left: 15vw; bottom: 0; background: radial-gradient(closest-side, rgba(45, 70, 230, 0.7), rgba(0, 120, 220, 0.25) 60%, transparent); animation: aura-b 40s ease-in-out infinite alternate-reverse; }
.baura__sparks { position: absolute; inset: 0; width: 100%; height: 100%; }
.baura__grain { position: absolute; inset: 0; opacity: 0.08; mix-blend-mode: overlay;
  background-image: 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%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.bhero__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); column-gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.bhero__copy { max-width: 46rem; }
.bhero__rule, .bhero__in > .bpanel { grid-column: 1 / -1; }
.bhero__rule { width: 100%; margin: clamp(2.5rem, 5vw, 3.5rem) 0; border: 0; border-top: 1px solid var(--b-line); }

/* aiflow: what an AI solution does, purely decorative. Inputs pulse into the AI engine, results pulse out. */
.aiflow { --s: 440px; justify-self: center; width: var(--s); height: auto; overflow: visible; font-family: var(--b-font); }
.aiflow__halo { transform-origin: 220px 200px; animation: ai-breathe 4.8s ease-in-out infinite; }
@keyframes ai-breathe { 0%, 100% { opacity: 0.7; transform: scale(0.94); } 50% { opacity: 1; transform: scale(1.06); } }
.aiflow__wire { fill: none; stroke: rgba(143, 220, 255, 0.16); stroke-width: 1.2; }
.aiflow__pulse { fill: none; stroke: var(--b-accent); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 9 91; stroke-dashoffset: 100; opacity: 0; filter: drop-shadow(0 0 4px rgba(0, 174, 239, 0.9)); animation: ai-pulse 2.6s cubic-bezier(.5,0,.5,1) infinite; animation-delay: var(--t); }
.aiflow__pulse--out { stroke: var(--b-gold); filter: drop-shadow(0 0 4px rgba(255, 197, 49, 0.9)); }
@keyframes ai-pulse { 0% { stroke-dashoffset: 100; opacity: 0; } 12% { opacity: 1; } 78% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.aiflow__pin { fill: var(--b-accent-ink); }
.aiflow__leg { stroke: rgba(143, 220, 255, 0.35); stroke-width: 2; stroke-linecap: round; }
.aiflow__chip { stroke: rgba(0, 174, 239, 0.4); stroke-width: 1.2; }
.aiflow__scan { fill: none; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 22 78; filter: drop-shadow(0 0 5px rgba(0, 174, 239, 0.8)); animation: ai-scan 5s linear infinite; }
@keyframes ai-scan { to { stroke-dashoffset: -100; } }
.aiflow__net path { stroke: rgba(143, 220, 255, 0.16); stroke-width: 0.9; }
.aiflow__neuron { fill: var(--b-accent-ink); animation: ai-fire 2.4s ease-in-out infinite; animation-delay: var(--t); }
.aiflow__neuron--out { fill: var(--b-gold); }
@keyframes ai-fire { 0%, 100% { opacity: 0.35; } 40% { opacity: 1; } }
.aiflow__node { fill: var(--b-card); stroke: var(--b-line-hi); stroke-width: 1; }
.aiflow__node--out { stroke: rgba(255, 197, 49, 0.35); }
.aiflow__ic { fill: none; stroke: var(--b-accent-ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.aiflow__ic--out { stroke: var(--b-gold); }

/* services panel below the hero headline */
.bpanel { padding: clamp(1.5rem, 3vw, 2.1rem); background: var(--b-card); border: 1px solid var(--b-line); border-radius: 24px; }
/* In the hero the panel is frosted glass so the aura glows through it. */
.bhero .bpanel { background: rgba(19, 25, 54, 0.5); border-color: rgba(255, 255, 255, 0.1); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.bpanel__k { margin: 0 0 0.6rem; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--b-muted); }
.bpanel__title { margin: 0 0 1.25rem; font-size: clamp(1.35rem, 2.2vw, 1.6rem); line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.bpanel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin: 0; padding: 0; list-style: none; }
.bpanel__tile { display: grid; align-content: start; gap: 1.1rem; min-height: 8.5rem; padding: 1.4rem 1.5rem; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--b-line); border-radius: 14px; font-weight: 600; font-size: 1.08rem; line-height: 1.3; }
.bpanel__tile .bi { width: 1.4em; height: 1.4em; color: var(--b-accent-ink); }
.bactions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }

/* sections */
.bsec { padding: clamp(4.5rem, 9vw, 7rem) 0; border-top: 1px solid var(--b-line); }
.bsec--alt { background: var(--b-alt); }
.bsec__head { max-width: 42rem; margin-bottom: 2.75rem; }
.bsplit { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }

/* team */
.bteam { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.bperson { display: grid; grid-template-columns: 150px 1fr; gap: 1.6rem; align-items: center; padding: 1.5rem; background: var(--b-card); border: 1px solid var(--b-line); border-radius: var(--b-radius); }
.bperson__photo { width: 150px; height: 150px; border-radius: 14px; object-fit: cover; }
.bperson__name { margin: 0; font-weight: 600; font-size: 1.35rem; line-height: 1.25; letter-spacing: -0.01em; }
.bperson__role { margin: 0.2rem 0 0.7rem; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--b-accent); }
.bperson__text { margin: 0; color: var(--b-muted); font-size: 0.96rem; }

/* featured client */
.bfeat { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.5rem clamp(2rem, 5vw, 4rem); align-items: center; padding: clamp(1.75rem, 4vw, 3rem); background: var(--b-card); border: 1px solid var(--b-line); border-radius: calc(var(--b-radius) + 4px); }
.bfeat__label { display: inline-flex; align-items: center; gap: 0.45rem; margin: 0 0 1.1rem; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--b-gold); }
.bfeat__label .bi { width: 1em; height: 1em; stroke-width: 2.4; }
.bfeat__name { margin: 0; font-weight: 600; font-size: clamp(1.75rem, 3.2vw, 2.3rem); line-height: 1.15; letter-spacing: -0.02em; }
.bfeat__about { margin: 0 0 1.4rem; color: var(--b-muted); font-size: 1.04rem; }
.bfeat__link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.95rem; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--b-line-hi); padding-bottom: 2px; transition: border-color 0.2s, color 0.2s; }
.bfeat__link:hover { color: var(--b-accent); border-color: var(--b-accent); }
.bfeat__link .bi { width: 0.95em; height: 0.95em; }

/* consultation */
.bform { display: grid; gap: 1rem; background: var(--b-card); border: 1px solid var(--b-line); border-radius: calc(var(--b-radius) + 2px); padding: clamp(1.25rem, 3vw, 2rem); }
.bform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.bform label { display: grid; gap: 0.4rem; font-size: 0.9rem; font-weight: 500; }
.bform .req { color: var(--b-accent); }
.bform input, .bform textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--b-text); background: var(--b-bg); border: 1px solid var(--b-line); border-radius: 12px; padding: 0.8rem 0.95rem; transition: border-color 0.2s, box-shadow 0.2s; }
.bform input::placeholder, .bform textarea::placeholder { color: #6f7aa6; }
.bform textarea { resize: vertical; }
.bform input:focus, .bform textarea:focus { outline: none; border-color: var(--b-accent); box-shadow: 0 0 0 4px var(--b-accent-soft); }
.bform .form__note { margin: 0; min-height: 1.2em; font-size: 0.92rem; color: var(--b-muted); }

/* footer */
.bfoot { border-top: 1px solid var(--b-line); padding: 2rem 0; font-size: 0.88rem; color: var(--b-muted); }
.bfoot__in { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.bfoot a { color: var(--b-muted); }
.bfoot a:hover { color: var(--b-text); }

:focus-visible { outline: 2px solid var(--b-accent); outline-offset: 3px; }

@media (max-width: 1000px) {
  .aiflow { --s: 360px; }
  .bteam { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .bnav { display: none; }
  .blang { margin-left: auto; }
  .bhead__in { justify-content: space-between; gap: 1rem; }
  .bhero__in, .bsplit, .bfeat { grid-template-columns: 1fr; }
  .aiflow { display: none; }
}
@media (max-width: 620px) {
  .bform__row { grid-template-columns: 1fr; }
  .bhead .bbtn--sm { padding: 0.5rem 0.9rem; font-size: 0.8rem; }
  .bhead__in { gap: 0.6rem; }
  .bbrand { gap: 0.45rem; font-size: 0.74rem; letter-spacing: 0.06em; }
  .blang { padding: 0.3rem 0.6rem; font-size: 0.8rem; }
  :lang(zh) .bh1 { font-size: 1.7rem; }
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .bactions .bbtn { flex: 1 1 100%; }
  .bpanel__tile { min-height: 7rem; padding: 1rem; font-size: 0.95rem; }
  .bperson { grid-template-columns: 96px 1fr; gap: 1.1rem; padding: 1.25rem; align-items: start; }
  .bperson__photo { width: 96px; height: 96px; border-radius: 12px; }
  .bperson__name { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise, .js-reveal .reveal { opacity: 1; transform: none; }
}
