/* Shared by all three pages (top, Company Intelligence, AI training). Layout: one framed column with hairline edges and "+" marks; centered section heads, alternating feature rows, two black bands. Mincho headings, monotone ground; green accents taken from a soft green-to-teal gradient (leaf = people, teal = AI, the full gradient = Company Context). */
/*TOKENS*/
:root {
  --paper: #F7F7F5; --panel: #FFFFFF; --fog: #ECECE9; --line: #D4D4D0; --mute: #5E5E5A; --ink: #141414; --on-ink: #FFFFFF;
  --human: #2FAF5F; --human-text: #1B7A45; --on-human: #141414;
  --ai: #0FA584; --ai-text: #0B7A62; --on-ai: #141414;
  --night: #121212; --night-2: #1C1C1B; --night-line: #333331; --night-fg: #EDEDEB; --night-mute: #A3A39E;
  --plate: #232322; --plate-2: #2D2D2B; --plate-fg: #EDEDEB;
  --f-serif: 'Shippori Mincho B1', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --f-sans: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Noto Sans JP', 'Yu Gothic', sans-serif;
  --f-en: 'Instrument Sans', 'Zen Kaku Gothic New', 'Helvetica Neue', Arial, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --grad: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 .3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(155deg, rgba(96, 214, 172, 0) 28%, rgba(96, 214, 172, 0.7) 45%, rgba(96, 214, 172, 0) 64%),
    radial-gradient(75% 60% at 100% 0%, #80DB94 0%, rgba(128, 219, 148, 0) 70%),
    radial-gradient(60% 45% at 45% 20%, rgba(80, 200, 140, 0.8) 0%, rgba(80, 200, 140, 0) 75%),
    radial-gradient(70% 55% at 55% 85%, #0A9C78 0%, rgba(10, 156, 120, 0) 75%),
    radial-gradient(60% 60% at 0% 100%, #24A452 0%, rgba(36, 164, 82, 0) 75%),
    radial-gradient(60% 50% at 100% 100%, #55C487 0%, rgba(85, 196, 135, 0) 70%),
    linear-gradient(135deg, #3BB864 0%, #34B46C 35%, #12A782 62%, #2FB07A 100%);
  --grad-size: 180px 180px, auto, auto, auto, auto, auto, auto, auto;
  --grad-blend: soft-light, normal, normal, normal, normal, normal, normal, normal;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0E0E0E; --panel: #171716; --fog: #1F1F1E; --line: #2E2E2C; --mute: #A3A39E; --ink: #EDEDEB; --on-ink: #0E0E0E;
    --human: #4CC77A; --human-text: #4CC77A; --on-human: #0E0E0E;
    --ai: #2CC49B; --ai-text: #2CC49B; --on-ai: #0E0E0E;
    --night: #262625; --night-2: #2F2F2D; --night-line: #42423F; --night-fg: #EDEDEB; --night-mute: #B0B0AB;
    --plate: #393937; --plate-2: #444441; --plate-fg: #EDEDEB;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0E0E0E; --panel: #171716; --fog: #1F1F1E; --line: #2E2E2C; --mute: #A3A39E; --ink: #EDEDEB; --on-ink: #0E0E0E;
  --human: #4CC77A; --human-text: #4CC77A; --on-human: #0E0E0E;
  --ai: #2CC49B; --ai-text: #2CC49B; --on-ai: #0E0E0E;
  --night: #262625; --night-2: #2F2F2D; --night-line: #42423F; --night-fg: #EDEDEB; --night-mute: #B0B0AB;
  --plate: #393937; --plate-2: #444441; --plate-fg: #EDEDEB;
  color-scheme: dark;
}
/*END TOKENS*/
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body { background: var(--paper); color: var(--ink); font-family: var(--f-sans); font-size: 16px; line-height: 1.85; -webkit-font-smoothing: antialiased; word-break: auto-phrase; line-break: strict; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 { margin: 0; text-wrap: balance; font-family: var(--f-serif); font-weight: 700; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--ai-text); outline-offset: 3px; }
.plate.ctx, .orbit-core, .menu .l2, .g-sq, .ctxbar { background: var(--grad); background-size: var(--grad-size); background-blend-mode: var(--grad-blend); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.dot.h { background: var(--human); }
.dot.a { background: var(--ai); }
.dot.c { background: linear-gradient(135deg, var(--human), var(--ai)); }

/* frame */
.wrap { position: relative; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.frame { position: relative; border-inline: 1px solid var(--line); }
.night .frame { border-color: var(--night-line); }
.plus { position: absolute; top: -5px; width: 9px; height: 9px; pointer-events: none; z-index: 2; }
.plus::before, .plus::after { content: ""; position: absolute; background: var(--mute); }
.plus::before { left: 4px; top: 0; width: 1px; height: 9px; }
.plus::after { left: 0; top: 4px; width: 9px; height: 1px; }
.plus.l { left: -5px; }
.plus.r { right: -5px; }
.night .plus::before, .night .plus::after { background: var(--night-mute); }
.hatch { height: 24px; border-block: 1px solid var(--line); background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 7px); opacity: 0.8; }
.night .hatch { border-color: var(--night-line); background: repeating-linear-gradient(90deg, var(--night-line) 0 1px, transparent 1px 7px); }
.pad { padding: clamp(64px, 8vw, 112px) clamp(20px, 4vw, 56px); }

/* labels and heads */
.label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--mute); text-transform: uppercase; }
.label::before { content: "("; color: var(--human-text); }
.label::after { content: ")"; color: var(--human-text); }
.night .label { color: var(--night-mute); }
.head-c { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); }
.head-c h2 { font-size: clamp(30px, 3.8vw, 52px); line-height: 1.4; font-weight: 700; }
.lead { max-width: 36em; color: var(--mute); font-size: 16px; line-height: 1.95; }
.night .lead { color: var(--night-mute); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 0; font-family: var(--f-en); font-size: 14px; font-weight: 600; letter-spacing: 0.02em; transition: transform 0.15s ease, background-color 0.2s ease; }
.btn .jp { font-family: var(--f-sans); font-weight: 700; }
.btn { white-space: nowrap; }
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } }
.btn:active { transform: translateY(1px); }
.btn-ink { background: var(--ink); color: var(--on-ink); }
.btn-line { box-shadow: inset 0 0 0 1.5px var(--ink); }
.link-ai { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ai-text); font-weight: 700; font-size: 15px; }
.link-ai:hover { text-decoration: underline; text-underline-offset: 5px; }

/* announcement + header */
.announce { background: var(--night); color: var(--night-fg); font-size: 12px; }
.announce a { display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 36px; padding-inline: var(--gutter); }
.announce b { font-weight: 700; }
.announce span { color: var(--night-mute); font-family: var(--f-en); }
.announce em { font-style: normal; font-family: var(--f-en); font-weight: 600; padding-right: 10px; border-right: 1px solid var(--night-line); }
@media (max-width: 560px) { .announce em, .announce span { display: none; } .announce b::after { content: " →"; color: var(--night-mute); } }
.announce a:hover span { color: var(--night-fg); }
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line); }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--human); transform: scaleX(var(--sp, 0)); transform-origin: 0 50%; pointer-events: none; }
.site-head .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: 64px; }
.logo { justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.logo b { font-family: var(--f-serif); font-weight: 800; font-size: 21px; letter-spacing: 0.16em; line-height: 1; }
.lockup { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.lockup small { font-family: var(--f-mono); font-size: 9px; font-weight: 500; line-height: 1; letter-spacing: 0.24em; color: var(--mute); }
.nav-c { display: flex; gap: 2px; font-size: 14px; font-weight: 500; }
.nav-c a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; }
.nav-c a:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav-r { justify-self: end; display: flex; align-items: center; gap: 8px; }
.nav-r .btn { min-height: 40px; padding: 0 16px; font-size: 13px; }
.menu-btn { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 0; background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); font-family: var(--f-en); font-weight: 600; font-size: 13px; }
.menu-btn i { display: grid; gap: 4px; }
.menu-btn i::before, .menu-btn i::after { content: ""; display: block; width: 16px; height: 2px; background: currentColor; }
@media (max-width: 960px) {
  .nav-c, .nav-r .btn-line { display: none; }
  .nav-r .btn-ink { padding: 0 14px; }
  .menu-btn { display: inline-flex; }
  .site-head .wrap { grid-template-columns: 1fr auto; }
}

/* staggered menu */
.menu { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.menu.open { pointer-events: auto; }
.menu .scrim { position: absolute; inset: 0; border: 0; padding: 0; background: rgba(0, 0, 0, 0.35); opacity: 0; transition: opacity 0.4s ease; }
.menu.open .scrim { opacity: 1; }
.menu .layer { position: absolute; top: 0; right: 0; bottom: 0; width: min(520px, 100%); transform: translateX(102%); transition: transform 0.55s cubic-bezier(0.7, 0, 0.2, 1); }
.menu .l1 { background: var(--human); }
.menu nav { background: var(--paper); color: var(--ink); padding: calc(24px + env(safe-area-inset-top, 0px)) 28px calc(28px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 24px; overflow-y: auto; }
.menu.open .layer { transform: none; }
.menu.open .l2 { transition-delay: 0.07s; }
.menu.open nav { transition-delay: 0.14s; }
.menu-top { display: flex; justify-content: space-between; align-items: center; }
.menu-close { min-height: 44px; padding: 0 14px; border: 0; background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); font-weight: 700; }
.menu li { overflow: hidden; border-top: 1px solid var(--line); }
.menu li a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; font-family: var(--f-serif); font-size: clamp(26px, 5vw, 36px); font-weight: 700; line-height: 1.3; transform: translateY(110%); transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.menu li a small { font-family: var(--f-mono); font-size: 11px; font-weight: 400; color: var(--mute); }
.menu.open li a { transform: none; }
.menu-foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--mute); }

