@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700&family=Shippori+Mincho:wght@200;300;400;600&display=swap');

/* ═══════════════════════════════════════════════════
   DESIGN TOKENS — Deep Space (matches index.html)
═══════════════════════════════════════════════════ */
:root {
  --void:    #03040b;
  --bg:      #06070f;
  --bg2:     #0b0c18;
  --bg3:     #10111f;
  --bg4:     #171828;
  --bg5:     #1e2036;
  --blue:    #5b7fff;
  --blue2:   #4668f0;
  --blue3:   #3350c9;
  --blue-g:  rgba(91,127,255,0.12);
  --blue-gs: rgba(91,127,255,0.06);
  --blue-b:  rgba(91,127,255,0.22);
  --amber:   #ffb347;
  --amber2:  #f0981e;
  --white:   #e8eaff;
  --white2:  #c0c6e8;
  --muted:   #5a6280;
  --dim:     #2d3055;
  --border:  rgba(255,255,255,0.07);
  --border2: rgba(91,127,255,0.25);
  --border3: rgba(255,255,255,0.12);

  /* SYNE ONLY — no Plus Jakarta, no Space Mono, no Clash Display */
  --fh: 'Syne', sans-serif;
  --fb: 'Syne', sans-serif;
  --fm: 'Syne', sans-serif;
  --fj: 'Shippori Mincho', serif;

  /* legacy alias names */
  --orange:  #5b7fff;
  --orange2: #ffb347;
  --cyan:    #5b7fff;
  --gray:    #5a6280;
  --navy:    #06070f;
  --navy2:   #0b0c18;
  --navy3:   #10111f;
  --card-bg:    rgba(255,255,255,0.03);
  --card-border:rgba(91,127,255,0.15);
  --gold:    #ffb347;

  --ease:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --bounce:   cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ═══════════════════════════════════════════════════ RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--fh);
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  font-stretch: normal;
}
a, button { cursor: none !important; }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--blue), var(--amber)); border-radius: 2px; }

body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9990;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .10; pointer-events: none; mix-blend-mode: overlay;
}

/* ═══ BACKGROUND LAYERS ═══ */
.bg-mesh { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.mesh-blob { position: absolute; border-radius: 50%; filter: blur(130px); will-change: transform; }
.blob-1 { width: 700px; height: 700px; top: -200px; right: -100px; background: radial-gradient(circle, rgba(91,127,255,0.10), transparent 70%); animation: floatBlob 18s ease-in-out infinite alternate; }
.blob-2 { width: 600px; height: 600px; bottom: -200px; left: -150px; background: radial-gradient(circle, rgba(91,127,255,0.06), transparent 70%); animation: floatBlob 14s ease-in-out 3s infinite alternate-reverse; }
.blob-3 { width: 400px; height: 400px; top: 40%; left: 35%; background: radial-gradient(circle, rgba(255,179,71,0.06), transparent 70%); animation: floatBlob 20s ease-in-out 6s infinite alternate; }
@keyframes floatBlob { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(40px,50px) scale(1.1); } }
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(91,127,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(91,127,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, rgba(0,0,0,0.5) 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, rgba(0,0,0,0.5) 30%, transparent 80%);
}

/* ═══ CURSOR — CROSSHAIR ═══ */
#cursor-dot, #cr-dot {
  position: fixed; z-index: 9999; pointer-events: none;
  width: 5px; height: 5px;
  background: var(--blue);
  transform: translate(-50%, -50%);
  will-change: transform;
  transition: width .2s var(--ease-out), height .2s var(--ease-out), background .2s, opacity .2s;
  box-shadow: 0 0 8px rgba(91,127,255,0.9);
}
#cursor-ring, #cr-ring {
  position: fixed; z-index: 9998; pointer-events: none;
  width: 36px; height: 36px;
  transform: translate(-50%, -50%);
  will-change: transform;
  transition: width .45s var(--ease-out), height .45s var(--ease-out), opacity .3s;
}
#cursor-ring::before, #cursor-ring::after,
#cr-ring::before, #cr-ring::after {
  content: ''; position: absolute;
  width: 10px; height: 10px;
  transition: all .45s var(--ease-out);
}
#cursor-ring::before, #cr-ring::before {
  top: 0; left: 0;
  border-top: 1.5px solid var(--blue);
  border-left: 1.5px solid var(--blue);
}
#cursor-ring::after, #cr-ring::after {
  bottom: 0; right: 0;
  border-bottom: 1.5px solid var(--blue);
  border-right: 1.5px solid var(--blue);
}
#cr-tl {
  position: absolute; top: 0; right: 0;
  width: 10px; height: 10px;
  border-top: 1.5px solid var(--blue);
  border-right: 1.5px solid var(--blue);
  transition: all .45s var(--ease-out);
  pointer-events: none;
}
#cr-br {
  position: absolute; bottom: 0; left: 0;
  width: 10px; height: 10px;
  border-bottom: 1.5px solid var(--blue);
  border-left: 1.5px solid var(--blue);
  transition: all .45s var(--ease-out);
  pointer-events: none;
}
#cr-label {
  position: fixed; z-index: 9999; pointer-events: none;
  font-family: var(--fh); font-size: 8px; font-weight: 600; letter-spacing: .2em;
  color: var(--blue); text-transform: uppercase;
  opacity: 0; transition: opacity .2s; white-space: nowrap;
  transform: translate(14px, 14px); user-select: none;
}
.cr-trail {
  position: fixed; z-index: 9996; pointer-events: none;
  width: 3px; height: 3px; background: var(--blue);
  opacity: 0; transform: translate(-50%, -50%);
  box-shadow: 0 0 4px rgba(91,127,255,0.6);
}

/* hover link */
body.cursor-hover #cursor-dot, body.cs-hover #cr-dot { width: 3px; height: 3px; background: var(--amber); box-shadow: 0 0 8px rgba(255,179,71,0.9); }
body.cursor-hover #cursor-ring, body.cs-hover #cr-ring { width: 44px; height: 44px; }
body.cursor-hover #cursor-ring::before, body.cursor-hover #cursor-ring::after,
body.cs-hover #cr-ring::before, body.cs-hover #cr-ring::after,
body.cs-hover #cr-tl, body.cs-hover #cr-br { border-color: var(--amber); }

/* hover card */
body.cs-card #cr-dot { width: 2px; height: 2px; opacity: .4; }
body.cs-card #cr-ring { width: 56px; height: 56px; }
body.cs-card #cr-ring::before, body.cs-card #cr-ring::after,
body.cs-card #cr-tl, body.cs-card #cr-br { width: 14px; height: 14px; border-color: var(--amber); }
body.cs-card #cr-label { opacity: 1; }

