/* Corporate identity and product diagrams, shared by all three languages. */
.company-opener, .origin-layout, .story-compass, .compute-map-inner {
  display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr);
  align-items: center; gap: clamp(28px,5vw,82px); padding-block: clamp(44px,6.5vw,92px);
}
.company-intro h1 { font-size: clamp(40px,5vw,77px); line-height: 1.09; letter-spacing: -.055em; max-width: 15ch; text-wrap: balance; }
.company-intro > p:not(.story-overline), .origin-layout p, .story-vision > p:last-child,
.story-nodes .wrap > p, .compute-map-inner > div > p { color: #455973; font-size: clamp(16px,1.2vw,19px); line-height: 1.75; margin: 16px 0 22px; max-width: 62ch; }
.story-overline { color: #164cc1; font-size: 14px; font-weight: 650; letter-spacing: .045em; margin: 0 0 16px; }
.city-scene { position: relative; overflow: hidden; border-radius: 22px; background: #deedfa; margin: 0; }
.city-scene img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 42% center; }
.company-opener .city-scene { aspect-ratio: 5 / 3.8; }
.city-scene figcaption { position: absolute; bottom: 12px; left: 13px; padding: 4px 11px; border-radius: 20px; font-size: 12px; font-weight: 550; color: #17324e; background: rgb(255 255 255 / 94%); }
.global-culture .city-scene { aspect-ratio: 2.5; margin-bottom: 24px; }
.origin-band, .compute-map { background: #f3f7fd; border-block: 1px solid #dde7f5; }
.origin-layout { padding-block: clamp(38px,5vw,68px); }
.brand-signature { display: flex; align-items: center; gap: clamp(12px,2.2vw,32px); font-size: clamp(30px,4vw,60px); letter-spacing: -.07em; font-weight: 580; color: #123d83; }
.brand-signature i { color: #4898d8; font-style: normal; font-weight: 350; }
.brand-signature img { flex: none; width: clamp(40px,5vw,68px); height: auto; }
.company-story h2, .compute-map h2 { font-size: clamp(26px,3.4vw,48px); line-height: 1.2; margin: 0; letter-spacing: -.045em; text-wrap: balance; }
.origin-layout .company-address { margin-top: 20px; }
.story-compass { align-items: start; }
.story-vision { position: relative; padding: clamp(25px,3.8vw,56px); border-radius: 22px; background: #103476; color: white; overflow: hidden; }
.story-vision::after { content: ""; position: absolute; width: 70%; height: 4px; bottom: 0; left: 0; background: linear-gradient(90deg,#417fff,#00b9de 45%,#76cfbb 68%,#ffcf56 82%,#fb8a8a); }
.story-vision h2, .story-vision h3 { color: white; }
.story-vision h2 { font-size: clamp(25px,2.65vw,41px); line-height: 1.34; }
.story-vision h3 { margin: 30px 0 6px; font-size: 16px; }
.story-vision .story-overline { color: #b5dcff; }
.story-vision > p:last-child { color: #e4efff; margin: 0; }
.story-values > h2 { font-size: clamp(23px,2.5vw,34px); margin-bottom: 12px; }
.value-panel { display: grid; grid-template-columns: 34px 1fr; gap: 16px; align-items: start; border-top: 1px solid #d9e4ee; padding: 17px 0; }
.value-panel h3 { font-size: 19px; margin: 0 0 5px; }.value-panel p { color: #455973; margin: 0; font-size: 16px; line-height: 1.6; }
.value-shape { display: block; width: 24px; height: 24px; margin: 4px 0 0 3px; }
.shape-0 { border: 6px solid #3479eb; border-radius: 50%; }
.shape-1 { border: 3px solid #38a5a1; box-shadow: 4px -4px 0 #d3ede6; transform: rotate(-8deg); }
.shape-2 { background: #efb248; clip-path: polygon(50% 0,61% 36%,100% 50%,62% 62%,50% 100%,37% 63%,0 50%,37% 36%); }
.story-nodes { background: #f5f8fc; padding-block: clamp(40px,5vw,70px); }
.compute-map-inner { align-items: center; padding-block: clamp(34px,4.5vw,70px); }
.compute-map h2 { max-width: 19ch; }
.compute-map-inner > div > p { margin-bottom: 0; }
.compute-layers { position: relative; display: grid; gap: 11px; }
.compute-layers::before { content: ""; position: absolute; left: 36px; top: 15%; bottom: 15%; width: 2px; background: #a7c5f6; }
.compute-layer { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 15px; align-items: center; padding: 15px 19px; border: 1px solid #d3e2f4; border-radius: 14px; background: white; }
.compute-layer h3 { margin: 0 0 5px; font-size: 17px; line-height: 1.35; }
.layer-links { display: flex; flex-wrap: wrap; gap: 4px 14px; }.layer-links a { font-size: 14px; line-height: 1.6; text-decoration: underline; text-decoration-color: #bfd1ed; text-underline-offset: 3px; color: #174981; }.layer-links a:hover { color: #0c48c5; text-decoration-color: currentColor; }
.layer-icon, .module-icon { position: relative; display: block; width: 34px; height: 34px; border-radius: 10px; background: #e7f0ff; color: #285fc3; }
.layer-icon::before, .module-icon::before, .module-icon::after { content: ""; position: absolute; box-sizing: border-box; }
.layer-icon-0::before, .glyph-endpoint::before, .glyph-serve::before { inset: 9px 7px; border: 2px solid currentColor; border-radius: 4px; box-shadow: 2px 3px 0 #b0c9f5; }
.layer-icon-1, .glyph-studio, .glyph-acceptance { color: #267d79; background: #e3f5ef; }
.layer-icon-1::before, .glyph-studio::before { inset: 8px; border: 2px solid currentColor; border-radius: 50% / 28%; box-shadow: inset 0 -3px 0 #b5dfd4; }
.layer-icon-2, .glyph-govern { color: #7d620f; background: #fff2ca; }
.layer-icon-2::before, .glyph-govern::before { inset: 8px; background: currentColor; clip-path: polygon(50% 0,95% 18%,87% 65%,50% 100%,13% 65%,5% 18%); }
.book-chapter .book-chapter-inner { display: grid; grid-template-columns: minmax(0,1.13fr) minmax(0,.87fr); align-items: center; gap: clamp(25px,5vw,86px); padding-block: clamp(32px,4.5vw,72px); }
.chapter-copy { min-width: 0; }.book-chapter .chapter-copy h1, .book-chapter .chapter-copy .book-slogan { max-width: 100%; }.chapter-copy .book-crumb { margin-bottom: 20px; }
.chapter-scene { margin: 0; background: #eff4fc; border: 1px solid #dee7f2; overflow: hidden; border-radius: 18px; }
.chapter-scene img { width: 100%; display: block; height: auto; }
.chapter-scene figcaption { border-top: 1px solid #dbe5f0; background: #fff; color: #294460; padding: 12px 17px; font-size: 14px; line-height: 1.6; }
.modules .visual-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; position: relative; margin-top: 25px; overflow: visible; }
.modules .visual-tab { position: relative; min-width: 0; display: grid; align-content: start; justify-items: start; white-space: normal; gap: 7px; padding: 17px 14px; text-align: start; border-radius: 14px; background: white; color: #17375e; transition: border-color .2s, background .2s, transform .2s; }
.visual-tab strong { font-size: 16px; line-height: 1.35; }.visual-tab small { font-size: 14px; font-weight: 440; line-height: 1.5; color: #4e627b; }.visual-tab .module-icon { margin-bottom: 2px; }
.modules .visual-tab[aria-selected=true] { background: #ecf3ff; color: #123f9d; border-color: #3971d5; box-shadow: inset 0 -3px #3971d5; }
@media (hover:hover) { .modules .visual-tab:hover { transform: translateY(-2px); border-color: #5081cb; } }
.glyph-gateway::before { inset: 8px 6px 19px; border-top: 3px solid; border-bottom: 2px solid; }.glyph-gateway::after { inset: 15px 10px 7px; border-inline: 3px solid; }
.glyph-acceptance::before { inset: 9px 12px 7px; border: solid currentColor; border-width: 0 3px 3px 0; transform: rotate(43deg); }
.glyph-operations::before { left: 8px; top: 15px; width: 4px; height: 10px; background: currentColor; box-shadow: 7px -6px currentColor, 14px -3px currentColor; }
.glyph-dojo { background: #f1eaff; color: #774f9f; }.glyph-dojo::before { inset: 8px 7px 10px; border: 2px solid; border-radius: 5px; }.glyph-dojo::after { left: 10px; top: 20px; border-style: solid; border-width: 6px 6px 0 0; border-color: currentColor transparent transparent transparent; }
.torii-hub { display: flex; align-items: center; gap: 10px; margin: 28px auto 0; width: fit-content; padding: 8px 18px; background: #fff; border: 1px solid #bdd1ee; border-radius: 30px; color: #20457c; font-size: 18px; font-weight: 650; }
.campaign-torii .visual-tabs { grid-template-columns: repeat(5,minmax(0,1fr)); margin-top: 28px; }
@media (min-width:801px) {
 .torii-hub { position: relative; }.torii-hub::after, .campaign-torii .visual-tab::before { content: ""; position: absolute; left: 50%; height: 14px; width: 1px; background: #9eb9d9; }
 .torii-hub::after { top: 100%; }.campaign-torii .visual-tab::before { bottom: calc(100% + 1px); }.campaign-torii .visual-tabs::before { content: ""; position: absolute; top: -15px; left: calc(10% - 4px); right: calc(10% - 4px); height: 1px; background: #9eb9d9; }
}
@media (max-width:800px) {
 .company-opener, .story-compass, .compute-map-inner { grid-template-columns: 1fr; }
 .company-opener .city-scene { aspect-ratio: 2.15; }.company-intro h1 { max-width: 22ch; }
 .origin-layout { grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); }
 .modules .visual-tabs { grid-template-columns: repeat(3,minmax(0,1fr)); }.campaign-torii .visual-tabs { margin-top: 14px; }
}
@media (max-width:620px) {
 .origin-layout, .book-chapter .book-chapter-inner { grid-template-columns: 1fr; }
 .book-chapter .chapter-scene { max-width: 80%; width: 400px; justify-self: center; }.chapter-scene figcaption { padding: 9px 12px; }
 .company-opener .city-scene { aspect-ratio: 1.8; }
 .modules .visual-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
 .modules .visual-tab { padding: 10px; gap: 3px; }.visual-tab small { font-size: 13px; }.visual-tab .module-icon { width: 32px; height: 32px; }
 .compute-layer { padding: 13px; gap: 10px; grid-template-columns: 34px 1fr; }.torii-hub { margin-inline: 0; }
}
@media (prefers-reduced-motion:reduce) { .modules .visual-tab { transition: none; }.modules .visual-tab:hover { transform: none; } }
