/* ============================================================
   ShiningStar Renewal — design tokens + global styles
============================================================ */

:root {
  --bg-dark: #06112B;
  --bg-dark-2: #081634;
  --bg-light: #FFFFFF;
  --bg-light-2: #F2F5FB;
  --primary: #2E6BFF;
  --accent:  #00C9FF;
  --pink:    #00C9FF; /* legacy alias — kept as cyan now */
  --grad-a:  #2E6BFF;
  --grad-b:  #00B4FF;
  --grad-c:  #8DE3FF;
  --text-on-dark:  #EAF1FF;
  --text-on-light: #06112B;
  --muted-dark:    #8AA0C7;
  --muted-light:   #5F6E86;
  --border-dark:   rgba(234,241,255,0.10);
  --border-light:  rgba(6,17,43,0.08);

  --font-en: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --container: 1280px;
  --pad: clamp(20px, 4vw, 56px);
  --sect-py: clamp(96px, 12vw, 160px);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-jp), var(--font-en);
  background: var(--bg-dark);
  color: var(--text-on-dark);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  z-index: 2;
}

::selection { background: var(--primary); color: #fff; }

/* ============================================================
   NAV
============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 18px var(--pad);
  transition: background .3s var(--ease), backdrop-filter .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6,17,43,0.62);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: rgba(234,241,255,0.06);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: -.01em;
  font-size: 17px;
}
.nav__links {
  display: flex;
  gap: 28px;
  margin: 0 auto;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
  color: rgba(234,241,255,0.78);
}
.nav__links a {
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.nav__links a:hover { color: var(--text-on-dark); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: linear-gradient(90deg, var(--grad-a), var(--grad-c));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { display: flex; gap: 10px; align-items: center; }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 100px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
  position: relative;
  isolation: isolate;
}
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn--primary {
  background: linear-gradient(120deg, var(--grad-a) 0%, var(--grad-b) 55%, var(--grad-c) 110%);
  background-size: 200% 100%;
  background-position: 0% 50%;
  color: #fff;
  box-shadow: 0 8px 30px -8px rgba(46,107,255,.55), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn--primary:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -8px rgba(0,180,255,.5), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--primary .btn__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 7px;
  background: rgba(255,255,255,.22);
  border-radius: 6px;
  font-weight: 500;
}

.btn--ghost {
  background: transparent;
  color: var(--text-on-dark);
  border: 1px solid rgba(234,241,255,0.22);
}
.btn--ghost:hover {
  border-color: rgba(234,241,255,0.5);
  background: rgba(234,241,255,0.05);
}

.btn--primary-sm, .btn--ghost-sm {
  padding: 10px 16px;
  font-size: 13px;
  border-radius: 100px;
}
.btn--primary-sm {
  background: linear-gradient(120deg, var(--grad-a), var(--grad-b));
  color: #fff;
  font-weight: 600;
}
.btn--primary-sm:hover { transform: translateY(-1px); }
.btn--ghost-sm {
  color: rgba(234,241,255,0.85);
  font-weight: 500;
}
.btn--ghost-sm:hover { color: #fff; }

.btn.big { padding: 18px 28px; font-size: 16px; }

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 140px var(--pad) 80px;
  overflow: hidden;
  background: var(--bg-dark);
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.mesh {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .85;
  animation: drift 22s ease-in-out infinite alternate;
  will-change: transform;
}
.mesh--a {
  width: 60vw; height: 60vw;
  top: -10vw; left: -10vw;
  background: radial-gradient(circle at 30% 30%, var(--grad-a) 0%, transparent 60%);
}
.mesh--b {
  width: 55vw; height: 55vw;
  top: 10vw; right: -10vw;
  background: radial-gradient(circle at 50% 50%, var(--grad-b) 0%, transparent 65%);
  animation-delay: -7s;
  opacity: .6;
}
.mesh--c {
  width: 50vw; height: 50vw;
  bottom: -15vw; left: 20vw;
  background: radial-gradient(circle at 50% 50%, var(--grad-c) 0%, transparent 65%);
  animation-delay: -14s;
  opacity: .55;
}
@keyframes drift {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(40px,-30px) scale(1.08); }
  100% { transform: translate(-30px,40px) scale(0.95); }
}

#neural {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .55;
  mix-blend-mode: screen;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(234,241,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(234,241,255,.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}

.noise {
  position: absolute; inset: 0;
  opacity: .04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: calc(100svh - 220px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(234,241,255,.7);
  padding: 8px 14px;
  border: 1px solid var(--border-dark);
  border-radius: 100px;
  background: rgba(234,241,255,0.03);
  backdrop-filter: blur(8px);
}
.eyebrow--center { margin: 0 auto; }
.pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--grad-c);
  box-shadow: 0 0 0 0 var(--grad-c);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,229,255,.7); }
  70%  { box-shadow: 0 0 0 10px rgba(0,229,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,229,255,0); }
}

.hero__title {
  font-family: var(--font-en);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.02;
  font-size: clamp(48px, 7.4vw, 104px);
  margin: 26px 0 22px;
}
.hero__title .line { display: block; }
.hero__title .line.en {
  background: linear-gradient(110deg, #fff 0%, #fff 40%, var(--grad-c) 60%, var(--grad-b) 80%, var(--grad-a) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__title .line.ja {
  font-family: var(--font-jp);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: .56em;
  color: var(--text-on-dark);
  margin-top: 10px;
  opacity: 0;
  transform: translateY(14px);
  animation: rise .9s var(--ease) 1.6s forwards;
}
.caret {
  display: inline-block;
  width: .04em;
  margin-left: 0.06em;
  color: var(--grad-c);
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.hero__sub {
  font-family: var(--font-jp);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.85;
  color: rgba(234,241,255,.78);
  max-width: 540px;
  margin: 0 0 36px;
}
.hero__sub em {
  font-style: normal;
  color: #fff;
  background: linear-gradient(90deg, var(--grad-a), var(--grad-c));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hero__trust { display: flex; align-items: center; gap: 14px; }
.trust__avatars { display: inline-flex; }
.trust__avatars span {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--c);
  border: 2px solid var(--bg-dark);
  margin-left: -8px;
}
.trust__avatars span:first-child { margin-left: 0; }
.trust__text {
  font-size: 13px;
  color: rgba(234,241,255,.6);
  font-family: var(--font-en);
}

/* Metrics card */
.metrics {
  position: relative;
  padding: 24px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(234,241,255,0.06), rgba(234,241,255,0.02));
  border: 1px solid var(--border-dark);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px -30px rgba(46,107,255,.4);
  display: grid;
  gap: 18px;
}
.metrics::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: var(--r-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(46,107,255,.5), transparent 40%, transparent 60%, rgba(0,229,255,.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.metrics__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: rgba(234,241,255,.6);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-dark);
}
.metrics__dot {
  width: 8px; height: 8px;
  background: #5BE0B4;
  border-radius: 50%;
  box-shadow: 0 0 8px #5BE0B4;
  animation: pulse-dot 1.8s infinite;
}
@keyframes pulse-dot { 50% { opacity: .35; } }
.metrics__title { flex: 1; }
.metrics__time { color: rgba(234,241,255,.4); }