/* hero */
.hero .frame { overflow: hidden; }
.hero-in { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; padding: clamp(72px, 10vw, 136px) clamp(20px, 4vw, 56px) clamp(64px, 8vw, 112px); }
#heroDots { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.chip { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; margin-left: 8px; background: var(--human); color: var(--on-human); font-family: var(--f-sans); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; }
.btn .live { margin-right: 2px; }
.pilot-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.site-head .narrow { display: none; }
@media (max-width: 1200px) { .nav-r .btn-line { display: none; } }
@media (max-width: 360px) { .nav-r { gap: 6px; } .nav-r .btn-ink, .menu-btn { padding: 0 10px; } .site-head .wrap { gap: 8px; } }
@media (max-width: 960px) { .site-head .wide { display: none; } .site-head .narrow { display: inline; } }
.hero-pill { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 700; }
.hero-pill span { color: var(--human-text); font-family: var(--f-en); }
@media (hover: hover) { .hero-pill:hover { box-shadow: inset 0 0 0 1.5px var(--ink); } }
.live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--human); flex: 0 0 auto; }
.live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--human); animation: live 1.8s ease-out infinite; }
@keyframes live { from { transform: scale(0.5); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.hero-kick span { display: inline-block; white-space: nowrap; }
.hero-kick { position: relative; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--human-text); }
.hero h1 { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: clamp(34px, 5.6vw, 78px); font-weight: 700; line-height: 1.32; letter-spacing: 0.02em; }
.hero h1 .ph { display: inline-block; }
.hero h1 .blk { padding: 0.02em 0.3em 0.08em; background: var(--ink); color: var(--on-ink); }
.hero .lead { position: relative; text-align: center; }
.hero-cta { position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 24px; }
.legend { position: relative; display: inline-flex; gap: 18px; font-size: 13px; font-weight: 700; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }

/* issue grid */
.cells { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.cells li { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); transition: background-color 0.25s ease; }
.cells li:nth-child(4n) { border-right: 0; }
.cells li:hover { background: var(--panel); }
.cells small { font-family: var(--f-mono); font-size: 11px; color: var(--mute); }
.cells h3 { font-size: 20px; line-height: 1.55; }
.cells p { font-size: 14px; color: var(--mute); line-height: 1.85; }
@media (max-width: 960px) { .cells { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cells li:nth-child(2n) { border-right: 0; } }
@media (max-width: 560px) { .cells { grid-template-columns: minmax(0, 1fr); } .cells li { border-right: 0; } }

/* night band */
.night { background: var(--night); color: var(--night-fg); --line: var(--night-line); --mute: var(--night-mute); }
.night h2 { color: var(--night-fg); }

/* layers (dark) */
.ctx-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.layer-list { display: flex; flex-direction: column; border-top: 1px solid var(--night-line); }
.layer-list button { width: 100%; min-height: 72px; display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 8px; align-items: center; padding: 12px 14px; border: 0; border-bottom: 1px solid var(--night-line); background: transparent; color: var(--night-fg); text-align: left; transition: background-color 0.25s ease, color 0.25s ease; }
.layer-list button small { grid-row: span 2; display: flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 11px; color: var(--night-mute); }
.layer-list button span { font-family: var(--f-serif); font-size: 19px; font-weight: 700; line-height: 1.4; }
.layer-list button em { font-style: normal; font-size: 12px; line-height: 1.6; color: var(--night-mute); }
.layer-list button:hover { background: var(--night-2); }
.layer-list button[aria-pressed="true"] { background: var(--night-fg); color: var(--night); }
.layer-list button[aria-pressed="true"] small, .layer-list button[aria-pressed="true"] em { color: inherit; }
.stage { --p: 290px; position: relative; height: 620px; overflow: hidden; touch-action: pan-y; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); }
.iso { position: absolute; left: 50%; top: 56%; width: 0; height: 0; transform-style: preserve-3d; transition: transform 0.3s ease-out; }
.plate { position: absolute; left: calc(var(--p) / -2); top: calc(var(--p) / -2); width: var(--p); height: var(--p); background: var(--plate); color: var(--plate-fg); box-shadow: inset 0 0 0 1.5px var(--plate-fg); transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s ease; }
.plate.w { background: var(--plate-2); }
.plate.ctx { color: var(--on-ai); box-shadow: inset 0 0 0 1.5px var(--plate-fg); }
.plate svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.plate .pl { position: absolute; left: 11px; top: 9px; display: flex; gap: 6px; align-items: baseline; font-family: var(--f-serif); font-size: 14px; font-weight: 700; }
.plate .pl small { font-family: var(--f-mono); font-size: 10px; font-weight: 500; }
.plate .pm { position: absolute; right: 11px; bottom: 10px; display: flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.14em; }
.plate .pm i { width: 9px; height: 9px; background: var(--human); }
.plate.ctx .pm i { background: var(--on-ai); }
.shadow { position: absolute; left: calc(var(--p) / -2 - 10px); top: calc(var(--p) / -2 - 10px); width: calc(var(--p) + 20px); height: calc(var(--p) + 20px); background: #000; opacity: 0.55; filter: blur(16px); transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.pin { position: absolute; left: 50%; width: 20px; height: 130px; display: flex; flex-direction: column; align-items: center; transform: translate(-50%, -100%); pointer-events: none; }
.pin b { width: 20px; height: 20px; border-radius: 50%; background: var(--human); box-shadow: inset 0 0 0 2px #121212; }
.pin i { flex: 1 1 auto; width: 2.5px; background: var(--plate-fg); }
.ripple { position: absolute; left: 50%; width: 220px; border-radius: 50%; box-shadow: 0 0 0 2px var(--human); transform: translate(-50%, -50%); pointer-events: none; }
.pin[hidden], .ripple[hidden] { display: none !important; }
.pin.drop { animation: pin-drop 0.9s cubic-bezier(0.3, 1.2, 0.4, 1) both; }
.ripple.go { animation: ripple 2.2s ease-out 0.6s infinite; }
@keyframes pin-drop { 0% { transform: translate(-50%, -100%) translateY(-140px); opacity: 0; } 60% { transform: translate(-50%, -100%) translateY(6px); opacity: 1; } 80% { transform: translate(-50%, -100%) translateY(-4px); } 100% { transform: translate(-50%, -100%); opacity: 1; } }
@keyframes ripple { 0% { transform: translate(-50%, -50%) scale(0.2); opacity: 0.9; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 0; } }
.badge { position: absolute; right: 14px; top: 14px; width: 104px; height: 104px; pointer-events: none; }
.badge svg { width: 100%; height: 100%; animation: spin 26s linear infinite; }
.badge text { fill: var(--night-fg); font-family: var(--f-mono); font-size: 10px; }
.badge .c { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--human); }
@keyframes spin { to { transform: rotate(360deg); } }
.stage-status { position: absolute; left: 16px; bottom: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--night-mute); }
.ctx-foot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--night-line); }
.ctx-foot div { padding: 22px 4px 0; display: flex; flex-direction: column; gap: 6px; text-align: center; }
.ctx-foot div + div { border-left: 1px solid var(--night-line); }
.ctx-foot h3 { font-size: 22px; }
.ctx-foot p { font-size: 14px; color: var(--night-mute); }
@media (max-width: 960px) {
  .ctx-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .stage { order: -1; --p: 210px; height: 440px; }
  .layer-list { border-top: 0; }
  .layer-list button { min-height: 52px; padding: 8px 14px; }
  .layer-list button em { display: none; }
  .layer-list button[aria-pressed="true"] em { display: block; }
}
@media (max-width: 560px) { .ctx-foot { grid-template-columns: minmax(0, 1fr); } .ctx-foot div + div { border-left: 0; } }

