:root {
  --bg: #f5f6f3;
  --bg-2: #eef0ed;
  --surface: #ffffff;
  --ink: #11151a;
  --ink-2: #20262d;
  --muted: #686e74;
  --muted-2: #90969b;
  --line: #daddd8;
  --line-soft: rgba(17,21,26,.09);
  --dark: #0d1116;
  --dark-2: #151a20;
  --accent: #e51f36;
  --accent-dark: #bc1229;
  --accent-soft: rgba(229,31,54,.10);
  --shadow: 0 26px 80px rgba(18,22,27,.10);
  --shadow-soft: 0 14px 38px rgba(18,22,27,.08);
  --radius-lg: 34px;
  --radius-md: 24px;
  --radius-sm: 14px;
  --container: 1390px;
  --header-h: 78px;
  --ease: cubic-bezier(.2,.75,.22,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-feature-settings: "palt" 1, "kern" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img, picture, svg, canvas { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
::selection { color: #fff; background: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus-visible { transform: translateY(0); }
.container { width: min(calc(100% - 72px), var(--container)); margin-inline: auto; }
.section { position: relative; padding: clamp(110px, 10vw, 170px) 0; }
.desktop-only { display: block; }

/* Loader */
.site-loader {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--dark);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.js .site-loader {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  animation: loaderFallback .01s 4s forwards;
}
.js body.is-ready .site-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .7s var(--ease), visibility .7s;
}
.loader-inner { width: min(430px, calc(100% - 70px)); position: relative; }
.loader-inner > img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .9;
  margin-bottom: 26px;
  animation: loaderMark 1.2s var(--ease-out) both;
}
.loader-copy { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.loader-copy strong { font-size: clamp(28px, 5vw, 42px); letter-spacing: -.045em; line-height: 1; }
.loader-copy span { max-width: 150px; text-align: right; font-size: 8px; line-height: 1.65; letter-spacing: .20em; color: rgba(255,255,255,.55); }
.loader-line { height: 1px; margin-top: 24px; background: rgba(255,255,255,.16); overflow: hidden; }
.loader-line i { display: block; width: 100%; height: 100%; background: var(--accent); transform-origin: left; animation: loaderLine 1.1s var(--ease-out) both; }
.loader-count { display: block; margin-top: 10px; text-align: right; font-size: 9px; letter-spacing: .22em; color: rgba(255,255,255,.48); }
@keyframes loaderLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes loaderMark { from { opacity: 0; transform: rotate(-15deg) scale(.7); } to { opacity: .9; transform: rotate(0) scale(1); } }
@keyframes loaderFallback { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* Scroll progress */
.page-progress { position: fixed; z-index: 999; top: 0; left: 0; width: 100%; height: 2px; pointer-events: none; }
.page-progress span { display: block; width: 100%; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left center; will-change: transform; }

/* Cursor */
.cursor-dot, .cursor-ring { position: fixed; z-index: 9998; top: 0; left: 0; pointer-events: none; opacity: 0; }
.cursor-dot { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: var(--accent); }
.cursor-ring {
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17,21,26,.38);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(2px);
  transition: width .3s var(--ease-out), height .3s var(--ease-out), margin .3s var(--ease-out), background .3s, border-color .3s;
}
.cursor-ring span { opacity: 0; font-size: 7px; font-weight: 800; letter-spacing: .14em; color: #fff; transition: opacity .2s; }
.has-custom-cursor { cursor: auto; }
.has-custom-cursor a,
.has-custom-cursor button,
.has-custom-cursor [role="button"],
.has-custom-cursor [data-project],
.has-custom-cursor [data-cursor] { cursor: pointer; }
.has-custom-cursor input, .has-custom-cursor textarea { cursor: text; }
.has-custom-cursor select { cursor: default; }
.has-custom-cursor .cursor-dot, .has-custom-cursor .cursor-ring { opacity: 1; }
.cursor-ring.is-hover { width: 78px; height: 78px; margin: -39px 0 0 -39px; border-color: var(--accent); background: rgba(229,31,54,.88); }
.cursor-ring.is-hover span { opacity: 1; }
.cursor-ring.is-form, .cursor-dot.is-form { opacity: 0; }

/* Header */
.site-header { position: fixed; z-index: 900; top: 16px; left: 0; width: 100%; transition: transform .55s var(--ease-out); }
.site-header.is-hidden { transform: translateY(calc(-100% - 24px)); }
.header-inner {
  width: min(calc(100% - 38px), 1430px);
  height: var(--header-h);
  margin-inline: auto;
  padding: 0 16px 0 22px;
  display: flex;
  align-items: center;
  gap: 28px;
  border: 1px solid rgba(17,21,26,.10);
  border-radius: 23px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 18px 50px rgba(20,23,28,.08);
  backdrop-filter: blur(18px) saturate(160%);
}
.brand { flex: 0 0 auto; display: block; width: 207px; }
.brand img { width: 100%; height: auto; }
.header-system { margin-left: 10px; display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 8px; font-weight: 700; letter-spacing: .16em; color: var(--muted); }
.header-system i { width: 6px; height: 6px; border-radius: 50%; background: #33b56c; box-shadow: 0 0 0 5px rgba(51,181,108,.10); animation: systemPulse 2s ease-in-out infinite; }
.header-system b { color: #33a765; font-weight: 800; }
@keyframes systemPulse { 50% { box-shadow: 0 0 0 9px rgba(51,181,108,0); } }
.global-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(20px, 2.2vw, 36px); }
.global-nav > a:not(.nav-contact) { position: relative; padding: 12px 0; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.global-nav > a:not(.nav-contact)::after { content: ""; position: absolute; left: 0; bottom: 7px; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.global-nav > a:not(.nav-contact):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-contact { min-width: 128px; height: 46px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border-radius: 14px; color: #fff; background: var(--ink); font-size: 10px; font-weight: 800; letter-spacing: .16em; transition: background .3s, transform .3s; }
.nav-contact:hover { background: var(--accent); }
.menu-button { display: none; margin-left: auto; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 14px; background: var(--ink); }
.menu-button span { position: absolute; left: 13px; width: 22px; height: 1px; background: #fff; transition: transform .3s, top .3s; }
.menu-button span:first-child { top: 20px; }
.menu-button span:last-child { top: 27px; }
.menu-button[aria-expanded="true"] span:first-child { top: 24px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { top: 24px; transform: rotate(-45deg); }

/* Shared */
.eyebrow, .section-index { margin: 0; font-size: 9px; font-weight: 800; letter-spacing: .20em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: #4c5258; }
.eyebrow span { width: 34px; height: 2px; background: var(--accent); }
.section-index { color: var(--accent); }
.section-index-light { color: #ff5063; }
.section-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px, 440px); align-items: end; gap: 60px; margin-bottom: clamp(52px, 6vw, 88px); }
.section-head h2, .approach-sticky h2, .company-layout h2 {
  margin: 19px 0 0;
  font-size: clamp(42px, 5.5vw, 80px);
  line-height: .98;
  letter-spacing: -.065em;
}
.section-description { margin: 0 0 5px; font-size: 14px; line-height: 2; color: var(--muted); }
.button {
  min-height: 58px;
  padding: 0 20px 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid transparent;
  border-radius: 17px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  transition: color .35s, background .35s, border-color .35s, box-shadow .35s;
}
.button-primary { color: #fff; background: var(--ink); box-shadow: 0 12px 28px rgba(17,21,26,.16); }
.button-primary:hover { background: var(--accent); box-shadow: 0 16px 34px rgba(229,31,54,.25); }
.button-ghost { border-color: rgba(17,21,26,.18); background: rgba(255,255,255,.52); }
.button-ghost:hover { border-color: var(--ink); background: #fff; }
.button-arrow { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: #fff; font-size: 15px; }

.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .85s var(--ease-out) var(--delay,0ms), transform .85s var(--ease-out) var(--delay,0ms); }
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Hero */
.hero { position: relative; min-height: 100svh; padding: calc(var(--header-h) + 72px) 0 78px; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-grid-bg, .engine-grid-bg, .about-grid-bg, .contact-grid-bg {
  position: absolute; inset: 0; z-index: -3; pointer-events: none;
  background-image: linear-gradient(rgba(17,21,26,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(17,21,26,.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
}
.hero-grid-bg { opacity: .5; }
.hero-orb { position: absolute; z-index: -2; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-orb-a { width: 54vw; height: 54vw; left: -28vw; bottom: -24vw; background: radial-gradient(circle, rgba(229,31,54,.12), rgba(229,31,54,0) 67%); animation: orbDriftA 12s ease-in-out infinite alternate; }
.hero-orb-b { width: 42vw; height: 42vw; right: -16vw; top: -16vw; background: radial-gradient(circle, rgba(229,31,54,.09), rgba(229,31,54,0) 67%); animation: orbDriftB 14s ease-in-out infinite alternate; }
@keyframes orbDriftA { to { transform: translate(7vw,-4vw) scale(1.08); } }
@keyframes orbDriftB { to { transform: translate(-6vw,6vw) scale(.9); } }
.hero-layout { display: grid; grid-template-columns: minmax(0,.92fr) minmax(480px, .78fr); gap: clamp(54px, 6vw, 105px); align-items: center; }
.hero-copy { position: relative; z-index: 2; padding-left: clamp(0px, 2vw, 30px); }
.hero-eyebrow { margin-bottom: 34px; }
.hero-title { margin: 0; font-size: clamp(66px, 7.8vw, 124px); line-height: .86; letter-spacing: -.082em; font-weight: 900; }
.title-mask { display: block; overflow: hidden; padding: .08em .06em .08em 0; margin: -.08em 0; }
.title-mask > span { display: block; }
.js body.is-loading .title-mask > span { transform: translateY(115%); }
.js body.is-ready .title-mask > span { transform: translateY(0); transition: transform 1.05s var(--ease-out); }
.js body.is-ready .title-mask:nth-child(2) > span { transition-delay: 100ms; }
.js body.is-ready .title-mask:nth-child(3) > span { transition-delay: 200ms; }
.hero-title em { position: relative; z-index: 1; color: var(--accent); font-style: normal; }
.hero-title em::after { content: ""; position: absolute; z-index: -1; left: -.02em; right: -.04em; bottom: .04em; height: .08em; background: var(--accent); opacity: .18; transform: skewX(-14deg); }
.hero-lead { margin: 33px 0 0; font-size: clamp(14px, 1.15vw, 17px); line-height: 2.05; color: #555b61; }
.hero-actions { margin-top: 31px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-actions .button-primary { min-width: 205px; }
.hero-capabilities { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-capabilities span { padding: 8px 12px; border: 1px solid rgba(17,21,26,.13); border-radius: 999px; background: rgba(255,255,255,.52); font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.hero-stage-wrap { min-width: 0; }
.hero-stage {
  position: relative;
  aspect-ratio: 1.08 / 1;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid rgba(17,21,26,.14);
  border-radius: 34px;
  background: #eceeeb;
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  will-change: transform;
}
.hero-stage::before { content: ""; position: absolute; z-index: 8; inset: 11px; border: 1px solid rgba(17,21,26,.11); border-radius: 25px; pointer-events: none; }
.hero-stage::after { content: ""; position: absolute; z-index: 1; inset: 0; background: radial-gradient(circle at 68% 36%, rgba(255,255,255,.16), transparent 30%), linear-gradient(135deg, rgba(255,255,255,.2), transparent 40%); pointer-events: none; }
.stage-texture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .95; }
#hero-canvas { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; }
.stage-noise { position: absolute; z-index: 3; inset: 0; opacity: .055; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); }
.stage-scan { position: absolute; z-index: 4; left: 0; top: -25%; width: 100%; height: 22%; background: linear-gradient(to bottom, transparent, rgba(229,31,54,.10), transparent); mix-blend-mode: multiply; animation: stageScan 5.5s linear infinite; }
@keyframes stageScan { to { transform: translateY(570%); } }
.stage-header, .stage-footer { position: absolute; z-index: 10; left: 27px; right: 27px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 8px; font-weight: 800; letter-spacing: .17em; color: #52585e; }
.stage-header { top: 27px; }
.stage-header > div { display: flex; align-items: center; gap: 9px; }
.stage-header i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(229,31,54,.11); animation: systemPulse 2s ease-in-out infinite; }
.stage-time b { color: var(--ink); }
.stage-footer { bottom: 24px; }
.stage-progress { flex: 1; height: 1px; background: rgba(17,21,26,.16); overflow: hidden; }
.stage-progress i { display: block; width: 28%; height: 100%; background: var(--accent); animation: stageProgress 3.6s var(--ease-in-out, ease-in-out) infinite; }
@keyframes stageProgress { 0% { transform: translateX(-110%); } 100% { transform: translateX(460%); } }
.stage-core { position: absolute; z-index: 7; left: 50%; top: 48%; width: 63%; aspect-ratio: 1; transform: translate(-50%,-50%); display: grid; place-items: center; }
.core-ring { position: absolute; border: 1px solid rgba(229,31,54,.30); border-radius: 50%; }
.core-ring::before, .core-ring::after { content: ""; position: absolute; width: 7px; height: 7px; margin: -3.5px; border: 2px solid var(--accent); border-radius: 50%; background: var(--bg); }
.core-ring::before { left: 50%; top: 0; }
.core-ring::after { right: 0; top: 50%; }
.core-ring-1 { inset: 8%; animation: spin 20s linear infinite; }
.core-ring-2 { inset: 21%; border-color: rgba(17,21,26,.18); animation: spinReverse 14s linear infinite; }
.core-ring-3 { inset: 35%; border-color: rgba(229,31,54,.44); animation: pulseRing 3s ease-in-out infinite; }
.core-cross { position: absolute; background: linear-gradient(90deg, transparent, rgba(17,21,26,.18), transparent); }
.core-cross-x { width: 100%; height: 1px; }
.core-cross-y { width: 1px; height: 100%; background: linear-gradient(transparent, rgba(17,21,26,.18), transparent); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinReverse { to { transform: rotate(-360deg); } }
@keyframes pulseRing { 50% { transform: scale(1.12); opacity: .55; } }
.core-wordmark { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; line-height: .77; letter-spacing: -.07em; }
.core-wordmark small { margin-bottom: 17px; font-size: 7px; letter-spacing: .26em; color: #596067; }
.core-wordmark strong { font-size: clamp(53px, 5.6vw, 84px); font-weight: 900; }
.core-wordmark strong:last-child { color: var(--accent); }
.stage-panel { position: absolute; z-index: 12; padding: 14px 16px; border: 1px solid rgba(17,21,26,.13); border-radius: 13px; background: rgba(255,255,255,.74); box-shadow: 0 10px 30px rgba(17,21,26,.07); backdrop-filter: blur(10px); }
.stage-panel .panel-label { display: block; margin-bottom: 8px; font-size: 7px; font-weight: 800; letter-spacing: .18em; color: var(--muted); }
.stage-panel strong { font-size: 11px; letter-spacing: .06em; }
.stage-input { left: 24px; top: 24%; min-width: 152px; }
.typing-caret { display: inline-block; width: 1px; height: 12px; margin-left: 3px; vertical-align: -2px; background: var(--accent); animation: caretBlink .8s step-end infinite; }
@keyframes caretBlink { 50% { opacity: 0; } }
.stage-output { right: 23px; bottom: 20%; min-width: 185px; }
.output-bars { height: 17px; display: flex; align-items: end; gap: 3px; margin: -2px 0 8px; }
.output-bars i { width: 4px; height: 40%; background: var(--accent); transform-origin: bottom; animation: bars 1.2s ease-in-out infinite alternate; }
.output-bars i:nth-child(2) { height: 80%; animation-delay: -.4s; }
.output-bars i:nth-child(3) { height: 55%; animation-delay: -.8s; }
.output-bars i:nth-child(4) { height: 100%; animation-delay: -.2s; }
.output-bars i:nth-child(5) { height: 65%; animation-delay: -.6s; }
@keyframes bars { to { transform: scaleY(.35); opacity: .55; } }
.stage-models { position: absolute; z-index: 10; top: 50%; right: 18px; display: flex; flex-direction: column; gap: 6px; transform: translateY(-50%); }
.stage-models span { padding: 5px 8px; border-radius: 999px; border: 1px solid rgba(17,21,26,.12); background: rgba(255,255,255,.64); font-size: 6px; font-weight: 800; letter-spacing: .12em; text-align: center; }
.hero-caption { margin: 12px 4px 0; display: flex; justify-content: flex-end; gap: 6px; font-size: 7px; font-weight: 700; letter-spacing: .14em; color: var(--muted-2); }
.hero-caption span { color: var(--accent); }
.hero-pipeline { position: absolute; z-index: 4; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; align-items: center; gap: 13px; white-space: nowrap; font-size: 7px; font-weight: 800; letter-spacing: .17em; color: #6e7479; }
.hero-pipeline i { color: var(--accent); font-style: normal; }
.scroll-cue { position: absolute; z-index: 4; left: 24px; bottom: 30px; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 7px; font-weight: 700; letter-spacing: .16em; writing-mode: vertical-rl; color: var(--muted); }
.scroll-cue i { position: relative; width: 1px; height: 48px; background: rgba(17,21,26,.18); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--accent); animation: scrollCue 1.8s ease-in-out infinite; }
@keyframes scrollCue { from { transform: translateY(-130%); } to { transform: translateY(360%); } }

/* Statement */
.statement { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.statement-grid { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 54px; }
.statement-big { margin: 0; font-size: clamp(48px, 6.4vw, 98px); font-weight: 800; line-height: 1.04; letter-spacing: -.07em; }
.statement-big span { color: var(--accent); }
.statement-line { height: 1px; margin: 52px 0 35px; background: var(--line); overflow: hidden; }
.statement-line i { display: block; width: 100%; height: 100%; background: var(--accent); transform: scaleX(.16); transform-origin: left; transition: transform 1.2s var(--ease-out); }
.statement:has(.statement-big.is-visible) .statement-line i { transform: scaleX(1); }
.statement-subgrid { display: grid; grid-template-columns: minmax(0,1fr) 270px; gap: 70px; }
.statement-subgrid > p:first-child { margin: 0; max-width: 680px; font-size: 14px; line-height: 2.05; color: var(--muted); }
.statement-en { margin: 0; font-size: 10px; font-weight: 800; line-height: 1.9; letter-spacing: .18em; }

/* Kinetic strips */
.kinetic-strip { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.kinetic-track { width: max-content; padding: 22px 0; display: flex; align-items: center; gap: 22px; animation: marquee 27s linear infinite; }
.kinetic-track span { font-size: 12px; font-weight: 800; letter-spacing: .17em; }
.kinetic-track i { color: var(--accent); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Works */
.works { background: var(--bg); }
.works::before { content: "SELECTED"; position: absolute; right: 2vw; top: 9%; color: rgba(17,21,26,.025); font-size: clamp(100px, 17vw, 260px); font-weight: 900; letter-spacing: -.08em; pointer-events: none; }
.works-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.work-card { position: relative; min-height: 430px; padding: 0; overflow: hidden; border: 0; border-radius: 27px; background: var(--dark); text-align: left; cursor: pointer; box-shadow: var(--shadow-soft); transform-style: preserve-3d; will-change: transform; }
.work-card-wide { grid-column: 1 / -1; min-height: 680px; }
.work-card picture, .work-card picture img { width: 100%; height: 100%; }
.work-card picture { position: absolute; inset: 0; }
.work-card img { object-fit: cover; transition: transform 1.2s var(--ease-out), filter .7s; }
.work-card:hover img { transform: scale(1.045); }
.work-shade { position: absolute; z-index: 2; inset: 0; background: linear-gradient(to bottom, rgba(5,8,12,.10), rgba(5,8,12,.03) 35%, rgba(5,8,12,.78) 100%); }
.work-grid-overlay { position: absolute; z-index: 3; inset: 0; opacity: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 42px 42px; transition: opacity .5s; }
.work-card:hover .work-grid-overlay { opacity: .35; }
.work-card::after { content: ""; position: absolute; z-index: 4; inset: 0; border: 1px solid rgba(255,255,255,.26); border-radius: inherit; pointer-events: none; }
.work-topline { position: absolute; z-index: 5; top: 23px; left: 25px; right: 25px; display: flex; justify-content: space-between; gap: 20px; color: #fff; font-size: 7px; font-weight: 800; letter-spacing: .16em; text-shadow: 0 1px 12px rgba(0,0,0,.45); }
.work-bottom { position: absolute; z-index: 5; left: 28px; right: 28px; bottom: 27px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; color: #fff; transform: translateZ(25px); }
.work-bottom > span { display: flex; flex-direction: column; gap: 9px; }
.work-bottom strong { font-size: clamp(26px, 3.2vw, 52px); line-height: .98; letter-spacing: -.05em; }
.work-card:not(.work-card-wide) .work-bottom strong { font-size: clamp(23px, 2.2vw, 34px); }
.work-bottom small { font-size: 11px; letter-spacing: .04em; color: rgba(255,255,255,.82); }
.work-bottom > i { flex: 0 0 auto; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; font-size: 20px; font-style: normal; transition: background .3s, color .3s, transform .4s var(--ease-out); }
.work-card:hover .work-bottom > i { color: var(--ink); background: #fff; transform: rotate(45deg); }
.work-card { display: block; color: inherit; text-decoration: none; }
.work-card-contain picture { background: #080812; }
.work-card-contain img { object-fit: contain; transform: scale(.985); }
.work-card-contain:hover img { transform: scale(1); }
.works-live { margin-top: 112px; padding-top: 66px; border-top: 1px solid var(--line); }
.works-live-head { margin-bottom: 38px; display: grid; grid-template-columns: minmax(0,1fr) minmax(260px,430px); gap: 60px; align-items: end; }
.works-live-kicker { margin: 0 0 16px; display: flex; align-items: center; gap: 11px; color: var(--accent); font-size: 8px; font-weight: 800; letter-spacing: .18em; }
.works-live-kicker span { width: 25px; height: 1px; background: currentColor; }
.works-live-head h3 { margin: 0; font-size: clamp(45px,5.6vw,78px); line-height: .94; letter-spacing: -.065em; }
.works-live-head > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.95; }
.live-works-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.external-work-card { min-height: 405px; }
.external-work-card .work-bottom strong { font-size: clamp(24px,2.45vw,38px); }
.work-live-status { position: absolute; z-index: 5; top: 48px; left: 25px; display: flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.36); border-radius: 999px; color: #fff; background: rgba(8,12,17,.48); backdrop-filter: blur(8px); font-size: 7px; font-weight: 800; letter-spacing: .14em; }
.work-live-status i { width: 5px; height: 5px; border-radius: 50%; background: #53e491; box-shadow: 0 0 0 4px rgba(83,228,145,.13); }
.work-live-status-play i { background: #ff5365; box-shadow: 0 0 0 4px rgba(255,83,101,.13); }

/* AI Engine */
.engine { overflow: hidden; color: #fff; background: var(--dark); }
.engine-grid-bg { z-index: 0; opacity: .30; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); mask-image: radial-gradient(circle at 72% 50%, #000, transparent 68%); }
.engine-glow { position: absolute; z-index: 0; width: 900px; height: 900px; right: -280px; top: -190px; border-radius: 50%; background: radial-gradient(circle, rgba(229,31,54,.21), transparent 64%); filter: blur(14px); animation: engineGlow 8s ease-in-out infinite alternate; }
@keyframes engineGlow { to { transform: translate(-80px,80px) scale(.88); opacity: .65; } }
.engine-layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(320px,.74fr) minmax(600px,1.26fr); gap: clamp(60px, 7vw, 110px); align-items: center; }
.engine-copy h2 { margin: 24px 0 29px; font-size: clamp(52px, 6vw, 90px); line-height: .94; letter-spacing: -.07em; }
.engine-copy h2 span { color: #ff4055; }
.engine-copy > p { max-width: 510px; margin: 0; font-size: 14px; line-height: 2.05; color: rgba(255,255,255,.62); }
.engine-status { margin-top: 45px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); display: flex; flex-direction: column; gap: 10px; }
.engine-status span { display: flex; align-items: center; gap: 10px; font-size: 8px; font-weight: 800; letter-spacing: .19em; color: rgba(255,255,255,.48); }
.engine-status span i { width: 6px; height: 6px; border-radius: 50%; background: #45e090; box-shadow: 0 0 0 6px rgba(69,224,144,.10); }
.engine-status strong { font-size: 12px; letter-spacing: .10em; }
.engine-visual { position: relative; min-height: 640px; border: 1px solid rgba(255,255,255,.11); border-radius: 34px; background: rgba(255,255,255,.025); box-shadow: inset 0 0 70px rgba(255,255,255,.02); }
.engine-visual::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.07); border-radius: 25px; }
.engine-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.engine-lines path { fill: none; stroke: rgba(255,255,255,.13); stroke-width: 1; }
.engine-lines .line-active { stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1 18; animation: lineFlow 3.8s linear infinite; filter: drop-shadow(0 0 5px rgba(229,31,54,.75)); }
.engine-lines .line-delay-1 { animation-delay: -.9s; }
.engine-lines .line-delay-2 { animation-delay: -1.8s; }
.engine-lines .line-delay-3 { animation-delay: -2.7s; }
@keyframes lineFlow { to { stroke-dashoffset: -190; } }
.engine-node { position: absolute; z-index: 3; width: 190px; min-height: 105px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 17px; color: #fff; background: rgba(17,21,26,.68); backdrop-filter: blur(10px); text-align: left; transition: border-color .3s, background .3s, transform .35s var(--ease-out); }
.engine-node:hover, .engine-node.is-active { border-color: var(--accent); background: rgba(229,31,54,.12); transform: translateY(-3px); }
.engine-node span { display: block; margin-bottom: 12px; color: #ff5365; font-size: 8px; font-weight: 800; letter-spacing: .17em; }
.engine-node strong { display: block; margin-bottom: 7px; font-size: 13px; letter-spacing: .04em; }
.engine-node small { color: rgba(255,255,255,.50); font-size: 8px; line-height: 1.6; letter-spacing: .04em; }
.engine-node-a { left: 26px; top: 31px; }
.engine-node-b { right: 26px; top: 31px; }
.engine-node-c { left: 26px; bottom: 30px; }
.engine-node-d { right: 26px; bottom: 30px; }
.engine-core { position: absolute; z-index: 4; left: 50%; top: 50%; width: 210px; height: 210px; transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(229,31,54,.52); border-radius: 50%; background: radial-gradient(circle, rgba(229,31,54,.12), rgba(13,17,22,.94) 64%); box-shadow: 0 0 80px rgba(229,31,54,.12); }
.engine-core::before, .engine-core::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.engine-core::before { inset: -23px; }
.engine-core::after { inset: -49px; border-style: dashed; animation: spin 22s linear infinite; }
.engine-core-orbit { position: absolute; inset: -24px; border-radius: 50%; animation: spin 7s linear infinite; }
.engine-core-orbit::after { content: ""; position: absolute; top: -4px; left: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 17px var(--accent); }
.engine-core img { width: 62px; height: 62px; object-fit: contain; filter: brightness(0) invert(1); opacity: .80; margin-bottom: 7px; }
.engine-core small { font-size: 7px; letter-spacing: .25em; color: rgba(255,255,255,.48); }
.engine-core strong { margin-top: 5px; font-size: 14px; letter-spacing: .13em; }
.engine-output { position: absolute; z-index: 6; left: 50%; bottom: 28px; transform: translateX(-50%); width: min(310px, 46%); padding: 15px 18px; border-top: 1px solid rgba(255,255,255,.14); text-align: center; pointer-events: none; }
.engine-output > span { display: block; margin-bottom: 7px; font-size: 7px; letter-spacing: .20em; color: #ff5365; }
.engine-output strong { display: block; font-size: 11px; letter-spacing: .08em; }
.engine-output p { margin: 5px 0 0; color: rgba(255,255,255,.45); font-size: 8px; line-height: 1.55; }
.engine-stack { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid rgba(255,255,255,.13); border-bottom: 1px solid rgba(255,255,255,.13); }
.engine-stack span { min-height: 58px; display: grid; place-items: center; border-right: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.56); font-size: 8px; font-weight: 800; letter-spacing: .13em; }
.engine-stack span:last-child { border-right: 0; }

/* Services */
.services { background: var(--surface); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 350px; padding: 34px 32px 30px; overflow: hidden; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: color .45s, background .45s; }
.service-card::before { content: ""; position: absolute; right: -90px; top: -90px; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, rgba(229,31,54,.14), rgba(229,31,54,0) 70%); transform: scale(.6); opacity: 0; transition: transform .6s var(--ease-out), opacity .45s; }
.service-card:hover::before { transform: scale(1.4); opacity: 1; }
.service-card:hover { color: #fff; background: var(--ink); }
.service-number { font-size: 9px; font-weight: 800; letter-spacing: .17em; color: var(--accent); }
.service-signal { position: absolute; right: 31px; top: 31px; width: 29px; height: 29px; border: 1px solid var(--line); border-radius: 50%; transition: border-color .35s, transform .6s var(--ease-out); }
.service-signal::before, .service-signal::after { content: ""; position: absolute; background: var(--accent); }
.service-signal::before { width: 7px; height: 1px; left: 10px; top: 13px; }
.service-signal::after { width: 1px; height: 7px; left: 13px; top: 10px; }
.service-card:hover .service-signal { border-color: rgba(255,255,255,.3); transform: rotate(135deg); }
.service-card h3 { margin: 52px 0 5px; font-size: clamp(21px, 2vw, 29px); letter-spacing: -.04em; }
.service-ja { margin: 0 0 24px !important; color: var(--accent) !important; font-size: 11px !important; font-weight: 700; }
.service-card > p:not(.service-ja) { margin: 0; max-width: 330px; font-size: 12px; line-height: 1.9; color: var(--muted); transition: color .45s; }
.service-card:hover > p:not(.service-ja) { color: rgba(255,255,255,.63); }
.service-card ul { position: absolute; left: 32px; right: 32px; bottom: 27px; margin: 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); list-style: none; transition: border-color .45s; }
.service-card:hover ul { border-color: rgba(255,255,255,.16); }
.service-card li { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 7px; font-weight: 700; letter-spacing: .06em; transition: color .45s, border-color .45s; }
.service-card:hover li { color: rgba(255,255,255,.65); border-color: rgba(255,255,255,.18); }

.red-ticker { overflow: hidden; color: #fff; background: var(--accent); transform: rotate(-1.1deg) scale(1.02); transform-origin: center; }
.red-ticker > div { width: max-content; padding: 15px 0; display: flex; align-items: center; gap: 18px; animation: marquee 22s linear infinite reverse; }
.red-ticker span { font-size: 8px; font-weight: 800; letter-spacing: .17em; }
.red-ticker i { font-style: normal; opacity: .7; }

/* Approach */
.approach { background: var(--bg); }
.approach-layout { display: grid; grid-template-columns: minmax(320px,.72fr) minmax(0,1.28fr); gap: clamp(80px, 9vw, 150px); align-items: start; }
.approach-sticky { position: sticky; top: calc(var(--header-h) + 64px); }
.approach-sticky > p:not(.section-index) { max-width: 430px; margin: 29px 0 0; font-size: 13px; line-height: 2; color: var(--muted); }
.approach-meter { margin-top: 50px; display: flex; align-items: center; gap: 18px; }
.approach-meter > span { flex: 1; height: 2px; background: var(--line); overflow: hidden; }
.approach-meter i { display: block; width: 20%; height: 100%; background: var(--accent); transition: width .6s var(--ease-out); }
.approach-meter b { font-size: 9px; letter-spacing: .14em; }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-step { position: relative; min-height: 190px; padding: 32px 50px 32px 0; display: grid; grid-template-columns: 62px minmax(0,1fr) 32px; align-items: start; gap: 26px; border-top: 1px solid var(--line); opacity: .50; transition: opacity .45s, transform .45s var(--ease-out); }
.process-step:last-child { border-bottom: 1px solid var(--line); }
.process-step.is-active { opacity: 1; transform: translateX(8px); }
.process-step::before { content: ""; position: absolute; left: 0; top: -1px; width: 0; height: 2px; background: var(--accent); transition: width .7s var(--ease-out); }
.process-step.is-active::before { width: 100%; }
.process-no { color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.process-step div > p { margin: 0 0 9px; color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .20em; }
.process-step h3 { margin: 0; font-size: clamp(24px, 2.4vw, 36px); letter-spacing: -.04em; }
.process-step small { display: block; margin-top: 14px; max-width: 520px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.process-step > i { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-style: normal; font-size: 13px; transition: color .3s, background .3s, border-color .3s; }
.process-step.is-active > i { color: #fff; border-color: var(--accent); background: var(--accent); }

/* About */
.about { overflow: hidden; color: #fff; background: linear-gradient(135deg, #11161c, #0c1015 62%, #1c1015); }
.about-grid-bg { z-index: 0; opacity: .2; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); mask-image: linear-gradient(90deg, #000, transparent 85%); }
.about-orbit { position: absolute; z-index: 0; right: -8vw; top: 50%; width: 42vw; height: 42vw; transform: translateY(-50%); border: 1px solid rgba(229,31,54,.19); border-radius: 50%; }
.about-orbit::before, .about-orbit::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.about-orbit::before { inset: 14%; }
.about-orbit::after { inset: 31%; }
.about-orbit i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px var(--accent); }
.about-orbit i:nth-child(1) { left: 50%; top: -4px; animation: orbitDot1 11s linear infinite; transform-origin: 0 calc(21vw + 4px); }
.about-orbit i:nth-child(2) { right: 13%; top: 20%; animation: pulseRing 2.4s ease-in-out infinite; }
.about-orbit i:nth-child(3) { left: 14%; bottom: 19%; animation: pulseRing 3s ease-in-out infinite reverse; }
@keyframes orbitDot1 { to { transform: rotate(360deg); } }
.about-layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,.9fr) minmax(260px,.55fr) minmax(420px,1fr); gap: 70px; align-items: center; }
.about-main h2 { margin: 24px 0 31px; font-size: clamp(62px, 7vw, 108px); line-height: .89; letter-spacing: -.075em; }
.about-main h2 span { color: #ff4055; }
.about-main > p:not(.section-index) { margin: 0; font-size: 13px; line-height: 2.1; color: rgba(255,255,255,.62); }
.about-mark { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.about-mark img { width: min(210px, 100%); filter: brightness(0) invert(1); opacity: .16; animation: markFloat 6s ease-in-out infinite alternate; }
.about-mark span { font-size: 7px; letter-spacing: .22em; color: rgba(255,255,255,.32); writing-mode: vertical-rl; }
@keyframes markFloat { to { transform: translateY(-14px) rotate(4deg); } }
.values { border-top: 1px solid rgba(255,255,255,.15); }
.values article { min-height: 130px; padding: 24px 0; display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 22px; border-bottom: 1px solid rgba(255,255,255,.15); }
.values article > span { color: #ff4055; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.values h3 { margin: 0 0 9px; font-size: 15px; letter-spacing: -.02em; }
.values p { margin: 0; color: rgba(255,255,255,.48); font-size: 10px; line-height: 1.8; }

/* Company */
.company { background: var(--surface); }
.company-layout { display: grid; grid-template-columns: minmax(320px,.74fr) minmax(0,1.26fr); gap: clamp(70px, 10vw, 170px); }
.company-table { margin: 0; border-top: 1px solid var(--line); }
.company-table > div { min-height: 83px; padding: 21px 0; display: grid; grid-template-columns: 170px minmax(0,1fr); gap: 28px; border-bottom: 1px solid var(--line); }
.company-table dt { font-size: 9px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.company-table dd { margin: 0; font-size: 12px; line-height: 1.8; }
.company-table a { font-weight: 700; border-bottom: 1px solid var(--ink); transition: color .3s, border-color .3s; }
.company-table a:hover { color: var(--accent); border-color: var(--accent); }

/* Contact */
.contact { overflow: hidden; background: var(--bg-2); }
.contact-grid-bg { z-index: 0; opacity: .4; mask-image: linear-gradient(90deg, #000, transparent 65%); }
.contact::after { content: "CONTACT"; position: absolute; z-index: 0; left: -1vw; bottom: -3vw; color: rgba(17,21,26,.035); font-size: clamp(120px, 22vw, 340px); font-weight: 900; letter-spacing: -.09em; pointer-events: none; }
.contact-layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(360px,.85fr) minmax(520px,1.15fr); gap: clamp(70px, 9vw, 150px); align-items: start; }
.contact-intro h2 { margin: 24px 0 28px; font-size: clamp(50px, 6.2vw, 90px); line-height: .96; letter-spacing: -.07em; }
.contact-intro h2 span { color: var(--accent); }
.contact-intro > p:not(.section-index) { margin: 0; font-size: 13px; line-height: 2; color: var(--muted); }
.contact-channel { margin-top: 49px; padding-top: 23px; border-top: 1px solid rgba(17,21,26,.2); display: flex; flex-direction: column; gap: 11px; }
.contact-channel > span { display: flex; align-items: center; gap: 10px; font-size: 8px; font-weight: 800; letter-spacing: .18em; color: var(--muted); }
.contact-channel i { width: 7px; height: 7px; border-radius: 50%; background: #33b56c; box-shadow: 0 0 0 5px rgba(51,181,108,.11); }
.contact-channel strong { font-size: 13px; }
.contact-channel small { color: var(--muted); font-size: 10px; }
.contact-form { padding: 31px; border: 1px solid rgba(17,21,26,.12); border-radius: 26px; background: rgba(255,255,255,.88); box-shadow: var(--shadow-soft); backdrop-filter: blur(12px); }
.form-head { margin-bottom: 28px; padding-bottom: 17px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: 8px; font-weight: 800; letter-spacing: .18em; }
.form-head b { color: var(--accent); }
.contact-form label { position: relative; display: block; margin-bottom: 20px; }
.contact-form label > span:first-child { display: block; margin-bottom: 9px; font-size: 9px; font-weight: 700; letter-spacing: .05em; }
.contact-form label > span b { margin-left: 7px; color: var(--accent); font-size: 7px; }
.form-row { display: grid; gap: 14px; }
.form-row-two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form select, .contact-form textarea {
  width: 100%;
  border: 1px solid #d5d8d4;
  border-radius: 11px;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form select { height: 50px; padding: 0 14px; }
.contact-form textarea { min-height: 158px; padding: 14px; resize: vertical; line-height: 1.7; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17,21,26,.05); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #a4a9ad; font-size: 10px; }
.contact-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #60656b 50%), linear-gradient(135deg, #60656b 50%, transparent 50%); background-position: calc(100% - 17px) 21px, calc(100% - 12px) 21px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.contact-form .is-invalid { border-color: var(--accent) !important; background: rgba(229,31,54,.025); }
.char-count { position: absolute; right: 11px; bottom: 9px; color: var(--muted-2); font-size: 7px; }
.form-consent { margin: 2px 0 20px !important; display: flex !important; align-items: center; gap: 10px; }
.form-consent input { width: 16px; height: 16px; accent-color: var(--accent); }
.form-consent span { margin: 0 !important; font-size: 9px !important; color: var(--muted); }
.form-consent a { border-bottom: 1px solid currentColor; }
.form-submit { width: 100%; border: 0; cursor: pointer; }
.form-submit:disabled { opacity: .65; cursor: wait; }
.form-errors { min-height: 18px; margin-top: 10px; color: var(--accent); font-size: 9px; line-height: 1.6; }
.form-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }

/* Footer */
.site-footer { padding: 65px 0 22px; color: #fff; background: var(--dark); }
.footer-top { padding-bottom: 56px; display: flex; align-items: flex-start; justify-content: space-between; gap: 60px; border-bottom: 1px solid rgba(255,255,255,.13); }
.footer-brand picture { display: block; width: min(240px, 100%); }
.footer-brand img { width: 100%; height: auto; aspect-ratio: 1099 / 303; object-fit: contain; filter: brightness(0) invert(1); }
.footer-brand p { margin: 14px 0 0; font-size: 8px; letter-spacing: .19em; color: rgba(255,255,255,.42); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 24px 35px; }
.footer-nav a { font-size: 9px; font-weight: 700; letter-spacing: .15em; color: rgba(255,255,255,.62); transition: color .25s; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { padding-top: 20px; display: flex; justify-content: space-between; gap: 30px; color: rgba(255,255,255,.36); font-size: 8px; letter-spacing: .10em; }
.footer-bottom p { margin: 0; }
.footer-bottom > div { display: flex; gap: 26px; }

/* Project dialog */
.project-dialog { width: min(1160px, calc(100% - 40px)); max-height: calc(100svh - 40px); padding: 0; overflow: auto; border: 0; border-radius: 28px; color: var(--ink); background: var(--surface); box-shadow: 0 34px 100px rgba(0,0,0,.32); }
.project-dialog::backdrop { background: rgba(7,10,14,.76); backdrop-filter: blur(10px); }
.dialog-close { position: fixed; z-index: 5; top: max(34px, calc((100svh - min(760px, 100svh - 40px)) / 2 + 18px)); right: max(34px, calc((100vw - min(1160px, 100vw - 40px)) / 2 + 18px)); width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; color: #fff; background: rgba(13,17,22,.85); font-size: 22px; cursor: pointer; }
.project-dialog[open] { display: grid; grid-template-columns: 1.15fr .85fr; animation: dialogIn .45s var(--ease-out); }
@keyframes dialogIn { from { opacity: 0; transform: translateY(25px) scale(.98); } }
.dialog-image-wrap { min-height: 650px; background: var(--dark); }
.dialog-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.dialog-image-wrap img.is-contain { padding: clamp(18px,2.4vw,34px); object-fit: contain; background: #080b12; }
.dialog-content { padding: clamp(45px, 5vw, 72px); align-self: center; }
.dialog-label { margin: 0 0 18px; color: var(--accent); font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.dialog-content h2 { margin: 0; font-size: clamp(36px, 4vw, 60px); line-height: .98; letter-spacing: -.06em; }
.dialog-copy { margin: 17px 0 25px; font-size: 14px; font-weight: 700; }
.dialog-body { margin: 0; font-size: 12px; line-height: 2; color: var(--muted); }
.dialog-tags { margin: 30px 0 0; padding: 22px 0 0; display: flex; flex-wrap: wrap; gap: 7px; border-top: 1px solid var(--line); list-style: none; }
.dialog-tags li { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; font-size: 7px; font-weight: 700; letter-spacing: .07em; }
.dialog-status { margin: 25px 0 0; color: var(--accent); font-size: 8px; font-weight: 800; letter-spacing: .15em; }

/* Subpages and status */
.subpage, .status-page { min-height: 100svh; padding: 70px 24px; display: grid; place-items: center; background: var(--bg); }
.subpage-card, .status-page > div { width: min(850px, 100%); padding: clamp(35px, 6vw, 75px); border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--shadow-soft); }
.subpage-kicker, .status-code { margin: 0 0 20px; color: var(--accent); font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.subpage h1, .status-page h1 { margin: 0 0 40px; font-size: clamp(43px, 7vw, 76px); line-height: .98; letter-spacing: -.07em; }
.subpage h2 { margin: 42px 0 12px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 20px; }
.subpage p, .status-page p { font-size: 12px; line-height: 2; color: var(--muted); }
.subpage .updated { margin-top: 40px; font-size: 9px; }
.subpage-back { display: inline-block; margin-top: 35px; padding-bottom: 5px; border-bottom: 1px solid var(--ink); font-size: 10px; font-weight: 700; }
.status-page .button { margin-top: 20px; }

/* Responsive */
@media (max-width: 1240px) {
  :root { --header-h: 72px; }
  .header-system { display: none; }
  .brand { width: 190px; }
  .global-nav { gap: 22px; }
  .hero-layout { grid-template-columns: minmax(0,.95fr) minmax(430px,.78fr); gap: 48px; }
  .hero-stage { min-height: 500px; }
  .engine-layout { grid-template-columns: minmax(280px,.64fr) minmax(560px,1.36fr); gap: 48px; }
  .about-layout { grid-template-columns: minmax(0,.88fr) minmax(360px,1fr); }
  .about-mark { display: none; }
}

@media (max-width: 1020px) {
  .container { width: min(calc(100% - 48px), var(--container)); }
  .global-nav > a:not(.nav-contact) { display: none; }
  .hero { padding-top: calc(var(--header-h) + 80px); }
  .hero-layout { grid-template-columns: 1fr; gap: 55px; }
  .hero-copy { padding-left: 0; max-width: 820px; }
  .hero-title { font-size: clamp(72px, 12vw, 115px); }
  .hero-stage-wrap { width: min(760px, 100%); margin-left: auto; }
  .hero-stage { min-height: auto; }
  .hero-pipeline { display: none; }
  .scroll-cue { display: none; }
  .statement-grid { grid-template-columns: 1fr; gap: 35px; }
  .section-head { grid-template-columns: 1fr; gap: 25px; }
  .section-description { max-width: 650px; }
  .work-card-wide { min-height: 560px; }
  .works-live-head { grid-template-columns: 1fr minmax(250px,380px); gap: 38px; }
  .engine-layout { grid-template-columns: 1fr; }
  .engine-copy { max-width: 780px; }
  .engine-visual { width: min(760px,100%); margin-inline: auto; }
  .engine-stack { grid-template-columns: repeat(3,1fr); }
  .engine-stack span:nth-child(3) { border-right: 0; }
  .engine-stack span:nth-child(-n+3) { border-bottom: 1px solid rgba(255,255,255,.13); }
  .service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .approach-layout { grid-template-columns: 1fr; gap: 50px; }
  .approach-sticky { position: static; max-width: 700px; }
  .about-layout { grid-template-columns: 1fr; gap: 55px; }
  .about-main { max-width: 760px; }
  .values { max-width: 760px; margin-left: auto; width: 100%; }
  .company-layout, .contact-layout { grid-template-columns: 1fr; gap: 60px; }
  .company-layout > div:first-child, .contact-intro { max-width: 760px; }
  .contact-form { width: min(760px,100%); margin-left: auto; }
}

@media (max-width: 820px) {
  :root { --header-h: 64px; --radius-lg: 26px; }
  .container { width: min(calc(100% - 32px), var(--container)); }
  .site-header { top: 10px; }
  .header-inner { width: calc(100% - 20px); height: var(--header-h); padding: 0 8px 0 15px; border-radius: 18px; }
  .brand { width: 164px; }
  .nav-contact { display: none; }
  .menu-button { position: relative; display: block; }
  .global-nav {
    position: fixed;
    z-index: -1;
    inset: 0;
    margin: 0;
    padding: 118px 28px 36px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    color: #fff;
    background: rgba(13,17,22,.97);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: opacity .35s, visibility .35s, transform .35s var(--ease-out);
  }
  .global-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .global-nav > a:not(.nav-contact) { display: flex; min-height: 62px; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.13); font-size: 20px; letter-spacing: -.02em; }
  .global-nav > a:not(.nav-contact)::after { content: "↗"; position: static; width: auto; height: auto; color: var(--accent); background: none; transform: none; }
  .hero { min-height: auto; padding: calc(var(--header-h) + 74px) 0 80px; }
  .hero-eyebrow { margin-bottom: 24px; }
  .hero-title { font-size: clamp(58px, 15vw, 90px); }
  .hero-lead { margin-top: 25px; }
  .hero-actions { margin-top: 26px; }
  .hero-stage { min-height: 520px; }
  .stage-core { width: 70%; }
  .core-wordmark strong { font-size: 62px; }
  .stage-models { display: none; }
  .hero-caption { justify-content: flex-start; }
  .section { padding: 95px 0; }
  .section-head h2, .approach-sticky h2, .company-layout h2 { font-size: clamp(43px, 10vw, 67px); }
  .statement-big { font-size: clamp(44px, 10vw, 70px); }
  .statement-subgrid { grid-template-columns: 1fr; gap: 30px; }
  .statement-en { padding-top: 25px; border-top: 1px solid var(--line); }
  .works-grid { grid-template-columns: 1fr; }
  .works-live { margin-top: 78px; padding-top: 52px; }
  .works-live-head { grid-template-columns: 1fr; gap: 18px; }
  .works-live-head > p { max-width: 620px; }
  .live-works-grid { grid-template-columns: 1fr; }
  .external-work-card { min-height: 420px; }
  .work-card-contain img { object-fit: cover; transform: none; }
  .work-card-contain:hover img { transform: scale(1.025); }
  .work-card-wide { grid-column: auto; min-height: 470px; }
  .work-card { min-height: 420px; }
  .work-bottom strong, .work-card:not(.work-card-wide) .work-bottom strong { font-size: clamp(25px, 7vw, 38px); }
  .engine-copy h2 { font-size: clamp(50px, 11vw, 76px); }
  .engine-visual { min-height: 620px; }
  .engine-node { width: 164px; min-height: 95px; }
  .engine-node-a, .engine-node-c { left: 18px; }
  .engine-node-b, .engine-node-d { right: 18px; }
  .engine-core { width: 180px; height: 180px; }
  .engine-output { width: 48%; bottom: 18px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 320px; }
  .process-step { grid-template-columns: 50px minmax(0,1fr) 28px; gap: 15px; padding-right: 0; }
  .about-main h2 { font-size: clamp(58px, 13vw, 88px); }
  .about-orbit { width: 80vw; height: 80vw; right: -35vw; }
  .company-table > div { grid-template-columns: 130px minmax(0,1fr); }
  .contact-intro h2 { font-size: clamp(47px, 10vw, 72px); }
  .footer-top { flex-direction: column; }
  .footer-nav { justify-content: flex-start; }
  .project-dialog[open] { display: block; }
  .dialog-image-wrap { min-height: auto; aspect-ratio: 16 / 10; }
  .dialog-close { top: 30px; right: 30px; }
}

@media (max-width: 620px) {
  .desktop-only { display: none; }
  .hero-title { font-size: clamp(51px, 15vw, 78px); line-height: .89; }
  .hero-lead { font-size: 13px; line-height: 1.9; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-capabilities { gap: 6px; }
  .hero-capabilities span { padding: 7px 9px; font-size: 7px; }
  .hero-stage { min-height: 440px; aspect-ratio: .88 / 1; border-radius: 27px; }
  .hero-stage::before { inset: 8px; border-radius: 20px; }
  .stage-header, .stage-footer { left: 19px; right: 19px; }
  .stage-time { display: none; }
  .stage-core { top: 47%; width: 86%; }
  .core-wordmark small { font-size: 6px; }
  .core-wordmark strong { font-size: clamp(49px, 16vw, 68px); }
  .stage-input { left: 16px; top: 18%; min-width: 132px; padding: 11px 12px; }
  .stage-output { right: 16px; bottom: 16%; min-width: 160px; padding: 11px 12px; }
  .stage-footer span:last-child { display: none; }
  .hero-caption { font-size: 6px; line-height: 1.5; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 43px; }
  .section-head h2, .approach-sticky h2, .company-layout h2 { font-size: clamp(39px, 11vw, 56px); }
  .statement-line { margin: 38px 0 28px; }
  .work-card, .work-card-wide { min-height: 390px; border-radius: 22px; }
  .external-work-card { min-height: 365px; }
  .works-live { margin-top: 64px; padding-top: 43px; }
  .works-live-head h3 { font-size: clamp(39px,11vw,56px); }
  .work-topline { top: 18px; left: 19px; right: 19px; }
  .work-topline span:last-child { display: none; }
  .work-bottom { left: 20px; right: 20px; bottom: 20px; }
  .work-bottom small { font-size: 9px; }
  .work-bottom > i { width: 43px; height: 43px; }
  .engine-visual { min-height: 690px; border-radius: 25px; }
  .engine-lines { opacity: .45; }
  .engine-node { width: calc(50% - 28px); min-height: 113px; padding: 14px; }
  .engine-node-a { left: 14px; top: 14px; }
  .engine-node-b { right: 14px; top: 14px; }
  .engine-node-c { left: 14px; bottom: 14px; }
  .engine-node-d { right: 14px; bottom: 14px; }
  .engine-node strong { font-size: 11px; }
  .engine-node small { font-size: 7px; }
  .engine-core { width: 168px; height: 168px; }
  .engine-core::after { inset: -34px; }
  .engine-output { width: 78%; bottom: 135px; padding: 12px 8px; }
  .engine-stack { grid-template-columns: repeat(2,1fr); }
  .engine-stack span { min-height: 52px; font-size: 7px; }
  .engine-stack span:nth-child(2n) { border-right: 0; }
  .engine-stack span:nth-child(-n+4) { border-bottom: 1px solid rgba(255,255,255,.13); }
  .service-card { padding: 28px 25px; }
  .service-card ul { left: 25px; right: 25px; }
  .red-ticker { transform: rotate(-1.4deg) scale(1.03); }
  .process-step { min-height: 175px; grid-template-columns: 37px minmax(0,1fr) 27px; }
  .process-step h3 { font-size: 23px; }
  .about-main h2 { font-size: clamp(53px, 15vw, 76px); }
  .values article { grid-template-columns: 35px minmax(0,1fr); gap: 14px; }
  .company-table > div { grid-template-columns: 1fr; gap: 8px; padding: 19px 0; }
  .contact-layout { gap: 45px; }
  .contact-intro h2 { font-size: clamp(43px, 12vw, 61px); }
  .contact-form { padding: 22px 18px; border-radius: 20px; }
  .form-row-two { grid-template-columns: 1fr; gap: 0; }
  .footer-bottom { flex-direction: column; }
  .footer-bottom > div { justify-content: space-between; }
  .project-dialog { width: calc(100% - 20px); max-height: calc(100svh - 20px); border-radius: 22px; }
  .dialog-content { padding: 34px 24px; }
  .dialog-close { top: 20px; right: 20px; }
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
  .tilt-card { transform: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .site-loader { display: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js body.is-loading .title-mask > span { transform: none; }
}

/* =========================================================
   v3.3 / TYPOGRAPHY & VISUAL REFINEMENT
   Clearer Japanese typography, stronger hierarchy, improved
   readability, and more balanced spacing across all devices.
   ========================================================= */
:root {
  --font-body: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-display: "Manrope", "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Sans", sans-serif;
  --font-ui: "Manrope", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --font-en: "Manrope", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --muted: #5f666d;
  --muted-2: #7d858c;
  --line: #d6dad5;
  --shadow: 0 28px 84px rgba(18,22,27,.11);
  --shadow-soft: 0 16px 44px rgba(18,22,27,.09);
}

html { font-size: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: .012em;
  font-kerning: normal;
  font-optical-sizing: auto;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}
p { text-wrap: pretty; }

.hero-title,
.statement-big,
.section-head h2,
.works-live-head h3,
.engine-copy h2,
.service-card h3,
.approach-sticky h2,
.process-step h3,
.about-main h2,
.values h3,
.company-layout h2,
.contact-intro h2,
.dialog-content h2,
.subpage h1,
.status-page h1,
.loader-copy strong,
.work-bottom strong,
.core-wordmark,
.engine-node strong,
.engine-core,
.engine-output strong {
  font-family: var(--font-display);
  font-kerning: normal;
  text-wrap: balance;
}

.eyebrow,
.section-index,
.header-system,
.global-nav,
.button,
.hero-capabilities,
.stage-header,
.stage-footer,
.stage-panel,
.stage-models,
.hero-caption,
.hero-pipeline,
.scroll-cue,
.statement-en,
.kinetic-track,
.work-topline,
.work-live-status,
.engine-status,
.engine-stack,
.service-number,
.service-ja,
.service-card li,
.red-ticker,
.process-no,
.process-step div > p,
.about-mark span,
.values article > span,
.company-table dt,
.contact-channel > span,
.form-head,
.contact-form label > span:first-child,
.contact-form label > span b,
.char-count,
.form-consent,
.footer-brand p,
.footer-nav,
.footer-bottom,
.dialog-label,
.dialog-tags,
.dialog-status,
.subpage-kicker,
.status-code,
.subpage-back {
  font-family: var(--font-ui);
}

.section { padding: clamp(104px, 8.5vw, 148px) 0; }
.eyebrow,
.section-index {
  font-size: 10.5px;
  line-height: 1.25;
  letter-spacing: .15em;
}
.section-index {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.section-index::before {
  content: "";
  flex: 0 0 auto;
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: .9;
}
.section-head { gap: 72px; }
.section-head h2,
.approach-sticky h2,
.company-layout h2 {
  margin-top: 22px;
  font-size: clamp(46px, 5.25vw, 76px);
  font-weight: 900;
  line-height: 1.035;
  letter-spacing: -.045em;
}
.section-description {
  max-width: 480px;
  margin-bottom: 4px;
  font-size: 15px;
  line-height: 1.92;
  letter-spacing: .015em;
}

/* Header */
.header-inner { padding-inline: 24px 17px; }
.brand { width: 214px; }
.header-system {
  font-size: 9.5px;
  letter-spacing: .125em;
}
.global-nav > a:not(.nav-contact) {
  font-size: 11px;
  letter-spacing: .11em;
}
.nav-contact {
  min-width: 136px;
  font-size: 11px;
  letter-spacing: .11em;
}

/* Buttons */
.button {
  min-height: 60px;
  padding-inline: 25px 20px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: .015em;
}

/* Hero */
.hero-title {
  font-size: clamp(68px, 7.45vw, 118px);
  line-height: .91;
  letter-spacing: -.057em;
}
.hero-lead {
  max-width: 680px;
  margin-top: 35px;
  font-size: clamp(15.5px, 1.02vw, 17.5px);
  line-height: 1.95;
  letter-spacing: .018em;
  color: #4f565d;
}
.hero-capabilities span {
  padding: 9px 13px;
  font-size: 9.5px;
  letter-spacing: .12em;
}
.stage-header,
.stage-footer {
  font-size: 9px;
  letter-spacing: .13em;
}
.core-wordmark small {
  font-size: 8.5px;
  letter-spacing: .22em;
}
.stage-panel .panel-label {
  font-size: 8.5px;
  letter-spacing: .14em;
}
.stage-panel strong { font-size: 12.5px; }
.stage-models span {
  padding: 6px 9px;
  font-size: 7.5px;
  letter-spacing: .10em;
}
.hero-caption,
.hero-pipeline,
.scroll-cue {
  font-size: 8.5px;
  letter-spacing: .12em;
}

/* Statement */
.statement-big {
  font-size: clamp(52px, 6.05vw, 92px);
  line-height: 1.075;
  letter-spacing: -.048em;
}
.statement-subgrid > p:first-child {
  max-width: 720px;
  font-size: 15.5px;
  line-height: 2;
}
.statement-en {
  font-size: 11px;
  line-height: 1.85;
  letter-spacing: .14em;
}
.kinetic-track span {
  font-size: 13px;
  letter-spacing: .13em;
}

/* Works */
.work-shade {
  background: linear-gradient(to bottom, rgba(5,8,12,.11), rgba(5,8,12,.04) 34%, rgba(5,8,12,.84) 100%);
}
.work-topline {
  top: 24px;
  left: 27px;
  right: 27px;
  font-size: 9px;
  letter-spacing: .12em;
}
.work-bottom {
  left: 30px;
  right: 30px;
  bottom: 29px;
}
.work-bottom > span { gap: 10px; }
.work-bottom strong {
  max-width: min(88%, 900px);
  font-size: clamp(30px, 3.15vw, 50px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -.038em;
}
.work-card:not(.work-card-wide) .work-bottom strong {
  font-size: clamp(26px, 2.15vw, 35px);
}
.work-bottom small {
  font-size: 12.5px;
  line-height: 1.45;
  letter-spacing: .025em;
  color: rgba(255,255,255,.88);
}
.works-live-head h3 {
  font-size: clamp(48px, 5.3vw, 74px);
  line-height: 1;
  letter-spacing: -.045em;
}
.works-live-head > p {
  max-width: 460px;
  font-size: 14.5px;
  line-height: 1.9;
}
.works-live-kicker {
  font-size: 9.5px;
  letter-spacing: .14em;
}
.external-work-card .work-bottom strong {
  font-size: clamp(27px, 2.35vw, 38px);
}
.work-live-status {
  top: 51px;
  left: 27px;
  padding: 8px 11px;
  font-size: 9px;
  letter-spacing: .11em;
}

/* AI Engine */
.engine-copy h2 {
  font-size: clamp(54px, 5.8vw, 86px);
  line-height: .985;
  letter-spacing: -.048em;
}
.engine-copy > p {
  max-width: 540px;
  font-size: 15.5px;
  line-height: 1.98;
  color: rgba(255,255,255,.70);
}
.engine-status span {
  font-size: 9.5px;
  letter-spacing: .14em;
  color: rgba(255,255,255,.58);
}
.engine-status strong {
  font-size: 13.5px;
  letter-spacing: .075em;
}
.engine-node {
  width: 202px;
  min-height: 114px;
  padding: 18px 20px;
}
.engine-node span {
  margin-bottom: 11px;
  font-size: 9.5px;
  letter-spacing: .13em;
}
.engine-node strong {
  font-size: 14.5px;
  line-height: 1.25;
  letter-spacing: .015em;
}
.engine-node small {
  font-size: 10.5px;
  line-height: 1.55;
  color: rgba(255,255,255,.64);
}
.engine-core small {
  font-size: 8.5px;
  letter-spacing: .20em;
  color: rgba(255,255,255,.58);
}
.engine-core strong {
  font-size: 15px;
  letter-spacing: .09em;
}
.engine-output { width: min(340px, 50%); }
.engine-output > span {
  font-size: 8.5px;
  letter-spacing: .15em;
}
.engine-output strong { font-size: 12.5px; }
.engine-output p {
  font-size: 10.5px;
  line-height: 1.55;
  color: rgba(255,255,255,.60);
}
.engine-stack span {
  min-height: 62px;
  padding: 8px;
  font-size: 9.5px;
  line-height: 1.35;
  letter-spacing: .10em;
  text-align: center;
  color: rgba(255,255,255,.66);
}

/* Services */
.service-card {
  min-height: 405px;
  padding: 37px 35px 32px;
}
.service-number {
  font-size: 10.5px;
  letter-spacing: .13em;
}
.service-card h3 {
  margin-top: 56px;
  font-size: clamp(24px, 1.85vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
}
.service-ja {
  margin-bottom: 23px !important;
  font-size: 13px !important;
  letter-spacing: .02em;
}
.service-card > p:not(.service-ja) {
  max-width: 350px;
  font-size: 14.5px;
  line-height: 1.82;
}
.service-card ul {
  left: 35px;
  right: 35px;
  bottom: 29px;
}
.service-card li {
  padding: 6px 10px;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: .025em;
}
.red-ticker span {
  font-size: 9.5px;
  letter-spacing: .13em;
}

/* Approach */
.approach-sticky > p:not(.section-index) {
  max-width: 470px;
  font-size: 15px;
  line-height: 1.95;
}
.approach-meter b {
  font-size: 10.5px;
  letter-spacing: .10em;
}
.process-step {
  min-height: 204px;
  padding-top: 36px;
  padding-bottom: 36px;
}
.process-no {
  font-size: 11px;
  letter-spacing: .12em;
}
.process-step div > p {
  margin-bottom: 10px;
  font-size: 10px;
  letter-spacing: .15em;
}
.process-step h3 {
  font-size: clamp(28px, 2.25vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.028em;
}
.process-step small {
  margin-top: 16px;
  max-width: 580px;
  font-size: 13.5px;
  line-height: 1.78;
}

/* About */
.about-main h2 {
  font-size: clamp(62px, 6.65vw, 102px);
  line-height: .94;
  letter-spacing: -.05em;
}
.about-main > p:not(.section-index) {
  font-size: 15px;
  line-height: 2;
  color: rgba(255,255,255,.70);
}
.about-mark span {
  font-size: 8.5px;
  letter-spacing: .17em;
}
.values article {
  min-height: 146px;
  padding-block: 28px;
}
.values article > span {
  font-size: 10.5px;
  letter-spacing: .11em;
}
.values h3 {
  margin-bottom: 11px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.values p {
  max-width: 500px;
  font-size: 13.5px;
  line-height: 1.78;
  color: rgba(255,255,255,.64);
}

/* Company */
.company-table > div {
  min-height: 96px;
  padding-block: 25px;
  grid-template-columns: 165px minmax(0,1fr);
}
.company-table dt {
  font-size: 11.5px;
  line-height: 1.5;
  letter-spacing: .045em;
}
.company-table dd {
  font-size: 15px;
  line-height: 1.82;
  letter-spacing: .012em;
}

/* Contact */
.contact-intro h2 {
  font-size: clamp(52px, 5.95vw, 86px);
  line-height: 1.015;
  letter-spacing: -.047em;
}
.contact-intro > p:not(.section-index) {
  font-size: 15px;
  line-height: 1.95;
}
.contact-channel > span {
  font-size: 9.5px;
  letter-spacing: .14em;
}
.contact-channel strong {
  font-size: 15px;
  line-height: 1.55;
}
.contact-channel small {
  font-size: 12px;
  line-height: 1.6;
}
.contact-form {
  padding: 36px;
  border-radius: 28px;
}
.form-head {
  font-size: 10px;
  letter-spacing: .14em;
}
.contact-form label { margin-bottom: 23px; }
.contact-form label > span:first-child {
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: .025em;
}
.contact-form label > span b {
  font-size: 9px;
  letter-spacing: .05em;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select {
  height: 55px;
  padding-inline: 16px;
  font-size: 16px;
}
.contact-form textarea {
  min-height: 180px;
  padding: 16px;
  font-size: 16px;
  line-height: 1.75;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  font-size: 13px;
  color: #92999f;
}
.contact-form select {
  background-position: calc(100% - 18px) 24px, calc(100% - 13px) 24px;
}
.char-count {
  right: 13px;
  bottom: 10px;
  font-size: 9.5px;
}
.form-consent span {
  font-size: 11.5px !important;
  line-height: 1.55;
}
.form-errors {
  font-size: 11.5px;
  line-height: 1.6;
}

/* Footer, dialog and utility pages */
.footer-brand p {
  font-size: 9.5px;
  letter-spacing: .14em;
}
.footer-nav a {
  font-size: 10.5px;
  letter-spacing: .11em;
}
.footer-bottom {
  font-size: 9.5px;
  line-height: 1.6;
  letter-spacing: .06em;
}
.dialog-label,
.dialog-status {
  font-size: 9.5px;
  letter-spacing: .12em;
}
.dialog-content h2 {
  font-size: clamp(38px, 3.8vw, 58px);
  line-height: 1.04;
  letter-spacing: -.04em;
}
.dialog-copy {
  font-size: 15.5px;
  line-height: 1.55;
}
.dialog-body {
  font-size: 14.5px;
  line-height: 1.9;
}
.dialog-tags li {
  padding: 7px 10px;
  font-size: 10px;
  letter-spacing: .025em;
}
.subpage-kicker,
.status-code {
  font-size: 10.5px;
  letter-spacing: .14em;
}
.subpage h1,
.status-page h1 {
  font-size: clamp(46px, 6.5vw, 74px);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.subpage h2 {
  margin-top: 48px;
  font-size: 23px;
  line-height: 1.45;
}
.subpage p,
.status-page p {
  font-size: 15px;
  line-height: 1.95;
}
.subpage .updated { font-size: 11.5px; }
.subpage-back { font-size: 12px; }

@media (max-width: 1240px) {
  .brand { width: 198px; }
  .engine-node { width: 192px; }
}

@media (max-width: 1020px) {
  .section { padding: 100px 0; }
  .hero-title { font-size: clamp(70px, 11.5vw, 108px); }
  .section-head { gap: 28px; }
  .section-description { max-width: 690px; }
  .engine-copy > p { max-width: 650px; }
}

@media (max-width: 820px) {
  body { font-size: 15.5px; }
  .header-inner { padding-left: 17px; }
  .brand { width: 172px; }
  .global-nav > a:not(.nav-contact) {
    min-height: 66px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.01em;
  }
  .hero-title {
    font-size: clamp(58px, 14.6vw, 86px);
    line-height: .94;
    letter-spacing: -.05em;
  }
  .hero-lead {
    font-size: 15px;
    line-height: 1.9;
  }
  .section { padding: 88px 0; }
  .section-head h2,
  .approach-sticky h2,
  .company-layout h2 {
    font-size: clamp(43px, 9.8vw, 64px);
    line-height: 1.06;
  }
  .section-description { font-size: 14.5px; }
  .statement-big {
    font-size: clamp(46px, 10vw, 68px);
    line-height: 1.1;
  }
  .statement-subgrid > p:first-child { font-size: 15px; }
  .work-topline {
    font-size: 8.5px;
    left: 22px;
    right: 22px;
  }
  .work-bottom {
    left: 24px;
    right: 24px;
    bottom: 24px;
  }
  .work-bottom strong,
  .work-card:not(.work-card-wide) .work-bottom strong {
    font-size: clamp(28px, 6.7vw, 39px);
    line-height: 1.04;
  }
  .work-bottom small { font-size: 11.5px; }
  .work-live-status {
    left: 22px;
    font-size: 8.5px;
  }
  .works-live-head h3 {
    font-size: clamp(43px, 10vw, 62px);
    line-height: 1.04;
  }
  .works-live-head > p { font-size: 14px; }
  .engine-copy h2 {
    font-size: clamp(52px, 10.5vw, 74px);
    line-height: 1.01;
  }
  .engine-copy > p { font-size: 15px; }
  .engine-node {
    width: 172px;
    min-height: 104px;
    padding: 16px 17px;
  }
  .engine-node strong { font-size: 13.5px; }
  .engine-node small { font-size: 9.5px; }
  .service-card {
    min-height: 390px;
    padding: 34px 31px 31px;
  }
  .service-card > p:not(.service-ja) { font-size: 14px; }
  .process-step small { font-size: 13px; }
  .about-main h2 {
    font-size: clamp(58px, 12.5vw, 84px);
    line-height: .97;
  }
  .about-main > p:not(.section-index) { font-size: 14.5px; }
  .values p { font-size: 13px; }
  .company-table dt { font-size: 11px; }
  .company-table dd { font-size: 14.5px; }
  .contact-intro h2 {
    font-size: clamp(48px, 10vw, 70px);
    line-height: 1.04;
  }
  .contact-intro > p:not(.section-index) { font-size: 14.5px; }
  .contact-form { padding: 30px; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 36px), var(--container)); }
  .eyebrow,
  .section-index { font-size: 9.5px; }
  .section-index::before { width: 18px; }
  .hero {
    padding-top: calc(var(--header-h) + 66px);
    padding-bottom: 74px;
  }
  .hero-title {
    font-size: clamp(49px, 14vw, 72px);
    line-height: .96;
    letter-spacing: -.048em;
  }
  .hero-lead {
    margin-top: 26px;
    font-size: 14.5px;
    line-height: 1.86;
  }
  .button {
    min-height: 58px;
    font-size: 13.5px;
  }
  .hero-capabilities span { font-size: 8.5px; }
  .stage-header,
  .stage-footer { font-size: 8px; }
  .stage-panel .panel-label { font-size: 7.5px; }
  .stage-panel strong { font-size: 11.5px; }
  .hero-caption { font-size: 7.5px; }
  .section { padding: 78px 0; }
  .section-head { margin-bottom: 46px; }
  .section-head h2,
  .approach-sticky h2,
  .company-layout h2 {
    font-size: clamp(39px, 10.6vw, 54px);
    line-height: 1.08;
    letter-spacing: -.04em;
  }
  .section-description {
    font-size: 14px;
    line-height: 1.85;
  }
  .statement-big {
    font-size: clamp(42px, 10.8vw, 59px);
    line-height: 1.11;
  }
  .statement-subgrid > p:first-child {
    font-size: 14.5px;
    line-height: 1.9;
  }
  .statement-en { font-size: 10px; }
  .work-card,
  .work-card-wide { min-height: 410px; }
  .external-work-card { min-height: 385px; }
  .work-topline {
    top: 20px;
    left: 20px;
    right: 20px;
    font-size: 8px;
  }
  .work-bottom {
    left: 21px;
    right: 21px;
    bottom: 22px;
  }
  .work-bottom strong,
  .work-card:not(.work-card-wide) .work-bottom strong {
    max-width: calc(100% - 55px);
    font-size: clamp(25px, 7vw, 33px);
    line-height: 1.06;
  }
  .work-bottom small {
    font-size: 10.5px;
    line-height: 1.45;
  }
  .work-live-status {
    top: 48px;
    left: 20px;
    font-size: 8px;
  }
  .works-live-head h3 {
    font-size: clamp(40px, 10.7vw, 54px);
    line-height: 1.07;
  }
  .works-live-head > p {
    font-size: 13.5px;
    line-height: 1.82;
  }
  .engine-copy h2 {
    font-size: clamp(48px, 11.2vw, 68px);
    line-height: 1.03;
  }
  .engine-copy > p {
    font-size: 14.5px;
    line-height: 1.9;
  }
  .engine-node {
    width: calc(50% - 27px);
    min-height: 116px;
    padding: 15px;
  }
  .engine-node span { font-size: 8.5px; }
  .engine-node strong { font-size: 12.5px; }
  .engine-node small { font-size: 8.8px; }
  .engine-output > span { font-size: 7.5px; }
  .engine-output strong { font-size: 11.5px; }
  .engine-output p { font-size: 9.5px; }
  .engine-stack span { font-size: 8.5px; }
  .service-card {
    min-height: 395px;
    padding: 31px 27px;
  }
  .service-card h3 {
    margin-top: 53px;
    font-size: 25px;
  }
  .service-ja { font-size: 12.5px !important; }
  .service-card > p:not(.service-ja) {
    font-size: 14px;
    line-height: 1.8;
  }
  .service-card ul {
    left: 27px;
    right: 27px;
  }
  .service-card li { font-size: 9.5px; }
  .process-step {
    min-height: 188px;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .process-step h3 {
    font-size: 24px;
    line-height: 1.25;
  }
  .process-step small {
    font-size: 12.5px;
    line-height: 1.75;
  }
  .about-main h2 {
    font-size: clamp(52px, 14vw, 72px);
    line-height: .99;
  }
  .about-main > p:not(.section-index) {
    font-size: 14px;
    line-height: 1.9;
  }
  .values article { min-height: 138px; }
  .values h3 { font-size: 17px; }
  .values p {
    font-size: 12.5px;
    line-height: 1.72;
  }
  .company-table > div {
    gap: 10px;
    padding-block: 22px;
  }
  .company-table dt { font-size: 10.5px; }
  .company-table dd {
    font-size: 14.5px;
    line-height: 1.75;
  }
  .contact-intro h2 {
    font-size: clamp(41px, 11.3vw, 57px);
    line-height: 1.07;
  }
  .contact-intro > p:not(.section-index) {
    font-size: 14px;
    line-height: 1.85;
  }
  .contact-channel strong { font-size: 14px; }
  .contact-channel small { font-size: 11.5px; }
  .contact-form {
    padding: 25px 20px;
    border-radius: 22px;
  }
  .form-head { font-size: 9px; }
  .contact-form label > span:first-child { font-size: 11.5px; }
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form select,
  .contact-form textarea { font-size: 16px; }
  .footer-nav { gap: 21px 27px; }
  .footer-nav a { font-size: 10px; }
  .footer-bottom { font-size: 9px; }
  .dialog-content h2 { font-size: clamp(35px, 10vw, 49px); }
  .dialog-body { font-size: 14px; }
  .subpage h1,
  .status-page h1 { font-size: clamp(42px, 12vw, 58px); }
  .subpage p,
  .status-page p { font-size: 14.5px; }
}

/* v3.3.1 / wrapping and narrow-screen polish */
.hero-title,
.statement-big,
.section-head h2,
.works-live-head h3,
.engine-copy h2,
.approach-sticky h2,
.process-step h3,
.about-main h2,
.company-layout h2,
.contact-intro h2 {
  line-break: strict;
  word-break: auto-phrase;
}
.work-bottom > span {
  min-width: 0;
  flex: 1 1 auto;
}
.work-bottom strong {
  display: block;
  overflow-wrap: anywhere;
}
@media (min-width: 821px) {
  .external-work-card .work-bottom strong {
    font-size: clamp(25px, 2.05vw, 34px);
  }
  .contact-intro h2 {
    font-size: clamp(50px, 5.2vw, 78px);
  }
  .contact-intro h2 span { white-space: nowrap; }
}
@media (max-width: 620px) {
  .company-table > div {
    grid-template-columns: 1fr;
  }
  .company-table dd { max-width: none; }
}

/* v3.3.2 / viewport containment */
.hero-stage {
  width: 100%;
  max-width: 100%;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

@media (max-width: 620px) {
  .hero-stage {
    width: 100%;
    min-height: 0;
    height: clamp(390px, 112vw, 440px);
    aspect-ratio: auto;
  }
}

/* v3.4 / original IP showcase refresh */
.work-project-status {
  border-color: rgba(255,255,255,.42);
  background: rgba(8,12,17,.58);
}
.live-work-wide {
  grid-column: 1 / -1;
  min-height: 560px;
}
.live-work-wide .work-bottom strong {
  max-width: min(88%, 900px);
  font-size: clamp(30px, 3.15vw, 50px);
}
.dialog-actions {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.dialog-actions .dialog-status { margin: 0; }
.dialog-link {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  box-shadow: 0 12px 28px rgba(229,31,54,.19);
  transition: transform .3s var(--ease-out), background .3s, box-shadow .3s;
}
.dialog-link:hover {
  color: #fff;
  background: #c8142a;
  box-shadow: 0 16px 36px rgba(229,31,54,.27);
  transform: translateY(-2px);
}
.dialog-link span { font-size: 15px; line-height: 1; }

@media (max-width: 820px) {
  .live-work-wide {
    grid-column: auto;
    min-height: 440px;
  }
  .live-work-wide .work-bottom strong {
    font-size: clamp(27px, 7vw, 38px);
  }
  .dialog-actions { align-items: stretch; }
  .dialog-link { width: 100%; }
}

@media (max-width: 620px) {
  .live-work-wide { min-height: 395px; }
  .work-card[data-project="idolEmaki"] .work-bottom strong {
    font-size: clamp(23px, 6.4vw, 30px);
  }
}



/* v3.5 / official social channels */
.nav-socials {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: -7px;
}
.nav-social {
  position: relative;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17,21,26,.12);
  border-radius: 12px;
  background: rgba(255,255,255,.62);
  transition: color .3s, border-color .3s, background .3s, box-shadow .3s;
}
.nav-social::after { display: none !important; }
.nav-social svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.nav-social:hover {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(17,21,26,.14);
}
.nav-social-label { display: none; }

.company-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}
.company-socials a {
  min-height: 42px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(17,21,26,.14);
  border-radius: 13px;
  background: rgba(255,255,255,.62);
  transition: color .3s, border-color .3s, background .3s, transform .3s var(--ease-out);
}
.company-socials a:hover {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
  transform: translateY(-2px);
}
.company-socials span {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
}
.company-socials small {
  color: var(--muted);
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: color .3s;
}
.company-socials a:hover small { color: rgba(255,255,255,.65); }
.company-socials i {
  margin-left: 3px;
  font-family: var(--font-en);
  font-size: 12px;
  font-style: normal;
}

.footer-links {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 30px;
}
.footer-socials {
  display: grid;
  grid-template-columns: repeat(2, minmax(185px, 1fr));
  gap: 9px;
}
.footer-socials > a {
  min-height: 64px;
  padding: 0 17px;
  display: grid;
  grid-template-columns: 22px minmax(0,1fr) auto;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
  transition: color .3s, border-color .3s, background .3s, transform .3s var(--ease-out);
}
.footer-socials > a:hover {
  color: #fff;
  border-color: rgba(255,255,255,.34);
  background: rgba(255,255,255,.08);
  transform: translateY(-2px);
}
.footer-socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.footer-socials span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-socials strong {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
}
.footer-socials small {
  overflow: hidden;
  color: rgba(255,255,255,.42);
  font-family: var(--font-en);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.footer-socials i {
  color: var(--accent);
  font-size: 15px;
  font-style: normal;
}

@media (max-width: 1120px) and (min-width: 821px) {
  .global-nav { gap: 16px; }
  .nav-socials { gap: 5px; margin-left: -3px; }
  .nav-social { width: 34px; height: 34px; flex-basis: 34px; }
  .nav-contact { min-width: 116px; padding-inline: 15px; }
}

@media (max-width: 820px) {
  .global-nav {
    overflow-y: auto;
    justify-content: flex-start;
  }
  .nav-socials {
    order: 2;
    width: 100%;
    margin: 24px 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 9px;
  }
  .nav-social {
    width: auto;
    height: 66px;
    padding: 0 15px;
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    color: #fff;
    border-color: rgba(255,255,255,.15);
    border-radius: 16px;
    background: rgba(255,255,255,.045);
  }
  .nav-social svg { width: 17px; height: 17px; }
  .nav-social-label {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .nav-social-label strong {
    font-family: var(--font-en);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
  }
  .nav-social-label small {
    overflow: hidden;
    max-width: 100%;
    color: rgba(255,255,255,.47);
    font-family: var(--font-en);
    font-size: 8.5px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .footer-links {
    width: 100%;
    max-width: none;
    align-items: flex-start;
  }
  .footer-socials { width: min(100%, 470px); }
}

@media (max-width: 620px) {
  .global-nav { padding: 102px 20px 28px; }
  .global-nav > a:not(.nav-contact) { min-height: 54px; font-size: 18px; }
  .nav-socials { margin-top: 20px; }
  .nav-social { height: 61px; padding-inline: 13px; }
  .company-socials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .company-socials a {
    min-width: 0;
    padding-inline: 11px;
  }
  .company-socials small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .footer-socials {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .footer-socials > a { min-height: 60px; }
}

@media (max-height: 700px) and (max-width: 820px) {
  .global-nav { padding-top: 92px; }
  .global-nav > a:not(.nav-contact) { min-height: 46px; font-size: 17px; }
  .nav-socials { margin-top: 15px; }
  .nav-social { height: 55px; }
}

/* v3.5.1 / mobile navigation viewport fix */
@media (max-width: 820px) {
  .site-header { isolation: isolate; }
  .header-inner {
    position: relative;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .brand,
  .menu-button {
    position: relative;
    z-index: 3;
  }
  .global-nav { z-index: 2; }
  body.menu-open .header-inner {
    border-color: rgba(255,255,255,.12);
    background: rgba(13,17,22,.86);
    box-shadow: none;
  }
  body.menu-open .brand img { filter: brightness(0) invert(1); }
  body.menu-open .menu-button {
    color: var(--ink);
    background: #fff;
  }
  body.menu-open .menu-button span { background: var(--ink); }
}

/* =========================================================
   v3.6 / CRISP POINTER + PERSISTENT SMART HEADER
   Faster cursor response and an always-available navigation
   dock with scroll state and active-section feedback.
   ========================================================= */

/* Cursor: lighter rendering and near-immediate follow */
.cursor-dot,
.cursor-ring {
  will-change: transform, opacity;
  backface-visibility: hidden;
  transition: opacity .06s linear;
}
.cursor-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(229,31,54,.10);
}
.cursor-ring {
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-color: rgba(17,21,26,.48);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition:
    width .12s var(--ease-out),
    height .12s var(--ease-out),
    margin .12s var(--ease-out),
    background .10s ease,
    border-color .10s ease,
    opacity .06s linear;
}
.cursor-ring span {
  font-size: 7px;
  transition: opacity .07s linear;
}
.has-custom-cursor .cursor-dot,
.has-custom-cursor .cursor-ring { opacity: 0; }
.has-custom-cursor.cursor-active .cursor-dot,
.has-custom-cursor.cursor-active .cursor-ring { opacity: 1; }
.cursor-ring.is-hover {
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-color: var(--accent);
  background: rgba(229,31,54,.94);
}
.cursor-ring.is-form,
.cursor-dot.is-form { opacity: 0 !important; }

/* Header: never auto-hide; becomes a compact floating dock on scroll */
.site-header {
  transform: none !important;
  transition: top .18s var(--ease-out);
}
.site-header.is-hidden { transform: none !important; }
.header-inner {
  will-change: width, height, border-radius, background-color, box-shadow;
  transition:
    width .24s var(--ease-out),
    height .24s var(--ease-out),
    padding .24s var(--ease-out),
    border-radius .24s var(--ease-out),
    background-color .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}
.brand {
  will-change: width;
  transition: width .24s var(--ease-out), opacity .16s ease;
}
.header-system {
  max-width: 220px;
  overflow: hidden;
  transition: max-width .20s var(--ease-out), margin .20s var(--ease-out), opacity .14s ease;
}
.header-current {
  min-width: 0;
  max-width: 0;
  height: 32px;
  margin-left: -8px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 11px;
  color: var(--ink);
  background: rgba(245,246,243,.78);
  opacity: 0;
  transform: translateX(-6px);
  white-space: nowrap;
  pointer-events: none;
  transition:
    max-width .22s var(--ease-out),
    margin .22s var(--ease-out),
    padding .22s var(--ease-out),
    opacity .14s ease,
    transform .22s var(--ease-out),
    border-color .18s ease;
}
.header-current span {
  color: var(--accent);
  font-family: var(--font-ui);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .14em;
}
.header-current strong {
  overflow: hidden;
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-overflow: ellipsis;
}
.site-header.is-scrolled { top: 8px; }
.site-header.is-scrolled .header-inner {
  width: min(calc(100% - 28px), 1340px);
  height: 64px;
  padding-inline: 20px 13px;
  border-color: rgba(17,21,26,.14);
  border-radius: 20px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 14px 42px rgba(17,21,26,.12);
  backdrop-filter: blur(20px) saturate(175%);
  -webkit-backdrop-filter: blur(20px) saturate(175%);
}
.site-header.is-scrolled .brand { width: 184px; }
.site-header.is-scrolled .header-system {
  max-width: 0;
  margin-left: 0;
  opacity: 0;
  pointer-events: none;
}
.site-header.is-scrolled .header-current {
  max-width: 122px;
  margin-left: 0;
  padding: 0 10px;
  border-color: rgba(17,21,26,.09);
  opacity: 1;
  transform: translateX(0);
}
.site-header.is-scrolled .global-nav { gap: clamp(15px, 1.65vw, 27px); }
.site-header.is-scrolled .nav-social { width: 34px; height: 34px; flex-basis: 34px; }
.site-header.is-scrolled .nav-contact { height: 42px; min-width: 122px; }

/* Active section feedback */
.global-nav > a:not(.nav-contact) { transition: color .16s ease; }
.global-nav > a:not(.nav-contact).is-active { color: var(--accent); }
.global-nav > a:not(.nav-contact).is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-contact.is-active { background: var(--accent); }
.menu-button {
  transition: background-color .12s ease, color .12s ease, transform .12s var(--ease-out);
}
.menu-button:active { transform: scale(.96); }

/* Tablet / small laptop: selectable full-screen menu */
@media (max-width: 1120px) and (min-width: 821px) {
  .site-header { isolation: isolate; }
  .header-inner {
    position: relative;
    gap: 13px;
    padding-right: 10px;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .brand,
  .menu-button {
    position: relative;
    z-index: 3;
  }
  .header-current { margin-left: auto; }
  .menu-button {
    position: relative;
    z-index: 3;
    display: block;
    margin-left: 0;
  }
  .global-nav {
    position: fixed;
    z-index: 2;
    inset: 0;
    margin: 0;
    padding: 124px clamp(38px, 8vw, 112px) 48px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    color: #fff;
    background:
      radial-gradient(circle at 88% 12%, rgba(229,31,54,.18), transparent 27%),
      #0d1116;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .20s ease, visibility .20s ease, transform .20s var(--ease-out);
  }
  .global-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .global-nav > a:not(.nav-contact) {
    min-height: 58px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,.13);
    color: #fff;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 750;
    letter-spacing: -.02em;
  }
  .global-nav > a:not(.nav-contact)::after {
    content: "↗";
    position: static;
    width: auto;
    height: auto;
    color: var(--accent);
    background: none;
    transform: none;
  }
  .global-nav > a:not(.nav-contact).is-active {
    color: #fff;
    padding-left: 12px;
    box-shadow: inset 3px 0 0 var(--accent);
    background: linear-gradient(90deg, rgba(229,31,54,.13), transparent 72%);
  }
  .nav-socials {
    order: 2;
    width: 100%;
    margin: 22px 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;
  }
  .nav-social {
    width: auto;
    height: 62px;
    padding: 0 16px;
    display: flex;
    flex-basis: auto;
    justify-content: flex-start;
    gap: 12px;
    color: #fff;
    border-color: rgba(255,255,255,.15);
    border-radius: 16px;
    background: rgba(255,255,255,.045);
  }
  .nav-social svg { width: 17px; height: 17px; }
  .nav-social-label {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .nav-social-label strong {
    font-family: var(--font-en);
    font-size: 13px;
    font-weight: 800;
  }
  .nav-social-label small {
    color: rgba(255,255,255,.48);
    font-family: var(--font-en);
    font-size: 8.5px;
    font-weight: 600;
  }
  .nav-contact {
    order: 3;
    width: 100%;
    min-width: 0;
    min-height: 58px;
    margin-top: 10px;
    padding-inline: 18px;
    color: #fff;
    background: var(--accent);
    border-radius: 16px;
    font-size: 13px;
  }
  body.menu-open .header-inner {
    border-color: rgba(255,255,255,.12);
    background: rgba(13,17,22,.88);
    box-shadow: none;
  }
  body.menu-open .brand img { filter: brightness(0) invert(1); }
  body.menu-open .menu-button {
    color: var(--ink);
    background: #fff;
  }
  body.menu-open .menu-button span { background: var(--ink); }
}

@media (max-width: 820px) {
  .header-inner {
    gap: 8px;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .header-current {
    margin-left: auto;
    margin-right: 3px;
  }
  .header-current span { display: none; }
  .header-current strong {
    font-size: 8.5px;
    letter-spacing: .06em;
  }
  .menu-button { margin-left: 0; }
  .site-header.is-scrolled { top: 6px; }
  .site-header.is-scrolled .header-inner {
    width: calc(100% - 12px);
    height: 58px;
    padding: 0 7px 0 13px;
    border-radius: 16px;
  }
  .site-header.is-scrolled .brand { width: 150px; }
  .site-header.is-scrolled .header-current {
    max-width: 92px;
    height: 29px;
    padding: 0 9px;
  }
  .global-nav > a:not(.nav-contact).is-active {
    color: #fff;
    padding-left: 10px;
    box-shadow: inset 3px 0 0 var(--accent);
    background: linear-gradient(90deg, rgba(229,31,54,.15), transparent 72%);
  }
  .global-nav .nav-contact {
    order: 3;
    width: 100%;
    min-width: 0;
    height: 56px;
    margin-top: 10px;
    padding-inline: 16px;
    display: flex;
    color: #fff;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 15px;
    background: var(--accent);
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .brand { width: 150px; }
  .site-header.is-scrolled .brand { width: 138px; }
  .site-header.is-scrolled .header-current { max-width: 72px; padding-inline: 7px; }
  .menu-button { width: 44px; height: 44px; }
  .menu-button span { left: 11px; width: 22px; }
}

/* Keep overlay navigation relative to the viewport and fully selectable. */
@media (max-width: 1120px) {
  body.menu-open .site-header .header-inner,
  body.menu-open .site-header.is-scrolled .header-inner {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .global-nav {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    background-color: #0d1116;
    pointer-events: none;
    transition: opacity .18s ease, visibility .18s ease, transform .18s var(--ease-out);
  }
  .global-nav.is-open { pointer-events: auto; }
  body.menu-open .header-system,
  body.menu-open .header-current {
    max-width: 0;
    margin: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
  }
  body.menu-open .global-nav .nav-social {
    width: auto;
    height: 62px;
    flex-basis: auto;
  }
  body.menu-open .global-nav .nav-contact {
    width: 100%;
    min-width: 0;
  }
}

@supports (height: 100dvh) {
  @media (max-width: 1120px) {
    .global-nav {
      height: 100dvh;
      min-height: 100dvh;
      max-height: 100dvh;
    }
  }
}

@media (max-width: 820px) {
  body.menu-open .global-nav .nav-social { height: 61px; }
  body.menu-open .global-nav .nav-contact { height: 56px; }
}

/* =========================================================
   v3.7 / NATIVE CURSOR SAFETY + TOP-LAYER DIALOG FIX
   The operating-system cursor always remains visible. The
   decorative ring follows without easing and is suppressed
   while a modal dialog occupies the browser top layer.
   ========================================================= */

/* Never hide the browser-native cursor. It is rendered above
   <dialog> top-layer content and therefore cannot disappear
   behind the project popup. */
.has-custom-cursor { cursor: auto; }
.has-custom-cursor a,
.has-custom-cursor button,
.has-custom-cursor [role="button"],
.has-custom-cursor [data-project],
.has-custom-cursor [data-cursor] { cursor: pointer; }
.has-custom-cursor input,
.has-custom-cursor textarea { cursor: text; }
.has-custom-cursor select { cursor: default; }

/* Decorative pointer remains an optional visual accent only. */
.cursor-dot,
.cursor-ring {
  z-index: 2147483000;
  transition-property: width, height, margin, background, border-color, box-shadow, opacity, visibility;
  transition-duration: .10s, .10s, .10s, .10s, .10s, .10s, .05s, .05s;
  transition-timing-function: var(--ease-out);
}
.cursor-ring {
  border: 1px solid rgba(255,255,255,.96);
  background: rgba(255,255,255,.04);
  box-shadow:
    0 0 0 1px rgba(13,17,22,.78),
    0 4px 16px rgba(13,17,22,.18);
}
.cursor-ring.is-hover {
  border-color: #fff;
  background: rgba(229,31,54,.96);
  box-shadow:
    0 0 0 1px rgba(13,17,22,.72),
    0 7px 22px rgba(229,31,54,.28);
}

/* A modal <dialog> is promoted to the browser top layer; a
   normal DOM cursor decoration cannot reliably render above it.
   Hide only the decoration and use the native cursor there. */
.project-dialog-open .cursor-dot,
.project-dialog-open .cursor-ring,
html:has(.project-dialog[open]) .cursor-dot,
html:has(.project-dialog[open]) .cursor-ring {
  opacity: 0 !important;
  visibility: hidden !important;
}
.project-dialog,
.project-dialog::backdrop { cursor: default; }
.project-dialog a,
.project-dialog button { cursor: pointer; }


/* =========================================================
   v4.0 / IMPACT COPY
   Stronger, campaign-level messaging while preserving the
   clean GATO JAPAN visual system and v3.8 interactions.
   ========================================================= */
.hero-title {
  max-width: 760px;
  font-size: clamp(76px, 8.1vw, 132px);
  font-weight: 900;
  line-height: .84;
  letter-spacing: -.064em;
}
.hero-title em {
  color: var(--accent);
  text-shadow: 0 14px 34px rgba(229,31,54,.12);
}
.hero-title em::after {
  bottom: .01em;
  height: .12em;
  opacity: .16;
}
.hero-lead {
  margin-top: 34px;
  color: #454c53;
  font-weight: 500;
}
.hero-sales {
  width: min(100%, 650px);
  margin-top: 22px;
  padding: 15px 18px 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-left: 4px solid var(--accent);
  border-radius: 0 14px 14px 0;
  background: linear-gradient(90deg, rgba(229,31,54,.10), rgba(255,255,255,.70) 48%, rgba(255,255,255,.24));
  box-shadow: inset 0 0 0 1px rgba(17,21,26,.055);
}
.hero-sales strong {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.35vw, 21px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.025em;
  color: var(--ink);
}
.hero-sales span {
  padding-left: 16px;
  border-left: 1px solid rgba(17,21,26,.16);
  color: #5a6168;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .015em;
}
.hero-actions { margin-top: 27px; }
.hero-actions .button-primary {
  min-width: 218px;
  background: var(--accent);
  box-shadow: 0 16px 36px rgba(229,31,54,.24);
}
.hero-actions .button-primary:hover {
  background: var(--ink);
  box-shadow: 0 18px 40px rgba(17,21,26,.20);
}
.hero-capabilities { margin-top: 23px; }
.hero-caption {
  color: #666d74;
  font-weight: 800;
}

.statement {
  overflow: hidden;
}
.statement::after {
  content: "MAKE THE IMPACT";
  position: absolute;
  z-index: 0;
  right: -0.03em;
  bottom: -.17em;
  color: rgba(17,21,26,.022);
  font-family: var(--font-display);
  font-size: clamp(92px, 15vw, 230px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.075em;
  white-space: nowrap;
  pointer-events: none;
}
.statement .container { position: relative; z-index: 1; }
.statement-big {
  max-width: 980px;
  font-size: clamp(58px, 6.45vw, 100px);
  font-weight: 900;
  line-height: .99;
  letter-spacing: -.055em;
}
.statement-big span {
  display: inline-block;
  margin-top: .06em;
  color: var(--accent);
}
.statement-subgrid > p:first-child {
  max-width: 760px;
  color: #50575e;
  font-size: 16px;
  line-height: 2.05;
}
.statement-en {
  color: var(--ink);
  font-size: 11.5px;
  line-height: 2;
}

@media (max-width: 1180px) {
  .hero-title { font-size: clamp(72px, 10.5vw, 112px); }
  .hero-sales { width: min(100%, 720px); }
}

@media (max-width: 820px) {
  .hero-title {
    font-size: clamp(58px, 16.4vw, 82px);
    line-height: .88;
    letter-spacing: -.058em;
  }
  .hero-lead {
    margin-top: 27px;
    font-size: 14px;
    line-height: 1.9;
  }
  .hero-sales {
    margin-top: 18px;
    padding: 14px 15px 15px 17px;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
  .hero-sales strong { font-size: 18px; }
  .hero-sales span {
    padding-left: 0;
    border-left: 0;
    font-size: 12px;
  }
  .hero-actions { margin-top: 23px; }
  .statement-big {
    font-size: clamp(47px, 13.8vw, 70px);
    line-height: 1.04;
  }
  .statement-subgrid > p:first-child {
    font-size: 14.5px;
    line-height: 1.95;
  }
  .statement::after { font-size: 32vw; }
}

@media (max-width: 380px) {
  .hero-title { font-size: clamp(53px, 16.2vw, 66px); }
  .hero-sales strong { font-size: 17px; }
  .statement-big { font-size: clamp(43px, 13.2vw, 57px); }
}