.metric { display: grid; gap: 6px; }
.metric__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(234,241,255,.55);
}
.metric__row { display: flex; align-items: baseline; gap: 10px; }
.metric__num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -.02em;
  background: linear-gradient(120deg, #fff, var(--grad-c));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.metric__num.small { font-size: 22px; }
.metric__delta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #5BE0B4;
  padding: 2px 7px;
  background: rgba(91,224,180,.1);
  border-radius: 6px;
}
.metric__delta.down { color: #00C9FF; background: rgba(0,180,255,.1); }
.bar { height: 3px; background: rgba(234,241,255,.06); border-radius: 4px; overflow: hidden; }
.bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--grad-a), var(--grad-c));
  border-radius: 4px;
  transform-origin: left;
  animation: barIn 1.2s var(--ease) .6s both;
}
@keyframes barIn { from { transform: scaleX(0); } }

.metric--sparks .spark { width: 100%; height: 30px; margin-top: 4px; }

.metrics__foot {
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-dark);
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(234,241,255,.4);
  letter-spacing: .08em;
}
.metrics__ok { color: #5BE0B4; }

/* Hero scroll affordance */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .25em;
  color: rgba(234,241,255,.4);
}
.hero__scroll__line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--grad-c), transparent);
  animation: scrolly 2s ease-in-out infinite;
}
@keyframes scrolly {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   LOGOS / MARQUEE
============================================================ */
.logos {
  background: var(--bg-dark);
  padding: 80px 0 60px;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  position: relative;
  overflow: hidden;
}
.logos__heading {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(234,241,255,.45);
  margin: 0 0 36px;
}
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: inline-flex;
  gap: 64px;
  white-space: nowrap;
  animation: scrollX 38s linear infinite;
  padding-right: 64px;
}
@keyframes scrollX { to { transform: translateX(-50%); } }

.lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .04em;
  color: rgba(234,241,255,.55);
  transition: color .25s;
}
.lg:hover { color: #fff; }
.lg i { font-style: normal; color: var(--grad-b); margin: 0 4px; }
.lg b { color: var(--grad-c); margin: 0 2px; }

/* ============================================================
   SECTION HEADS / SHARED
============================================================ */
.sect-head { margin-bottom: 64px; max-width: 880px; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(234,241,255,.5);
  margin-bottom: 20px;
}
.kicker__num {
  padding: 4px 10px;
  background: linear-gradient(120deg, var(--grad-a), var(--grad-b));
  color: #fff;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: .04em;
}
.h2 {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.18;
  letter-spacing: -.012em;
  margin: 0 0 18px;
  text-wrap: pretty;
}
.h2 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--grad-a), var(--grad-b), var(--grad-c));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}
.sect-head__lead {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(234,241,255,.7);
  max-width: 640px;
  margin: 0;
}
.sect-head__lead em {
  font-style: normal;
  color: var(--grad-c);
  font-weight: 600;
}
.sect-head__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 14px;
  color: rgba(234,241,255,.8);
  margin-top: 18px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(234,241,255,.25);
  transition: color .25s, border-color .25s;
}
.sect-head__link:hover { color: var(--grad-c); border-color: var(--grad-c); }

.sect-head--light .kicker { color: rgba(6,17,43,.55); }
.sect-head--light .h2 { color: var(--text-on-light); }
.sect-head--light .sect-head__lead { color: rgba(6,17,43,.65); }
.sect-head--light .sect-head__lead em { color: var(--primary); }
.sect-head--light .sect-head__link {
  color: rgba(6,17,43,.85);
  border-color: rgba(6,17,43,.25);
}
.sect-head--light .sect-head__link:hover { color: var(--primary); border-color: var(--primary); }

/* Light section wrapper */
.light {
  background: var(--bg-light);
  color: var(--text-on-light);
}

