:root {
  --bg-0: #0a0a14;
  --bg-1: #0e1020;
  --bg-2: #141633;
  --ink: #ffffff;
  --ink-2: rgba(255,255,255,0.72);
  --ink-3: rgba(255,255,255,0.48);
  --line: rgba(255,255,255,0.10);
  --pink: #ff3d8a;
  --magenta: #e040ff;
  --violet: #7a3dff;
  --blue: #2e78ff;
  --cyan: #2bd5ff;
  --orange: #ff7a3d;
  --lime: #b8ff3d;
  --grad-hot: linear-gradient(90deg, #ff5d3d 0%, #ff3d8a 35%, #e040ff 70%, #6e3dff 100%);
  --grad-cool: linear-gradient(90deg, #2e78ff 0%, #7a3dff 50%, #e040ff 100%);
  --grad-pink: linear-gradient(135deg, #ff7a3d 0%, #ff3d8a 50%, #c93dff 100%);
  --grad-blue: linear-gradient(135deg, #2e78ff 0%, #7a3dff 100%);
  --grad-rainbow: linear-gradient(90deg, #ff5d3d, #ff3d8a, #e040ff, #6e3dff, #2e78ff);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  background: var(--bg-0);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

img { display: block; max-width: 100%; }

.page { width: 100%; min-width: 1280px; }

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,10,20,0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--grad-cool);
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 22px;
  border-radius: 6px;
  box-shadow: 0 4px 18px rgba(122,61,255,0.4);
}
.brand-text { line-height: 1.1; }
.brand-text .name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 16px;
}
.brand-text .sub {
  font-size: 9px;
  letter-spacing: 0.32em;
  color: var(--ink-3);
}
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .2s;
}
.nav-links a:hover { color: white; }
.nav-cta {
  background: var(--grad-hot);
  color: white;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 24px rgba(255,61,138,0.45);
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(255,61,138,0.55); }
.nav-cta .arr {
  width: 22px; height: 22px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 80% 40%, rgba(122,61,255,0.35), transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 70%, rgba(46,120,255,0.2), transparent 60%),
    linear-gradient(180deg, #0a0a14 0%, #0d0e22 100%);
  overflow: hidden;
  padding: 80px 0 90px;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: 560px;
}
.hero h1 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 76px;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
}
.hero h1 .accent {
  background: linear-gradient(90deg, #ff5d3d, #ff3d8a 40%, #c93dff 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lede {
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin: 0 0 18px;
  padding-left: 14px;
  border-left: 3px solid;
  border-image: var(--grad-hot) 1;
}
.hero .copy {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 2;
  margin: 0 0 36px;
  max-width: 420px;
}
.hero-cta {
  background: var(--grad-hot);
  color: white;
  padding: 18px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(255,61,138,0.4);
  transition: transform .2s;
}
.hero-cta:hover { transform: translateY(-2px); }
.hero-cta .arr {
  width: 26px; height: 26px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  display: grid; place-items: center;
}

.hero-visual {
  position: relative;
  height: 560px;
}
.hero-visual .pyramid {
  position: absolute;
  top: -20px; right: -40px;
  width: 640px;
  filter: drop-shadow(0 30px 80px rgba(255,61,138,0.35));
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}
.hero-visual .ring-orbit {
  position: absolute;
  top: 30%; right: 12%;
  width: 380px; height: 380px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
}
.hero-visual .corner-tri {
  position: absolute;
  top: 40px; left: -10px;
  width: 90px;
  opacity: 0.85;
}
.hero-visual .corner-dark {
  position: absolute;
  bottom: 100px; right: 30px;
  width: 100px;
  transform: rotate(180deg);
  opacity: 0.8;
}

.dot-grid {
  position: absolute;
  bottom: 40px; right: 0;
  width: 320px; height: 200px;
  background-image: radial-gradient(rgba(255,255,255,0.18) 1.4px, transparent 1.4px);
  background-size: 14px 14px;
  mask-image: radial-gradient(ellipse at 70% 70%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 70%, black 30%, transparent 70%);
}

.video-cue {
  position: absolute;
  bottom: 40px; right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.video-cue .play {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff3d8a, #c93dff);
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(255,61,138,0.5);
  cursor: pointer;
}
.video-cue .play::after {
  content: '';
  width: 0; height: 0;
  border-left: 14px solid white;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  transform: translateX(2px);
}
.video-cue .label {
  font-size: 12px;
  color: var(--ink-2);
  font-weight: 500;
}

/* hero scattered shapes */
.hero .shape-tri-sm {
  position: absolute;
  width: 40px; height: 40px;
  background: linear-gradient(135deg, #ff5d3d, #ff3d8a);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  opacity: 0.9;
}
.hero .shape-square-sm {
  position: absolute;
  width: 30px; height: 30px;
  background: #1a1d3a;
  border: 1px solid rgba(255,255,255,0.15);
  transform: rotate(45deg);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

/* ============ SERVICES ============ */
.services {
  position: relative;
  padding: 100px 48px 80px;
  background: linear-gradient(180deg, #0d0e22 0%, #0a0a14 100%);
}
.services-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}
.svc-card {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 28px 26px 26px;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.svc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.18);
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent, var(--grad-hot));
}
.svc-icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  position: relative;
}
.svc-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
}
.svc-card p {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.7;
}
.svc-card .arrow-btm {
  margin-top: 26px;
  width: 28px; height: 28px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px;
  transition: all .2s;
}
.svc-card:hover .arrow-btm {
  background: white;
  color: black;
  border-color: white;
}
.svc-card .deco-tri {
  position: absolute;
  bottom: 16px; right: 14px;
  width: 22px; height: 22px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  opacity: 0.9;
}

.services .corner-bl {
  position: absolute;
  bottom: 40px; left: 0;
  width: 120px; height: 120px;
  background: linear-gradient(135deg, transparent 50%, #ff3d8a 50%);
  opacity: 0.8;
}

/* ============ WORKS ============ */
.works {
  background: linear-gradient(180deg, #0a0a14 0%, #0e1020 100%);
  padding: 90px 48px 100px;
  position: relative;
  overflow: hidden;
}
.works-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}
.works-head h2 {
  margin: 0 0 16px;
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.works-head p {
  font-size: 13px;
  color: var(--ink-2);
  margin: 0 0 28px;
  line-height: 1.9;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: all .2s;
}
.btn-outline:hover { background: white; color: black; border-color: white; }
.btn-outline .arr {
  width: 24px; height: 24px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.work {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s, border-color .25s;
}
.work:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.2); }
.work .img {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.work .img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.work:hover .img img { transform: scale(1.06); }
.work .meta { padding: 16px 20px 20px; }
.work .tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.work .title {
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 6px;
}
.work .desc {
  font-size: 11.5px;
  color: var(--ink-3);
}

.works .corner-l {
  position: absolute;
  top: 50%; left: -30px;
  width: 80px; height: 80px;
  background: var(--grad-pink);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translateY(-50%);
  opacity: 0.85;
}

/* ============ STATS ============ */
.stats {
  position: relative;
  padding: 50px 48px;
  background: linear-gradient(90deg, #2545d6 0%, #6e3dff 35%, #c93dff 70%, #ff3d8a 100%);
  overflow: hidden;
}
.stats::before, .stats::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.18) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: 0.4;
  pointer-events: none;
}
.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.stat .ico {
  width: 54px; height: 54px;
  border: 1.5px solid rgba(255,255,255,0.7);
  border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.stat .num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat .lbl {
  font-size: 13px;
  font-weight: 700;
  margin-top: 6px;
}
.stat .sub {
  font-size: 11px;
  color: rgba(255,255,255,0.8);
  margin-top: 2px;
}

/* ============ TESTIMONIAL ============ */
.testi {
  padding: 90px 48px;
  background: #0a0a14;
  position: relative;
  overflow: hidden;
}
.testi-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.testi .portrait {
  width: 200px; height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.1);
  box-shadow: 0 0 0 8px rgba(122,61,255,0.15);
  position: relative;
  z-index: 2;
}
.testi .portrait img { width: 100%; height: 100%; object-fit: cover; }

.testi-body { position: relative; }
.testi .quote-mark {
  font-family: "Space Grotesk", serif;
  font-size: 80px;
  line-height: 0.6;
  background: var(--grad-hot);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}
.testi blockquote {
  margin: 0 0 24px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.005em;
}
.testi .body-copy {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.95;
  max-width: 580px;
  margin: 0 0 22px;
}
.testi .signoff {
  display: flex;
  align-items: baseline;
  gap: 18px;
}
.testi .signoff .name {
  font-weight: 700;
  font-size: 15px;
}
.testi .signoff .role {
  font-size: 11px;
  color: var(--ink-3);
}
.testi .signoff .sig {
  margin-left: auto;
  font-family: "Brush Script MT", "Apple Chancery", cursive;
  font-size: 24px;
  background: var(--grad-cool);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  transform: rotate(-4deg);
}

.testi .deco-left {
  position: absolute;
  left: -40px; top: 30%;
  width: 240px; height: 240px;
  pointer-events: none;
  opacity: 0.6;
}
.testi .scatter {
  position: absolute;
  width: 14px; height: 14px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

/* ============ CTA ============ */
.cta-band {
  padding: 0 48px 50px;
  background: #0a0a14;
}
.cta-inner {
  max-width: 1280px;
  margin: 0 auto;
  background: linear-gradient(110deg, #2545d6 0%, #6e3dff 30%, #c93dff 65%, #ff3d8a 100%);
  border-radius: 14px;
  padding: 26px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, transparent 60%, rgba(255,255,255,0.06) 60%, rgba(255,255,255,0.06) 62%, transparent 62%),
    linear-gradient(135deg, transparent 70%, rgba(255,255,255,0.04) 70%, rgba(255,255,255,0.04) 73%, transparent 73%);
  pointer-events: none;
}
.cta-left { display: flex; align-items: center; gap: 22px; position: relative; }
.cta-left .ico {
  width: 56px; height: 56px;
  background: rgba(0,0,0,0.4);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 24px;
  flex-shrink: 0;
}
.cta-left h3 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 900;
}
.cta-left p {
  margin: 0;
  font-size: 12px;
  color: rgba(255,255,255,0.85);
}
.cta-btn {
  background: white;
  color: #0a0a14;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  position: relative;
  white-space: nowrap;
  transition: transform .2s;
}
.cta-btn:hover { transform: translateY(-2px); }
.cta-btn .arr {
  width: 22px; height: 22px;
  background: linear-gradient(135deg, #ff3d8a, #c93dff);
  border-radius: 50%;
  display: grid; place-items: center;
  color: white;
  font-size: 11px;
}

/* ============ FOOTER ============ */
.foot {
  background: #06060d;
  padding: 60px 48px 30px;
  border-top: 1px solid var(--line);
}
.foot-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.foot-top {
  display: grid;
  grid-template-columns: 280px repeat(5, 1fr);
  gap: 40px;
  padding-bottom: 40px;
}
.foot-brand .brand { margin-bottom: 22px; }
.foot-brand .tagline {
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 22px;
}
.socials {
  display: flex;
  gap: 12px;
}
.socials a {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: grid; place-items: center;
  font-size: 12px;
  color: var(--ink-2);
  transition: all .2s;
}
.socials a:hover { background: white; color: black; }

.foot-col h4 {
  margin: 0 0 14px;
  font-size: 12.5px;
  font-weight: 700;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li { margin-bottom: 8px; }
.foot-col a {
  font-size: 11.5px;
  color: var(--ink-3);
  transition: color .2s;
}
.foot-col a:hover { color: white; }

.foot-btm {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--ink-3);
}
.foot-btm .legal { display: flex; gap: 24px; }

/* generic decorations */
.bg-noise::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.06;
  mix-blend-mode: overlay;
  pointer-events: none;
}
