/* ============================================================
   AI Smart Solutions — Corporate Site
   Design system + components
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700;900&family=Zen+Maru+Gothic:wght@500;700;900&family=Shippori+Mincho:wght@600;700;800&family=Noto+Sans+JP:wght@400;500;700;900&family=Sora:wght@400;500;600;700&display=swap');

:root {
  /* type */
  --font-head: 'Noto Sans JP', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --font-latin: 'Sora', sans-serif;

  /* ink + surfaces (cool neutral whites) */
  --ink:       oklch(0.24 0.03 258);
  --ink-soft:  oklch(0.48 0.025 258);
  --ink-faint: oklch(0.62 0.02 258);
  --bg:        oklch(0.995 0.003 250);
  --bg-soft:   oklch(0.974 0.006 250);
  --bg-tint:   oklch(0.955 0.012 250);
  --line:      oklch(0.91 0.012 250);
  --line-soft: oklch(0.945 0.008 250);

  /* navy / dark surface — graphite charcoal (matches logo mark) */
  --navy:      oklch(0.24 0.045 262);
  --navy-2:    oklch(0.30 0.05 262);

  /* brand accents — cool digital blue/cyan to match the hero AI hub */
  --accent:        #2f6bed;   /* digital blue */
  --accent-strong: color-mix(in oklab, var(--accent), black 22%);
  --accent-soft:   color-mix(in oklab, var(--accent), white 88%);
  --cyan:          #28d3ee;   /* electric cyan secondary */

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px oklch(0.4 0.05 258 / 0.06), 0 2px 8px oklch(0.4 0.05 258 / 0.05);
  --shadow-md: 0 8px 24px oklch(0.35 0.06 258 / 0.10), 0 2px 8px oklch(0.35 0.06 258 / 0.06);
  --shadow-lg: 0 24px 60px oklch(0.3 0.07 258 / 0.16);
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: 0.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }

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

/* ---- shared eyebrow / latin label ---- */
.eyebrow {
  font-family: var(--font-latin);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1.5px;
  background: var(--accent);
  display: inline-block;
}

