/* Homepage motion: readable final frames are the default, even without JavaScript. */
.home-page { --signal: #ceddac; }
.home-page .reveal { opacity: 1; transform: none; }
.home-hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 2vw; min-height: min(960px, 100svh); padding: 150px 6vw 116px; background: #171916; }
.home-hero .hero-copy { position: relative; inset: auto; width: auto; padding: 0; min-width: 0; }
.home-hero .hero-product { font: 500 10px/1.8 "DM Sans", sans-serif; letter-spacing: .16em; color: var(--signal); }
.home-hero h1 { font-size: clamp(30px, 3.7vw, 65px); line-height: 1.55; letter-spacing: -.055em; font-weight: 500; }
.home-page .home-hero h1 { font-family: var(--font-display); font-weight: 700; line-height: 1.4; }
.home-hero .hero-proof { max-width: 27em; font: 400 clamp(14px, 1.2vw, 19px)/1.9 "Noto Sans JP", sans-serif; margin: 0; }
.home-hero .page-hero-actions { gap: 12px; margin-top: 34px; }
.home-hero .button-primary { background: var(--signal); color: #20271b; border-color: var(--signal); font: 600 13px "Noto Sans JP", sans-serif; padding: 0 18px; border-radius: 2px; }
.home-hero .button-secondary { color: var(--paper); border-color: #ffffff55; font: 500 13px "Noto Sans JP", sans-serif; }
.home-hero .button-secondary:hover { background: #ffffff15; }
.home-hero .tokyo-visual { min-height: 0; opacity: .55; }
.home-hero .tokyo-video { filter: grayscale(1); }
.home-hero .tokyo-shade { background: linear-gradient(90deg, #171916 0%, #17191699 55%, #17191622), linear-gradient(0deg, #171916, transparent 40%); }
.business-map { position: relative; z-index: 5; min-width: 0; color: #efefdf; font-family: "Noto Sans JP", sans-serif; }
.map-caption, .map-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 10px; line-height: 1.5; color: #c6cabe; }
.map-caption { border-bottom: 1px solid #ffffff20; padding-bottom: 18px; }
.map-caption > span:first-child { font: 500 10px "DM Sans", sans-serif; letter-spacing: .13em; }
.map-canvas { position: relative; aspect-ratio: 1; max-width: 540px; margin: 0 auto; }
.business-three { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; opacity: 0; }
.has-three .business-three { opacity: 1; }
.has-three .map-lines { opacity: .2; }
.has-three .map-core { border-color: transparent; background: transparent; box-shadow: none; text-shadow: 0 2px 14px #111; }
.has-three .map-node { background: #222620e8; }
.map-lines { position: absolute; width: 100%; height: 100%; overflow: visible; }
.map-orbit { stroke: #ceddac20; stroke-width: 1; stroke-dasharray: 2 7; }
.map-orbit.inner { stroke-dasharray: none; }
.map-route { stroke: #ceddac60; stroke-width: 1; stroke-dasharray: 160; stroke-dashoffset: 0; transition: stroke-dashoffset 1s cubic-bezier(.22,1,.36,1), stroke .7s; }
.business-map[data-stage="0"] .map-route { stroke-dashoffset: 160; }
.map-route.is-connected { stroke: var(--signal); }
.map-core { position: absolute; inset: 37% 34%; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #ceddac88; border-radius: 50%; background: #252c22; box-shadow: 0 0 70px #ceddac0c; }
.map-core > span { font: 600 clamp(23px, 2.6vw, 42px)/1 "DM Sans", sans-serif; letter-spacing: -.05em; }
.core-dot { color: var(--signal); }
.map-core small { margin-top: 12px; font-size: clamp(7px, .65vw, 10px); }
.map-node { position: absolute; width: 33%; padding: 17px 12px; border: 1px solid #ffffff27; background: #222620f2; transition: border-color .6s, background .6s, transform .7s cubic-bezier(.22,1,.36,1); }
.map-node small { display: block; font: 500 8px "DM Sans", sans-serif; letter-spacing: .1em; color: #bac5a8; }
.map-node strong { display: block; margin: 8px 0 5px; font-size: clamp(16px, 1.4vw, 22px); font-weight: 500; }
.map-node > span { font-size: clamp(8px, .8vw, 11px); color: #c6cabe; }
.node-attract { left: 33.5%; top: 4%; }
.node-customer { right: 0; top: 39%; }
.node-project { left: 33.5%; bottom: 4%; }
.node-insight { left: 0; top: 39%; }
.map-node.is-connected { border-color: #ceddacaa; background: #303b27; transform: translateY(-3px); }
.map-footer { min-height: 38px; padding-top: 14px; border-top: 1px solid #ffffff20; }
.map-footer i { display: inline-block; width: 5px; height: 5px; margin-right: 7px; border-radius: 50%; background: var(--signal); }
.hero-baseline { position: absolute; z-index: 6; bottom: 30px; left: 6vw; right: 6vw; display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-top: 20px; border-top: 1px solid #ffffff26; color: #ced0c7; font-size: 11px; letter-spacing: .04em; }
.motion-toggle, .motion-replay { padding: 8px 0; color: inherit; font-size: 11px; background: transparent; border-bottom: 1px solid #ffffff50; border-radius: 0; }
.motion-toggle:hover, .motion-replay:hover { color: var(--signal); }
.home-page button:focus-visible, .home-page a:focus-visible { outline: 2px solid var(--signal); outline-offset: 5px; }
.connection-story { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 6%; margin: 72px 0 86px; }
.story-copy h3 { margin: 0 0 22px; font: 500 clamp(28px, 3.2vw, 46px)/1.5 var(--font-hero); letter-spacing: -.035em; }
.story-copy > p:not(.page-kicker) { color: #c6c3ba; font-size: 14px; line-height: 1.9; }
.story-steps { display: grid; gap: 0; margin: 30px 0 12px; }
.story-steps button { display: flex; gap: 18px; padding: 15px 0; border-top: 1px solid #ffffff24; color: #b4b3aa; background: transparent; text-align: left; font-size: 13px; transition: color .3s, padding-left .3s; }
.story-steps button span { font: 500 11px "DM Sans", sans-serif; }
.story-steps button[aria-pressed="true"] { color: var(--signal); padding-left: 12px; }
.story-visual { position: relative; aspect-ratio: 1.15; isolation: isolate; overflow: hidden; border: 1px solid #ffffff25; background: #1c1f1b; }
.story-grid { position: absolute; inset: 0; background-image: linear-gradient(#ffffff06 1px, transparent 1px), linear-gradient(90deg,#ffffff06 1px,transparent 1px); background-size: 36px 36px; }
.work-tile { position: absolute; z-index: 2; width: 39%; height: 29%; padding: 18px; color: #efeee6; border: 1px solid #ffffff38; background: #32352e; transition: transform 1.2s cubic-bezier(.22,1,.36,1), opacity .7s, border-color .7s; }
.work-tile > span { font: 500 8px "DM Sans", sans-serif; letter-spacing: .07em; color: #bec6b2; }
.work-tile strong { display: block; margin: 12px 0; font-size: clamp(11px, 1.15vw, 17px); font-weight: 500; }
.work-tile i { display: block; width: 75%; height: 3px; background: #ffffff22; margin: 8px 0; }
.work-tile i:last-child { width: 50%; }
.tile-a { left: 9%; top: 14%; transform: translate(-8%,5%) rotate(-8deg); }
.tile-b { right: 9%; top: 14%; transform: translate(7%,-3%) rotate(9deg); }
.tile-c { left: 9%; bottom: 18%; transform: translate(-5%,-6%) rotate(6deg); }
.tile-d { right: 9%; bottom: 18%; transform: translate(8%,7%) rotate(-6deg); }
.connection-story[data-phase="1"] .work-tile { transform: none; border-color: var(--signal); }
.connection-story[data-phase="2"] .work-tile { transform: translateY(15px) scale(.85); opacity: 0; }
.story-dashboard { position: absolute; z-index: 3; inset: 10% 9% 15%; padding: 24px; color: #24291f; background: #f0f0df; opacity: 0; transform: translateY(30px) scale(.96); transition: transform 1s cubic-bezier(.22,1,.36,1), opacity .8s; }
.connection-story[data-phase="2"] .story-dashboard { opacity: 1; transform: none; }
.dashboard-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid #28372033; padding-bottom: 18px; }
.dashboard-top strong { font: 600 23px "DM Sans", sans-serif; letter-spacing: -.05em; }
.dashboard-top strong span { color: #627b43; }
.dashboard-top > span { font: 600 7px "DM Sans", sans-serif; letter-spacing: .1em; }
.dashboard-labels { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 18px; }
.dashboard-labels span { padding: 10px; background: #dce3cb; font-size: 11px; text-align: center; }
.dashboard-chart { display: flex; gap: 7%; align-items: flex-end; height: 30%; margin-top: 8%; padding: 0 8%; border-bottom: 1px solid #24291f44; }
.dashboard-chart i { flex: 1; background: #83976b; height: 35%; transform-origin: bottom; transform: scaleY(.15); transition: transform 1.2s cubic-bezier(.22,1,.36,1); }
.dashboard-chart i:nth-child(2n) { height: 48%; }
.dashboard-chart i:nth-child(3n) { height: 60%; }
.dashboard-chart i:nth-child(5) { height: 70%; }
.dashboard-chart i:nth-child(7) { height: 82%; }
.dashboard-chart i:nth-child(8) { height: 100%; background: #384b2a; }
.connection-story[data-phase="2"] .dashboard-chart i { transform: scaleY(1); }
.dashboard-bottom { margin-top: 18px; }
.dashboard-bottom span { display: block; font-size: 10px; color: #626957; }
.dashboard-bottom strong { display: block; margin-top: 7px; font-size: clamp(12px,1.4vw,20px); font-weight: 500; }
.story-disclaimer { position: absolute; bottom: 4%; width: 100%; text-align: center; font-size: 10px; color: #aeb5a4; }
.home-page .band-dark > .page-container > .button-primary { color: var(--ink); background: var(--signal); }
.home-page .case-feature-copy { color: var(--ink); }
.home-page .case-feature-copy .page-kicker, .home-page .case-feature-copy .button-secondary { color: var(--ink); border-color: var(--line-strong); }
.home-page .case-feature-copy h3 { line-height: 1.5; }
.home-page .section-heading h2 { line-height: 1.5; }
.home-page .pillar { transition: transform .45s cubic-bezier(.22,1,.36,1); }
@media (hover: hover) { .home-page .pillar:hover { transform: translateY(-8px); } }
.home-page.motion-paused *, .home-page.motion-paused *::before, .home-page.motion-paused *::after { animation-play-state: paused !important; transition-duration: 0s !important; }
@media (max-width: 1100px) {
  .home-hero { grid-template-columns: 1fr 1fr; gap: 4vw; padding-left: 5vw; padding-right: 5vw; }
  .home-hero h1 { font-size: 3.65vw; }
  .home-hero .page-hero-actions { flex-direction: column; align-items: flex-start; }
  .home-page .site-header { gap: 20px; }
  .home-page .site-header nav { gap: 16px; }
  .work-tile { padding: 12px; }
}
@media (max-width: 760px) {
  .home-hero { grid-template-columns: 1fr; min-height: 0; gap: 45px; padding: 135px 7vw 110px; }
  .home-hero h1 { font-size: clamp(24px, 6.85vw, 50px); margin-bottom: 20px; }
  .home-hero .hero-copy { justify-content: center; }
  .home-hero .hero-product { font-size: 8px; letter-spacing: .12em; }
  .home-hero .hero-proof { font-size: 14px; max-width: 22em; }
  .home-hero .page-hero-actions { flex-direction: row; gap: 10px; width: 100%; margin-top: 24px; }
  .home-hero .button-primary, .home-hero .button-secondary { min-width: 0; min-height: 48px; height: auto; padding: 0 12px; font-size: 11px; }
  .home-hero .button-primary::after, .home-hero .button-secondary::after { margin-left: 12px; }
  .business-map { width: 100%; max-width: 480px; margin: 0 auto; }
  .map-node { padding: 13px 9px; }
  .map-core > span { font-size: 28px; }
  .map-core small { font-size: 7px; margin-top: 8px; }
  .map-node strong { font-size: 17px; }
  .map-node > span { font-size: 8px; }
  .map-caption { font-size: 8px; }
  .map-caption > span:first-child { font-size: 8px; }
  .hero-baseline { font-size: 9px; bottom: 24px; align-items: flex-start; }
  .motion-toggle { font-size: 9px; white-space: nowrap; padding-top: 0; }
  .connection-story { grid-template-columns: 1fr; gap: 28px; margin: 44px 0 60px; }
  .story-steps { margin-top: 20px; }
  .story-visual { aspect-ratio: 1; }
  .work-tile strong { font-size: 12px; }
  .work-tile > span { font-size: 7px; }
  .story-dashboard { padding: 18px; }
  .dashboard-top { padding-bottom: 12px; }
  .dashboard-labels { margin-top: 12px; }
  .dashboard-bottom strong { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page *, .home-page *::before, .home-page *::after { animation: none !important; transition: none !important; }
}

/* The opening screen puts the message and action ahead of the diagram. */
.home-hero h1 .heading-line { white-space: normal; }
.home-hero h1 .text-unit { display: inline-block; }
.home-hero h1 .heading-muted { color: inherit; }
.home-hero .hero-proof { font-size: clamp(15px, 1.2vw, 18px); line-height: 1.9; }
.home-hero .hero-proof .text-unit { max-width: 100%; }
.home-hero .button-primary, .home-hero .button-secondary { font-size: 14px; }
.hero-scroll-link { display: inline-flex; align-items: center; gap: 18px; min-height: 40px; font-size: 12px; }
.hero-scroll-link span { font-size: 18px; }
.motion-toggle, .motion-replay { min-height: 40px; font-size: 12px; }
.home-hero .tokyo-video { filter: grayscale(.55) brightness(.85); }
.home-hero .tokyo-shade { background: linear-gradient(90deg, #171916f0, #171916b0 48%, #17191640), linear-gradient(0deg, #171916, transparent 55%); }
@media (max-width: 760px) {
  .home-hero { gap: 24px; padding: 108px 7vw 86px; }
  .home-hero h1 { font-size: clamp(24px, 6.8vw, 38px); margin-bottom: 18px; }
  .home-hero .hero-product { font-size: 9px; margin-bottom: 18px; }
  .home-hero .hero-proof { max-width: none; font-size: 14px; }
  .home-hero .page-hero-actions { margin-top: 22px; }
  .home-hero .button-primary, .home-hero .button-secondary { font-size: 13px; padding: 0 14px; }
  .business-map { max-width: 320px; }
  .map-canvas { width: 100%; max-width: 280px; }
  .map-caption { padding-bottom: 12px; font-size: 9px; }
  .map-caption > span:first-child { font-size: 9px; }
  .map-node { padding: 10px 8px; }
  .map-node strong { font-size: 15px; margin-top: 6px; }
  .map-node > span { font-size: 9px; line-height: 1.5; }
  .map-core > span { font-size: 23px; }
  .map-core small { font-size: 7px; }
  .map-footer { padding-top: 8px; font-size: 9px; }
  .motion-toggle, .motion-replay { font-size: 11px; }
  .hero-baseline { bottom: 18px; padding-top: 10px; align-items: center; }
  .hero-scroll-link { font-size: 11px; }
}