/* hover btn */
body.cs-btn #cr-dot { width: 12px; height: 2px; background: var(--blue); box-shadow: none; }
body.cs-btn #cr-ring { width: 24px; height: 24px; }
body.cs-btn #cr-ring::before, body.cs-btn #cr-ring::after,
body.cs-btn #cr-tl, body.cs-btn #cr-br { width: 7px; height: 7px; border-color: rgba(91,127,255,0.5); }

/* text cursor */
body.cs-text #cr-dot { width: 1px; height: 16px; background: rgba(255,255,255,.7); box-shadow: none; }
body.cs-text #cr-ring { opacity: 0; }

/* ═══ LOADER ═══ */
.loader {
  position: fixed; inset: 0; z-index: 9995; background: var(--void);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.loader.done { opacity: 0; pointer-events: none; transform: scale(1.04); }
.loader-logo {
  font-family: var(--fh); font-weight: 700; font-size: clamp(28px,5vw,48px);
  letter-spacing: -.02em; color: var(--white);
  opacity: 0; animation: fadeUp .5s .1s ease forwards;
}
.loader-logo span { color: var(--blue); }
.loader-bar {
  width: 160px; height: 1px; background: var(--bg5); overflow: hidden;
  opacity: 0; animation: fadeUp .5s .3s ease forwards;
}
.loader-bar-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--amber)); animation: lbFill 1.8s .5s var(--ease) forwards; }
@keyframes lbFill { to { width: 100%; } }
.loader-sub {
  font-family: var(--fj); font-size: 10px; letter-spacing: .28em;
  color: var(--muted); font-weight: 200;
  opacity: 0; animation: fadeUp .5s .25s ease forwards;
}
/* index.html specific loader */
.loader-brand { display: flex; align-items: center; font-family: var(--fh); font-weight: 700; font-size: clamp(28px,5vw,48px); letter-spacing: -.02em; color: var(--white); }
.loader-brand .lch { display: inline-block; opacity: 0; transform: translateY(100%); transition: opacity .5s, transform .5s var(--ease-out); }
.loader-brand .lch.accent { color: var(--blue); }
.loader-brand .lch.sp { width: .3em; }
.loader-bar-wrap { width: 160px; height: 1px; background: var(--bg5); overflow: hidden; opacity: 0; animation: fIn .4s .3s ease forwards; }
.loader-bar-wrap .loader-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--amber), var(--blue)); background-size: 200% 100%; animation: lbFill 1.8s .5s var(--ease) forwards; }
@keyframes fIn { to { opacity: 1; } }

/* ═══ LANGUAGE BAR ═══ */
.lang-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1003; height: 32px;
  background: rgba(3,4,11,0.92); border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: flex-end; padding: 0 5%; gap: 0;
}
.lang-bar-left { font-family: var(--fh); font-size: 9px; font-weight: 500; color: var(--muted); letter-spacing: .15em; display: flex; align-items: center; gap: 8px; margin-right: auto; }
.lang-bar-pulse { width: 6px; height: 6px; background: var(--blue); border-radius: 50%; animation: pulse 2.5s ease infinite; box-shadow: 0 0 8px var(--blue); }
.lang-btns { display: flex; gap: 0; }
.lang-btn {
  background: none; border: none; border-left: 1px solid var(--border);
  padding: 0 16px; height: 32px;
  font-family: var(--fh); font-size: 9px; font-weight: 600; letter-spacing: .18em;
  color: var(--muted); text-transform: uppercase; transition: color .2s;
}
.lang-btn:first-child { border-left: none; }
.lang-btn.active, .lang-btn:hover { color: var(--blue); }

/* ═══ NAVIGATION ═══ */
nav {
  position: fixed; top: 32px; left: 0; right: 0; z-index: 1002;
  padding: 22px 5%; display: flex; align-items: center; justify-content: space-between;
  transition: all .5s var(--ease);
}
nav.scrolled {
  top: 0; padding: 14px 5%;
  background: rgba(6,7,15,0.88); backdrop-filter: blur(28px) saturate(180%);
  border-bottom: 1px solid var(--border); box-shadow: 0 0 80px rgba(0,0,0,.5);
}
.nav-logo { text-decoration: none; display: flex; flex-direction: column; gap: 3px; }
.nav-logo-main {
  font-family: var(--fh); font-size: 20px; font-weight: 700;
  letter-spacing: -.015em; color: var(--white); line-height: 1;
}
.nav-logo-main .acc, .nav-logo-main span { color: var(--blue); }
.nav-logo-sub { font-family: var(--fj); font-size: 8px; font-weight: 200; color: var(--muted); letter-spacing: .22em; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--muted);
  font-family: var(--fh); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  transition: color .3s; position: relative; padding-bottom: 4px;
}
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; height: 1px; width: 0; background: var(--blue); transition: width .35s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta, .nav-cta-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 24px; border-radius: 2px;
  background: var(--blue); color: var(--void); font-family: var(--fh); font-weight: 700; font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  position: relative; overflow: hidden; border: none;
  transition: box-shadow .3s, transform .3s;
}
.nav-cta::before, .nav-cta-btn::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--amber), var(--amber2)); transform: translateX(-105%); transition: transform .35s var(--ease); }
.nav-cta > *, .nav-cta-btn > *, .nav-cta span, .nav-cta-btn span { position: relative; z-index: 1; }
.nav-cta:hover, .nav-cta-btn:hover { box-shadow: 0 8px 32px rgba(91,127,255,0.45); transform: translateY(-2px); }
.nav-cta:hover::before, .nav-cta-btn:hover::before { transform: translateX(0); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--white); transition: all .35s; transform-origin: center; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ═══ MOBILE MENU ═══ */
.mobile-menu, .mobile-nav {
  position: fixed; inset: 0; z-index: 1004;
  background: rgba(3,4,11,0.97); backdrop-filter: blur(24px);
  display: flex; flex-direction: column;
  justify-content: center; padding: 60px 5%;
  transform: translateX(110%); transition: transform .6s var(--ease-out);
}
.mobile-menu.open, .mobile-nav.open { transform: translateX(0); }
.mobile-menu a, .mobile-nav-link {
  text-decoration: none; display: flex; align-items: center; gap: 20px;
  padding: 20px 0; border-bottom: 1px solid var(--border); transition: all .3s;
}
.mobile-menu a:hover, .mobile-nav-link:hover { padding-left: 12px; }
.mobile-menu-num, .mn-num { font-family: var(--fh); font-size: 10px; font-weight: 600; color: var(--blue); letter-spacing: .15em; }
.mobile-menu a > span:not(.mobile-menu-num), .mn-text {
  font-family: var(--fh); font-size: clamp(22px,5vw,38px); font-weight: 700;
  letter-spacing: -.015em; color: var(--white); transition: color .3s;
}
.mobile-menu a:hover > span:not(.mobile-menu-num), .mobile-nav-link:hover .mn-text { color: var(--blue); }
.mn-arrow { margin-left: auto; color: var(--muted); font-size: 16px; transition: transform .3s; }
.mobile-nav-link:hover .mn-arrow { transform: translate(4px,-4px); color: var(--blue); }
.mobile-divider { display: none; }
.mobile-close {
  position: absolute; top: 70px; right: 5%;
  width: 44px; height: 44px; background: none; border: 1px solid var(--border); border-radius: 50%;
  color: var(--muted); font-size: 16px; display: flex; align-items: center; justify-content: center;
  transition: all .3s; cursor: none;
}
.mobile-close:hover { border-color: var(--blue); color: var(--blue); transform: rotate(90deg); }