/* service rows */
.svc { border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.svc-row.rev .ill { order: 2; border-right: 0; border-left: 1px solid var(--line); }
.svc-row .ill { position: relative; min-height: 420px; background: var(--fog); border-right: 1px solid var(--line); overflow: hidden; }
.svc-row .txt { display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 4vw, 48px); }
.svc-row h3 { font-family: var(--f-en); font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.svc-row .txt > p { color: var(--mute); }
.subs { margin-top: 8px; border-top: 1px solid var(--line); }
.subs li { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.subs b { font-size: 15px; font-weight: 700; }
.subs span { font-size: 14px; color: var(--mute); line-height: 1.8; }
.dots-bg { position: absolute; inset: 0; background-image: radial-gradient(var(--line) 1.2px, transparent 1.4px); background-size: 14px 14px; opacity: 0.9; }
.rep { position: absolute; left: 50%; top: 50%; width: min(70%, 360px); transform: translate(-50%, -50%); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.rep header { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--mute); }
/* service diagrams read top to bottom: who was interviewed -> what was checked -> what it became */
.svc-row .ill { display: flex; flex-direction: column; }
.dg { position: relative; flex: 1 1 auto; min-height: inherit; display: flex; flex-direction: column; justify-content: center; padding: 32px clamp(16px, 7%, 48px); }
.dg .rep { position: relative; left: auto; top: auto; transform: none; width: 100%; max-width: 380px; margin-inline: auto; }
.dg-cap { display: flex; justify-content: space-between; gap: 8px; max-width: 380px; width: 100%; margin: 0 auto 10px; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.08em; color: var(--mute); }
.who3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 380px; width: 100%; margin-inline: auto; }
.who3 li { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); text-align: center; font-size: 12px; font-weight: 700; line-height: 1.35; }
.who3 b { display: grid; place-items: center; width: 22px; height: 22px; background: var(--human); color: var(--on-human); font-family: var(--f-mono); font-size: 11px; }
.join { position: relative; height: 34px; max-width: 380px; width: 100%; margin-inline: auto; }
.join::before { content: ""; position: absolute; top: 0; left: calc((100% - 20px) / 6); right: calc((100% - 20px) / 6); height: 14px; border: 1px solid var(--human); border-top: 0; }
.join::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--human); }
.join.one { height: 14px; }
.join.one::before { display: none; }
.gate { align-self: center; padding: 6px 12px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--ink); white-space: nowrap; }
.gate i { font-style: normal; color: var(--mute); margin-inline: 6px; }
.wf { display: flex; align-items: center; gap: 4px; }
.wf span { flex: 1 1 0; min-width: 0; padding: 7px 2px; text-align: center; font-size: 11px; font-weight: 700; box-shadow: inset 0 0 0 1px var(--line); }
.wf span.on { box-shadow: inset 0 0 0 1.5px var(--ai); }
.wf i { font-style: normal; font-size: 11px; color: var(--mute); }
@media (max-width: 400px) { .wf { gap: 2px; } .wf span { font-size: 10px; white-space: nowrap; } .dg { padding-inline: 14px; } }
.brs { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-top: 14px; }
.brs::before { content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: 7px; background: var(--ai); }
.brs::after { content: ""; position: absolute; top: 7px; left: calc((100% - 8px) / 4); right: calc((100% - 8px) / 4); height: 7px; border: 1px solid var(--ai); border-bottom: 0; }
.brs li { display: flex; flex-direction: column; gap: 2px; padding: 6px 8px; background: var(--fog); font-size: 10px; color: var(--mute); line-height: 1.4; }
.brs b { font-size: 11px; color: var(--ink); }
.finds { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-top: 2px; }
.finds li { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 11px; line-height: 1.45; }
.finds li:last-child { border-bottom: 0; padding-bottom: 0; }
.finds i { font-style: normal; padding: 2px 0; text-align: center; font-size: 10px; font-weight: 700; }
.finds .ok { background: var(--human); color: var(--on-human); }
.finds .df { box-shadow: inset 0 0 0 1px var(--ai); color: var(--ai-text); }
.finds .q { outline: 1px dashed var(--mute); outline-offset: -1px; color: var(--mute); }
.finds em { font-style: normal; font-family: var(--f-mono); font-size: 10px; color: var(--ai-text); }
.gantt { position: absolute; left: 10%; right: 10%; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; }
.gantt div { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 10px; color: var(--mute); }
.gantt div em { position: relative; display: block; height: 14px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.gantt div em i { position: absolute; top: 0; bottom: 0; background: var(--ink); opacity: 0.85; }
.gantt div.now em i { background: var(--human); opacity: 1; }
.gantt .nowline { position: absolute; top: -18px; bottom: -10px; left: calc(64px + 10px + (100% - 74px) * 0.38); width: 1.5px; background: var(--human); }
.gantt .nowline::before { content: "NOW"; position: absolute; top: -16px; left: -12px; font-family: var(--f-mono); font-size: 10px; color: var(--human-text); }
.orbit-wrap { position: absolute; left: 50%; top: 46%; width: 240px; height: 240px; transform: translate(-50%, -50%); display: grid; place-items: center; }
.orbit-core { position: relative; z-index: 1; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; color: var(--on-ai); font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; }
.orbit { position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); animation: spin 26s linear infinite; }
.orbit span { position: absolute; left: 50%; top: 50%; }
.orbit span i { display: inline-block; padding: 4px 10px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); font-style: normal; font-family: var(--f-en); font-size: 12px; font-weight: 600; white-space: nowrap; animation: spin 26s linear infinite reverse; }
.orbit span:nth-child(1) { transform: translate(-50%, -50%) translateY(-120px); }
.orbit span:nth-child(2) { transform: translate(-50%, -50%) rotate(120deg) translateY(-120px) rotate(-120deg); }
.orbit span:nth-child(3) { transform: translate(-50%, -50%) rotate(240deg) translateY(-120px) rotate(-240deg); }
.vers { position: absolute; left: 10%; right: 10%; bottom: 28px; display: flex; flex-direction: column; gap: 8px; }
.vers .vl { position: relative; height: 2px; background: var(--line); }
.vers .vl b { position: absolute; left: 0; top: 0; bottom: 0; width: 62%; background: linear-gradient(90deg, var(--human), var(--ai)); }
.vers .vt { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 10px; color: var(--mute); }
@media (max-width: 860px) { .svc-row { grid-template-columns: minmax(0, 1fr); } .svc-row .ill, .svc-row.rev .ill { order: 0; min-height: 360px; border: 0; border-bottom: 1px solid var(--line); } .orbit-wrap { top: 42%; } }

/* demo */
.window { background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--ink); text-align: left; }
.win-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 12px 18px; border-bottom: 1.5px solid var(--ink); font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; }
.win-bar span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--human); animation: blink 1.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
.win-body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.chat { display: flex; flex-direction: column; gap: 18px; padding: 24px; }
.msg { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: start; }
.msg .who { display: inline-flex; justify-content: center; padding: 3px 6px; font-family: var(--f-mono); font-size: 11px; white-space: nowrap; }
.msg.ai .who { background: var(--ai); color: var(--on-ai); }
.msg.hu .who { background: var(--human); color: var(--on-human); }
.msg.ai p { font-family: var(--f-serif); font-size: 18px; font-weight: 700; line-height: 1.6; }
.msg.hu p { font-size: 15px; line-height: 1.85; }
.msg mark { color: inherit; background: linear-gradient(transparent 58%, rgba(47, 175, 95, 0.3) 58%); padding: 0 1px; }
/* messages are laid out from the start and revealed in place, so nothing below them moves */
.msg.pending .who, .msg.pending .txt { visibility: hidden; }
.msg .dots { position: absolute; left: 78px; top: 8px; display: none; gap: 5px; }
.msg.next .dots { display: inline-flex; }
.msg .dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--mute); animation: bounce 1s ease-in-out infinite; }
.msg .dots i:nth-child(2) { animation-delay: 0.15s; }
.msg .dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce { 0%, 100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(-4px); opacity: 1; } }
.pop { animation: pop 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ctx { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--paper); border-left: 1.5px solid var(--ink); }
.ctx-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 700; }
.ctx-head span:last-child { font-family: var(--f-mono); font-size: 12px; font-weight: 400; color: var(--ai-text); }
.ccard { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; background: var(--panel); border: 1.5px dashed var(--human); }
.ccard header { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ccard .cno { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--mute); }
.ccard .ct { font-family: var(--f-serif); font-size: 16px; font-weight: 700; line-height: 1.5; }
.ccard .cx { font-size: 13.5px; line-height: 1.75; }
.ccard .ev { font-family: var(--f-mono); font-size: 11px; color: var(--mute); }
.st { font-style: normal; display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; padding: 2px 8px; font-size: 11px; font-weight: 700; color: var(--mute); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; }
.st.rule { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.st.rule::before { content: "?"; width: auto; height: auto; box-shadow: none; font-family: var(--f-mono); font-size: 11px; }
.ccard.pending { border-color: var(--line); background: transparent; }
.ccard.pending > :not(.ph) { visibility: hidden; }
.ccard .ph { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); display: none; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--mute); }
.ccard.pending .ph { display: block; }
.flow { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 0 0 4px; font-size: 11px; color: var(--mute); }
.flow li { display: inline-flex; align-items: center; gap: 6px; }
.flow li + li::before { content: "→"; color: var(--line); margin-right: 2px; }
.flow li i { width: 7px; height: 7px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; }
.flow li.now { color: var(--ink); font-weight: 700; }
.flow li.now i { background: var(--human); box-shadow: none; }
.notice { display: flex; align-items: flex-start; gap: 10px; margin-top: auto; padding: 12px 14px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); transition: opacity 0.4s ease; }
.notice.off { opacity: 0; }
.notice svg { flex: 0 0 auto; margin-top: 2px; color: var(--mute); }
.notice b { display: block; font-size: 14px; }
.notice span { display: block; font-size: 12.5px; line-height: 1.7; color: var(--mute); }
/* stage tabs above the window, and the merge view */
.demo-stages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 10px; box-shadow: inset 0 0 0 1px var(--line); }
.demo-stages button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 60px; padding: 10px 16px; border: 0; background: transparent; color: var(--mute); text-align: left; font-size: 15px; font-weight: 700; box-shadow: inset 0 -3px 0 transparent; }
.demo-stages button small { font-family: var(--f-mono); font-size: 11px; font-weight: 400; }
.demo-stages button span { font-size: 12px; font-weight: 400; }
.demo-stages button[aria-selected="true"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--ink); }
.merge { display: flex; flex-direction: column; gap: 16px; padding: 24px; }
.merge[hidden] { display: none; }
.merge-note { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 12px 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; line-height: 1.7; color: var(--mute); }
.merge-note b { color: var(--ink); }
.merge-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 16px; align-items: start; }
.merge h3 { margin: 0 0 8px; font-family: var(--f-mono); font-size: 11px; font-weight: 400; letter-spacing: 0.1em; color: var(--mute); }
.srcs, .mgs { display: flex; flex-direction: column; gap: 10px; }
.src { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.src header { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.src header b { font-family: var(--f-serif); font-size: 15px; }
.src header small { font-family: var(--f-mono); font-size: 11px; color: var(--mute); }
.src p { font-size: 13.5px; line-height: 1.75; }
.src .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.src .chips i { font-style: normal; font-size: 11px; padding: 1px 7px; color: var(--mute); box-shadow: inset 0 0 0 1px var(--line); }
.mg { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--ai); }
.mg h4 { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 14px; }
.mg h4 i { width: 8px; height: 8px; border-radius: 50%; background: var(--ai); }
.mg.diff h4 i { background: var(--human); }
.mg.ask { box-shadow: inset 0 0 0 1px var(--line); }
.mg.ask h4 i { background: transparent; box-shadow: inset 0 0 0 1.5px var(--mute); }
.mg li { position: relative; padding-left: 12px; font-size: 13.5px; line-height: 1.75; }
.mg li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 5px; height: 1.5px; background: var(--mute); }
.mg li em { font-style: normal; font-family: var(--f-mono); font-size: 11px; color: var(--mute); margin-left: 6px; white-space: nowrap; }
.merge-foot { font-size: 12.5px; line-height: 1.7; color: var(--mute); }
.merge-path { padding-top: 12px; border-top: 1px solid var(--line); }
.flow.done li { color: var(--ink); }
.flow.done li i { background: var(--mute); box-shadow: none; }
.flow.done li.now i { background: var(--ai); }
.btn-sm.go { background: var(--ink); color: var(--on-ink); }
.merge .pop:nth-child(2) { animation-delay: 0.08s; } .merge .pop:nth-child(3) { animation-delay: 0.16s; } .merge .pop:nth-child(4) { animation-delay: 0.24s; } .merge .pop:nth-child(5) { animation-delay: 0.32s; }
/* controls */
.demo-ctl { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 14px; }
.demo-pos { margin-right: auto; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--mute); }
.btn-sm { min-height: 44px; padding: 0 16px; border: 0; background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); font-size: 13px; font-weight: 700; }
.btn-sm:disabled { opacity: 0.35; cursor: default; }
.feat3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.feat3 li { display: flex; flex-direction: column; gap: 6px; padding: 22px 20px 0; }
.feat3 li + li { border-left: 1px solid var(--line); }
.feat3 b { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; }
.feat3 span { font-size: 14px; color: var(--mute); }
@media (max-width: 860px) { .win-body { grid-template-columns: minmax(0, 1fr); } .ctx { border-left: 0; border-top: 1.5px solid var(--ink); } .chat { padding: 18px; } .merge { padding: 18px; } .merge-grid { grid-template-columns: minmax(0, 1fr); } .demo-stages button { padding: 10px 12px; font-size: 14px; } .demo-ctl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); } .demo-pos { grid-column: 1 / -1; } .btn-sm { padding: 0 6px; } .feat3 { grid-template-columns: minmax(0, 1fr); } .feat3 li + li { border-left: 0; border-top: 1px solid var(--line); padding-top: 18px; } .feat3 li { padding-inline: 0; } }