.section { padding: 116px 0; }
.section-soft { background: var(--bg-soft); }
.section.has-bg { position: relative; }
.section.has-bg > .wrap { position: relative; z-index: 1; }
.prob-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  background-image: url('assets/problem-bg.png');
  background-size: cover; background-position: center;
}
.prob-bg::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.15) 22%, rgba(255,255,255,0.15) 78%, rgba(255,255,255,0.55) 100%);
}

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: 0.005em;
}
.section-head .lead {
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 17px;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15.5px;
  padding: 15px 28px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(4px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 22px color-mix(in oklab, var(--accent), transparent 66%);
}
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-2px); box-shadow: 0 14px 30px color-mix(in oklab, var(--accent), transparent 58%); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.btn-light {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.28);
}
.btn-light:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: oklch(0.995 0.003 250 / 0.82);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 88px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 48px; width: auto; display: block; }
.footer-logo-chip { display: inline-flex; background: #fff; padding: 10px 14px; border-radius: 12px; }
.footer-logo-chip img { height: 42px; width: auto; display: block; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  display: grid; place-items: center;
  color: #fff; font-family: var(--font-latin); font-weight: 700; font-size: 17px;
  box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.brand-mark::after {
  content:""; position:absolute; inset:0;
  background: radial-gradient(circle at 70% 20%, var(--cyan), transparent 55%);
  opacity: 0.6;
}
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name b { font-family: var(--font-head); font-size: 17px; font-weight: 700; letter-spacing: 0.01em; white-space: nowrap; }
.brand-name span { font-family: var(--font-latin); font-size: 10px; letter-spacing: 0.16em; color: var(--ink-faint); text-transform: uppercase; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  padding: 10px 14px; border-radius: 8px; white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--accent); background: var(--accent-soft); }
.nav-cta { margin-left: 14px; }
.nav-toggle { display: none; }

/* ============================================================
   HERO  (4 variants via [data-hero])
   ============================================================ */
.hero { position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; }

.hero-title {
  font-size: clamp(30px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: 0.005em;
}
.hero-title .hl {
  background: linear-gradient(120deg, var(--accent), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  margin-top: 26px;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 540px;
  line-height: 1.9;
}
.hero-cta { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }

/* hide all variants, show the active one */
.hero-variant { display: none; }
.hero[data-hero="a"] .hero-a,
.hero[data-hero="b"] .hero-b,
.hero[data-hero="c"] .hero-c,
.hero[data-hero="d"] .hero-d,
.hero[data-hero="e"] .hero-e,
.hero[data-hero="f"] .hero-f,
.hero[data-hero="g"] .hero-g { display: block; }
.hero[data-hero="f"] .hero-f,
.hero[data-hero="g"] .hero-g { display: grid; }
.hero[data-hero="logo"] .hero-logo { display: flex; }

/* decorative grid + glow background (shared) */
.hero-bg {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 25%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 70% 25%, #000 30%, transparent 75%);
  opacity: 0.7;
}
.hero-glow {
  position: absolute; z-index: 0; border-radius: 50%;
  filter: blur(70px); pointer-events: none;
}

/* --- Variant A: centered, generous whitespace --- */
.hero-a { text-align: center; padding: 150px 0 140px; }
.hero-a .hero-sub { margin-left: auto; margin-right: auto; }
.hero-a .hero-cta { justify-content: center; }
.hero-a .hero-title { max-width: 920px; margin: 0 auto; }
.hero-a .pill-row { justify-content: center; }

/* --- Variant B: split, abstract AI visual --- */
.hero-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding: 120px 0; }
.hero-b .hero-title { font-size: clamp(28px, 4vw, 50px); }

.ai-orb {
  position: relative; aspect-ratio: 1; border-radius: 28px;
  background: linear-gradient(160deg, var(--navy), oklch(0.18 0.05 262));
  overflow: hidden; box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
}
.ai-orb .ring {
  position: absolute; border: 1px solid rgba(255,255,255,0.12); border-radius: 50%;
  animation: spin 24s linear infinite;
}
.ai-orb .ring.r1 { inset: 12%; }
.ai-orb .ring.r2 { inset: 24%; border-color: oklch(0.74 0.12 218 / 0.35); animation-duration: 16s; animation-direction: reverse; }
.ai-orb .ring.r3 { inset: 36%; border-color: oklch(0.58 0.16 256 / 0.45); animation-duration: 11s; }
.ai-orb .core {
  width: 38%; height: 38%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--cyan), var(--accent) 55%, var(--accent-strong));
  box-shadow: 0 0 60px oklch(0.74 0.12 218 / 0.55);
  animation: pulse 4s ease-in-out infinite;
}
.ai-orb .node { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.ai-orb .node.n1 { top: 16%; left: 50%; }
.ai-orb .node.n2 { top: 50%; right: 14%; }
.ai-orb .node.n3 { bottom: 18%; left: 30%; }
.ai-orb .glow-b { position: absolute; width: 60%; height: 60%; background: var(--accent); filter: blur(80px); opacity: 0.4; border-radius: 50%; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 0.92; } 50% { transform: scale(1.08); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ai-orb .ring, .ai-orb .core { animation: none; } }

/* --- Variant C: product mock --- */
.hero-c .hero-split { grid-template-columns: 1fr 1.1fr; }
.mock-window {
  border-radius: 16px; overflow: hidden; background: #fff;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.mock-bar i:nth-child(1){ background: oklch(0.7 0.15 25);} .mock-bar i:nth-child(2){ background: oklch(0.82 0.14 85);} .mock-bar i:nth-child(3){ background: oklch(0.72 0.13 150);}
.mock-bar .url { margin-left: 10px; font-family: var(--font-latin); font-size: 11px; color: var(--ink-faint); }
.mock-body { padding: 22px; display: grid; gap: 16px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.mock-kpi { background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: 10px; padding: 14px; }
.mock-kpi small { font-size: 10px; color: var(--ink-faint); font-family: var(--font-latin); letter-spacing: 0.08em; }
.mock-kpi b { display: block; font-size: 22px; font-family: var(--font-latin); margin-top: 4px; color: var(--ink); }
.mock-kpi.up b { color: var(--accent); }
.mock-chart { height: 150px; border: 1px solid var(--line-soft); border-radius: 10px; padding: 14px; display: flex; align-items: flex-end; gap: 9px; background: linear-gradient(180deg, transparent, var(--accent-soft)); }
.mock-chart span { flex: 1; background: linear-gradient(180deg, var(--accent), var(--cyan)); border-radius: 4px 4px 0 0; opacity: 0.85; }
.mock-row { display: flex; gap: 10px; align-items: center; }
.mock-line { height: 9px; border-radius: 5px; background: var(--bg-tint); flex: 1; }
.mock-line.s { flex: 0 0 60px; }
.mock-dot { width: 26px; height: 26px; border-radius: 8px; background: var(--accent-soft); }

/* --- Variant D: stats / proof --- */
.hero-d { padding: 130px 0 0; text-align: center; }
.hero-d .hero-title { max-width: 880px; margin: 0 auto; }
.hero-d .hero-sub { margin: 26px auto 0; }
.hero-d .hero-cta { justify-content: center; }
.stat-strip {
  margin-top: 84px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4,1fr);
  background: var(--bg-soft);
}
.stat-cell { padding: 40px 24px; border-right: 1px solid var(--line); text-align: center; }
.stat-cell:last-child { border-right: none; }
.stat-cell b { display: block; font-family: var(--font-latin); font-weight: 700; font-size: clamp(30px,3.4vw,44px); color: var(--accent); line-height: 1; }
.stat-cell small { display: block; margin-top: 12px; font-size: 13.5px; color: var(--ink-soft); }

/* shared trust pills under hero */
.pill-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.pill {
  font-size: 13px; font-weight: 500; color: var(--ink-soft);
  padding: 8px 16px; border-radius: 100px; border: 1px solid var(--line);
  background: var(--bg); display: inline-flex; align-items: center; gap: 8px;
}
.pill::before { content:""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }

/* --- Variant E: AI VTuber streaming booth --- */
.hero-e-stack { padding: 92px 0; display: flex; flex-direction: column; align-items: center; gap: 50px; }
.hero-e-copy { text-align: center; max-width: 820px; }
.hero-e-copy .eyebrow { justify-content: center; }
.hero-e-copy .hero-sub { margin-left: auto; margin-right: auto; }
.hero-e-copy .hero-cta { justify-content: center; }
.hero-e .studio { width: 100%; max-width: 470px; }
.studio {
  position: relative; aspect-ratio: 1 / 1.12; border-radius: 28px;
  background: linear-gradient(165deg, var(--navy), oklch(0.16 0.006 270));
  overflow: hidden; box-shadow: var(--shadow-lg);
  display: grid; place-items: end center;
  border: 1px solid rgba(255,255,255,0.06);
}
.studio .backglow {
  position: absolute; z-index: 1; width: 78%; height: 60%; top: 6%; left: 50%;
  transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle, var(--accent), transparent 64%);
  filter: blur(60px); opacity: 0.5;
}
.studio .floor {
  position: absolute; inset: 0; z-index: 1; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(transparent 55%, #000);
          mask-image: linear-gradient(transparent 55%, #000);
}
.studio .halo {
  position: absolute; z-index: 1; bottom: -8%; left: 50%; transform: translateX(-50%);
  width: 82%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04), inset 0 0 60px color-mix(in oklab, var(--accent), transparent 70%);
}
.studio .avatar {
  position: relative; z-index: 2; width: 84%; height: 90%; align-self: end;
  --slot-bg: transparent;
}
.studio image-slot { width: 100%; height: 100%; }
.studio image-slot::part(frame) { background: rgba(255,255,255,0.05); }
.studio image-slot::part(empty) { color: rgba(255,255,255,0.78); }
.studio .live {
  position: absolute; z-index: 3; top: 16px; left: 16px;
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent); color: #fff;
  font-family: var(--font-latin); font-weight: 700; font-size: 11.5px; letter-spacing: 0.08em;
  padding: 6px 12px; border-radius: 100px;
}
.studio .live::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.6s ease-in-out infinite; }
.studio .views {
  position: absolute; z-index: 3; top: 16px; right: 16px;
  background: rgba(255,255,255,0.1); color: #fff; backdrop-filter: blur(6px);
  font-family: var(--font-latin); font-size: 11.5px; font-weight: 500;
  padding: 6px 12px; border-radius: 100px; display: inline-flex; align-items: center; gap: 6px;
}
.studio .views::before { content:""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.studio .bubble {
  position: absolute; z-index: 3; right: 14px; top: 26%;
  background: #fff; color: var(--ink);
  font-size: 13px; font-weight: 700; line-height: 1.5;
  padding: 9px 13px; border-radius: 14px 14px 4px 14px; box-shadow: var(--shadow-md);
  animation: floaty 4s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.studio .wave {
  position: absolute; z-index: 3; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: flex-end; gap: 4px; height: 32px;
}
.studio .wave span {
  width: 4px; border-radius: 3px;
  background: linear-gradient(180deg, var(--cyan), var(--accent));
  animation: eq 1.1s ease-in-out infinite;
}
@keyframes eq { 0%,100% { height: 22%; } 50% { height: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .studio .live::before, .studio .bubble, .studio .wave span { animation: none; }
}

.hero[data-hero="f"] .hero-bg,
.hero[data-hero="g"] .hero-bg,
.hero[data-hero="e"] .hero-bg,
.hero[data-hero="f"] .hero-glow,
.hero[data-hero="g"] .hero-glow,
.hero[data-hero="e"] .hero-glow { display: none; }

/* --- Variant Logo: full-bleed hero image --- */
.hero-logo {
  flex-direction: column; align-items: center; text-align: center;
  padding: 0; gap: 0; position: relative; min-height: min(56vw, 620px);
}
.hero-logo-bg {
  position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100vw; z-index: 0; overflow: hidden;
}
.hero-logo-bg img,
.hero-logo-bg video { width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; }
.hero[data-hero="logo"] { background: #0a1426; }
.hero[data-hero="logo"] .wrap { padding: 0; max-width: 100%; }
.hero[data-hero="logo"] .hero-bg,
.hero[data-hero="logo"] .hero-glow { display: none; }

/* cinematic overlays to make the still feel like video */
.hero-logo-bg > div { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-scan {
  background: linear-gradient(180deg, transparent 0%, rgba(120,200,255,0.10) 48%, rgba(160,220,255,0.22) 50%, rgba(120,200,255,0.10) 52%, transparent 100%);
  height: 38%; top: -38%;
  animation: heroScan 6.5s linear infinite;
  mix-blend-mode: screen;
}
.hero-grid-fx {
  background-image:
    linear-gradient(rgba(120,190,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,190,255,0.08) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 40%, #000 100%);
  opacity: 0.5;
  animation: heroGridDrift 12s ease-in-out infinite alternate;
}
.hero-touch {
  width: 13%; aspect-ratio: 1; border-radius: 50%;
  left: auto; right: 11%; top: 50%; inset: auto;
  transform: translateY(-50%);
  border: 2px solid rgba(120,210,255,0.6);
  box-shadow: 0 0 22px rgba(120,210,255,0.5), inset 0 0 18px rgba(120,210,255,0.35);
  animation: heroTouchPulse 3.2s ease-out infinite;
}
.hero-vignette {
  background: radial-gradient(ellipse 75% 80% at 50% 45%, transparent 55%, rgba(8,18,38,0.45) 100%);
  z-index: 2;
}
.hero-sound {
  position: absolute; z-index: 4; right: 22px; bottom: 22px;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px 10px 13px; border-radius: 100px; cursor: pointer;
  background: rgba(10,20,38,0.55); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.28); color: #fff;
  font-family: var(--font-body); font-size: 13.5px; font-weight: 600;
  transition: background .2s, border-color .2s, transform .2s;
}
.hero-sound:hover { background: rgba(10,20,38,0.72); transform: translateY(-2px); }
.hero-sound svg { width: 19px; height: 19px; stroke: #fff; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.hero-sound .ic-on { display: none; }
.hero-sound.on .ic-on { display: block; }
.hero-sound.on .ic-muted { display: none; }
@keyframes heroKenBurns { from { transform: scale(1.0); } to { transform: scale(1.1); } }
@keyframes heroScan { 0% { top: -38%; } 100% { top: 100%; } }
@keyframes heroGridDrift { from { transform: translateX(0); } to { transform: translateX(14px); } }
@keyframes heroTouchPulse {
  0% { transform: translateY(-50%) scale(0.6); opacity: 0; }
  25% { opacity: 0.9; }
  100% { transform: translateY(-50%) scale(1.5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-logo-bg img, .hero-scan, .hero-grid-fx, .hero-touch { animation: none; }
  .hero-scan { display: none; }
}

/* --- Variant F: full-bleed light streaks --- */
.hero[data-hero="f"] { background: #0b0707; }
.hero[data-hero="f"][data-streak="blue"] { background: #040a18; }
.hero-f { position: relative; min-height: 88vh; place-items: center; text-align: center; padding: 120px 0; }
.hero-f-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: var(--streak-img, none);
  background-size: cover; background-position: 78% center;
}
.hero-f-bg::after {
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 46%, rgba(8,6,5,0.62), transparent 70%),
    linear-gradient(180deg, rgba(8,6,5,0.5) 0%, transparent 28%, transparent 72%, rgba(8,6,5,0.55) 100%);
}
.hero-f .hero-f-inner { position: relative; z-index: 2; max-width: 880px; padding: 0 24px; }
.hero-f .eyebrow { color: #ffd9a0; justify-content: center; }
.hero-f .eyebrow::before { background: #ffd9a0; }
.hero[data-hero="f"][data-streak="red"] .eyebrow { color: #ffb4a0; }
.hero[data-hero="f"][data-streak="blue"] .eyebrow { color: #8fd6ee; }
.hero[data-hero="f"][data-streak="red"] .eyebrow::before { background: #ffb4a0; }
.hero[data-hero="f"][data-streak="blue"] .eyebrow::before { background: #8fd6ee; }
.hero-f h1 { color: #fff; }
.hero-f .hero-title .hl { -webkit-text-fill-color: initial; background: none; color: #ffd9a0; }
.hero[data-hero="f"][data-streak="red"] .hero-title .hl { color: #ff9d86; }
.hero[data-hero="f"][data-streak="blue"] .hero-title .hl { color: #7fe0f5; }
.hero-f .hero-sub { color: rgba(255,255,255,0.82); margin: 26px auto 0; }
.hero-f .hero-cta { justify-content: center; margin-top: 38px; }
.hero-f .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.32); }
.hero-f .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }

/* --- Variant G: AI hub as full-bleed background, centered text --- */
.hero[data-hero="g"] { background: #1b3a6b; }
.hero-g { position: relative; min-height: 90vh; place-items: center; text-align: center; padding: 130px 0; }
.hero-g-bg { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: 100vw; z-index: 0; overflow: hidden; }
.hero-g-bg > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% center; }
.hero-g-bg .img-brand { display: block; }
.hero-g-bg .img-blue { display: none; }
.hero[data-hubtone="blue"] .hero-g-bg .img-brand { display: none; }
.hero[data-hubtone="blue"] .hero-g-bg .img-blue { display: block; }
.hero[data-hubtone="blue"] .hero[data-hero="g"],
.hero[data-hubtone="blue"].hero[data-hero="g"] { background: #1b3a6b; }
.hero-g-bg::after {
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(ellipse 56% 56% at 50% 48%, rgba(13,28,54,0.5), transparent 72%),
    linear-gradient(180deg, rgba(13,28,54,0.32) 0%, transparent 32%, transparent 72%, rgba(13,28,54,0.4) 100%);
}
.hero[data-hubtone="blue"] .hero-g-bg::after {
  background:
    radial-gradient(ellipse 52% 46% at 50% 46%, rgba(11,30,60,0.62), transparent 70%),
    linear-gradient(180deg, rgba(11,30,60,0.34) 0%, transparent 30%, transparent 64%, rgba(11,30,60,0.5) 100%);
}
.hero-g .ai-hub-svg {
  position: absolute; top: 50%; left: -4%; transform: translateY(-50%);
  width: 42%; height: auto; z-index: 1; opacity: 0.5;
}
.hero-g-inner { position: relative; z-index: 2; max-width: 880px; padding: 0 24px; }
.hero[data-hubtone="blue"] .hero-g-inner::before {
  content:""; position:absolute; z-index:-1; left:50%; top:50%; transform:translate(-50%,-50%);
  width:128%; height:148%;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(8,22,46,0.62), rgba(8,22,46,0.28) 46%, transparent 72%);
  filter: blur(10px); pointer-events:none;
}
.hero[data-hubtone="blue"] .hero-g-inner .hero-title,
.hero[data-hubtone="blue"] .hero-g-inner .eyebrow,
.hero[data-hubtone="blue"] .hero-g-inner .hero-sub {
  text-shadow: 0 2px 20px rgba(6,18,40,0.62), 0 1px 3px rgba(6,18,40,0.55);
}
.hero-g .eyebrow { color: color-mix(in oklab, var(--accent), white 30%); justify-content: center; }
.hero-g .eyebrow::before { background: color-mix(in oklab, var(--accent), white 30%); }
.hero[data-hubtone="blue"] .hero-g .eyebrow { color: #8fd6ee; }
.hero[data-hubtone="blue"] .hero-g .eyebrow::before { background: #8fd6ee; }
.hero-g h1 { color: #fff; }
.hero-g .hero-title .hl { -webkit-text-fill-color: initial; background: none; color: color-mix(in oklab, var(--accent), white 26%); }
.hero[data-hubtone="blue"] .hero-g .hero-title .hl { color: #7fe0f5; }
.hero-g .hero-sub { color: rgba(255,255,255,0.82); margin: 26px auto 0; }
.hero-g .hero-cta { justify-content: center; margin-top: 38px; }
.hero-g .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.32); }
.hero-g .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }
.ai-hub-svg .node-c { fill: rgba(8,18,40,0.82); stroke: var(--accent); stroke-width: 2.4; }
.ai-hub-svg .ring { fill: none; stroke: var(--accent); stroke-width: 1.5; opacity: 0.4; }
.ai-hub-svg .link { stroke: color-mix(in oklab, var(--accent), white 18%); stroke-width: 1.6; opacity: 0.55; }
.ai-hub-svg .dot { fill: var(--cyan); }
.ai-hub-svg .ico { fill: none; stroke: #ffe2da; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ai-hub-svg .ico-f { fill: #ffe2da; stroke: none; }
.hero[data-hubtone="blue"] .ai-hub-svg .node-c { stroke: #5fd2ee; }
.hero[data-hubtone="blue"] .ai-hub-svg .ring { stroke: #5fd2ee; }
.hero[data-hubtone="blue"] .ai-hub-svg .link { stroke: rgba(120,200,235,0.55); }
.hero[data-hubtone="blue"] .ai-hub-svg .dot { fill: #7fe0f5; }
.hero[data-hubtone="blue"] .ai-hub-svg .ico { stroke: #cfeaff; }
.hero[data-hubtone="blue"] .ai-hub-svg .ico-f { fill: #cfeaff; }
.hero[data-hubtone="blue"] .ai-hub-svg { display: none; }
.ai-hub-svg .ai-text { fill: #fff; font-family: var(--font-latin); font-weight: 700; font-size: 38px; letter-spacing: 0.02em; }
.ai-hub-svg .core { animation: hubpulse 3.4s ease-in-out infinite; transform-origin: 245px 260px; }
@keyframes hubpulse { 0%,100% { opacity: 1; } 50% { opacity: 0.78; } }
@media (prefers-reduced-motion: reduce) { .ai-hub-svg .core { animation: none; } }

/* ============================================================
   PROBLEM section
   ============================================================ */
.prob-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.prob-list { display: grid; gap: 16px; }
.prob-item {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-sm);
}
.prob-item .q {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px;
  background: var(--accent-soft); color: var(--accent-strong);
  display: grid; place-items: center; font-family: var(--font-latin); font-weight: 700; font-size: 18px;
}
.prob-item p { font-size: 16px; font-weight: 500; padding-top: 6px; }
.prob-solve {
  background: var(--navy); color: #fff; border-radius: var(--radius-lg);
  padding: 52px 46px; position: relative; overflow: hidden;
}
.prob-solve::before {
  content:""; position:absolute; right:-60px; top:-60px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent), transparent 65%); opacity: 0.5;
}
.prob-solve .eyebrow { color: var(--cyan); position: relative; }
.prob-solve .eyebrow::before { background: var(--cyan); }
.prob-solve h3 { font-size: clamp(24px, 2.6vw, 32px); margin: 18px 0 20px; position: relative; }
.prob-solve p { color: rgba(255,255,255,0.78); font-size: 16px; position: relative; }

/* ============================================================
   SERVICES
   ============================================================ */
.svc-list { display: grid; gap: 26px; }
.svc {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .3s, transform .3s;
}
.svc:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.svc-visual {
  position: relative; min-height: 280px; background: var(--bg-tint);
  overflow: hidden;
}
.svc-visual image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.svc-visual .svc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-icon {
  position: absolute; z-index: 3; left: 18px; bottom: 18px;
  width: 60px; height: 60px; border-radius: 16px;
  background: linear-gradient(150deg, var(--accent), var(--accent-strong));
  display: grid; place-items: center; box-shadow: var(--shadow-md);
}
.svc-icon svg { width: 30px; height: 30px; stroke: #fff; fill: none; stroke-width: 1.6; }
.svc-body { padding: 44px 46px; }
.svc-num { font-family: var(--font-latin); font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 0.1em; }
.svc-body h3 { font-size: 23px; margin: 12px 0 14px; }
.svc-body .desc { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 24px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 9px; }
.svc-tags span {
  font-size: 13px; font-weight: 500; color: var(--ink);
  padding: 7px 15px; border-radius: 8px; background: var(--bg-soft); border: 1px solid var(--line-soft);
}
.svc:nth-child(even) .svc-visual { order: 2; }

/* ============================================================
   REASONS
   ============================================================ */
.reasons { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.reason {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 0; overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.reason:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in oklab, var(--accent), white 66%); }
.reason:hover .reason-illus svg { transform: scale(1.045); }
.reason-illus {
  position: relative; height: 190px; display: grid; place-items: center;
  background:
    radial-gradient(ellipse 60% 76% at 72% 18%, rgba(50,130,235,0.42), transparent 62%),
    radial-gradient(ellipse 50% 60% at 16% 92%, rgba(40,200,235,0.22), transparent 60%),
    linear-gradient(158deg, #0a1f44, #04101f);
  border-bottom: 1px solid rgba(120,190,255,0.18); overflow: hidden;
}
.reason-illus::before {
  content:""; position:absolute; inset:0; opacity:0.7;
  background-image: radial-gradient(rgba(150,200,255,0.16) 1.3px, transparent 1.3px);
  background-size: 17px 17px;
  -webkit-mask-image: linear-gradient(125deg, #000, transparent 78%);
          mask-image: linear-gradient(125deg, #000, transparent 78%);
}
.reason-illus::after {
  content:""; position:absolute; left:16px; top:16px; width:14px; height:14px;
  border-left:1.5px solid var(--cyan);
  border-top:1.5px solid var(--cyan);
  opacity:0.7;
}
.reason-illus svg { position: relative; z-index: 1; height: 150px; width: auto; max-width: 80%; transition: transform .35s ease; filter: drop-shadow(0 4px 16px rgba(20,70,160,0.45)); }
.reason-num {
  position: absolute; z-index: 2; top: 14px; right: 18px;
  font-family: var(--font-latin); font-size: 13px; font-weight: 700;
  color: #8fd6ee; letter-spacing: 0.1em;
}
.reason h3 { font-size: 19px; margin: 26px 32px 12px; }
.reason p { color: var(--ink-soft); font-size: 15px; margin: 0 32px 34px; }

/* ============================================================
   APPS / WORKS
   ============================================================ */
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.app-card {
  display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.app-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--accent-soft); }
.app-frame {
  position: relative; aspect-ratio: 16 / 11; overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 76% at 72% 18%, rgba(50,130,235,0.12), transparent 62%),
    radial-gradient(ellipse 52% 60% at 16% 92%, rgba(40,200,235,0.10), transparent 60%),
    #ffffff;
}
.app-frame::before {
  content:""; position:absolute; inset:0; z-index:0; opacity:0.5;
  background-image: radial-gradient(rgba(50,110,210,0.18) 1.3px, transparent 1.3px);
  background-size: 17px 17px;
  -webkit-mask-image: linear-gradient(125deg, #000, transparent 78%);
          mask-image: linear-gradient(125deg, #000, transparent 78%);
}
.app-frame image-slot { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.app-frame image-slot::part(frame) { background: transparent; }
.app-frame image-slot::part(empty) { color: var(--ink-faint); }
/* app icon (square) centered on the frame instead of a full-bleed shot */
.app-frame.icon { display: grid; place-items: center; background: #ffffff; }
.app-frame.icon::before { display: none; }
.app-frame.icon img {
  position: relative; z-index: 2; width: 220px; height: 220px;
  border-radius: 40px; box-shadow: 0 16px 38px rgba(0,0,0,0.34), 0 0 0 1px rgba(255,255,255,0.12);
}
.app-badge {
  position: absolute; z-index: 3; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-latin); font-weight: 600; font-size: 11px; letter-spacing: 0.06em;
  padding: 6px 12px; border-radius: 100px; color: #fff;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(6px);
}
.app-badge.live { background: var(--accent); }
.app-badge.live::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.app-badge.soon { background: var(--accent-soft); color: var(--accent-strong); }
.app-badge.soon::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.app-body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.app-num { font-family: var(--font-latin); font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 0.1em; }
.app-body h3 { font-size: 20px; }
.app-body p { color: var(--ink-soft); font-size: 14.5px; flex: 1; }
.app-link {
  margin-top: 8px; color: var(--accent); font-weight: 700; font-size: 14.5px;
  display: inline-flex; align-items: center; gap: 8px;
}
.app-link .arr { transition: transform .2s ease; }
.app-card:hover .app-link .arr { transform: translateX(4px); }

/* ============================================================
   APP DETAIL PAGE
   ============================================================ */
.app-hero { padding: 56px 0 0; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  margin-bottom: 36px; transition: color .2s;
}
.back-link:hover { color: var(--accent); }
.back-link .arr { transition: transform .2s ease; }
.back-link:hover .arr { transform: translateX(-4px); }
.app-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.app-hero-grid .meta .eyebrow { margin-bottom: 18px; }
.app-hero-grid .meta h1 { font-size: clamp(30px, 4vw, 50px); font-weight: 900; line-height: 1.2; }
.app-hero-grid .meta .tagline { margin-top: 20px; font-size: 18px; color: var(--ink-soft); line-height: 1.9; }
.app-hero-grid .meta .pill-row { margin-top: 28px; }
.app-hero-visual {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 76% at 72% 18%, rgba(50,130,235,0.4), transparent 62%),
    radial-gradient(ellipse 52% 60% at 16% 92%, rgba(40,200,235,0.22), transparent 60%),
    linear-gradient(158deg, #0a1f44, #04101f);
}
.app-hero-visual::before {
  content:""; position:absolute; inset:0; z-index:0; opacity:0.6;
  background-image: radial-gradient(rgba(150,200,255,0.16) 1.3px, transparent 1.3px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(125deg, #000, transparent 78%);
          mask-image: linear-gradient(125deg, #000, transparent 78%);
}
.app-hero-visual image-slot { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.app-hero-visual image-slot::part(frame) { background: transparent; }
.app-hero-visual image-slot::part(empty) { color: rgba(207,230,255,0.82); }
.app-hero-visual.icon-hero { display: grid; place-items: center; }
.app-hero-visual.icon-hero img {
  position: relative; z-index: 2; width: 220px; height: 220px; max-width: 56%;
  border-radius: 44px; box-shadow: 0 22px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.14);
}

.app-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.app-feature {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .3s, box-shadow .3s;
}
.app-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.app-feature .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 18px; }
.app-feature .ic svg { width: 26px; height: 26px; stroke: var(--accent-strong); fill: none; stroke-width: 1.7; }
.app-feature-illus {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 76% at 72% 18%, rgba(50,130,235,0.4), transparent 62%),
    radial-gradient(ellipse 52% 60% at 16% 92%, rgba(40,200,235,0.22), transparent 60%),
    linear-gradient(158deg, #0a1f44, #04101f);
}
.app-feature-illus::before {
  content:""; position:absolute; inset:0; z-index:0; opacity:0.6;
  background-image: radial-gradient(rgba(150,200,255,0.16) 1.3px, transparent 1.3px);
  background-size: 17px 17px;
  -webkit-mask-image: linear-gradient(125deg, #000, transparent 80%);
          mask-image: linear-gradient(125deg, #000, transparent 80%);
}
.app-feature-illus svg.fi {
  position: relative; z-index: 1; display: block; width: 100%; height: 100%;
}
.app-feature-text { padding: 26px 28px 30px; }
.app-feature h3 { font-size: 17px; margin-bottom: 10px; }
.app-feature p { color: var(--ink-soft); font-size: 14.5px; }

.app-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.app-gallery.five { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.app-shot {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: linear-gradient(158deg, #0a1f44, #04101f);
}
.app-shot.light { aspect-ratio: 322 / 665; background: #e9ebef; }
.app-shot.light img { width: 100%; height: 100%; object-fit: cover; display: block; }
.app-shot image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.app-shot image-slot::part(empty) { color: rgba(207,230,255,0.82); }

.soon-wrap { text-align: center; max-width: 620px; margin: 0 auto; padding: 40px 0 20px; }
.soon-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-latin); font-weight: 600; font-size: 13px; letter-spacing: 0.1em;
  color: var(--accent); background: var(--accent-soft); padding: 9px 18px; border-radius: 100px; margin-bottom: 28px;
}
.soon-badge::before { content:""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.soon-wrap h1 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 900; }
.soon-wrap p { margin-top: 22px; font-size: 17px; color: var(--ink-soft); line-height: 1.9; }
.soon-visual {
  margin-top: 48px; aspect-ratio: 16 / 8; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); position: relative;
  background:
    radial-gradient(ellipse 50% 70% at 50% 30%, rgba(50,130,235,0.4), transparent 64%),
    linear-gradient(158deg, #0a1f44, #04101f);
  display: grid; place-items: center;
}
.soon-visual .dots { display: flex; gap: 12px; }
.soon-visual .dots span { width: 14px; height: 14px; border-radius: 50%; background: var(--cyan); animation: pulse 1.4s ease-in-out infinite; }
.soon-visual .dots span:nth-child(2){ animation-delay: .2s; }
.soon-visual .dots span:nth-child(3){ animation-delay: .4s; }
/* illustration strokes — light-on-dark tech style (matches service images) */
.ri-line { fill: none; stroke: rgba(207,230,255,0.9); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ri-accent { fill: none; stroke: #5aa0ff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ri-accent-f { fill: #5aa0ff; stroke: none; }
.ri-soft-f { fill: rgba(90,160,255,0.22); stroke: none; }
.ri-white-f { fill: #103163; stroke: none; }
.ri-ink-f { fill: rgba(207,230,255,0.9); stroke: none; }
.ri-cyan-f { fill: #3fe0f5; stroke: none; }

/* ============================================================
   COMPANY
   ============================================================ */
.company-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.company-table { width: 100%; border-collapse: collapse; }
.company-table th, .company-table td { text-align: left; padding: 20px 4px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15.5px; }
.company-table th { width: 150px; font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.company-table td { color: var(--ink-soft); }
.company-biz { display: grid; gap: 8px; margin: 0; padding: 0; }
.company-biz li { list-style: none; padding-left: 22px; position: relative; line-height: 1.6; }
.company-biz li::before { content:""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
.map-ph {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  min-height: 380px; position: relative;
  background: var(--bg-soft);
}
.map-embed { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: saturate(1.05); }
.map-pin { display: grid; place-items: center; gap: 12px; text-align: center; }
.map-pin .dot { width: 22px; height: 22px; border-radius: 50% 50% 50% 0; background: var(--accent); transform: rotate(-45deg); box-shadow: 0 0 0 8px color-mix(in oklab, var(--accent), transparent 84%); }
.map-pin small { font-family: var(--font-latin); font-size: 11px; letter-spacing: 0.1em; color: var(--ink-faint); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--navy); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.contact .eyebrow { color: var(--cyan); }
.contact .eyebrow::before { background: var(--cyan); }
.contact h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 20px 0; }
.contact .lead { color: rgba(255,255,255,0.72); font-size: 16px; max-width: 480px; }
.contact-points { margin-top: 36px; display: grid; gap: 16px; }
.contact-point { display: flex; gap: 14px; align-items: center; color: rgba(255,255,255,0.86); font-size: 15px; }
.contact-point .ic { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.08); display: grid; place-items: center; flex: 0 0 auto; }
.contact-point .ic svg { width: 18px; height: 18px; stroke: var(--cyan); fill: none; stroke-width: 1.8; }

.form {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 40px;
}
.form-row { display: grid; gap: 8px; margin-bottom: 20px; }
.form-row.two { grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row.two > div { display: grid; gap: 8px; }
.form label { font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,0.82); }
.form label .req { color: var(--cyan); margin-left: 4px; }
.form input, .form textarea {
  font-family: var(--font-body); font-size: 15px; color: #fff;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px; padding: 13px 15px; width: 100%; transition: border-color .2s, background .2s;
}
.form input::placeholder, .form textarea::placeholder { color: rgba(255,255,255,0.4); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--cyan); background: rgba(255,255,255,0.1); }
.form textarea { resize: vertical; min-height: 120px; }
.form .btn-primary { width: 100%; justify-content: center; margin-top: 6px; }
.form .privacy { font-size: 12.5px; color: rgba(255,255,255,0.5); margin-top: 16px; text-align: center; }
.form-success {
  display: none; text-align: center; padding: 30px 10px;
}
.form-success.show { display: block; }
.form-success .check { width: 56px; height: 56px; border-radius: 50%; background: var(--cyan); display: grid; place-items: center; margin: 0 auto 18px; }
.form-success .check svg { width: 28px; height: 28px; stroke: var(--navy); stroke-width: 2.4; fill: none; }
.form-success h3 { color: #fff; font-size: 21px; margin-bottom: 10px; }
.form-success p { color: rgba(255,255,255,0.7); font-size: 14.5px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: oklch(0.18 0.04 258); color: rgba(255,255,255,0.7); padding: 72px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand-name b { color: #fff; }
.footer-brand p { margin-top: 18px; font-size: 14px; color: rgba(255,255,255,0.55); max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 13px; font-family: var(--font-latin); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col a { display: block; font-size: 14.5px; color: rgba(255,255,255,0.7); padding: 7px 0; transition: color .2s; }
.footer-col a:hover { color: var(--cyan); }
.footer-bot { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: 13px; color: rgba(255,255,255,0.45); flex-wrap: wrap; gap: 12px; }
.footer-bot .links { display: flex; gap: 22px; }
.footer-bot a:hover { color: #fff; }

/* ============================================================
   reveal-on-scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .section { padding: 80px 0; }
  .hero-split { grid-template-columns: 1fr; gap: 48px; }
  .hero-c .hero-split { grid-template-columns: 1fr; }
  .hero-e-stack { padding: 72px 0; gap: 40px; }
  .studio { max-width: 440px; margin: 0 auto; }
  .hero-g { min-height: 78vh; padding: 100px 0; }
  .hero-g .ai-hub-svg { width: 58%; left: -10%; opacity: 0.38; }
  .prob-grid, .company-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .svc { grid-template-columns: 1fr; }
  .svc:nth-child(even) .svc-visual { order: 0; }
  .svc-visual { min-height: 200px; }
  .reasons { grid-template-columns: 1fr; }
  .apps { grid-template-columns: 1fr; }
  .app-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .app-features { grid-template-columns: 1fr; }
  .app-gallery { grid-template-columns: repeat(3, 1fr); }
  .app-gallery.five { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell { border-bottom: 1px solid var(--line); }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .ai-orb { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: grid; }
  .hero-a { padding: 90px 0 80px; }
  .form-row.two { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr; }
  .stat-cell { border-right: none; }
  .prob-solve, .form { padding: 30px 24px; }
  .svc-body { padding: 32px 26px; }
}