/* ═══ SECTION COMMONS ═══ */
.section, section { padding: 120px 5%; position: relative; z-index: 2; }
.container { max-width: 1360px; margin: 0 auto; }

.s-eyebrow, .section-tag, .hero-tag {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--fh); font-size: 9px; font-weight: 600; letter-spacing: .28em;
  color: var(--blue); text-transform: uppercase; margin-bottom: 20px;
}
.s-eyebrow::before, .section-tag::before, .hero-tag::before { content: ''; width: 24px; height: 1px; background: var(--blue); flex-shrink: 0; }

.s-h2, .section-title {
  font-family: var(--fh); font-size: clamp(26px,3.8vw,46px);
  font-weight: 700; letter-spacing: -.02em; line-height: 1.04; color: var(--white);
}
.s-h2 .acc, .section-title .accent { color: var(--blue); }
.s-h2 .out { -webkit-text-stroke: 1.5px rgba(232,234,255,0.4); color: transparent; }
.section-title .accent-cyan { color: var(--blue); }

.section-title-jp { font-family: var(--fj); font-size: clamp(22px,3.5vw,42px); font-weight: 200; line-height: 1.25; }
.section-title-jp .accent { color: var(--blue); }

.s-body, .section-desc {
  font-family: var(--fh); font-size: 15px; font-weight: 400;
  color: var(--muted); line-height: 1.85; max-width: 560px; margin-top: 16px;
}

/* ═══ PAGE HERO (subpages) ═══ */
.page-hero {
  min-height: 58vh; position: relative;
  display: flex; align-items: flex-end;
  padding: 120px 5% 72px; overflow: hidden;
  background: var(--bg); z-index: 2;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(91,127,255,0.08), transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 70%, rgba(255,179,71,0.05), transparent 50%);
  pointer-events: none;
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(91,127,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(91,127,255,0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}
.page-hero-orb1, .page-hero-orb2, .orb { display: none; }
.page-hero-content { position: relative; z-index: 2; max-width: 860px; }

/* ═══ BUTTONS ═══ */
.btn-primary, .btn-solid {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 32px; border-radius: 2px;
  background: var(--blue); color: var(--void);
  font-family: var(--fh); font-weight: 700; font-size: 10.5px;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  position: relative; overflow: hidden; border: none;
  transition: transform .3s, box-shadow .3s;
}
.btn-primary::after, .btn-solid::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--amber), var(--amber2)); transform: translateX(-105%); transition: transform .4s var(--ease); }
.btn-primary > *, .btn-solid > * { position: relative; z-index: 1; }
.btn-primary:hover, .btn-solid:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(91,127,255,0.4); }
.btn-primary:hover::after, .btn-solid:hover::after { transform: translateX(0); }

.btn-secondary, .btn-line, .btn-outline-w {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 2px; border: 1px solid var(--border3);
  color: var(--white2); text-decoration: none; background: transparent;
  font-family: var(--fh); font-weight: 600; font-size: 10.5px;
  letter-spacing: .08em; text-transform: uppercase; transition: all .3s;
}
.btn-secondary:hover, .btn-line:hover, .btn-outline-w:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-gs); transform: translateY(-2px); }
.btn-line .arr { transition: transform .3s; }
.btn-line:hover .arr { transform: translate(3px,-3px); }

/* ═══ STATS ═══ */
.stats-row, .stats-bar {
  position: relative; z-index: 2; background: var(--bg2);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(4,1fr);
}
.st-cell, .stat {
  padding: 44px 36px; border-right: 1px solid var(--border);
  position: relative; overflow: hidden; transition: background .3s; text-align: center;
}
.st-cell:last-child, .stat:last-child { border-right: none; }
.st-cell:hover, .stat:hover { background: var(--bg3); }
.st-cell::before, .stat::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--amber));
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out);
}
.st-cell.visible::before, .stat.visible::before { transform: scaleX(1); transition-delay: .2s; }
.st-num, .stat-num {
  font-family: var(--fh); font-size: clamp(32px,4.2vw,48px);
  font-weight: 700; letter-spacing: -.02em; color: var(--white); line-height: 1;
}
.st-num .su { color: var(--blue); font-size: .55em; }
.st-num .su-a { color: var(--amber); font-size: .55em; }
.st-label, .stat-label { font-family: var(--fh); font-size: 11px; font-weight: 500; color: var(--muted); margin-top: 8px; }
.st-sub, .stat-label-jp { font-family: var(--fj); font-size: 9px; color: var(--dim); letter-spacing: .12em; margin-top: 12px; }