/* process cards */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pcard { display: flex; flex-direction: column; gap: 12px; padding: 20px 20px 26px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.pcard figure { margin: 0 0 8px; aspect-ratio: 4 / 3; max-width: 100%; display: grid; place-items: center; background: var(--fog); }
.pcard svg { width: 72%; height: auto; overflow: visible; }
.pcard small { font-family: var(--f-mono); font-size: 11px; color: var(--mute); letter-spacing: 0.1em; }
.pcard h3 { font-size: 22px; }
.pcard p { font-size: 14px; color: var(--mute); }
@media (max-width: 860px) { .cards3 { grid-template-columns: minmax(0, 1fr); } .pcard figure { aspect-ratio: 16 / 9; } .pcard svg { width: 54%; } }

/* philosophy (dark) */
.philo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.philo-grid h2 { font-size: clamp(30px, 3.8vw, 50px); line-height: 1.5; margin-top: 18px; }
.philo-grid .needle { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-family: var(--f-mono); font-size: 11px; color: var(--night-mute); letter-spacing: 0.12em; }
.philo-grid .needle i { position: relative; width: 64px; height: 1.5px; background: var(--night-fg); }
.philo-grid .needle i::before { content: ""; position: absolute; left: -6px; top: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--human); }
.vals { border-top: 1px solid var(--night-line); }
.vals li { display: flex; flex-direction: column; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--night-line); }
.vals b { font-family: var(--f-serif); font-size: 20px; font-weight: 700; }
.vals span { font-size: 14px; color: var(--night-mute); }
@media (max-width: 860px) { .philo-grid { grid-template-columns: minmax(0, 1fr); } }

/* news */
.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ncard { display: flex; flex-direction: column; gap: 10px; }
.ncard .thumb { position: relative; aspect-ratio: 16 / 10; max-width: 100%; background: var(--fog); overflow: hidden; }
.ncard .thumb .dots-bg { opacity: 1; }
.ncard .thumb i { position: absolute; border-radius: 50%; }
.ncard small { display: flex; gap: 10px; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--mute); }
.ncard small b { font-weight: 500; color: var(--human-text); }
.ncard h3 { font-size: 18px; line-height: 1.55; }
.ncard:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.see-all { display: flex; justify-content: center; margin-top: 32px; }
@media (max-width: 860px) {
  .news { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: calc(-1 * clamp(20px, 4vw, 56px)); padding-inline: clamp(20px, 4vw, 56px); scroll-padding-inline: clamp(20px, 4vw, 56px); }
  .news::-webkit-scrollbar { display: none; }
  .ncard { scroll-snap-align: start; }
  .news-dots { display: flex; justify-content: center; gap: 2px; margin-top: 12px; }
  .news-dots button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; background: transparent; }
  .news-dots button i { display: block; width: 8px; height: 8px; border-radius: 4px; background: var(--line); transition: width 0.3s ease, background-color 0.3s ease; }
  .news-dots button[aria-current="true"] i { width: 22px; background: var(--ink); }
}

/* contact */
.contact-c { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.contact-c h2 { font-size: clamp(32px, 4.4vw, 60px); line-height: 1.4; }
.contact-c h2 .blk { padding: 0.02em 0.3em 0.08em; background: var(--ink); color: var(--on-ink); }
.contact-c .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.mail { font-family: var(--f-mono); font-size: 13px; color: var(--mute); user-select: all; }

/* footer */
.foot-in { display: flex; flex-direction: column; gap: 40px; padding: 48px clamp(20px, 4vw, 56px) 24px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 56px; font-size: 14px; }
.foot-cols div { display: flex; flex-direction: column; gap: 4px; }
.foot-cols small { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--mute); margin-bottom: 6px; }
.foot-cols a { display: inline-flex; align-items: center; min-height: 32px; }
@media (max-width: 560px) { .foot-cols a { min-height: 44px; } .foot-cols div { gap: 0; } }
.foot-cols a:hover { text-decoration: underline; text-underline-offset: 5px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 11px; color: var(--mute); }
.wordmark { margin: 0; padding: 0.22em 0 0.08em; font-family: var(--f-serif); font-weight: 800; font-size: clamp(64px, 11vw, 150px); line-height: 1.1; letter-spacing: 0.06em; color: var(--ink); user-select: none; text-align: center; }
.wordmark .x-old { display: block; margin-top: 0.5em; font-family: var(--f-mono); font-weight: 400; font-size: clamp(11px, 1.1vw, 14px); line-height: 1; letter-spacing: 0.6em; padding-left: 0.6em; color: var(--mute); }

/* skip link */
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--on-ink); font-weight: 700; font-size: 14px; }
.skip:focus { top: 12px; }

/* badge: small dot that marks an open call */
.nb { display: inline-block; width: 7px; height: 7px; margin-left: 6px; border-radius: 50%; background: var(--human); vertical-align: 0.5em; }

/* popup tip (tooltip on hover/focus, tap to open on touch) */
.tip { position: relative; display: inline-grid; place-items: center; width: 22px; height: 22px; margin: 0 4px; padding: 0; border: 0; border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; color: var(--mute); font-family: var(--f-mono); font-size: 12px; font-weight: 500; line-height: 1; vertical-align: 0.1em; }
.tip::after { content: ""; position: absolute; inset: -11px; }
.tip[aria-expanded="true"], .tip:hover { color: var(--ink); }
.night .tip { color: var(--night-mute); }
.night .tip[aria-expanded="true"], .night .tip:hover { color: var(--night-fg); }
.label-row { display: inline-flex; align-items: center; gap: 4px; }
.tip-pop { position: fixed; z-index: 80; width: max-content; max-width: min(300px, calc(100vw - 32px)); padding: 12px 14px; background: var(--ink); color: var(--on-ink); font-size: 13px; line-height: 1.75; text-align: left; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 10px 30px rgba(0, 0, 0, 0.18); }
.tip-pop b { display: block; margin-bottom: 2px; font-size: 13px; }
.tip-pop[hidden] { display: none; }

/* back to top + phone action bar (floating) */
.totop { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 46; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; width: 52px; height: 52px; background: var(--panel); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink), 0 8px 24px rgba(0, 0, 0, 0.12); font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; opacity: 0; transform: translateY(12px); visibility: hidden; transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, bottom 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
.show-top .totop { opacity: 1; transform: none; visibility: visible; }
.dock { display: none; }
@media (max-width: 960px) {
  .nav-r .btn-ink { display: none; }
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; gap: 8px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.06); transform: translateY(110%); visibility: hidden; transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.35s; }
  .show-dock .dock { transform: none; visibility: visible; }
  .dock .btn { flex: 1 1 0; min-height: 48px; padding: 0 10px; font-size: 13px; }
  .totop { right: 16px; width: 48px; height: 48px; }
  .show-dock .dock { padding-left: calc(var(--gutter) + 56px); }
  .show-dock .totop { left: var(--gutter); right: auto; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); box-shadow: inset 0 0 0 1.5px var(--ink); transition: opacity 0.3s ease, visibility 0.3s; }
}
@media (max-width: 380px) { .dock .wide { display: none; } }