/* ============================================================
   PAIN POINTS
============================================================ */
.pains {
  background: var(--bg-dark);
  padding: var(--sect-py) 0;
  position: relative;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pain {
  position: relative;
  padding: 32px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(234,241,255,.04), rgba(234,241,255,.01));
  border: 1px solid var(--border-dark);
  display: grid;
  gap: 14px;
  align-content: start;
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.pain:hover {
  border-color: rgba(46,107,255,.4);
  transform: translateY(-4px);
}
.pain__num {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 26px;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(120deg, var(--grad-a), var(--grad-b));
  display: grid; place-items: center;
  color: #fff;
}
.pain__title {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 24px;
  margin: 0;
  letter-spacing: -.01em;
}
.pain__lead {
  font-size: 15px;
  color: rgba(234,241,255,.7);
  margin: 0;
  padding: 12px 14px;
  background: rgba(255,255,255,.02);
  border-left: 2px solid var(--grad-b);
  border-radius: 4px;
  font-style: italic;
}
.pain__why { font-size: 14px; line-height: 1.75; color: rgba(234,241,255,.62); margin: 0; }
.pain__why b { color: #fff; font-weight: 700; margin-right: 4px; }

.pain__stat {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--border-dark);
}
.pain__stat .big {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -.03em;
  line-height: 1;
  background: linear-gradient(120deg, var(--grad-c), var(--grad-a));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pain__stat .big i { font-size: .55em; font-style: normal; opacity: .8; }
.pain__stat .cap {
  font-size: 12px;
  color: rgba(234,241,255,.5);
  line-height: 1.5;
}
.pain__stat .cap i {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10px;
  opacity: .6;
}

.pains__bridge {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 80px;
  font-family: var(--font-jp);
  font-size: 18px;
  color: rgba(234,241,255,.75);
}
.pains__bridge em {
  font-style: normal;
  background: linear-gradient(120deg, var(--grad-a), var(--grad-c));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.bridge__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(234,241,255,.25), transparent);
}
.pains__bridge p { margin: 0; text-align: center; }

/* ============================================================
   SERVICES
============================================================ */
.services { padding: var(--sect-py) 0; }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  perspective: 1200px;
}
.svc {
  position: relative;
  padding: 32px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--border-light);
  display: grid;
  gap: 14px;
  align-content: start;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  transform-style: preserve-3d;
  overflow: hidden;
  isolation: isolate;
}
.svc:hover {
  box-shadow: 0 30px 60px -30px rgba(46,107,255,.4), 0 8px 24px -12px rgba(6,17,43,.08);
  border-color: rgba(46,107,255,.3);
}
.svc__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.svc__no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--muted-light);
}
.svc__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #EAF1FF, #DCEBFF);
  color: var(--primary);
  transition: transform .35s var(--ease);
}
.svc:hover .svc__icon { transform: rotate(-6deg) scale(1.08); }
.svc__title {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -.012em;
  margin: 4px 0 0;
}
.svc__desc {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(6,17,43,.65);
  margin: 0;
}
.svc__list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: grid;
  gap: 8px;
  border-top: 1px dashed rgba(6,17,43,.1);
  padding-top: 18px;
}
.svc__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: rgba(6,17,43,.75);
  font-weight: 500;
}
.svc__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}
.svc__more {
  margin-top: 10px;
  display: inline-flex;
  gap: 6px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  align-items: center;
}
.svc__more:hover { color: var(--pink); }
.svc__glow {
  position: absolute;
  inset: -50% -50% auto auto;
  width: 240px; height: 240px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 65%);
  opacity: 0;
  filter: blur(40px);
  transition: opacity .35s;
  z-index: -1;
}
.svc:hover .svc__glow { opacity: .25; }

/* ============================================================
   PROCESS / TIMELINE
============================================================ */
.process {
  padding: var(--sect-py) 0;
  background: var(--bg-light-2);
}
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding-top: 56px;
}
.timeline__rail, .timeline__progress {
  position: absolute;
  top: 76px;
  left: 5%;
  right: 5%;
  height: 2px;
  border-radius: 4px;
}
.timeline__rail { background: rgba(6,17,43,.1); }
.timeline__progress {
  background: linear-gradient(90deg, var(--grad-a), var(--grad-b), var(--grad-c));
  width: 0%;
  transition: width 1.5s var(--ease);
}
.step { display: grid; gap: 16px; justify-items: start; position: relative; }
.step__node {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(6,17,43,.12);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--text-on-light);
  position: relative;
  z-index: 2;
  margin-left: calc(50% - 22px);
  transition: all .35s var(--ease);
}
.step--accent .step__node {
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 24px -6px rgba(46,107,255,.5);
  transform: scale(1.15);
}
.step__card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 20px;
  border: 1px solid var(--border-light);
  width: 100%;
}
.step__card h4 {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 2px;
  letter-spacing: -.01em;
}
.step__ja {
  font-family: var(--font-jp);
  font-size: 14px;
  color: var(--muted-light);
  margin: 0 0 12px;
}
.step__time {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  padding: 3px 8px;
  background: rgba(46,107,255,.1);
  color: var(--primary);
  border-radius: 6px;
  margin-bottom: 12px;
}
.step__body {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(6,17,43,.7);
  margin: 0;
}

.callout {
  margin-top: 48px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  border-radius: 100px;
  background: linear-gradient(120deg, var(--grad-a), var(--grad-b));
  color: #fff;
  box-shadow: 0 18px 50px -12px rgba(0,180,255,.4);
}
.callout__pill {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  padding: 4px 10px;
  background: rgba(255,255,255,.22);
  border-radius: 100px;
}
.callout p { margin: 0; font-size: 15px; font-weight: 600; }
.callout b { font-weight: 800; }
.callout em { font-style: normal; opacity: .9; margin-left: 8px; font-weight: 500; }
.callout em span {
  background: rgba(255,255,255,.22);
  padding: 2px 8px;
  border-radius: 8px;
  font-weight: 700;
  margin-left: 4px;
}