/* ═══ MARQUEE ═══ */
.marquee-band {
  position: relative; z-index: 2; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg2); padding: 16px 0; overflow: hidden;
}
.marquee-track { display: inline-flex; animation: mqRun 32s linear infinite; white-space: nowrap; }
.marquee-track:hover { animation-play-state: paused; }
.mq-item, .m-item {
  display: inline-flex; align-items: center; gap: 28px;
  font-family: var(--fh); font-size: 10.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 0 36px; transition: color .3s;
}
.mq-item:hover, .m-item:hover { color: var(--white); }
.mq-sep, .m-dot { color: var(--blue); opacity: .5; font-size: 7px; }
@keyframes mqRun { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═══ SERVICES ═══ */
.services-header, .services-head { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: end; margin-bottom: 64px; }
.svcs-note { border-top: 1px solid var(--border); padding-top: 24px; font-family: var(--fh); font-size: 14px; font-weight: 400; color: var(--muted); line-height: 1.85; }
.svcs-note strong { color: var(--white2); font-weight: 600; }

.services-grid, .svcs-bento {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 6px; overflow: hidden;
}
.service-card, .svc {
  background: var(--bg); padding: 30px 26px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 12px; transition: background .35s;
}
.service-card::before, .svc::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, rgba(91,127,255,0.08), transparent 60%); opacity: 0; transition: opacity .4s; }
.service-card:hover::before, .svc:hover::before { opacity: 1; }
.service-card:hover, .svc:hover { background: var(--bg2); }
.service-card::after, .svc::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--blue), transparent); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.service-card:hover::after, .svc:hover::after { transform: scaleX(1); }
.svc.span2 { grid-column: span 2; flex-direction: row; align-items: center; gap: 40px; }
.service-card.featured { border-color: var(--border2); }
.svc-num { font-family: var(--fh); font-size: 9px; font-weight: 600; color: var(--dim); letter-spacing: .22em; text-transform: uppercase; }
.s-icon, .svc-icon {
  width: 48px; height: 48px; border-radius: 8px;
  background: var(--bg3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0;
  transition: border-color .35s, background .35s;
}
.service-card:hover .s-icon, .svc:hover .svc-icon { border-color: var(--border2); background: var(--blue-g); }
.s-name-en, .svc-name { font-family: var(--fh); font-size: 15px; font-weight: 700; color: var(--white); letter-spacing: -.02em; line-height: 1.2; }
.s-name-jp { font-family: var(--fj); font-size: 12px; font-weight: 300; color: var(--dim); }
.s-desc, .svc-desc { font-family: var(--fh); font-size: 13px; font-weight: 400; color: var(--muted); line-height: 1.75; }
.svc-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-family: var(--fh); font-size: 8.5px; font-weight: 600; letter-spacing: .18em; color: var(--blue); text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: all .35s; }
.svc:hover .svc-link { opacity: 1; transform: translateY(0); }
.svc-link::after { content: '→'; transition: transform .3s; }
.svc:hover .svc-link::after { transform: translateX(4px); }
.svc-featured-tag { display: inline-block; background: linear-gradient(135deg, var(--blue3), var(--blue2)); color: var(--white); font-family: var(--fh); font-size: 7.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding: 4px 12px; border-radius: 2px; margin-bottom: 4px; }
.svc-featured-tag.amber-tag { background: linear-gradient(135deg, var(--amber2), var(--amber)); color: var(--void); }

/* ═══ WHY GRID ═══ */
.why-grid, .why-bento {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; margin-top: 48px;
}
.why-item, .w-cell {
  background: var(--bg2); padding: 34px 26px;
  position: relative; overflow: hidden; transition: background .35s;
  opacity: 0; transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), background .35s;
}
.why-item.visible, .w-cell.visible { opacity: 1; transform: translateY(0); }
.why-item:hover, .w-cell:hover { background: var(--bg3); }
.why-item::after, .w-cell::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--blue), var(--amber)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.why-item:hover::after, .w-cell:hover::after { transform: scaleX(1); }
.why-num, .w-n { font-family: var(--fh); font-size: 9px; font-weight: 600; color: var(--blue); letter-spacing: .22em; margin-bottom: 14px; }
.why-title-en, .w-title { font-family: var(--fh); font-size: 16px; font-weight: 700; color: var(--white); line-height: 1.2; letter-spacing: -.02em; margin-bottom: 12px; }
.why-title-jp { font-family: var(--fj); font-size: 12px; color: var(--dim); font-weight: 200; margin-bottom: 8px; }
.why-text, .w-body { font-family: var(--fh); font-size: 13px; font-weight: 400; color: var(--muted); line-height: 1.75; }

/* Japan edge */
.japan-edge { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.japan-edge-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.jp-screen { background: var(--bg3); border: 1px solid var(--border2); border-radius: 12px; padding: 1.4rem; box-shadow: 0 40px 80px rgba(0,0,0,.5); }
.jp-screen-top { display: flex; align-items: center; gap: 8px; margin-bottom: 1rem; }
.jp-dot { width: 10px; height: 10px; border-radius: 50%; }
.jp-dot-r { background: #ff5f57; } .jp-dot-y { background: #febc2e; } .jp-dot-g { background: #28c840; }
.jp-bar { flex: 1; height: 8px; background: rgba(255,255,255,.05); border-radius: 4px; }
.jp-rows { display: flex; flex-direction: column; gap: 10px; }
.jp-row { display: flex; gap: 10px; }
.jp-block { border-radius: 8px; padding: .75rem .9rem; font-family: var(--fh); font-size: .72rem; font-weight: 500; line-height: 1.55; }
.jp-full { flex: 1; background: rgba(91,127,255,.05); border: 1px solid rgba(91,127,255,.12); color: var(--blue); }
.jp-orange { background: rgba(255,179,71,.07); border: 1px solid rgba(255,179,71,.14); color: var(--amber); }
.jp-gray { background: rgba(255,255,255,.03); border: 1px solid var(--border); color: var(--muted); }
.jp-half { flex: 1; }
.jp-badge { position: absolute; background: var(--bg2); border-radius: 8px; padding: .65rem .9rem; font-size: .72rem; font-weight: 600; display: flex; align-items: center; gap: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.jp-badge-1 { top: -18px; right: -18px; border: 1px solid rgba(91,127,255,.3); color: var(--blue); }
.jp-badge-2 { bottom: 18px; left: -28px; border: 1px solid rgba(255,179,71,.3); color: var(--amber); }
.jp-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 2s infinite; }
.japan-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }
.japan-pill { background: var(--blue-gs); border: 1px solid var(--border2); border-radius: 100px; padding: .35rem .85rem; font-family: var(--fh); font-size: .72rem; font-weight: 600; color: var(--blue); transition: all .3s; }
.japan-pill.jp { font-family: var(--fj); font-size: 11px; font-weight: 300; }
.japan-pill:hover { background: var(--blue-g); border-color: var(--blue); }

/* ═══ WORKS ═══ */
.works-section { background: var(--bg); }
.works-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; flex-wrap: wrap; gap: 24px; }
.works-filters, .filter-bar { display: flex; gap: 8px; flex-wrap: wrap; }
.wf-btn, .filter-btn {
  background: none; border: 1px solid var(--border); padding: 8px 18px; border-radius: 2px;
  font-family: var(--fh); font-size: 9px; font-weight: 600; letter-spacing: .14em;
  color: var(--muted); text-transform: uppercase; transition: all .25s;
}
.wf-btn.on, .wf-btn:hover, .filter-btn.active, .filter-btn:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-gs); }