/* snackbar */
.toast { position: fixed; left: 0; right: 0; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 90; display: flex; width: max-content; margin-inline: auto; align-items: center; gap: 10px; max-width: calc(100vw - 32px); padding: 12px 18px; background: var(--ink); color: var(--on-ink); font-size: 14px; font-weight: 700; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease; }
.toast.on { opacity: 1; transform: none; }
.toast i { width: 8px; height: 8px; border-radius: 50%; background: var(--human); flex: 0 0 auto; }
@media (max-width: 960px) { .show-dock .toast, .show-top .toast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }
.mail-row { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.copy { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 700; }
@media (hover: hover) { .copy:hover { box-shadow: inset 0 0 0 1.5px var(--ink); } }

/* FAQ accordion */
.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: grid; grid-template-columns: 36px minmax(0, 1fr) 24px; align-items: center; gap: 8px; min-height: 64px; padding: 14px 4px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 700; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq .q { font-family: var(--f-mono); font-size: 13px; font-weight: 500; color: var(--human-text); }
.faq .pm { position: relative; width: 16px; height: 16px; justify-self: end; }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: currentColor; transition: transform 0.3s ease; }
.faq .pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0deg); }
.faq .a { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 8px; padding: 0 4px 22px; color: var(--mute); font-size: 15px; line-height: 1.9; }
.faq .a::before { content: "A"; font-family: var(--f-mono); font-size: 13px; color: var(--mute); }
.faq details[open] .a { animation: pop 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@media (hover: hover) { .faq summary:hover > span:nth-child(2) { text-decoration: underline; text-underline-offset: 5px; } }

/* service tab bar (phones only) */
.svc-tabs { display: none; }
.svc-next { display: none; }
@media (max-width: 860px) {
  .svc.tabbed .svc-tabs { position: sticky; top: 64px; z-index: 6; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--paper); border-bottom: 1px solid var(--line); }
  .svc-tabs button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; min-height: 56px; padding: 6px 4px; border: 0; background: transparent; color: var(--mute); font-family: var(--f-en); font-size: 14px; font-weight: 600; box-shadow: inset 0 -2px 0 transparent; }
  .svc-tabs button small { font-family: var(--f-mono); font-size: 11px; font-weight: 400; }
  .svc-tabs button { font-family: var(--f-sans); font-size: 13px; line-height: 1.4; text-align: center; }
  .svc-tabs button[aria-selected="true"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--ink); }
  .svc.tabbed .svc-row:not(.is-active) { display: none; }
  .svc.tabbed .svc-next { display: inline-flex; align-self: flex-start; margin-top: 8px; }
}

/* news carousel (phones only) */
.news-dots { display: none; }

/* two ways to use it */
.modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 920px; margin: clamp(32px, 4vw, 44px) auto 0; }
.mode { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.mode small { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--human-text); }
.mode b { font-size: 17px; }
.mode p { font-size: 14px; color: var(--mute); line-height: 1.8; }
.scope { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 13px; }
.scope span { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--mute); margin-right: 4px; }
.scope i { font-style: normal; padding: 4px 10px; box-shadow: inset 0 0 0 1px var(--line); background: var(--panel); }
@media (max-width: 680px) { .modes { grid-template-columns: minmax(0, 1fr); } }
.topics { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.topics i { font-style: normal; font-size: 12px; padding: 3px 10px; box-shadow: inset 0 0 0 1px var(--line); }
.scope em { font-style: normal; font-size: 12px; color: var(--mute); margin-left: 4px; }
.cxrows { display: flex; flex-direction: column; gap: 9px; }
.cxrows li { display: grid; grid-template-columns: 64px minmax(0, 1fr) 30px; align-items: center; gap: 8px; font-size: 10px; color: var(--mute); }
.cxrows i { font-style: normal; padding: 2px 4px; text-align: center; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.cxrows span { height: 7px; background: var(--fog); }
.cxrows em { font-style: normal; font-family: var(--f-mono); color: var(--ai-text); text-align: right; }
.plans.seq .plan { position: relative; }
.plans.seq .plan.h::after { content: "→"; position: absolute; z-index: 1; right: -19px; top: 50%; display: grid; place-items: center; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; color: var(--mute); }
@media (max-width: 860px) { .plans.seq .plan.h::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -19px; margin: 0 0 0 -13px; } }
.stage-note { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--mute); }

/* pilot partners */
.pilot-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; margin-bottom: clamp(36px, 5vw, 56px); }
.pilot-head h2 { font-size: clamp(24px, 3.8vw, 50px); line-height: 1.5; }
.pilot-head h2 .blk { padding: 0.02em 0.3em 0.08em; background: var(--ink); color: var(--on-ink); }
.status { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; padding: 0 14px; box-shadow: inset 0 0 0 1px var(--line); background: var(--panel); font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.plan { display: flex; flex-direction: column; gap: 18px; padding: 26px clamp(20px, 3vw, 32px) 28px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); border-top: 4px solid var(--human); }
.plan.a { border-top-color: var(--ai); }
.plan header { display: flex; flex-direction: column; gap: 6px; }
.plan small { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--mute); }
.plan h3 { font-size: clamp(24px, 2.4vw, 30px); }
.plan header p { color: var(--mute); font-size: 15px; }
.plan dl { margin: 0; border-top: 1px solid var(--line); }
.plan dl div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.75; }
.plan dt { font-weight: 700; }
.plan dd { margin: 0; }
.pilot-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 40px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.fit, .fit ul { display: flex; flex-direction: column; gap: 8px; }
.fit small { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--mute); }
.fit li { display: flex; align-items: baseline; gap: 10px; font-size: 15px; font-weight: 500; }
.fit li::before { content: ""; flex: 0 0 auto; width: 10px; height: 6px; border-left: 2px solid var(--human-text); border-bottom: 2px solid var(--human-text); transform: translateY(-3px) rotate(-45deg); }
@media (max-width: 860px) { .plans { grid-template-columns: minmax(0, 1fr); } .pilot-foot { grid-template-columns: minmax(0, 1fr); } .pilot-cta { flex-direction: column; } .pilot-cta .btn { width: 100%; } }

/* scroll reveal (only for things below the first screen) */
.rv { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.rv.in { opacity: 1; transform: none; }
.cells li.rv { transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.25s ease; }

/* phones: slightly larger small print */
@media (max-width: 560px) {
  .msg { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .msg .who { justify-self: start; }
  .msg .dots { left: 0; top: 30px; }
  .msg.ai p { font-size: 17px; }
  .hero h1 { font-size: min(34px, 8.4vw); }
  .hero-in { padding-inline: 16px; }
  .label, .hero-kick, .cells small, .pcard small, .stage-status, .win-bar, .foot-bottom, .ccard.wait, .ccard header em { font-size: 12px; }
  .ncard small, .foot-cols small, .ccard header small, .rep header, .gantt div, .vers .vt, .dg-cap, .plate .pl small { font-size: 11px; }
  .pad { padding-block: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}

/* ===== company site: shared pieces ===== */
.nw { display: inline-block; white-space: nowrap; }
.br-wide { display: none; }
@media (min-width: 640px) { .br-wide { display: inline; } }
.pad-head { padding-bottom: clamp(40px, 5vw, 64px); }
.pad-head .head-c { margin-bottom: 0; }
.nav-c a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.menu li a[aria-current="page"] small::before { content: "● "; color: var(--human); }
.menu-sub { display: flex; flex-direction: column; gap: 10px; }
.menu-sub small { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--mute); }
.menu-sub p { display: flex; flex-wrap: wrap; gap: 6px; }
.menu-sub a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 700; }
.dock .narrow { display: none; }
@media (max-width: 380px) { .dock .narrow { display: inline; } }
.crumbs { position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; font-size: 12px; color: var(--mute); }
.crumbs a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: underline; text-underline-offset: 4px; }
.lnav { display: flex; justify-content: center; flex-wrap: wrap; border-top: 1px solid var(--line); }
.lnav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px; font-size: 13px; font-weight: 700; color: var(--mute); white-space: nowrap; }
.lnav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 860px) {
  .lnav { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding-inline: 6px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .lnav::-webkit-scrollbar { display: none; }
  .lnav a { flex: 0 0 auto; padding: 0 12px; }
}
.unset-note { font-size: 13px; color: var(--mute); }
.unset-note::before { content: "※ "; }
.fine { margin-top: 20px; font-size: 13px; color: var(--mute); text-align: center; }
.fine::before { content: "※ "; }
.cells .sq { display: inline-block; width: 10px; height: 10px; background: var(--human); }
.cells .a .sq { background: var(--ai); }

/* top: mission in the middle, vision and values as a smaller band under it */
.hero-mvv .hero-in { padding-bottom: clamp(56px, 7vw, 96px); }
.hero-mvv h1 { font-size: clamp(34px, 4.9vw, 70px); }
@media (max-width: 560px) { .hero-mvv h1 { font-size: min(34px, 8.4vw); } }
.mvv-sub { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 2fr); border-top: 1px solid var(--line); }
.mvv-sub > div { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(24px, 3vw, 36px) clamp(20px, 3vw, 40px); }
.mvv-v { border-right: 1px solid var(--line); }
.mvv-v p { font-family: var(--f-serif); font-weight: 700; font-size: clamp(19px, 1.75vw, 23px); line-height: 1.65; }
.mvv-vals ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
.mvv-vals li { display: flex; flex-direction: column; gap: 6px; padding-right: 16px; }
.mvv-vals li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.mvv-vals small { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--human-text); }
.mvv-vals b { font-family: var(--f-serif); font-size: clamp(16px, 1.45vw, 19px); line-height: 1.6; }
@media (max-width: 860px) {
  .mvv-sub { grid-template-columns: minmax(0, 1fr); }
  .mvv-v { border-right: 0; border-bottom: 1px solid var(--line); }
  .mvv-vals ol { grid-template-columns: minmax(0, 1fr); }
  .mvv-vals li, .mvv-vals li + li { flex-direction: row; align-items: baseline; gap: 14px; padding: 12px 0; border-left: 0; border-top: 1px solid var(--line); }
  .mvv-vals li:first-child { border-top: 0; padding-top: 0; }
}

