@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&family=Space+Grotesk:wght@400;500;700&family=IBM+Plex+Mono:wght@400;500;700&family=IBM+Plex+Sans:wght@400;500;700&family=Noto+Sans+Mono+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;500;700&display=swap');

:root {
  --ink-graphite: #1F2A3C;
  --signal-orange: #FF6B35;
  --tech-cobalt: #1B4D8E;
  --mint-active: #6BAA90;
  --peach-hover: #F5A582;
  --lavender-mute: #9B8FB8;
  --cream-base: #F4F1E8;
  --mint-pastel: #C8E6D9;
  --peach-pastel: #FFD9C0;
  --lavender-pastel: #D5C8E8;
  --dust-blue: #C8D9E8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'IBM Plex Sans', 'Noto Sans Mono JP', sans-serif;
  background: var(--cream-base);
  color: var(--ink-graphite);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
}

strong, p, span, li, a, h1, h2, h3, h4, h5, h6 {
  color: inherit;
}

.mono-jp {
  font-family: 'Noto Sans Mono JP', 'JetBrains Mono', monospace;
}

.serif-jp {
  font-family: 'Noto Serif JP', serif;
}

.display {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mono-tech {
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
}

.plex-mono {
  font-family: 'IBM Plex Mono', monospace;
}

.bg-cream { background: var(--cream-base); color: var(--ink-graphite); }
.bg-mint { background: var(--mint-pastel); color: var(--ink-graphite); }
.bg-peach { background: var(--peach-pastel); color: var(--ink-graphite); }
.bg-lavender { background: var(--lavender-pastel); color: var(--ink-graphite); }
.bg-dust-blue { background: var(--dust-blue); color: var(--ink-graphite); }
.bg-ink { background: var(--ink-graphite); color: var(--cream-base); }

.text-ink { color: var(--ink-graphite); }
.text-orange { color: var(--signal-orange); }
.text-cobalt { color: var(--tech-cobalt); }
.text-mint { color: var(--mint-active); }
.text-cream { color: var(--cream-base); }

.border-cobalt { border: 1.5px dashed var(--tech-cobalt); }
.border-cobalt-solid { border: 1.5px solid var(--tech-cobalt); }
.border-orange { border: 1.5px solid var(--signal-orange); }

.glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}

.glass-strong {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}

.glass-dim {
  background: rgba(244, 241, 232, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.calque-grid-bg {
  background-image:
    linear-gradient(rgba(31, 42, 60, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 42, 60, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

.calque-dotted {
  background-image: radial-gradient(rgba(27, 77, 142, 0.25) 1px, transparent 1px);
  background-size: 16px 16px;
}

.divider-dashed {
  border-top: 1px dashed rgba(31, 42, 60, 0.25);
}

.divider-dashed-light {
  border-top: 1px dashed rgba(244, 241, 232, 0.25);
}

.hero-gradient {
  background: linear-gradient(135deg, var(--mint-pastel) 0%, var(--lavender-pastel) 35%, var(--peach-pastel) 70%, var(--cream-base) 100%);
  background-size: 220% 220%;
  animation: drift 60s ease-in-out infinite;
}

@keyframes drift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes float-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.4); opacity: 0; }
}

.pulse-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--mint-active);
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--mint-active);
  animation: float-pulse 2s ease-out infinite;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: var(--cream-base);
  border: 1.5px solid var(--tech-cobalt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.brand-mark svg {
  width: 30px;
  height: 30px;
}

.nav-link {
  position: relative;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-graphite);
  padding: 8px 12px;
  text-decoration: none;
  transition: color 220ms ease-out;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  background: var(--signal-orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease-out;
}

.nav-link:hover {
  color: var(--tech-cobalt);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--tech-cobalt);
}

.nav-link.active::after {
  transform: scaleX(1);
}

.nav-divider {
  width: 1px;
  height: 16px;
  background: rgba(31, 42, 60, 0.15);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  background: rgba(255, 107, 53, 0.95);
  color: var(--cream-base);
  border: none;
  border-radius: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 240ms ease-out, box-shadow 240ms ease-out;
  box-shadow: 0 12px 32px rgba(255, 107, 53, 0.28);
  white-space: nowrap;
  min-height: 56px;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(255, 107, 53, 0.38);
  color: var(--cream-base);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink-graphite);
  border: 1.5px solid var(--tech-cobalt);
  border-radius: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  transition: all 220ms ease-out;
  white-space: nowrap;
  min-height: 48px;
}

.btn-ghost:hover {
  background: var(--tech-cobalt);
  color: var(--cream-base);
}

.tech-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border: 1.5px dashed var(--tech-cobalt);
  border-radius: 12px;
  padding: 24px;
  transition: transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 320ms ease-out, z-index 320ms;
  position: relative;
  color: var(--ink-graphite);
}