.works-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  grid-template-rows: auto auto; gap: 14px;
}
.wk, .w-card {
  position: relative; overflow: hidden; border-radius: 6px;
  border: 1px solid var(--border); min-height: 260px;
  display: flex; align-items: flex-end;
  transition: border-color .35s, transform .45s var(--ease);
  background: var(--bg3);
}
.wk:hover, .w-card:hover { border-color: var(--border2); transform: scale(1.018); }
.wk:hover .wk-info, .w-card:hover .w-info { transform: translateY(0); }
.wk.tall { grid-row: span 2; min-height: 540px; }
.wk.wide { grid-column: span 2; }
/* old layout classes */
.w1 { grid-column: span 2; } .w2,.w3,.w4,.w5,.w6 { grid-column: span 1; }
.wk-overlay { position: absolute; inset: 0; opacity: 0; background: linear-gradient(to top, rgba(6,7,15,.95), rgba(6,7,15,.3) 60%, transparent); transition: opacity .4s; }
.wk:hover .wk-overlay { opacity: 1; }
.wk-gradient, .w-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  background: linear-gradient(to top, rgba(6,7,15,.9), rgba(6,7,15,.15) 60%, transparent);
  filter: brightness(.5) saturate(1.1); transition: transform .7s var(--ease), filter .5s;
}
.w-card:hover .w-bg { transform: scale(1.05); filter: brightness(.28) saturate(1.4); }
.wk-arrow, .w-arrow {
  position: absolute; top: 18px; right: 18px; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--blue); display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--void);
  opacity: 0; transform: translate(8px,-8px); transition: all .4s var(--ease-out);
}
.wk:hover .wk-arrow, .w-card:hover .w-arrow { opacity: 1; transform: translate(0,0); }
.wk-info, .w-info { position: relative; z-index: 2; padding: 22px; transform: translateY(8px); transition: transform .4s var(--ease-out); }
.wk-cat, .w-cat { font-family: var(--fh); font-size: 8.5px; font-weight: 600; color: var(--blue); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 7px; }
.wk-name, .w-title, .w-title-en { font-family: var(--fh); font-size: clamp(13px,1.5vw,17px); font-weight: 700; color: var(--white); line-height: 1.2; letter-spacing: -.02em; }
.wk-meta { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.wk-yr, .w-year { font-family: var(--fh); font-size: 9px; font-weight: 500; color: var(--muted); }
.wk-tag { font-family: var(--fh); font-size: 8px; font-weight: 600; padding: 3px 8px; border: 1px solid var(--border); border-radius: 2px; color: var(--dim); text-transform: uppercase; }

/* ═══ TESTIMONIALS ═══ */
.testi-section { background: var(--bg2); border-top: 1px solid var(--border); }
.testi-head { text-align: center; max-width: 560px; margin: 0 auto 64px; }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.tcard { background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; padding: 32px 28px; position: relative; overflow: hidden; transition: all .35s; }
.tcard:hover { border-color: var(--border2); transform: translateY(-5px); box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.tcard-q { position: absolute; top: -28px; right: 20px; font-family: var(--fh); font-size: 140px; font-weight: 700; color: var(--bg4); line-height: 1; pointer-events: none; transition: color .35s; }
.tcard:hover .tcard-q { color: var(--blue-g); }
.tcard-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.tcard-star { color: var(--amber); font-size: 12px; }
.tcard-text { font-family: var(--fh); font-size: 13px; font-weight: 400; color: var(--muted); line-height: 1.85; margin-bottom: 26px; position: relative; z-index: 1; }
.tcard-author { display: flex; align-items: center; gap: 14px; }
.tcard-av { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg, var(--blue3), var(--blue)); display: flex; align-items: center; justify-content: center; font-family: var(--fh); font-weight: 700; font-size: 13px; color: var(--void); }
.tcard-name { font-family: var(--fh); font-size: 13px; font-weight: 700; color: var(--white); }
.tcard-role { font-family: var(--fh); font-size: 11px; font-weight: 400; color: var(--muted); margin-top: 2px; }

/* ═══ PROCESS ═══ */
.process-section { background: var(--bg2); border-top: 1px solid var(--border); }
.process-head { text-align: center; max-width: 600px; margin: 0 auto 80px; }
.process-line { display: grid; grid-template-columns: repeat(4,1fr); position: relative; gap: 0; }
.process-connector { position: absolute; top: 22px; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, var(--blue), var(--amber), var(--blue3)); opacity: .3; z-index: 0; }
.p-step { position: relative; z-index: 1; padding: 0 28px; text-align: center; transition: all .3s; }
.p-step-circle { width: 46px; height: 46px; border-radius: 50%; background: var(--bg3); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-family: var(--fh); font-size: 11px; font-weight: 600; color: var(--muted); transition: all .4s var(--ease); position: relative; }
.p-step-circle::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1px dashed transparent; transition: border-color .4s, transform .8s; }
.p-step:hover .p-step-circle { background: var(--blue); color: var(--void); border-color: var(--blue); box-shadow: 0 0 28px rgba(91,127,255,.4); }
.p-step:hover .p-step-circle::after { border-color: rgba(91,127,255,.3); transform: rotate(180deg); }
.p-step-title { font-family: var(--fh); font-size: 14px; font-weight: 700; color: var(--white); letter-spacing: -.02em; margin-bottom: 10px; }
.p-step-desc { font-family: var(--fh); font-size: 13px; font-weight: 400; color: var(--muted); line-height: 1.75; }

