/* ============================================================
     LiveArt — single-file site
     Design language: international commerce + digital / fintech.
     Light, structured, restrained. Ink navy + digital blue.
     ============================================================ */

  :root {
    --ink:        #0B1B33;
    --ink-2:      #14294A;
    --paper:      #FFFFFF;
    --paper-2:    #F5F7FA;
    --paper-3:    #EEF1F6;
    --line:       #E2E7EE;
    --line-2:     #D5DBE5;
    --muted:      #56657C;
    --muted-2:    #7E8BA0;
    --accent:     #2452E6;
    --accent-2:   #1B3FC4;
    --accent-soft:#EAEFFE;
    --cyan:       #16B6CC;

    --maxw: 1180px;
    --gutter: clamp(20px, 5vw, 56px);
    --r: 14px;

    --shadow-sm: 0 1px 2px rgba(11,27,51,.05), 0 2px 8px rgba(11,27,51,.04);
    --shadow-md: 0 4px 16px rgba(11,27,51,.07), 0 16px 40px rgba(11,27,51,.06);

    --ease: cubic-bezier(.2,.7,.2,1);
  }

  * { box-sizing: border-box; }

  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

  body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  a { color: inherit; text-decoration: none; }
  img, svg { display: block; max-width: 100%; }

  h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 600; margin: 0; }
  p { margin: 0; }

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

  /* Eyebrow / mono labels — the "digital" signal */
  .eyebrow {
    font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .eyebrow::before {
    content: "";
    width: 22px; height: 1px;
    background: var(--accent);
    opacity: .55;
  }

  .section { padding: clamp(64px, 9vw, 120px) 0; }
  .section--alt { background: var(--paper-2); border-block: 1px solid var(--line); }

  .section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
  .section-head h2 {
    font-size: clamp(28px, 4vw, 44px);
    margin-top: 18px;
  }
  .section-head .lede {
    margin-top: 20px;
    font-size: clamp(17px, 1.5vw, 19px);
    color: var(--muted);
    max-width: 640px;
  }

  /* ---------- Header ---------- */
  .site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.82);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s var(--ease), background .3s var(--ease);
  }
  .site-header.is-scrolled { border-bottom-color: var(--line); }
  .nav {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px; gap: 18px;
  }
  .brand { display: flex; align-items: center; gap: 11px; font-weight: 600; letter-spacing: -0.02em; font-size: 20px; }
  .brand .mark { flex: none; }
  .brand .tld { color: var(--muted-2); font-weight: 500; }

  .nav-links { display: flex; align-items: center; gap: 24px; }
  .nav-links a {
    font-size: 15px; color: var(--ink-2); font-weight: 500; white-space: nowrap;
    position: relative; padding: 4px 0; transition: color .2s var(--ease);
  }
  .nav-links a:hover { color: var(--accent); }

  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; font-size: 15px;
    padding: 11px 20px; border-radius: 999px;
    transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
    border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  }
  .btn--primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(36,82,230,.25); }
  .btn--primary:hover { background: var(--accent-2); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(36,82,230,.28); }
  .btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
  .btn--ghost:hover { border-color: var(--ink); transform: translateY(-1px); }
  .btn--lg { padding: 14px 26px; font-size: 16px; }

  .nav-cta { display: flex; align-items: center; gap: 14px; }

  /* Language switcher */
  .lang-switch { display: flex; align-items: center; gap: 2px; }
  .lang-switch a {
    padding: 5px 9px; border-radius: 7px; font-size: 14px; font-weight: 600;
    color: var(--muted-2); line-height: 1; transition: color .2s var(--ease), background .2s var(--ease);
  }
  .lang-switch a:hover { color: var(--accent); }
  .lang-switch a.is-active { color: var(--ink); background: var(--paper-3); }

  .nav-toggle {
    display: none; background: none; border: 0; cursor: pointer; padding: 8px; margin: -8px -8px -8px 0;
  }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
  .nav-toggle span + span { margin-top: 5px; }

  /* ---------- Hero ---------- */
  .hero { position: relative; overflow: hidden; background: var(--paper); }
  .hero::before {
    /* faint dot grid */
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(var(--line-2) 1px, transparent 1px);
    background-size: 30px 30px;
    -webkit-mask-image: radial-gradient(120% 80% at 70% 0%, #000 0%, transparent 65%);
    mask-image: radial-gradient(120% 80% at 70% 0%, #000 0%, transparent 65%);
    opacity: .5; pointer-events: none;
  }
  .hero::after {
    /* soft colour mesh top-right */
    content: ""; position: absolute; top: -25%; right: -10%;
    width: 720px; height: 720px; pointer-events: none;
    background:
      radial-gradient(closest-side, rgba(36,82,230,.16), transparent 70%),
      radial-gradient(closest-side, rgba(22,182,204,.14), transparent 70%);
    background-position: 0 0, 180px 120px;
    background-repeat: no-repeat;
    filter: blur(8px);
  }
  .hero-inner { position: relative; z-index: 1; padding-top: clamp(64px, 11vw, 132px); padding-bottom: clamp(56px, 8vw, 96px); }
  .hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 6vw, 80px); align-items: center; }

  .hero h1 {
    font-size: clamp(34px, 5.4vw, 62px);
    letter-spacing: -0.03em;
    margin-top: 24px;
  }
  .hero h1 .grad {
    background: linear-gradient(100deg, var(--accent) 10%, var(--cyan) 90%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .hero .lede {
    margin-top: 26px; font-size: clamp(17px, 1.7vw, 20px);
    color: var(--muted); max-width: 560px;
  }
  .hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

  .hero-stats {
    margin-top: 48px; display: flex; gap: clamp(20px, 4vw, 44px);
    border-top: 1px solid var(--line); padding-top: 26px; flex-wrap: wrap;
  }
  .stat .n { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
  .stat .l { font-size: 13.5px; color: var(--muted); margin-top: 2px; }

  /* Hero visual — abstract APAC connection card */
  .hero-visual { position: relative; }
  .panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
  }
  .panel-top {
    display: flex; align-items: center; gap: 8px;
    padding: 14px 18px; border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #fff, var(--paper-2));
  }
  .panel-top .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
  .panel-top .label {
    margin-left: auto; font-family: "IBM Plex Mono", monospace; font-size: 11.5px;
    color: var(--muted-2); letter-spacing: .04em;
  }
  .panel-body { padding: 8px; }
  .panel-map { width: 100%; height: auto; display: block; border-radius: 12px; }
  .panel-foot {
    display: flex; gap: 10px; padding: 14px 18px 16px;
    border-top: 1px solid var(--line); flex-wrap: wrap;
  }
  .route {
    font-family: "IBM Plex Mono", monospace; font-size: 11.5px;
    color: var(--ink-2); background: var(--paper-2);
    border: 1px solid var(--line); border-radius: 7px; padding: 5px 9px;
    display: inline-flex; align-items: center; gap: 7px;
  }
  .route .arrow { color: var(--accent); }

  /* ---------- Logo strip ---------- */
  .marquee {
    border-block: 1px solid var(--line); background: var(--paper);
    padding: 22px 0;
  }
  .marquee .wrap { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
  .marquee .cap { font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
  .marquee .tags { display: flex; gap: 10px 14px; flex-wrap: wrap; justify-content: center; }
  .marquee .tags span { color: var(--ink-2); font-weight: 500; font-size: 15px; opacity: .8; }
  .marquee .sep { color: var(--line-2); }

  /* ---------- Core services (cards) ---------- */
  .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .card {
    background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--r); padding: 28px;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
    position: relative;
  }
  .card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
  .card .ico {
    width: 44px; height: 44px; border-radius: 11px;
    display: grid; place-items: center; margin-bottom: 18px;
    background: var(--accent-soft); color: var(--accent);
  }
  .card h3 { font-size: 18.5px; }
  .card p { margin-top: 9px; color: var(--muted); font-size: 15.5px; }
  .card .num {
    position: absolute; top: 22px; right: 24px;
    font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--muted-2);
  }

  /* ---------- About ---------- */
  .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
  .about-grid p + p { margin-top: 18px; }
  .about-grid .body p { color: var(--muted); font-size: 17px; }
  .about-grid .body strong { color: var(--ink); font-weight: 600; }

  .flow-card {
    background: linear-gradient(165deg, var(--ink), var(--ink-2));
    color: #fff; border-radius: 18px; padding: 34px;
    box-shadow: var(--shadow-md);
  }
  .flow-card h3 { font-size: 18px; color: #fff; }
  .flow-card .flow-row {
    display: flex; align-items: center; gap: 16px;
    padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .flow-card .flow-row:last-child { border-bottom: 0; padding-bottom: 0; }
  .flow-card .flow-row:first-of-type { padding-top: 22px; }
  .flow-card .dir {
    font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .12em;
    text-transform: uppercase; color: var(--cyan);
    border: 1px solid rgba(22,182,204,.4); border-radius: 6px; padding: 4px 8px; flex: none;
  }
  .flow-card .dir--out { color: #8fa6ff; border-color: rgba(143,166,255,.4); }
  .flow-card .flow-row p { color: rgba(255,255,255,.82); font-size: 15px; }

  /* ---------- Services (detailed) ---------- */
  .svc { display: grid; grid-template-columns: 1fr; gap: 18px; }
  .svc-block {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
    padding: clamp(26px, 4vw, 40px);
    display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: clamp(24px, 4vw, 48px);
  }
  .svc-block.is-primary { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-sm); }
  .svc-block .svc-head .tag {
    display: inline-block; font-family: "IBM Plex Mono", monospace; font-size: 11px;
    letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
    background: var(--accent-soft); padding: 5px 10px; border-radius: 6px; margin-bottom: 14px;
  }
  .svc-block h3 { font-size: clamp(20px, 2.4vw, 26px); }
  .svc-block .svc-head p { margin-top: 12px; color: var(--muted); font-size: 15.5px; }
  .feat { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
  .feat li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
  .feat .ck {
    margin-top: 3px; width: 20px; height: 20px; border-radius: 6px; flex: none;
    background: var(--accent-soft); color: var(--accent); display: grid; place-items: center;
  }
  .feat b { font-weight: 600; }
  .feat span { color: var(--muted); }
  /* two-column feature list for simpler service blocks */
  .feat--2 { grid-template-columns: 1fr 1fr; gap: 12px 28px; }
  @media (max-width: 640px){ .feat--2 { grid-template-columns: 1fr; } }

  /* ---------- Industries ---------- */
  .pills { display: flex; flex-wrap: wrap; gap: 12px; }
  .pill {
    background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
    padding: 11px 18px; font-weight: 500; font-size: 15.5px; color: var(--ink-2);
    display: inline-flex; align-items: center; gap: 9px;
    transition: border-color .2s var(--ease), transform .2s var(--ease), color .2s var(--ease);
  }
  .pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .65; }
  .pill:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

  /* ---------- Markets ---------- */
  .markets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .market {
    border: 1px solid var(--line); border-radius: var(--r); padding: 24px;
    background: var(--paper); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  }
  .market:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
  .market .k { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--accent); letter-spacing: .08em; }
  .market h3 { font-size: 17px; margin-top: 10px; }
  .market ul { list-style: none; margin: 14px 0 0; padding: 0; }
  .market li { color: var(--muted); font-size: 14.5px; padding: 3px 0; }
  .markets-note { margin-top: 24px; color: var(--muted); font-size: 15.5px; max-width: 760px; }

  /* ---------- How we work (steps) ---------- */
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
  .step { position: relative; padding-top: 28px; }
  .step::before {
    counter-increment: step; content: "0" counter(step);
    font-family: "IBM Plex Mono", monospace; font-size: 13px; color: var(--accent);
    letter-spacing: .1em; font-weight: 500;
  }
  .step .bar { height: 3px; background: var(--line); border-radius: 3px; margin: 14px 0 18px; overflow: hidden; }
  .step .bar i { display: block; height: 100%; width: 38%; background: var(--accent); border-radius: 3px; }
  .step h3 { font-size: 18px; }
  .step p { margin-top: 9px; color: var(--muted); font-size: 15px; }

  /* ---------- Compliance ---------- */
  .compliance {
    border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
    display: grid; grid-template-columns: 300px 1fr; background: var(--paper);
  }
  .compliance .side {
    background: linear-gradient(165deg, var(--ink), var(--ink-2)); color: #fff;
    padding: clamp(28px, 4vw, 44px);
  }
  .compliance .side .eyebrow { color: var(--cyan); }
  .compliance .side .eyebrow::before { background: var(--cyan); }
  .compliance .side h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); margin-top: 16px; }
  .compliance .body { padding: clamp(28px, 4vw, 44px); }
  .compliance .body p { color: var(--muted); }
  .compliance .body p + p { margin-top: 16px; }
  .compliance .body strong { color: var(--ink); }
  .compliance .disclaim {
    margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line);
    font-size: 14.5px; color: var(--muted-2);
  }

  /* ---------- CTA ---------- */
  .cta {
    position: relative; overflow: hidden;
    background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 60%, #0F2E63 100%);
    border-radius: 22px; color: #fff;
    padding: clamp(44px, 7vw, 80px); text-align: center;
  }
  .cta::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
      radial-gradient(closest-side at 15% 20%, rgba(22,182,204,.22), transparent 60%),
      radial-gradient(closest-side at 85% 80%, rgba(36,82,230,.32), transparent 60%);
  }
  .cta-inner { position: relative; z-index: 1; }
  .cta .eyebrow { color: var(--cyan); }
  .cta .eyebrow::before { background: var(--cyan); }
  .cta h2 { font-size: clamp(28px, 4.5vw, 46px); margin: 16px auto 0; max-width: 720px; }
  .cta p { margin: 20px auto 0; color: rgba(255,255,255,.78); max-width: 560px; font-size: 18px; }
  .cta-actions { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
  .btn--white { background: #fff; color: var(--ink); }
  .btn--white:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
  .btn--outline-w { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
  .btn--outline-w:hover { border-color: #fff; transform: translateY(-1px); }

  /* ---------- Footer ---------- */
  .site-footer { background: var(--ink); color: rgba(255,255,255,.66); padding: clamp(56px, 7vw, 84px) 0 36px; }
  .footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .footer-brand .brand { color: #fff; font-size: 22px; }
  .footer-brand .brand .tld { color: rgba(255,255,255,.45); }
  .footer-brand p { margin-top: 16px; font-size: 14.5px; max-width: 420px; line-height: 1.7; }
  .footer-addr { margin-top: 18px; font-style: normal; font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,.5); }
  .footer-addr strong { color: rgba(255,255,255,.78); font-weight: 600; }
  .fcol h4 { font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); font-weight: 500; margin: 0 0 16px; }
  .fcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
  .fcol a { color: rgba(255,255,255,.72); font-size: 15px; transition: color .2s var(--ease); }
  .fcol a:hover { color: #fff; }
  .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 28px; font-size: 13.5px; color: rgba(255,255,255,.5); }
  .footer-bottom .legal { display: flex; gap: 22px; flex-wrap: wrap; }

  /* ---------- Reveal animation ---------- */
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

  /* ---------- Responsive ---------- */
  @media (max-width: 940px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { order: -1; max-width: 520px; }
    .about-grid { grid-template-columns: 1fr; }
    .cards { grid-template-columns: 1fr 1fr; }
    .markets { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr 1fr; }
    .svc-block { grid-template-columns: 1fr; }
    .compliance { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
  }
  /* Collapse the horizontal nav into the hamburger before it can crowd */
  @media (max-width: 1080px) {
    .nav-links, .nav-cta .btn { display: none; }
    .nav-toggle { display: block; }
    .nav.is-open + .mobile-menu { display: block; }
  }
  @media (max-width: 720px) {
    .cards { grid-template-columns: 1fr; }
    .markets { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .feat--2 { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
  }

  /* Tighten the header on small phones so brand + switcher + toggle fit */
  @media (max-width: 480px) {
    .nav { gap: 10px; }
    .lang-switch a { padding: 5px 7px; }
    .nav-toggle { margin-right: 0; }
  }

  /* Mobile menu */
  .mobile-menu { display: none; border-top: 1px solid var(--line); background: #fff; padding: 14px var(--gutter) 22px; }
  .mobile-menu a { display: block; padding: 12px 0; font-weight: 500; border-bottom: 1px solid var(--line); color: var(--ink-2); }
  .mobile-menu .btn { margin-top: 16px; width: 100%; justify-content: center; }

  /* Focus visibility for accessibility */
  a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

  /* Skip to content link */
  .skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 200;
    background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 8px;
    font-weight: 600; font-size: 15px; transition: top .2s var(--ease);
  }
  .skip-link:focus { top: 16px; }