/* top: two issues, each pointing at the business that answers it */
.cells.iss2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cells.iss2 li:nth-child(n) { border-right: 1px solid var(--line); }
.cells.iss2 li:nth-child(2n) { border-right: 0; }
.cells.iss2 li { gap: 16px; padding: clamp(28px, 3.6vw, 48px) clamp(20px, 3.6vw, 48px) 0; }
.cells.iss2 small { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.1em; }
.cells.iss2 h3 { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.5; }
.cells.iss2 p { font-size: 15px; }
.iss-to { margin: auto calc(-1 * clamp(20px, 3.6vw, 48px)) 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 64px; padding: 0 clamp(20px, 3.6vw, 48px); border-top: 1px solid var(--line); font-size: 15px; }
.cells.iss2 li > p:last-of-type { margin-bottom: 12px; }
.iss-to span { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--mute); }
.iss-to b { font-weight: 700; }
.iss-to i { font-style: normal; font-weight: 700; color: var(--human-text); }
.a .iss-to i { color: var(--ai-text); }
@media (hover: hover) { .iss-to:hover b { text-decoration: underline; text-underline-offset: 5px; } }
@media (max-width: 560px) { .cells.iss2 { grid-template-columns: minmax(0, 1fr); } .cells.iss2 li:nth-child(n) { border-right: 0; } }

/* top: the two businesses, same size and same structure */
/* one business per row: the text first, then its picture */
.biz { border-top: 1px solid var(--line); }
.biz-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-width: 0; scroll-margin-top: 72px; }
.biz-col + .biz-col { border-top: 1px solid var(--line); }
.biz-ill { position: relative; order: 2; display: flex; flex-direction: column; min-height: 420px; background: var(--fog); border-left: 1px solid var(--line); overflow: hidden; }
.biz-ill .dg { padding-block: 28px; }
.biz-txt { flex: 1 1 auto; display: flex; flex-direction: column; gap: 16px; padding: clamp(28px, 3.6vw, 48px); }
.biz-no { display: flex; align-items: baseline; gap: 12px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--mute); text-transform: uppercase; }
.biz-no b { font-family: var(--f-en); font-size: 40px; font-weight: 500; letter-spacing: -0.02em; line-height: 1; color: var(--ink); }
.biz-col.h .biz-no span { color: var(--human-text); }
.biz-col.a .biz-no span { color: var(--ai-text); }
.biz-txt h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.45; }
.biz-txt > p { color: var(--mute); }
.biz-meta { margin: 4px 0 8px; border-top: 1px solid var(--line); }
.biz-meta div { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.7; }
.biz-meta dt { font-weight: 700; }
.biz-meta dd { margin: 0; color: var(--mute); }
.biz-txt .btn { margin-top: auto; align-self: flex-start; }
.biz-call { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; min-height: 40px; padding: 0 14px; margin-top: auto; box-shadow: inset 0 0 0 1px var(--line); background: var(--panel); font-size: 13px; font-weight: 700; }
.biz-call + .btn { margin-top: 0; }
@media (hover: hover) { .biz-call:hover { box-shadow: inset 0 0 0 1.5px var(--ink); } }
@media (max-width: 400px) { .biz-call { align-self: stretch; } }
@media (max-width: 860px) {
  .biz-col { grid-template-columns: minmax(0, 1fr); }
  .biz-ill { min-height: 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 400px) { .biz-txt .btn { align-self: stretch; white-space: normal; } }
.ctxbar { display: flex; justify-content: space-between; align-items: center; gap: 8px; max-width: 380px; width: 100%; min-height: 52px; margin: 0 auto; padding: 0 16px; color: var(--on-ai); font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; }
.path { max-width: 380px; width: 100%; margin: 0 auto; padding: 18px 18px 20px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.path-ends { display: flex; justify-content: space-between; gap: 12px; }
.path-ends span { display: flex; flex-direction: column; font-size: 13px; font-weight: 700; line-height: 1.4; }
.path-ends span + span { text-align: right; }
.path-ends small { font-family: var(--f-mono); font-size: 10px; font-weight: 400; letter-spacing: 0.12em; color: var(--human-text); }
.path-ends span + span small { color: var(--ai-text); }
.path-line { position: relative; height: 2px; margin: 14px 4px 0; background: linear-gradient(90deg, var(--human), var(--ai)); }
.path-line::after { content: ""; position: absolute; right: -6px; top: -4px; border-left: 8px solid var(--ai); border-block: 5px solid transparent; }
.path-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.path-steps li { position: relative; padding-top: 16px; text-align: center; font-size: 11px; font-weight: 700; line-height: 1.45; }
.path-steps li::before { content: ""; position: absolute; left: 50%; top: -6px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--panel); box-shadow: inset 0 0 0 2px var(--ai); }
.path-steps li:first-child::before { box-shadow: inset 0 0 0 2px var(--human); }
.path-steps svg { display: block; width: 22px; height: 22px; margin: 0 auto 6px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.path-steps li:first-child svg { stroke: var(--human-text); }
.path-steps li:last-child svg { stroke: var(--ai-text); }
.mchips { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; max-width: 380px; width: 100%; margin: 14px auto 0; }
.mchips li { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); font-size: 11px; font-weight: 700; }
.mchips svg { width: 14px; height: 14px; fill: none; stroke: var(--ai-text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mchips li:first-child { padding-inline: 0 4px; background: transparent; box-shadow: none; font-family: var(--f-mono); font-weight: 400; color: var(--mute); }

/* top: how the two businesses relate (people learn to use AI; AI learns the company) */
.appr { max-width: 980px; margin-inline: auto; border-top: 1px solid var(--line); }
.appr li { display: grid; grid-template-columns: 140px minmax(0, 1fr) 140px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.node { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 72px; padding: 0 12px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--f-serif); font-size: 20px; font-weight: 700; line-height: 1.3; text-align: center; }
.arw { display: flex; flex-direction: column; text-align: center; padding: 0 22px; }
.arw b { font-family: var(--f-serif); font-size: clamp(16px, 1.7vw, 21px); line-height: 1.55; }
.arw .ln { position: relative; height: 1.5px; margin: 12px 4px 10px 0; background: linear-gradient(90deg, var(--human), var(--ai)); }
.arw .ln::after { content: ""; position: absolute; right: -6px; top: -4.25px; border-left: 9px solid var(--ai); border-block: 5px solid transparent; }
.arw small { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--mute); }
.appr-foot { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: clamp(28px, 4vw, 44px); text-align: center; }
.appr-foot p:first-child { font-family: var(--f-serif); font-size: clamp(18px, 2vw, 24px); font-weight: 700; line-height: 1.6; }
.indep { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; color: var(--mute); text-align: left; }
@media (max-width: 560px) {
  .appr li { grid-template-columns: 72px minmax(0, 1fr) 56px; padding: 20px 0; }
  .node { min-height: 60px; padding: 0 6px; font-size: 15px; }
  .node .dot { display: none; }
  .arw { padding: 0 10px; }
  .arw b { font-size: 14px; }
  .arw small { font-size: 10px; }
}

/* top: company profile */
.about-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.about-grid h2 { font-size: clamp(30px, 3.8vw, 50px); line-height: 1.4; margin-top: 18px; }
.about-grid .needle { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-family: var(--f-mono); font-size: 11px; color: var(--mute); letter-spacing: 0.12em; }
.about-grid .needle i { position: relative; width: 64px; height: 1.5px; background: var(--ink); }
.about-grid .needle i::before { content: ""; position: absolute; left: -6px; top: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--human); }
.cdl { margin: 0; border-top: 1px solid var(--line); }
.cdl div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.8; }
.cdl dt { font-weight: 700; }
.cdl dd { margin: 0; color: var(--mute); }
.cdl dd a { display: inline-flex; align-items: center; min-height: 32px; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.cdl .tbd { font-family: var(--f-mono); font-size: 13px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .cdl div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* contact windows, one per business */
.cboxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 980px; margin-top: 8px; text-align: left; }
.cbox { display: flex; flex-direction: column; gap: 12px; padding: 26px clamp(20px, 3vw, 32px) 28px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); border-top: 4px solid var(--human); }
.cbox.a { border-top-color: var(--ai); }
.cbox small { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--mute); text-transform: uppercase; }
.cbox h3 { font-size: clamp(22px, 2.2vw, 28px); }
.cbox p { font-size: 14px; color: var(--mute); }
.cbox .btn { margin-top: auto; white-space: normal; text-align: center; line-height: 1.5; padding-block: 10px; min-height: 52px; }
@media (max-width: 860px) { .cboxes { grid-template-columns: minmax(0, 1fr); } }

/* link to the other business at the end of a service page */
.xlink .frame { border-top: 1px solid var(--line); }
.xlink a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 24px; padding: clamp(24px, 3vw, 36px) clamp(20px, 4vw, 56px); }
.xlink small { grid-column: 1 / -1; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--mute); text-transform: uppercase; }
.xlink b { font-family: var(--f-serif); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.4; }
.xlink span { grid-column: 1; color: var(--mute); font-size: 14px; }
.xlink em { grid-column: 2; grid-row: 2 / span 2; font-style: normal; font-weight: 700; color: var(--ai-text); white-space: nowrap; }
@media (hover: hover) { .xlink a:hover b { text-decoration: underline; text-underline-offset: 6px; } }
@media (max-width: 560px) { .xlink a { grid-template-columns: minmax(0, 1fr); } .xlink em { grid-column: 1; grid-row: auto; margin-top: 8px; } }