/* ═══ TECH STACK ═══ */
.tech-section { background: var(--bg); border-top: 1px solid var(--border); }
.tech-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.tech-tabs { background: var(--bg2); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.tech-tab { display: block; width: 100%; text-align: left; background: none; border: none; border-bottom: 1px solid var(--border); padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; font-family: var(--fh); font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: -.01em; transition: all .3s; border-left: 2px solid transparent; }
.tech-tab:last-child { border-bottom: none; }
.tech-tab.on, .tech-tab:hover { color: var(--white); background: var(--bg3); border-left-color: var(--blue); }
.tech-tab .ta { font-size: 10px; transition: transform .3s; }
.tech-tab.on .ta { transform: rotate(90deg); color: var(--blue); }
.tech-items { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.ti { background: var(--bg2); border: 1px solid var(--border); border-radius: 6px; padding: 22px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; transition: all .35s; }
.ti:hover { border-color: var(--border2); transform: translateY(-5px); background: var(--bg3); box-shadow: 0 12px 32px rgba(0,0,0,.3); }
.ti-icon { font-size: 26px; }
.ti-name { font-family: var(--fh); font-size: 12px; font-weight: 600; color: var(--white); }
.ti-bar { width: 100%; height: 2px; background: var(--bg5); border-radius: 1px; overflow: hidden; }
.ti-fill { height: 100%; background: linear-gradient(90deg, var(--blue), var(--amber)); }

/* ═══ SOLUTIONS DASH ═══ */
.solutions-section { background: var(--bg); }
.sol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.sol-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.sol-pill { padding: 7px 16px; border: 1px solid var(--border); border-radius: 2px; font-family: var(--fh); font-size: 9px; font-weight: 600; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; transition: all .3s; }
.sol-pill:hover { border-color: var(--blue2); color: var(--blue); background: var(--blue-gs); }
.dash { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: 0 48px 96px rgba(0,0,0,.7), 0 0 0 1px rgba(91,127,255,.05); }
.dash-bar { background: var(--bg3); padding: 12px 18px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.d-circle { width: 10px; height: 10px; border-radius: 50%; }
.dc-r { background: #ff5f57; } .dc-y { background: #febc2e; } .dc-g { background: #28c840; }
.dash-url { flex: 1; background: var(--bg4); border: 1px solid var(--border); border-radius: 4px; padding: 5px 12px; display: flex; align-items: center; gap: 8px; font-family: var(--fh); font-size: 9px; font-weight: 500; color: var(--dim); margin-left: 8px; }
.lock { color: var(--blue); font-size: 9px; }
.dash-body { padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.db-header { display: flex; align-items: center; justify-content: space-between; }
.db-title { font-family: var(--fh); font-size: 13px; font-weight: 700; color: var(--white); letter-spacing: -.01em; }
.db-live { display: inline-flex; align-items: center; gap: 6px; background: rgba(91,127,255,0.1); border: 1px solid var(--border2); padding: 4px 12px; border-radius: 20px; font-family: var(--fh); font-size: 8px; font-weight: 600; color: var(--blue); }
.db-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.dbc { background: var(--bg3); border: 1px solid var(--border); border-radius: 6px; padding: 14px; transition: border-color .3s; }
.dbc:hover { border-color: var(--border2); }
.dbc-v { font-family: var(--fh); font-size: 22px; font-weight: 700; color: var(--white); letter-spacing: -.02em; }
.dbc-k { font-family: var(--fh); font-size: 10px; font-weight: 400; color: var(--muted); margin-top: 3px; }
.dbc-d { font-family: var(--fh); font-size: 8.5px; font-weight: 600; color: var(--blue); margin-top: 6px; }
.dbc-d.amber { color: var(--amber); }
.db-progress { display: flex; flex-direction: column; gap: 12px; }
.dbp { display: flex; flex-direction: column; gap: 7px; }
.dbp-top { display: flex; justify-content: space-between; align-items: center; }
.dbp-name { font-family: var(--fh); font-size: 11px; font-weight: 400; color: var(--muted); }
.dbp-pct { font-family: var(--fh); font-size: 9px; font-weight: 600; color: var(--white2); }
.dbp-bar { height: 3px; background: var(--bg5); border-radius: 2px; overflow: hidden; }
.dbp-fill { height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--blue2)); }
.dbp-fill.amber { background: linear-gradient(90deg, var(--amber), var(--amber2)); }
.dbp-fill.violet { background: linear-gradient(90deg, #a78bfa, #7c3aed); }

/* ═══ CONTACT ═══ */
.contact-section { background: var(--bg); }
.contact-wrap, .contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; }
.contact-info { display: flex; flex-direction: column; margin-top: 32px; }
.contact-detail, .ci { display: flex; align-items: flex-start; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--border); transition: background .3s; }
.ci:first-child { border-top: 1px solid var(--border); }
.cd-icon, .ci-icon { width: 40px; height: 40px; flex-shrink: 0; background: var(--bg3); border: 1px solid var(--border); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 14px; transition: all .3s; }
.ci:hover .ci-icon, .contact-detail:hover .cd-icon { border-color: var(--border2); background: var(--blue-g); }
.cd-label, .ci-k { font-family: var(--fh); font-size: 8px; font-weight: 600; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; margin-bottom: 4px; }
.cd-value, .ci-v { font-family: var(--fh); font-size: 14px; font-weight: 600; color: var(--white2); }
.cd-value a, .ci-v a { color: inherit; text-decoration: none; transition: color .3s; }
.cd-value a:hover, .ci-v a:hover { color: var(--blue); }
.contact-form, .cf { display: flex; flex-direction: column; gap: 16px; }
.form-row, .cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field, .cf-field { display: flex; flex-direction: column; gap: 7px; }
.field label, .cf-label { font-family: var(--fh); font-size: 8.5px; font-weight: 600; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; }
.field input, .field select, .field textarea,
.cf-field input, .cf-field select, .cf-field textarea {
  background: var(--bg3); border: 1px solid var(--border); border-radius: 3px;
  color: var(--white); padding: 12px 16px;
  font-family: var(--fh); font-size: 14px; font-weight: 400;
  outline: none; transition: border-color .3s, background .3s; -webkit-appearance: none;
}
.field input:focus, .field select:focus, .field textarea:focus,
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus {
  border-color: var(--blue2); background: var(--bg2); box-shadow: 0 0 0 3px rgba(91,127,255,0.08);
}
.field textarea, .cf-field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder,
.cf-field input::placeholder, .cf-field textarea::placeholder { color: var(--dim); }
.field select option, .cf-field select option { background: var(--bg3); }
.submit-btn, .cf-submit {
  background: var(--blue); color: var(--void); border: none; padding: 14px 34px; border-radius: 2px;
  font-family: var(--fh); font-weight: 700; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s;
}
.submit-btn { width: 100%; align-self: stretch; }
.cf-submit { align-self: flex-start; }
.submit-btn::before, .cf-submit::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--amber), var(--amber2)); transform: translateX(-105%); transition: transform .35s var(--ease); }
.submit-btn span, .cf-submit span { position: relative; z-index: 1; }
.submit-btn:hover, .cf-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(91,127,255,.4); }
.submit-btn:hover::before, .cf-submit:hover::before { transform: translateX(0); }

/* ═══ CLIENTS ═══ */
.clients-section, .clients-band { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 64px 5%; text-align: center; position: relative; z-index: 2; }
.clients-label, .clients-lbl { font-family: var(--fh); font-size: 8.5px; font-weight: 600; letter-spacing: .3em; color: var(--dim); text-transform: uppercase; margin-bottom: 44px; }
.clients-row { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }
.client-logo, .cl { font-family: var(--fh); font-size: 13px; font-weight: 700; color: var(--dim); letter-spacing: .06em; padding: 12px 22px; border: 1px solid transparent; border-radius: 3px; transition: all .3s; }
.client-logo:hover, .cl:hover { color: var(--white2); border-color: var(--border); background: var(--bg3); }