.tech-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 18px 40px rgba(31, 42, 60, 0.18);
  z-index: 10;
}

.wireframe-icon {
  display: inline-block;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background: rgba(27, 77, 142, 0.08);
  border: 1.5px solid var(--tech-cobalt);
  position: relative;
}

.engine-svg path,
.engine-svg line,
.engine-svg circle,
.engine-svg rect {
  stroke: var(--tech-cobalt);
  stroke-width: 1.5;
  fill: none;
}

.engine-svg .accent {
  stroke: var(--signal-orange);
  fill: var(--signal-orange);
}

.hero-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 9vw, 144px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink-graphite);
  margin: 0;
}

.hero-mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(36px, 8vw, 132px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
  color: var(--ink-graphite);
  margin: 0;
}

.hero-jp {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(32px, 5.5vw, 88px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-graphite);
  margin: 0;
}

.wire-marker {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--tech-cobalt);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--signal-orange);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink-graphite);
  margin: 0;
}

.engine-3d-mock {
  width: 100%;
  max-width: 540px;
  aspect-ratio: 540 / 620;
  position: relative;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  border: 1.5px dashed var(--tech-cobalt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.engine-3d-mock svg {
  width: 78%;
  height: 78%;
}

@keyframes spin-y {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

.engine-spin {
  animation: spin-y 18s linear infinite;
  transform-style: preserve-3d;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(140px, auto);
  gap: 16px;
}

.bento-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border: 1.5px dashed var(--tech-cobalt);
  border-radius: 12px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1), z-index 320ms, box-shadow 320ms ease-out;
  color: var(--ink-graphite);
}

.bento-card:hover {
  transform: translateY(-6px) scale(1.04);
  z-index: 10;
  box-shadow: 0 20px 44px rgba(31, 42, 60, 0.2);
}

.bento-card .img-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--tech-cobalt);
  margin-bottom: 16px;
}

.bento-card .img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease-out;
}

.bento-card:hover .img-frame img {
  transform: scale(1.05);
}

.bento-card .data-strip {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--ink-graphite);
  background: var(--peach-pastel);
  padding: 12px 14px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  margin-top: 12px;
}

.process-rail {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 40px 0;
  overflow-x: auto;
  position: relative;
}

.process-rail::before {
  content: '';
  position: absolute;
  left: 80px;
  right: 80px;
  top: 90px;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--tech-cobalt) 0 12px, transparent 12px 16px);
}

.process-node {
  flex: 0 0 220px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.process-bubble {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(244, 241, 232, 0.92);
  border: 2px solid var(--tech-cobalt);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: transform 320ms ease-out, border-color 320ms ease-out;
  color: var(--ink-graphite);
}

.process-bubble:hover {
  transform: scale(1.15);
  border-color: var(--signal-orange);
}

.process-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  color: var(--signal-orange);
  font-weight: 700;
}

.flex-grow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.flex-grow-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  border: 1.5px solid var(--tech-cobalt);
  border-radius: 10px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: flex-grow 420ms cubic-bezier(0.34, 1.56, 0.64, 1), background 320ms ease-out, border-color 320ms ease-out;
  min-height: 260px;
  color: var(--ink-graphite);
}

.flex-grow-card:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--signal-orange);
  border-width: 2.5px;
}

.flex-grow-card .watermark {
  position: absolute;
  bottom: 8px;
  right: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 64px;
  color: rgba(255, 107, 53, 0.14);
  font-weight: 700;
  line-height: 1;
}

.case-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: 40px 0;
}

.case-card {
  width: min(480px, 100%);
  background: rgba(255, 255, 255, 0.94);
  border: 1.5px solid var(--tech-cobalt);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  transition: transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 320ms ease-out, z-index 320ms;
  color: var(--ink-graphite);
  box-shadow: 0 12px 32px rgba(31, 42, 60, 0.08);
}

.case-card:hover {
  transform: scale(1.05) translateY(-8px);
  z-index: 10;
  box-shadow: 0 24px 48px rgba(31, 42, 60, 0.18);
}

.case-card .img-frame {
  width: 100%;
  aspect-ratio: 480 / 360;
  overflow: hidden;
  border-bottom: 1px solid var(--tech-cobalt);
}

.case-card .img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease-out;
}

.case-card:hover .img-frame img {
  transform: scale(1.04);
}

.case-card .meta {
  background: var(--peach-pastel);
  padding: 18px 20px;
}

.team-canvas {
  position: relative;
  min-height: 110vh;
  background: var(--dust-blue);
  border-top: 1px dashed var(--tech-cobalt);
  border-bottom: 1px dashed var(--tech-cobalt);
  overflow: hidden;
}