/* AI training: curriculum (3 x 2), learning methods, planning */
.cells.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cells.c3 li:nth-child(n) { border-right: 1px solid var(--line); }
.cells.c3 li:nth-child(3n) { border-right: 0; }
@media (max-width: 960px) { .cells.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cells.c3 li:nth-child(n) { border-right: 1px solid var(--line); } .cells.c3 li:nth-child(2n) { border-right: 0; } }
@media (max-width: 560px) { .cells.c3 { grid-template-columns: minmax(0, 1fr); } .cells.c3 li:nth-child(n) { border-right: 0; } }
.mods small { display: flex; align-items: center; gap: 8px; letter-spacing: 0.1em; }
.mods small em { font-style: normal; padding: 1px 6px; box-shadow: inset 0 0 0 1px var(--line); color: var(--ai-text); font-size: 10px; }
.mods li:first-child small em { color: var(--human-text); }
.methods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.methods li { display: flex; flex-direction: column; gap: 10px; padding: 24px clamp(16px, 2vw, 24px) 6px; }
.methods li + li { border-left: 1px solid var(--line); }
.methods small { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--human-text); }
.methods b { font-family: var(--f-serif); font-size: 20px; line-height: 1.5; }
.methods span { font-size: 14px; color: var(--mute); }
@media (max-width: 860px) { .methods { grid-template-columns: repeat(2, minmax(0, 1fr)); } .methods li:nth-child(3) { border-left: 0; } .methods li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .methods { grid-template-columns: minmax(0, 1fr); } .methods li + li { border-left: 0; border-top: 1px solid var(--line); } .methods li { padding: 18px 0; } }
.status .dot { width: 8px; height: 8px; }
@media (max-width: 560px) { .pilot-head h2 { font-size: min(24px, 6.6vw); } }
@media (max-width: 560px) { .mvv-vals small, .biz-no, .iss-to span, .cbox small, .xlink small, .arw small { font-size: 11px; } }

/* opening: the mark draws itself (needle, ring, dot), the name appears, then the curtain lifts onto the hero.
   Only on the first page of a visit, never with reduced motion, and any input skips it. */
.intro-ov { display: none; }
.intro .intro-ov { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--paper); color: var(--ink); clip-path: inset(0 0 0 0); animation: introOut 0.65s cubic-bezier(0.7, 0, 0.2, 1) 1.6s forwards; }
.intro-ov[hidden], .intro-skip .intro-ov { display: none !important; }
.intro-lock { display: flex; align-items: center; gap: 20px; animation: introLock 0.65s cubic-bezier(0.7, 0, 0.2, 1) 1.6s forwards; }
.intro-mark { overflow: visible; fill: none; stroke: currentColor; stroke-width: 2.6; }
.i-needle { stroke-dasharray: 44; stroke-dashoffset: 44; animation: introDraw 0.55s cubic-bezier(0.6, 0, 0.2, 1) 0.1s forwards; }
.i-ring { stroke-dasharray: 104; stroke-dashoffset: 104; transform-box: fill-box; transform-origin: center; transform: rotate(-90deg); animation: introDraw 0.7s cubic-bezier(0.6, 0, 0.2, 1) 0.4s forwards; }
.i-dot { fill: var(--human); stroke: none; transform-box: fill-box; transform-origin: center; transform: scale(0); animation: introDot 0.45s cubic-bezier(0.3, 1.6, 0.5, 1) 0.9s forwards; }
.intro-word b { display: block; font-family: var(--f-serif); font-weight: 800; font-size: 42px; letter-spacing: 0.16em; line-height: 1; clip-path: inset(0 100% 0 0); animation: introWipe 0.6s cubic-bezier(0.6, 0, 0.2, 1) 0.95s forwards; }
.intro-word small { display: block; margin-top: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.5em; line-height: 1; color: var(--mute); opacity: 0; animation: introFade 0.5s ease 1.2s forwards; }
@keyframes introDraw { to { stroke-dashoffset: 0; } }
@keyframes introDot { to { transform: scale(1); } }
@keyframes introWipe { to { clip-path: inset(0 0 0 0); } }
@keyframes introFade { to { opacity: 1; } }
@keyframes introOut { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
@keyframes introLock { to { transform: translateY(-28px); opacity: 0; } }
/* the hero comes in as the curtain lifts */
.intro .hero .crumbs, .intro .hero-kick, .intro .hero h1, .intro .hero .lead, .intro .hero-cta, .intro .hero .legend, .intro .mvv-sub, .intro .hero .lnav { animation: heroUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.intro .hero .crumbs { animation-delay: 1.8s; }
.intro .hero-kick { animation-delay: 1.85s; }
.intro .hero h1 { animation-delay: 1.9s; }
.intro .hero h1 .blk { animation: blkWipe 0.8s cubic-bezier(0.7, 0, 0.2, 1) 2.05s both; }
.intro .hero .lead { animation-delay: 2.1s; }
.intro .hero-cta { animation-delay: 2.2s; }
.intro .hero .legend, .intro .mvv-sub, .intro .hero .lnav { animation-delay: 2.3s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes blkWipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.intro-skip .hero .crumbs, .intro-skip .hero-kick, .intro-skip .hero h1, .intro-skip .hero h1 .blk, .intro-skip .hero .lead, .intro-skip .hero-cta, .intro-skip .hero .legend, .intro-skip .mvv-sub, .intro-skip .hero .lnav { animation: none !important; }
@media (max-width: 560px) { .intro-lock { gap: 14px; } .intro-mark { width: 60px; height: 60px; } .intro-word b { font-size: 34px; } }

.hero-note { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 700; line-height: 1.5; text-align: left; }
@media (hover: hover) { .hero-note:hover { box-shadow: inset 0 0 0 1.5px var(--ink); } }
.intro .hero-note { animation: heroUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 2.25s both; }
.intro-skip .hero-note { animation: none !important; }

/* ---------- S2 logo (思: 田→羅針盤 / 針: 十→まち針) ---------- */
.wm { display: block; overflow: visible; }
.logo .wm { height: 28px; width: auto; aspect-ratio: 202 / 103; }
.lockup { gap: 6px; }
.lockup small { letter-spacing: 0.27em; margin-right: -0.27em; }
.wordmark .wm { height: clamp(56px, 10vw, 128px); width: auto; aspect-ratio: 202 / 103; margin: 0 auto; }
.intro-lock { flex-direction: column; align-items: center; gap: 16px; }
.intro-wm { height: 64px; width: auto; aspect-ratio: 202 / 103; }
.intro-sub { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.6em; margin-right: -0.6em; line-height: 1; color: var(--mute); opacity: 0; animation: introFade 0.5s ease 1.15s forwards; }
.intro-wm .wm-glyph { clip-path: inset(0 100% 0 0); animation: introWipe 0.6s cubic-bezier(0.6, 0, 0.2, 1) 0.1s forwards; }
.intro-wm .wm-needle { transform-box: fill-box; transform-origin: center; transform: rotate(-200deg); opacity: 0; animation: wmSpin 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.45s forwards; }
.intro-wm .wm-pinset { transform: translateY(-120px); opacity: 0; animation: wmStab 0.62s linear 0.7s forwards; }
@keyframes wmSpin { 15% { opacity: 1; } to { transform: rotate(0deg); opacity: 1; } }
@keyframes wmStab {
  0% { transform: translateY(-120px); opacity: 0; animation-timing-function: cubic-bezier(0.55, 0, 0.9, 0.4); }
  10% { opacity: 1; }
  62% { transform: translateY(3px); animation-timing-function: cubic-bezier(0.2, 0.7, 0.3, 1); }
  80% { transform: translateY(-1.5px); }
  100% { transform: translateY(0); opacity: 1; }
}
@media (max-width: 560px) { .intro-wm { height: 52px; } }

/* ---------- header: サービス dropdown ---------- */
#mission, #company { scroll-margin-top: 96px; }
.nav-c { align-items: center; }
.nav-dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.dd-btn svg { transition: transform 0.2s ease; }
.dd-btn:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav-dd.cur .dd-btn { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.dd-panel { position: absolute; top: calc(100% + 12px); left: 50%; z-index: 5; display: grid; min-width: 280px; padding: 6px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px rgba(0, 0, 0, 0.18); opacity: 0; visibility: hidden; transform: translate(-50%, -6px); transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s; }
.dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-dd.open .dd-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.nav-dd.open .dd-btn svg { transform: rotate(180deg); }
@media (hover: hover) { .nav-dd:hover .dd-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; } .nav-dd:hover .dd-btn svg { transform: rotate(180deg); } }
.dd-panel a { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 14px; min-height: 44px; padding: 12px 14px; white-space: nowrap; }
.dd-panel a:hover { background: var(--fog); text-decoration: none; }
.dd-panel a small { font-family: var(--f-mono); font-size: 11px; color: var(--mute); }
.dd-panel a[aria-current="page"] small { color: var(--human); }
.dd-panel a[aria-current="page"] { text-decoration: none; }
/* mobile menu: サービス folds */
.menu li.msvc { overflow: visible; }
.msvc-btn { display: flex; width: 100%; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border: 0; background: transparent; color: inherit; text-align: left; font-family: var(--f-serif); font-size: clamp(26px, 5vw, 36px); font-weight: 700; line-height: 1.3; cursor: pointer; }
.msvc-btn small { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; font-weight: 400; color: var(--mute); }
.msvc-btn small i { position: relative; width: 10px; height: 10px; }
.msvc-btn small i::before, .msvc-btn small i::after { content: ""; position: absolute; left: 0; top: 4px; width: 10px; height: 1.5px; background: currentColor; transition: transform 0.2s ease; }
.msvc-btn small i::after { transform: rotate(90deg); }
.msvc-btn[aria-expanded="true"] small i::after { transform: none; }
.msvc-list { display: grid; padding: 0 0 12px 18px; border-left: 1px solid var(--line); margin-left: 4px; }
.msvc-list[hidden] { display: none; }
.menu li .msvc-list a { font-size: clamp(18px, 3.6vw, 22px); padding: 10px 0; transform: none; }

/* ---------- members page ---------- */
.draft-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 6px 12px; box-shadow: inset 0 0 0 1px var(--line); background: var(--panel); font-size: 12px; color: var(--mute); }
.draft-note i { width: 6px; height: 6px; border-radius: 50%; background: var(--human); }
.mph { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--fog); }
.mph .dots-bg { opacity: 0.7; }
.mph-tag { position: absolute; left: 12px; bottom: 10px; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.16em; color: var(--mute); }
.mph-c { position: absolute; width: 14px; height: 14px; border-color: var(--ink); border-style: solid; opacity: 0.55; }
.mph-c.tl { left: 10px; top: 10px; border-width: 1.5px 0 0 1.5px; }
.mph-c.br { right: 10px; bottom: 10px; border-width: 0 1.5px 1.5px 0; }
.mrep { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.mrep-body { display: flex; flex-direction: column; gap: 14px; }
.m-role { margin: 0; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--human-text); }
.m-name { display: flex; flex-direction: column; gap: 6px; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.3; }
.m-name small { font-family: var(--f-mono); font-weight: 400; font-size: 12px; letter-spacing: 0.2em; color: var(--mute); }
.mrep-msg { margin: 10px 0 6px; padding: 4px 0 4px 20px; border-left: 2px solid var(--human); }
.mrep-msg p { margin: 0; font-family: var(--f-serif); font-size: clamp(16px, 1.5vw, 19px); font-weight: 600; line-height: 2; }
.m-dl div { grid-template-columns: 72px minmax(0, 1fr); }
.m-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; }
.m-link { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; box-shadow: inset 0 0 0 1px var(--line); font-family: var(--f-mono); font-size: 12px; color: var(--mute); }
.mgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.mcard { display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.mcard:last-child { border-right: 0; }
.mcard .mph { aspect-ratio: 1 / 1; }
.mcard-b { display: flex; flex-direction: column; gap: 8px; padding: 22px clamp(20px, 2.4vw, 28px) 28px; }
.mcard .m-name { font-size: 22px; gap: 4px; }
.mcard .m-name small { font-size: 11px; }
.m-biz { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 12px; font-weight: 700; }
.m-biz i { width: 8px; height: 8px; border-radius: 50%; }
.m-biz .d-h { background: var(--human); }
.m-biz .d-ai { background: var(--ai); }
.m-biz .d-c { background: linear-gradient(135deg, var(--human), var(--ai)); }
.m-bio { margin: 4px 0 0; font-size: 14px; line-height: 1.85; color: var(--mute); }
.m-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; }
.m-tags span { padding: 3px 8px; background: var(--fog); font-size: 12px; color: var(--mute); }
@media (max-width: 960px) {
  .mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mcard:nth-child(2n) { border-right: 0; }
  .mcard:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .mrep { grid-template-columns: minmax(0, 1fr); }
  .mrep .mph { max-width: 360px; width: 100%; aspect-ratio: 1 / 1; }
}
@media (max-width: 560px) {
  .mgrid { grid-template-columns: minmax(0, 1fr); }
  .mcard { border-right: 0; }
  .mcard + .mcard { border-top: 1px solid var(--line); }
  .mcard { display: grid; grid-template-columns: 112px minmax(0, 1fr); }
  .mcard .mph { aspect-ratio: auto; min-height: 100%; }
  .mcard-b { padding: 18px 18px 22px; }
  .mcard .m-name { font-size: 19px; }
}