/* ============================================================
   WORKS / CASE STUDIES (LIGHT)
============================================================ */
.works {
  background: var(--bg-light);
  padding: var(--sect-py) 0;
  color: var(--text-on-light);
}
.works .sect-head .kicker { color: rgba(6,17,43,.55); }
.works .sect-head .h2 { color: var(--text-on-light); }
.works .sect-head .sect-head__lead { color: rgba(6,17,43,.65); }
.works .sect-head__link {
  margin-left: 24px;
  color: rgba(6,17,43,.85);
  border-color: rgba(6,17,43,.2);
}
.works .sect-head__link:hover { color: var(--primary); border-color: var(--primary); }
.works .sect-head { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; }
.works .sect-head > div { flex: 1; min-width: 0; }
.work-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.work {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 28px;
  display: grid;
  gap: 14px;
  align-content: start;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(6,17,43,.02);
}
.work:hover {
  transform: translateY(-4px);
  border-color: rgba(46,107,255,.35);
  box-shadow: 0 24px 50px -28px rgba(46,107,255,.35), 0 8px 24px -12px rgba(6,17,43,.06);
}

.work--feat {
  grid-row: span 2;
  padding: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  background: linear-gradient(180deg, #F4F8FF 0%, #FFFFFF 60%);
}
.work--feat .work__media {
  position: relative;
  padding: 24px 24px 0;
  height: 240px;
  display: grid;
  align-content: end;
  gap: 14px;
  background:
    radial-gradient(ellipse at 70% 0%, rgba(46,107,255,.16), transparent 60%),
    linear-gradient(180deg, #EAF1FF 0%, #F8FBFF 100%);
  border-bottom: 1px solid var(--border-light);
}
.work__chart {
  position: absolute;
  inset: 0;
  padding: 12px;
}
.work__chart svg { width: 100%; height: 100%; }

.work__tags {
  position: relative;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.work__tags span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  padding: 4px 8px;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  color: var(--primary);
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.work__body { padding: 24px 28px 28px; display: grid; gap: 14px; }

.work__industry {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--muted-light);
  text-transform: uppercase;
}
.work__title {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(20px, 1.6vw, 26px);
  letter-spacing: -.01em;
  line-height: 1.3;
  margin: 0;
  text-wrap: pretty;
  color: var(--text-on-light);
}
.work__problem, .work__solution {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(6,17,43,.68);
  margin: 0;
}
.work__problem b, .work__solution b {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--primary);
  margin-right: 6px;
  padding: 2px 5px;
  background: rgba(46,107,255,.08);
  border-radius: 4px;
}
.work__solution b { color: #0098D6; background: rgba(0,180,255,.1); }

.work__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 16px;
  background: linear-gradient(180deg, #F4F8FF, #FFFFFF);
  border-radius: var(--r-md);
  border: 1px solid var(--border-light);
}
.work__kpis--row { grid-template-columns: 1fr 1fr; }
.work__kpis > div { display: grid; gap: 4px; }
.kpi__num {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -.025em;
  line-height: 1;
  background: linear-gradient(120deg, var(--primary), #00A8E0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.kpi__num i { font-style: normal; font-size: .55em; opacity: .8; margin-left: 2px; }
.kpi__cap {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--muted-light);
}

.work__tech { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tech {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 9px;
  background: #F2F5FB;
  border: 1px solid var(--border-light);
  border-radius: 100px;
  color: rgba(6,17,43,.7);
}

.work__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-top: 4px;
}
.work__more:hover { color: #00A8E0; }

/* ============================================================
   TECH STACK
============================================================ */
.tech-stack {
  position: relative;
  background: var(--bg-dark-2);
  padding: var(--sect-py) 0;
  overflow: hidden;
}
.tech-stack .tech__bg {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
  opacity: .7;
}
.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stack {
  padding: 28px;
  border-radius: var(--r-md);
  background: rgba(234,241,255,.03);
  border: 1px solid var(--border-dark);
  backdrop-filter: blur(10px);
  transition: border-color .25s, transform .25s;
}
.stack:hover {
  border-color: rgba(0,229,255,.3);
  transform: translateY(-3px);
}
.stack__cat {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  padding: 5px 10px;
  background: linear-gradient(120deg, var(--grad-a), var(--grad-b));
  color: #fff;
  border-radius: 6px;
  margin-bottom: 18px;
}
.stack ul {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: 10px;
}
.stack li {
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 500;
  color: rgba(234,241,255,.85);
  padding-left: 18px;
  position: relative;
}
.stack li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 8px; height: 1px;
  background: var(--grad-c);
}

/* ============================================================
   NEWS
============================================================ */
.news { padding: var(--sect-py) 0; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  display: grid;
  gap: 16px;
  transition: transform .35s var(--ease);
}
.news-card:hover { transform: translateY(-4px); }
.news-card__thumb {
  aspect-ratio: 16/10;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--g1), var(--g2));
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: end start;
  padding: 18px;
}
.news-card__thumb::before {
  content: "";
  position: absolute;
  inset: -20% -20% auto auto;
  width: 60%; height: 60%;
  background: radial-gradient(circle, rgba(255,255,255,.35), transparent 60%);
  filter: blur(20px);
}
.news-card__glyph {
  position: relative;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .25em;
  color: rgba(255,255,255,.9);
  padding: 5px 10px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 6px;
  backdrop-filter: blur(4px);
}
.news-card__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-light);
}
.news-card__tag {
  padding: 3px 8px;
  background: rgba(46,107,255,.12);
  color: var(--primary);
  border-radius: 6px;
  font-weight: 500;
}
.news-card__title {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.55;
  margin: 0;
  letter-spacing: -.01em;
  color: var(--text-on-light);
  text-wrap: pretty;
}