/* ═══ CTA ═══ */
.cta-band, .cta-section { background: var(--bg2); border-top: 1px solid var(--border); padding: 120px 5%; text-align: center; position: relative; z-index: 2; overflow: hidden; }
.cta-band::before, .cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 70% at 50% 120%, rgba(91,127,255,0.1), transparent); }
.cta-band::after, .cta-section::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--blue), var(--amber), transparent); }
.cta-inner { position: relative; z-index: 1; }
.cta-title { font-family: var(--fh); font-size: clamp(28px,4.8vw,58px); font-weight: 700; letter-spacing: -.02em; line-height: 1.02; color: var(--white); max-width: 840px; margin: 0 auto 20px; }
.cta-title .acc { color: var(--blue); }
.cta-sub { font-family: var(--fh); font-size: 15px; font-weight: 400; color: var(--muted); max-width: 480px; margin: 0 auto 44px; line-height: 1.8; }
.cta-btns, .cta-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ═══ ABOUT PAGE ═══ */
.about-grid { display: grid; grid-template-columns: 260px 1fr; gap: 72px; align-items: start; }
.about-sticky { position: sticky; top: 130px; }
.about-year { font-family: var(--fh); font-size: clamp(60px,10vw,100px); font-weight: 700; color: rgba(255,255,255,.04); line-height: 1; margin-bottom: 14px; letter-spacing: -.02em; }
.about-body p { font-family: var(--fh); font-size: 14.5px; font-weight: 400; color: var(--muted); line-height: 1.9; margin-bottom: 20px; }
.about-quote { border-left: 2px solid var(--blue); padding-left: 24px; margin: 36px 0; }
.about-quote p { font-family: var(--fh); font-size: 15px; font-weight: 500; color: var(--white2); line-height: 1.85; font-style: normal; }
.about-quote cite { font-family: var(--fh); font-size: 9px; font-weight: 600; color: var(--muted); letter-spacing: .14em; display: block; margin-top: 12px; text-transform: uppercase; }

/* VALUES */
.values-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; margin-top: 48px; }
.value-item { background: var(--bg2); padding: 34px 26px; position: relative; overflow: hidden; transition: background .3s; }
.value-item::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--blue), var(--amber)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.value-item:hover::before { transform: scaleX(1); }
.value-item:hover { background: var(--bg3); }
.v-num { font-family: var(--fh); font-size: clamp(24px,3vw,38px); font-weight: 700; color: rgba(91,127,255,0.14); line-height: 1; margin-bottom: 14px; letter-spacing: -.02em; }
.v-name-jp { font-family: var(--fj); font-size: 19px; font-weight: 200; margin-bottom: 4px; letter-spacing: .04em; color: var(--white); }
.v-name-en { font-family: var(--fh); font-size: 9px; font-weight: 600; color: var(--blue); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 12px; }
.v-desc { font-family: var(--fh); font-size: 13px; font-weight: 400; color: var(--muted); line-height: 1.75; }

/* SVC DETAIL */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; padding: 72px 0; border-bottom: 1px solid var(--border); align-items: center; }
.svc-detail:nth-child(even) .svc-visual { order: -1; }
.svc-visual { background: var(--bg2); border: 1px solid var(--border2); border-radius: 12px; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.svc-visual-grid { position: absolute; inset: 0; opacity: .04; background-image: linear-gradient(rgba(91,127,255,1) 1px,transparent 1px),linear-gradient(90deg,rgba(91,127,255,1) 1px,transparent 1px); background-size: 40px 40px; }
.svc-visual-text { font-family: var(--fh); font-size: 80px; font-weight: 700; color: rgba(255,255,255,.04); letter-spacing: .1em; }
.svc-features { list-style: none; margin-top: 20px; }
.svc-features li { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--border); font-family: var(--fh); font-size: .86rem; font-weight: 400; color: var(--muted); }
.svc-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); flex-shrink: 0; margin-top: 5px; }

/* ═══ FOOTER ═══ */
footer { background: var(--void); border-top: 1px solid var(--border); padding: 80px 5% 36px; position: relative; z-index: 2; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; margin-bottom: 52px; }
.footer-logo-main, .f-brand-name { font-family: var(--fh); font-size: 22px; font-weight: 700; letter-spacing: -.015em; color: var(--white); margin-bottom: 4px; }
.footer-logo-main span, .f-brand-name .acc { color: var(--blue); }
.footer-logo-sub, .f-brand-jp { font-family: var(--fj); font-size: 8px; font-weight: 200; color: var(--dim); letter-spacing: .24em; margin-bottom: 14px; }
.footer-tagline, .f-tagline { font-family: var(--fh); font-size: 13px; font-weight: 400; color: var(--muted); line-height: 1.8; max-width: 280px; }
.footer-tagline-jp { font-family: var(--fj); font-size: 11px; font-weight: 200; color: var(--dim); line-height: 2; margin-top: 6px; }
.footer-socials, .f-socials { display: flex; gap: 8px; margin-top: 22px; }
.f-social, .f-soc { width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 4px; display: flex; align-items: center; justify-content: center; color: var(--muted); text-decoration: none; font-family: var(--fh); font-size: 11px; font-weight: 600; transition: all .3s; }
.f-social:hover, .f-soc:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-gs); transform: translateY(-3px); }
.f-col h4 { font-family: var(--fh); font-size: 11.5px; font-weight: 700; color: var(--white2); letter-spacing: -.01em; margin-bottom: 18px; }
.f-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.f-col a, .f-col ul a { text-decoration: none; color: var(--muted); font-family: var(--fh); font-size: 13px; font-weight: 400; transition: all .3s; display: inline-flex; align-items: center; gap: 8px; }
.f-col a::before { content: ''; width: 0; height: 1px; background: var(--blue); transition: width .3s; }
.f-col a:hover { color: var(--white2); }
.f-col a:hover::before { width: 12px; }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-family: var(--fh); font-size: 10px; font-weight: 500; color: var(--dim); letter-spacing: .08em; }
.footer-links, .footer-bottom-links { display: flex; gap: 24px; }
.footer-links a, .footer-bottom-links a { font-family: var(--fh); font-size: 9px; font-weight: 600; color: var(--dim); text-decoration: none; letter-spacing: .1em; text-transform: uppercase; transition: color .3s; }
.footer-links a:hover, .footer-bottom-links a:hover { color: var(--blue); }

/* ═══ BILINGUAL ═══ */
[data-ja],[data-en] { display: none; }
body [data-ja] { display: block; }
body.lang-en [data-ja] { display: none; }
body.lang-en [data-en] { display: block; }
body.lang-ja [data-en] { display: none; }
span[data-ja], span[data-en] { display: inline; }
body.lang-en span[data-ja] { display: none; }
body.lang-en span[data-en] { display: inline; }
body.lang-ja span[data-en] { display: none; }
body.lang-ja span[data-ja] { display: inline; }