.team-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px dashed var(--tech-cobalt);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(31, 42, 60, 0.1);
  cursor: grab;
  transition: box-shadow 240ms ease-out, transform 240ms ease-out;
  color: var(--ink-graphite);
}

.team-card:active {
  cursor: grabbing;
}

.team-card .img-frame {
  width: 100%;
  height: 60%;
  overflow: hidden;
  border-bottom: 1px dashed var(--tech-cobalt);
}

.team-card .img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card .body {
  padding: 14px 16px;
}

.team-card .name-jp {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  color: var(--ink-graphite);
  font-weight: 500;
}

.faq-panel {
  background: rgba(255, 255, 255, 0.88);
  border: 1px dashed var(--tech-cobalt);
  border-radius: 10px;
  padding: 0;
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow 320ms ease-out, transform 320ms ease-out, z-index 320ms;
  position: relative;
  color: var(--ink-graphite);
}

.faq-panel.open {
  background: rgba(255, 255, 255, 0.98);
  z-index: 10;
  box-shadow: 0 12px 28px rgba(31, 42, 60, 0.14);
  transform: scale(1.02);
}

.faq-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  cursor: pointer;
  min-height: 80px;
}

.faq-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  color: var(--signal-orange);
  font-weight: 700;
  flex: 0 0 32px;
}

.faq-q {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  color: var(--ink-graphite);
  font-weight: 500;
  flex: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.faq-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--tech-cobalt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  color: var(--signal-orange);
  flex: 0 0 40px;
  transition: transform 320ms ease-out, background 240ms ease-out, color 240ms ease-out;
}

.faq-panel.open .faq-toggle {
  background: var(--signal-orange);
  color: var(--cream-base);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 460ms cubic-bezier(0.34, 1.56, 0.64, 1);
  background: rgba(255, 217, 192, 0.5);
  border-left: 4px solid var(--signal-orange);
}

.faq-panel.open .faq-answer {
  max-height: 280px;
}

.faq-answer-inner {
  padding: 18px 24px 22px 32px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  color: var(--ink-graphite);
  line-height: 1.7;
}

.review-rail {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 600px;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.review-card {
  position: absolute;
  width: 460px;
  background: rgba(255, 255, 255, 0.94);
  border: 1.5px dashed var(--tech-cobalt);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 600ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 600ms ease-out, z-index 600ms;
  color: var(--ink-graphite);
  transform: translateX(220px) translateZ(-220px) rotateY(-26deg) scale(0.78) !important;
  opacity: 0.7 !important;
  z-index: 5 !important;
}

.review-card.side {
  pointer-events: none;
}

.review-card.center {
  transform: translateX(0) translateZ(0) rotateY(0deg) scale(1) !important;
  opacity: 1 !important;
  z-index: 10 !important;
  pointer-events: auto;
}

.review-card.side-left {
  transform: translateX(-220px) translateZ(-220px) rotateY(26deg) scale(0.78) !important;
  opacity: 0.7 !important;
  z-index: 5 !important;
}

.review-card.side-right {
  transform: translateX(220px) translateZ(-220px) rotateY(-26deg) scale(0.78) !important;
  opacity: 0.7 !important;
  z-index: 5 !important;
}

.review-arrow {
  pointer-events: auto;
}

.review-card .img-frame {
  width: 100%;
  aspect-ratio: 460 / 280;
  overflow: hidden;
  background: rgba(255, 217, 192, 0.4);
}

.review-card .img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-card .meta {
  background: var(--peach-hover);
  padding: 20px 22px;
  color: var(--cream-base);
}

.review-card .quote {
  font-family: 'Space Grotesk', sans-serif;
  font-style: italic;
  font-size: 20px;
  line-height: 1.45;
  padding: 22px 24px;
  color: var(--ink-graphite);
}

.review-stars {
  display: flex;
  gap: 4px;
  padding: 14px 22px 0;
  color: var(--signal-orange);
  font-size: 18px;
}

.review-arrow {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--tech-cobalt);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 240ms ease-out, color 240ms ease-out;
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  color: var(--signal-orange);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
}

.review-arrow:hover {
  background: var(--signal-orange);
  color: var(--cream-base);
}

.review-arrow.left { left: 8px; }
.review-arrow.right { right: 8px; }

.contact-grid {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 18px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px dashed var(--tech-cobalt);
  border-radius: 12px;
  padding: 28px;
  color: var(--ink-graphite);
}

.form-field {
  width: 100%;
  padding: 14px 16px;
  background: var(--cream-base);
  border: 1.5px solid var(--tech-cobalt);
  border-radius: 8px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  color: var(--ink-graphite);
  transition: border-color 220ms ease-out;
}