/* ============================================================
   FINAL CTA
============================================================ */
.final-cta {
  position: relative;
  padding: 140px var(--pad);
  background: var(--bg-dark);
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}
.final-cta__bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.final-cta__bg .mesh--a { width: 70vw; height: 70vw; top: -20vw; left: -10vw; opacity: .9; }
.final-cta__bg .mesh--b { width: 60vw; height: 60vw; bottom: -20vw; right: -10vw; opacity: .8; }

.final-cta__inner { z-index: 2; }
.final-cta__h {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: 26px 0 22px;
}
.final-cta__h .line { display: block; }
.final-cta__h .line.en {
  background: linear-gradient(110deg, #fff, var(--grad-c), var(--grad-b));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.final-cta__h .line.ja {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: .35em;
  letter-spacing: -.01em;
  color: var(--text-on-dark);
  opacity: .85;
  margin-top: 10px;
}
.final-cta__sub {
  font-size: 17px;
  line-height: 1.85;
  color: rgba(234,241,255,.75);
  max-width: 620px;
  margin: 0 auto 40px;
}
.final-cta__btns { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.final-cta__hints {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: inline-flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(234,241,255,.55);
  letter-spacing: .04em;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: #06070D;
  border-top: 1px solid var(--border-dark);
  padding: 80px 0 30px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border-dark);
}
.footer__brand p {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(234,241,255,.55);
  margin: 18px 0 22px;
  max-width: 280px;
}
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  color: rgba(234,241,255,.7);
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 14px;
  transition: all .25s;
}
.footer__social a:hover {
  border-color: var(--primary);
  color: #fff;
  background: rgba(46,107,255,.15);
}
.footer__col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: rgba(234,241,255,.5);
  text-transform: uppercase;
  margin: 0 0 18px;
  font-weight: 500;
}
.footer__col a, .footer__col p {
  display: block;
  font-size: 13px;
  color: rgba(234,241,255,.75);
  margin: 0 0 10px;
  transition: color .2s;
  line-height: 1.6;
}
.footer__col a:hover { color: var(--grad-c); }
.footer__addr { color: rgba(234,241,255,.5); }
.footer__bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(234,241,255,.4);
  letter-spacing: .04em;
}