/* ═══ REVEAL ═══ */
.rv, .reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.rv.in, .reveal.visible { opacity: 1; transform: translateY(0); }
.rvl, .reveal-l { opacity: 0; transform: translateX(-28px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.rvl.in, .reveal-l.visible { opacity: 1; transform: translateX(0); }
.rvr, .reveal-r { opacity: 0; transform: translateX(28px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.rvr.in, .reveal-r.visible { opacity: 1; transform: translateX(0); }
.d1 { transition-delay: .1s !important; } .d2 { transition-delay: .2s !important; }
.d3 { transition-delay: .3s !important; } .d4 { transition-delay: .4s !important; }
.d5 { transition-delay: .5s !important; } .d6 { transition-delay: .6s !important; }

/* ═══ ANIMATIONS ═══ */
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.8)} }
@keyframes scrollAnim { 0%{opacity:0;transform:scaleY(0);transform-origin:top} 50%{opacity:1;transform:scaleY(1)} 100%{opacity:0;transform:scaleY(0);transform-origin:bottom} }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1200px) {
  .services-header, .services-head { grid-template-columns: 1fr; gap: 28px; }
  .services-grid, .svcs-bento { grid-template-columns: repeat(2,1fr); }
  .svc.span2 { grid-column: span 1; flex-direction: column; gap: 16px; }
  .japan-edge-wrap { grid-template-columns: 1fr; gap: 48px; }
  .why-grid, .why-bento { grid-template-columns: repeat(2,1fr); }
  .stats-row, .stats-bar { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2), .st-cell:nth-child(2) { border-right: none; }
  .stat:nth-child(3), .st-cell:nth-child(3) { border-top: 1px solid var(--border); }
  .values-grid { grid-template-columns: repeat(2,1fr); }
  .sol-grid { grid-template-columns: 1fr; gap: 56px; }
  .tech-wrap { grid-template-columns: 1fr; }
  .tech-tabs { display: flex; overflow-x: auto; }
  .tech-tab { white-space: nowrap; border-bottom: none; border-right: 1px solid var(--border); }
}
@media (max-width: 1024px) {
  .section, section { padding: 80px 5%; }
  .works-grid { grid-template-columns: repeat(2,1fr); }
  .wk.tall { grid-row: span 1; min-height: 260px; }
  .testi-grid { grid-template-columns: repeat(2,1fr); }
  .contact-wrap, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-sticky { position: static; }
  .svc-detail { grid-template-columns: 1fr; gap: 32px; }
  .svc-detail:nth-child(even) .svc-visual { order: 0; }
  .process-connector { display: none; }
  .process-line { grid-template-columns: repeat(2,1fr); gap: 40px; }
}
@media (max-width: 768px) {
  body { cursor: auto; }
  #cursor-dot, #cursor-ring, #cr-dot, #cr-ring { display: none; }
  a, button { cursor: auto !important; }
  .nav-links, .nav-cta, .nav-cta-btn { display: none; }
  .hamburger { display: flex; }
  .section, section { padding: 64px 5%; }
  .page-hero { padding: 100px 5% 56px; }
  .works-grid { grid-template-columns: 1fr; }
  .wk.wide, .w1, .w2, .w3, .w4, .w5, .w6 { grid-column: 1; }
  .why-grid, .why-bento, .services-grid, .svcs-bento { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .footer-links, .footer-bottom-links { flex-wrap: wrap; justify-content: center; }
  .values-grid { grid-template-columns: 1fr; }
  .form-row, .cf-row { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .process-line { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .cta-btns, .cta-actions, .hero-btns, .hero-ctas { flex-direction: column; align-items: center; }
  .clients-row { gap: 16px; }
}

/* ── BACK TO TOP ── */
#backToTop {
  position: fixed; bottom: 32px; right: 32px; z-index: 990;
  width: 44px; height: 44px;
  background: var(--bg3); border: 1px solid var(--border2);
  color: var(--blue); border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  cursor: none; transition: all .35s var(--ease-out);
  opacity: 0; transform: translateY(12px) scale(0.9);
  pointer-events: none;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
#backToTop.visible {
  opacity: 1; transform: translateY(0) scale(1);
  pointer-events: all;
}
#backToTop:hover {
  background: var(--blue); color: var(--void);
  border-color: var(--blue);
  transform: translateY(-3px) scale(1);
  box-shadow: 0 12px 40px rgba(91,127,255,.4);
}
#backToTop svg { pointer-events: none; }

/* ── NAV OVERLAP FIX (subpages) ── */
nav.scrolled { top: 32px !important; }

/* ── BILINGUAL CLASSES ── */
.lang-ja-text { display: none; }
.lang-en-text { display: inline; }
body.lang-ja .lang-ja-text { display: inline; }
body.lang-ja .lang-en-text { display: none; }
body.lang-en .lang-ja-text { display: none; }
body.lang-en .lang-en-text { display: inline; }
.lang-ja-block { display: none; }
.lang-en-block { display: block; }
body.lang-ja .lang-ja-block { display: block; }
body.lang-ja .lang-en-block { display: none; }
body.lang-en .lang-ja-block { display: none; }
body.lang-en .lang-en-block { display: block; }

/* ══════════════════════════════════════════════════
   IMAGE SYSTEM — subpages (about.html, works.html)
══════════════════════════════════════════════════ */

/* Hero background image */
.hero-bg-img {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-bg-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  filter: brightness(0.22) saturate(0.9);
  display: block;
  transform: scale(1.03);
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(3,4,11,0.85) 0%, rgba(6,7,15,0.55) 50%, rgba(3,4,11,0.75) 100%),
    linear-gradient(to top, rgba(3,4,11,0.95) 0%, transparent 40%);
}

/* Page hero (subpages) */
.page-hero { position: relative; }
.page-hero-img {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.page-hero-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 25%;
  filter: brightness(0.15) saturate(0.7);
  display: block;
}
.page-hero-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6,7,15,0.7) 0%,
    rgba(6,7,15,0.5) 40%,
    rgba(6,7,15,0.92) 100%
  );
}
.page-hero-grid { z-index: 2 !important; position: relative; }
.page-hero-content { z-index: 3 !important; }

/* Generic section bg images */
.section-bg-img {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none;
}
.section-bg-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  filter: brightness(0.10) saturate(0.6);
  display: block;
}
.section-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(6,7,15,0.88) 0%, rgba(11,12,24,0.82) 50%, rgba(6,7,15,0.90) 100%
  );
}
.section-bg-overlay--heavy {
  background: linear-gradient(135deg,
    rgba(6,7,15,0.94) 0%, rgba(11,12,24,0.90) 50%, rgba(6,7,15,0.96) 100%
  );
}

/* Footer background image */
footer { position: relative; overflow: hidden; }
.footer-bg-img {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
}
.footer-bg-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  filter: brightness(0.06) saturate(0.4);
  display: block;
}
footer .container { position: relative; z-index: 2; }