.form-field:focus {
  outline: none;
  border-color: var(--signal-orange);
}

.form-label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tech-cobalt);
  margin-bottom: 6px;
  font-weight: 500;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 720px;
  margin: 0 auto;
  background: rgba(31, 42, 60, 0.96);
  backdrop-filter: blur(20px);
  border: 1.5px solid var(--signal-orange);
  border-radius: 12px;
  padding: 22px 24px;
  color: var(--cream-base);
  z-index: 9999;
  box-shadow: 0 18px 40px rgba(31, 42, 60, 0.35);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner .row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.cookie-btn {
  padding: 10px 18px;
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: transform 200ms ease-out, background 200ms ease-out;
  min-height: 40px;
}

.cookie-btn-accept {
  background: var(--signal-orange);
  color: var(--cream-base);
}

.cookie-btn-decline {
  background: transparent;
  color: var(--cream-base);
  border: 1.5px solid var(--cream-base);
}

.cookie-btn:hover {
  transform: translateY(-1px);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--peach-pastel);
  z-index: 1000;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 480ms cubic-bezier(0.65, 0, 0.35, 1);
  display: flex;
  flex-direction: column;
  padding: 80px 24px 40px;
  overflow-y: auto;
  color: var(--ink-graphite);
}

.mobile-menu.open {
  clip-path: inset(0 0 0 0);
}

.mobile-menu .m-link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  color: var(--ink-graphite);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px dashed rgba(31, 42, 60, 0.2);
  display: block;
  font-weight: 500;
}

.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 32px;
  color: var(--ink-graphite);
  padding: 0;
  line-height: 1;
}

.mobile-burger {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 0;
}

.mobile-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink-graphite);
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  animation: fade-up 600ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal.d1 { animation-delay: 60ms; }
.reveal.d2 { animation-delay: 120ms; }
.reveal.d3 { animation-delay: 180ms; }
.reveal.d4 { animation-delay: 240ms; }
.reveal.d5 { animation-delay: 300ms; }
.reveal.d6 { animation-delay: 360ms; }
.reveal.d7 { animation-delay: 420ms; }

.marker-line {
  border-left: 1.5px dashed var(--tech-cobalt);
  padding-left: 18px;
}

.intersect {
  position: relative;
}

.intersect::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal-orange);
}

.pull-quote {
  font-family: 'Space Grotesk', sans-serif;
  font-style: italic;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.3;
  color: var(--signal-orange);
  font-weight: 500;
}

.tech-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
}

.tech-table th,
.tech-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px dashed rgba(31, 42, 60, 0.2);
  color: var(--ink-graphite);
}

.tech-table th {
  color: var(--signal-orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  background: var(--peach-pastel);
}

.zone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
}

.zone-cell {
  background: var(--peach-pastel);
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--ink-graphite);
  display: flex;
  justify-content: space-between;
}

.map-svg {
  width: 100%;
  height: 280px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px dashed var(--tech-cobalt);
}

@keyframes ping {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}

.map-pulse {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--signal-orange);
  animation: ping 2s ease-out infinite;
}

.faq-list-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.timeline-vertical {
  display: none;
}

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .flex-grow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .case-card { width: 100%; }
  .review-card { width: 90%; }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  .mobile-burger {
    display: flex;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .flex-grow-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .review-arrow {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
  .process-rail {
    flex-direction: column;
    align-items: stretch;
  }
  .process-rail::before {
    left: 30px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 3px;
    height: auto;
  }
  .process-node {
    flex: 1 1 auto;
    display: flex;
    gap: 16px;
    text-align: left;
    align-items: flex-start;
  }
  .process-bubble {
    margin: 0;
    width: 80px;
    height: 80px;
    flex: 0 0 80px;
  }
  .case-stack {
    gap: 16px;
  }
  .case-card {
    margin-left: 0 !important;
  }
  .review-card {
    width: 100%;
  }
  .review-card.side {
    display: none;
  }
  .hero-headline,
  .hero-mono,
  .hero-jp {
    font-size: clamp(36px, 12vw, 64px);
  }
  .team-card {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    max-width: 360px;
    margin: 0 auto;
  }
  .team-canvas {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px 16px;
    min-height: auto;
  }
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 16px 18px;
  }
  .section-title {
    font-size: clamp(32px, 9vw, 48px);
  }
}

@media (max-width: 480px) {
  .review-arrow.left { left: 4px; }
  .review-arrow.right { right: 4px; }
}

::selection {
  background: var(--signal-orange);
  color: var(--cream-base);
}

html {
  scroll-padding-top: 90px;
}

.text-balance {
  text-wrap: balance;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

.muted {
  color: var(--ink-graphite);
  opacity: 0.7;
}