/* ============================================================
   SERVICE GRID — 4 col override
============================================================ */
.svc-grid--four { grid-template-columns: repeat(4, 1fr); }
.svc-grid--four .svc__title { font-size: 24px; }
.svc-grid--four .svc { padding: 28px; }

/* ============================================================
   PAIN ANSWER block (replaces fabricated stats)
============================================================ */
.pain__answer {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(46,107,255,.08), rgba(0,201,255,.04));
  border: 1px solid rgba(46,107,255,.18);
  display: grid;
  gap: 8px;
}
.pain__answer__tag {
  display: inline-block;
  align-self: start;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--grad-c);
  padding: 3px 8px;
  background: rgba(0,201,255,.12);
  border-radius: 6px;
  width: fit-content;
}
.pain__answer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(234,241,255,.92);
}

/* ============================================================
   METRICS / STUDIO PROFILE — extras
============================================================ */
.metric__num__sm { font-size: .6em; opacity: .8; font-weight: 600; }
.metric__sep { display: inline-block; margin: 0 6px; opacity: .5; font-size: .6em; }
.metric__tel {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: .04em;
  transition: filter .2s;
}
.metric__tel:hover { filter: brightness(1.2); }

/* ============================================================
   MVV — Mission · Vision · Values (light)
============================================================ */
.mvv { padding: var(--sect-py) 0; background: var(--bg-light); }
.mvv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 24px;
}
.mvv-card {
  position: relative;
  padding: 36px 32px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--border-light);
  display: grid;
  gap: 14px;
  align-content: start;
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.mvv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(46,107,255,.35), 0 8px 24px -12px rgba(6,17,43,.08);
  border-color: rgba(46,107,255,.3);
}
.mvv-card::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto auto;
  width: 60%; height: 60%;
  background: radial-gradient(circle at top right, rgba(46,107,255,.12), transparent 70%);
  z-index: -1;
}
.mvv-card--vision::before { background: radial-gradient(circle at top right, rgba(0,180,255,.14), transparent 70%); }
.mvv-card--values::before { background: radial-gradient(circle at top right, rgba(141,227,255,.18), transparent 70%); }
.mvv-card__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--primary);
  padding: 4px 10px;
  background: rgba(46,107,255,.1);
  border-radius: 6px;
  width: fit-content;
}
.mvv-card__h {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.4;
  letter-spacing: -.012em;
  margin: 4px 0 0;
  color: var(--text-on-light);
}
.mvv-card__body {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(6,17,43,.7);
  margin: 0;
}
.values-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: grid;
  gap: 14px;
}
.values-list li {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, #F4F8FF, #ECF2FF);
  border: 1px solid rgba(46,107,255,.12);
}
.values-list li b {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 15px;
  color: var(--primary);
}
.values-list li span {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(6,17,43,.72);
}

/* ============================================================
   NEWS — 4 col override
============================================================ */
.news-grid--four { grid-template-columns: repeat(4, 1fr); }
.news-grid--four .news-card__title { font-size: 16px; }

/* ============================================================
   COMPANY (light)
============================================================ */
.company { padding: var(--sect-py) 0; background: var(--bg-light-2); }
.company-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: start;
}
.company-table {
  margin: 0;
  display: grid;
  gap: 0;
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
}
.company-table > div {
  display: grid;
  grid-template-columns: 200px 1fr;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  align-items: start;
}
.company-table > div:last-child { border-bottom: 0; }
.company-table dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin: 4px 0 0;
}
.company-table dd {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-on-light);
  font-weight: 500;
}
.company-table dd a {
  font-family: var(--font-mono);
  color: var(--primary);
  font-weight: 600;
  letter-spacing: .02em;
}
.company-table dd a:hover { text-decoration: underline; }

.company-side {}
.company-card {
  padding: 28px;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, #fff 0%, #EAF1FF 100%);
  border: 1px solid var(--border-light);
  display: grid;
  gap: 14px;
  align-content: start;
  box-shadow: 0 20px 50px -25px rgba(46,107,255,.25);
}
.company-card__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--primary);
  padding: 4px 10px;
  background: rgba(46,107,255,.12);
  border-radius: 6px;
  width: fit-content;
}
.company-card__body {
  font-size: 14px;
  line-height: 1.85;
  color: rgba(6,17,43,.75);
  margin: 0 0 4px;
}
.company-card__note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--muted-light);
  margin: 6px 0 0;
}