.msvc-btn .chev { transition: transform 0.2s ease; }
.msvc-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }

/* ---------- floating contact (PC; phones use the dock) ---------- */
.fab-contact { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 46; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; background: var(--ink); color: var(--on-ink); font-size: 14px; font-weight: 700; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.fab-contact:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24); }
.fab-contact svg { flex: 0 0 auto; }
@media (min-width: 961px) { .totop { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }
@media (max-width: 960px) { .fab-contact { display: none; } }
@media print { .fab-contact { display: none; } }

/* ---------- SHISHIN under the logo: larger, heavier, closer to the ink colour ---------- */
.lockup { gap: 7px; }
.lockup small { font-size: 10.5px; font-weight: 500; letter-spacing: 0.2em; margin-right: -0.2em; color: color-mix(in srgb, var(--ink) 82%, transparent); }
.wordmark .x-old2 { margin-top: 0.7em; font-weight: 500; font-size: clamp(13px, 1.25vw, 17px); letter-spacing: 0.45em; padding-left: 0.45em; color: color-mix(in srgb, var(--ink) 85%, transparent); }
.intro-sub { font-size: 12.5px; font-weight: 500; letter-spacing: 0.45em; margin-right: -0.45em; color: color-mix(in srgb, var(--ink) 82%, transparent); }
@media (max-width: 560px) { .lockup small { font-size: 10px; } }

/* ---------- SHISHIN between hairline rules (案D) ---------- */
.lockup { align-items: stretch; }
.wm-lock { display: inline-flex; flex-direction: column; align-items: stretch; }
.sub-d { display: flex; align-items: center; padding: 0 2.2% 0 2.6%; font-family: var(--f-mono); font-weight: 600; line-height: 1; color: var(--ink); }
.sub-d i { flex: 1 1 0; min-width: 4px; height: 1px; background: currentColor; }
.sub-d b { font-weight: inherit; }
.logo .wm { height: 30px; }
.lockup .sub-d { gap: 4px; font-size: 9px; }
.lockup .sub-d b { letter-spacing: 0.14em; margin-right: -0.14em; }
.wordmark { display: grid; justify-content: center; }
.wordmark .sub-d { gap: 0.8em; margin-top: 0.9em; font-size: clamp(12px, 1.2vw, 16px); }
.wordmark .sub-d b { letter-spacing: 0.38em; margin-right: -0.38em; }
.intro-lock .sub-d { gap: 0.7em; margin-top: 14px; font-size: 11px; opacity: 0; animation: introFade 0.5s ease 1.15s forwards; }
.intro-lock .sub-d b { letter-spacing: 0.3em; margin-right: -0.3em; }
@media (max-width: 560px) { .logo .wm { height: 28px; } .lockup .sub-d { font-size: 8.5px; gap: 3px; } }
.lockup .sub-d b, .wordmark .sub-d b, .intro-lock .sub-d b { font-family: inherit; font-size: inherit; font-weight: inherit; line-height: 1; }
.lockup .sub-d { gap: 3px; }
.lockup .sub-d b { letter-spacing: 0.06em; margin-right: -0.06em; }

/* Business number badge */
.biz-no { align-items: center; }
.biz-no b { display: inline-grid; place-items: center; min-width: 56px; height: 56px; padding: 0 10px; font-size: 28px; font-weight: 700; letter-spacing: 0; color: #fff; background: #1B7A45; border-radius: 4px; }
.biz-col.a .biz-no b { background: #0B7A62; }
.biz-col.h .biz-no b { background: #1B7A45; }
.biz-col.a .biz-no span, .biz-col.h .biz-no span { color: var(--mute); }

/* Hero readability: keep dots away from the text area */
#heroDots { -webkit-mask-image: radial-gradient(ellipse 62% 58% at 50% 50%, transparent 45%, #000 100%); mask-image: radial-gradient(ellipse 62% 58% at 50% 50%, transparent 45%, #000 100%); }
.hero .lead { color: var(--ink); opacity: 0.78; font-size: 17px; }

/* Issue cells: green hover */
.cells:not(.iss2) li { transition: background-color 0.25s ease, box-shadow 0.25s ease; }
.cells:not(.iss2) li small, .cells:not(.iss2) li h3 { transition: color 0.25s ease; }
@media (hover: hover) {
  .cells:not(.iss2) li:hover { background: color-mix(in srgb, var(--human) 10%, var(--paper)); box-shadow: inset 0 3px 0 var(--human); }
  .cells:not(.iss2) li:hover small, .cells:not(.iss2) li:hover h3 { color: var(--human-text); }
}

/* SHI / SHI / N: a hair of extra space between the sounds */
.sub-d .sy { display: inline-block; }
.sub-d .sy + .sy { margin-left: var(--syl, 0.2em); }
.lockup .sub-d { --syl: 0.24em; }
.wordmark .sub-d { --syl: 0.32em; }
.intro-lock .sub-d { --syl: 0.3em; }

/* Business number badge font */
.biz-no b { font-family: 'Space Grotesk', var(--f-en); font-weight: 700; font-size: 30px; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }

/* Interview chat component (Company Intelligence card) */
.ivw { display: flex; flex-direction: column; gap: 8px; max-width: 380px; width: 100%; margin-inline: auto; padding: 12px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.ivw-h { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--human-text); }
.ivw-h span { margin-left: auto; color: var(--mute); letter-spacing: 0.04em; }
.ivw-m { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; line-height: 1.6; }
.ivw-m b { flex: none; display: grid; place-items: center; width: 22px; height: 22px; font-family: var(--f-mono); font-size: 10px; }
.ivw-m span { padding: 7px 10px; max-width: 82%; }
.ivw-m.q b { background: var(--ink); color: var(--paper); }
.ivw-m.q span { background: var(--fog); }
.ivw-m.r { justify-content: flex-end; }
.ivw-m.r b { background: var(--human); color: var(--on-human); }
.ivw-m.r span { background: color-mix(in srgb, var(--human) 14%, var(--panel)); }
/* narrower wordmark (思・針 tightened): keep SHI SHI N on one line in the header */
.sub-d b { white-space: nowrap; }
.lockup .sub-d { font-size: 8.5px; gap: 3px; --syl: 0.18em; }
.lockup .sub-d b { letter-spacing: 0.04em; margin-right: -0.04em; }
.lockup .sub-d i { min-width: 3px; }
@media (max-width: 560px) { .lockup .sub-d { font-size: 8px; } }