/* ============================================================
   CONTACT
============================================================ */
.contact {
  position: relative;
  padding: 140px var(--pad) 120px;
  background: var(--bg-dark);
  overflow: hidden;
  isolation: isolate;
}
.contact__bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.contact__bg .mesh--a { width: 70vw; height: 70vw; top: -25vw; left: -15vw; opacity: .8; }
.contact__bg .mesh--b { width: 60vw; height: 60vw; bottom: -20vw; right: -10vw; opacity: .7; }
.contact__inner { z-index: 2; max-width: 760px; }
.contact__head { text-align: center; margin-bottom: 56px; }
.contact__head .final-cta__sub a {
  color: var(--grad-c);
  font-family: var(--font-mono);
  font-weight: 600;
  border-bottom: 1px solid rgba(141,227,255,.4);
}

.contact-form {
  display: grid;
  gap: 22px;
  padding: 40px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(234,241,255,0.06), rgba(234,241,255,0.02));
  border: 1px solid var(--border-dark);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px -30px rgba(46,107,255,.4);
  position: relative;
}
.contact-form::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: var(--r-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(46,107,255,.5), transparent 40%, transparent 60%, rgba(0,229,255,.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.form-row {
  display: grid;
  gap: 8px;
}
.form-row label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(234,241,255,.7);
}
.form-row label .req { color: #FF6B8A; margin-left: 4px; }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(6,17,43,.45);
  border: 1px solid var(--border-dark);
  color: var(--text-on-dark);
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 1.6;
  transition: border-color .2s, box-shadow .2s, background .2s;
  outline: none;
}
.form-row select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(234,241,255,.6) 50%),
                    linear-gradient(135deg, rgba(234,241,255,.6) 50%, transparent 50%);
  background-position: calc(100% - 22px) center, calc(100% - 17px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.form-row textarea { resize: vertical; min-height: 130px; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(46,107,255,.18);
  background: rgba(6,17,43,.65);
}
.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(234,241,255,.3);
}
.form-row--submit {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.form-note {
  margin: 0;
  font-size: 12px;
  color: rgba(234,241,255,.45);
  font-family: var(--font-mono);
  letter-spacing: .04em;
}

/* light-mode ghost button used inside company card */
.btn--ghost-light {
  background: transparent;
  color: var(--text-on-light);
  border: 1px solid rgba(6,17,43,.15);
}
.btn--ghost-light:hover {
  background: var(--text-on-light);
  color: #fff;
  border-color: transparent;
}

/* ============================================================
   REVEAL ANIMATIONS
============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .metrics { max-width: 480px; }
  .pain-grid, .svc-grid, .news-grid, .stack-grid { grid-template-columns: 1fr 1fr; }
  .svc-grid--four, .news-grid--four { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work--feat { grid-column: span 2; grid-row: auto; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline__rail, .timeline__progress { display: none; }
  .step__node { margin-left: 0; }
  .mvv-grid { grid-template-columns: 1fr; }
  .mvv-card--values { grid-column: 1; }
  .company-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: span 3; }
}

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__cta .btn--ghost-sm { display: none; }
  .hero { padding-top: 110px; }
  .hero__title { font-size: clamp(42px, 12vw, 64px); }
  .pain-grid, .svc-grid, .news-grid, .stack-grid, .work-grid { grid-template-columns: 1fr; }
  .svc-grid--four, .news-grid--four { grid-template-columns: 1fr; }
  .work--feat { grid-column: auto; }
  .timeline { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
  .pains__bridge { font-size: 15px; gap: 14px; }
  .company-table > div { grid-template-columns: 1fr; gap: 4px; padding: 18px 20px; }
  .contact { padding: 96px var(--pad); }
  .contact-form { padding: 28px 22px; }
  .final-cta__h { font-size: clamp(38px, 11vw, 60px); }
}

@media (prefers-reduced-motion: reduce) {
  .mesh, .pulse, .metrics__dot, .hero__scroll__line, .bar i, .marquee__track { animation: none !important; }
  * { transition-duration: 0s !important; }
}
