/* LOCAL AX — signal console design system */
:root {
  --ink: #0B1220;
  --ink-2: #1B2638;
  --paper: #F3F5F8;
  --surface: #FFFFFF;
  --line: #D8DEE7;
  --muted: #5B6676;
  --signal: #F05A28;
  --signal-ink: #C2410C;
  --data: #1E9E8F;
  --console: #0E1828;
  --console-line: #22324A;
  --console-text: #C9D4E3;
  --font-body: "IBM Plex Sans JP", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;
  --font-wide: "Archivo", "IBM Plex Sans JP", sans-serif;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .02em;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3 { word-break: auto-phrase; text-wrap: balance; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.nb { display: inline-block; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 84px; }

/* ---------- type ---------- */
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.kicker { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.kicker::before { content: ""; width: 8px; height: 8px; background: var(--signal); border-radius: 50%; flex: none; }
.h-section { font-size: clamp(26px, 4.4vw, 42px); line-height: 1.45; font-weight: 700; letter-spacing: .01em; margin-top: 14px; }
.lead { color: var(--muted); max-width: 40em; margin-top: 18px; }
.ax-word { font-family: var(--font-wide); font-stretch: 125%; font-weight: 800; letter-spacing: -.01em; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(243, 245, 248, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 64px; }
.brand { display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none; font-family: var(--font-wide); font-stretch: 125%; font-weight: 800; font-size: 21px; letter-spacing: -.01em; }
.brand b { color: var(--signal); font-weight: 800; }
.gnav ul { display: flex; gap: 4px; align-items: center; }
.gnav a { display: block; padding: 8px 12px; font-size: 14px; font-weight: 500; text-decoration: none; border-radius: var(--radius); }
.gnav a:hover { background: #E6EAF0; }
.gnav a[aria-current="page"] { color: var(--signal-ink); }
.gnav .gnav-cta a { background: var(--ink); color: #fff; padding-inline: 16px; margin-left: 8px; }
.gnav .gnav-cta a:hover { background: var(--signal); }
.menu-toggle { display: none; }
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border: 1px solid var(--ink); border-radius: var(--radius); background: transparent; font: 500 12px/1 var(--font-mono); letter-spacing: .1em; color: var(--ink); cursor: pointer; }
  .menu-toggle span { width: 14px; height: 2px; background: currentColor; position: relative; }
  .menu-toggle span::after { content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 2px; background: currentColor; }
  .gnav { position: fixed; inset: 64px 0 auto; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; display: none; }
  .gnav.is-open { display: block; }
  .gnav ul { flex-direction: column; align-items: stretch; }
  .gnav a { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .gnav .gnav-cta a { margin: 14px 0 0; text-align: center; border-radius: var(--radius); border: 0; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 56px; padding: 0 22px; border-radius: var(--radius); font-weight: 700; text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.btn::after { content: "→"; font-family: var(--font-mono); font-weight: 500; }
.btn-primary { background: var(--signal); color: #fff; }
.btn-primary:hover { background: var(--signal-ink); }
.btn-ghost { border: 1px solid currentColor; }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 96px); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; background-position: -1px -1px; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(243,245,248,0) 60%, var(--paper)); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-loc { color: var(--muted); }
.hero h1 { margin-top: 18px; font-size: clamp(36px, 6.4vw, 72px); line-height: 1.25; font-weight: 700; letter-spacing: 0; }
.hero h1 .ax-word { color: var(--signal); font-size: 1.12em; }
.hero-text { margin-top: 22px; color: var(--ink-2); max-width: 30em; }
.hero-channels { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero-channels li { padding: 4px 10px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; font-size: 13px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- signal console (signature) ---------- */
.console { background: var(--console); color: var(--console-text); border-radius: 10px; border: 1px solid var(--console-line); box-shadow: 0 30px 60px -30px rgba(11, 18, 32, .55); overflow: hidden; }
.console-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--console-line); font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: #8797AE; }
.console-live { display: inline-flex; align-items: center; gap: 8px; }
.console-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--data); box-shadow: 0 0 0 4px rgba(30, 158, 143, .2); }
.console-tabs { display: flex; border-bottom: 1px solid var(--console-line); }
.console-tabs button { flex: 1; padding: 12px 8px; background: none; border: 0; border-right: 1px solid var(--console-line); color: #8797AE; font: 500 13px/1.3 var(--font-body); cursor: pointer; }
.console-tabs button:last-child { border-right: 0; }
@media (max-width: 520px) {
  .console-bar .console-coord { display: none; }
  .console-tabs button { font-size: 12px; padding-inline: 4px; letter-spacing: 0; white-space: nowrap; }
}
.console-tabs button[aria-selected="true"] { color: #fff; background: var(--ink-2); box-shadow: inset 0 -2px 0 var(--signal); }
.console-panel { padding: 22px 20px 20px; }
.console-panel[hidden] { display: none; }
.console-metric { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: #8797AE; }
.console-num { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-family: var(--font-wide); font-stretch: 125%; font-weight: 700; line-height: 1; }
.console-num .from { font-size: clamp(28px, 4vw, 40px); color: #6E7F98; }
.console-num .arrow { font-family: var(--font-mono); font-size: 20px; color: #6E7F98; }
.console-num .to { font-size: clamp(52px, 8vw, 84px); color: #fff; }
.console-num .delta { font-family: var(--font-mono); font-stretch: 100%; font-size: 13px; font-weight: 500; color: var(--data); align-self: center; padding: 3px 8px; border: 1px solid rgba(30, 158, 143, .5); border-radius: 4px; }
.bars { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-items: end; gap: 8px; height: 120px; margin-top: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--console-line); position: relative; }
.bars li { position: relative; height: 100%; display: flex; align-items: flex-end; }
.bars li i { display: block; width: 100%; height: var(--h); background: linear-gradient(180deg, var(--signal), #B8401A); border-radius: 3px 3px 0 0; transform-origin: bottom; }
.bars li:first-child i { background: #33445E; }
.bars li span { position: absolute; bottom: -22px; left: 0; right: 0; text-align: center; font-family: var(--font-mono); font-size: 11px; color: #8797AE; }
.console-sub { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; font-size: 13px; }
.console-sub b { font-family: var(--font-mono); color: #fff; font-weight: 500; }
.console-note { padding: 12px 20px 16px; font-size: 11px; line-height: 1.6; color: #6E7F98; border-top: 1px solid var(--console-line); }
@media (prefers-reduced-motion: no-preference) {
  .console-panel:not([hidden]) .bars li i { animation: grow .7s cubic-bezier(.2, .8, .2, 1) both; }
  .console-panel:not([hidden]) .bars li:nth-child(2) i { animation-delay: .06s; }
  .console-panel:not([hidden]) .bars li:nth-child(3) i { animation-delay: .12s; }
  .console-panel:not([hidden]) .bars li:nth-child(4) i { animation-delay: .18s; }
  .console-panel:not([hidden]) .bars li:nth-child(5) i { animation-delay: .24s; }
}
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .lead { margin-top: 0; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } }
.section-dark { background: var(--ink); color: #E7ECF3; }
.section-dark .kicker, .section-dark .lead { color: #93A1B5; }
.section-dark + .section { border-top: 0; }

/* stage map: services grouped by the customer journey */
.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow: hidden; }
.stage { padding: 24px 22px 26px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.stage:last-child { border-right: 0; }
.stage-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--signal-ink); }
.stage h3 { margin-top: 8px; font-size: 20px; line-height: 1.5; }
.stage-pain { margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.75; }
.stage ul { margin-top: 18px; border-top: 1px dashed var(--line); }
.stage li a, .stage li > span { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 15px; font-weight: 500; text-decoration: none; line-height: 1.5; }
.stage li a::after { content: "→"; font-family: var(--font-mono); color: var(--muted); transition: transform .2s, color .2s; }
.stage li a:hover::after { transform: translateX(3px); color: var(--signal); }
@media (max-width: 1000px) { .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stage:nth-child(2) { border-right: 0; } .stage:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 600px) { .stages { grid-template-columns: 1fr; } .stage { border-right: 0; border-bottom: 1px solid var(--line); } .stage:last-child { border-bottom: 0; } }

/* consult banner inside service map */
.consult-strip { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; margin-top: 20px; padding: 22px 24px; border: 1px solid var(--ink); border-radius: 10px; }
.consult-strip p { max-width: 46em; }
.consult-strip strong { display: block; font-size: 18px; }

/* industries */
.industries { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px 48px; }
.ind-count { font-family: var(--font-wide); font-stretch: 125%; font-weight: 800; font-size: clamp(72px, 12vw, 140px); line-height: .9; color: #fff; }
.ind-count small { font-family: var(--font-body); font-stretch: 100%; font-size: 18px; font-weight: 700; margin-left: 6px; }
.ind-group + .ind-group { margin-top: 28px; }
.ind-group h3 { display: flex; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid #2A3850; font-size: 15px; }
.ind-group h3 span { font-family: var(--font-mono); color: #93A1B5; font-weight: 500; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tags li { padding: 6px 12px; border: 1px solid #2E3D57; border-radius: 4px; font-size: 14px; }
@media (max-width: 800px) { .industries { grid-template-columns: 1fr; } }

/* process: real sequence, numbered */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.process li { position: relative; padding: 28px 22px 0 0; border-top: 2px solid var(--ink); counter-increment: step; }
.process li::before { content: "STEP " counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--signal-ink); }
.process li::after { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; background: var(--signal); border-radius: 50%; }
.process h3 { margin-top: 6px; font-size: 18px; }
.process p { margin-top: 8px; font-size: 14px; color: var(--muted); }
@media (max-width: 800px) {
  .process { grid-template-columns: 1fr; gap: 0; }
  .process li { padding: 0 0 26px 28px; border-top: 0; border-left: 2px solid var(--ink); }
  .process li:last-child { padding-bottom: 0; }
  .process li::after { top: 4px; left: -6px; }
}

/* cases (full) */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.case { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.case h3 { font-size: 18px; }
.case .mono { color: var(--muted); display: block; margin-top: 2px; }
.case-num { display: flex; align-items: baseline; gap: 10px; margin-top: 16px; font-family: var(--font-wide); font-stretch: 125%; font-weight: 700; line-height: 1; }
.case-num .from { font-size: 24px; color: #8A95A5; }
.case-num .to { font-size: 44px; color: var(--signal-ink); }
.case dl { display: grid; grid-template-columns: auto auto; justify-content: space-between; gap: 4px 12px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; }
.case dt { color: var(--muted); }
.case dd { font-family: var(--font-mono); text-align: right; }
@media (max-width: 900px) { .cases { grid-template-columns: 1fr; } }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 20px; line-height: 1.4; color: var(--signal-ink); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 46em; }
.faq-note { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* founder / about teaser */
.founder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px 56px; align-items: start; }
.founder-card { padding: 26px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.founder-card .name { font-size: 26px; font-weight: 700; margin-top: 8px; }
.founder-card dl { margin-top: 18px; display: grid; gap: 10px; font-size: 14px; }
.founder-card dl div { display: grid; grid-template-columns: 7em 1fr; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.founder-card dt { color: var(--muted); }
.link-list { display: grid; gap: 0; margin-top: 26px; border-top: 1px solid var(--line); }
.link-list a { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 700; text-decoration: none; }
.link-list a::after { content: "→"; font-family: var(--font-mono); color: var(--muted); }
.link-list a:hover { color: var(--signal-ink); }
@media (max-width: 800px) { .founder { grid-template-columns: 1fr; } }

/* journal */
.journal-empty { padding: 28px; border: 1px dashed var(--line); border-radius: 10px; color: var(--muted); }

/* final cta */
.cta { padding: clamp(64px, 9vw, 112px) 0; background: var(--signal); color: #fff; }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px 48px; align-items: end; }
.cta h2 { font-size: clamp(28px, 4.6vw, 48px); line-height: 1.4; }
.cta p { margin-top: 16px; max-width: 34em; }
.cta .btn { background: var(--ink); color: #fff; min-width: 260px; }
.cta .btn:hover { background: #fff; color: var(--ink); }
@media (max-width: 800px) { .cta .wrap { grid-template-columns: 1fr; } .cta .btn { width: 100%; } }

/* footer */
.site-footer { padding: 48px 0 32px; background: var(--ink); color: #93A1B5; font-size: 14px; }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; }
.site-footer .brand { color: #fff; font-size: 26px; }
.site-footer nav ul { display: grid; grid-template-columns: repeat(2, auto); gap: 6px 36px; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { color: #fff; }
.site-footer .copy { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid #22324A; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; }
@media (max-width: 700px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* ---------- inner pages ---------- */
.page-head { padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; background-position: -1px -1px; }
.crumbs { display: flex; gap: 8px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.page-head h1 { margin-top: 18px; font-size: clamp(32px, 5.4vw, 56px); line-height: 1.3; }
.page-head .lead { color: var(--ink-2); }

/* services list */
.svc-group + .svc-group { margin-top: 48px; }
.svc-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.svc-group-head h2 { font-size: 22px; }
.svc-group-head .mono { color: var(--signal-ink); }
.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.svc-list a, .svc-list .svc-static { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.svc-list h3 { font-size: 18px; line-height: 1.5; }
.svc-list p { grid-column: 1; font-size: 14px; color: var(--muted); }
.svc-list a::after { content: "→"; grid-row: 1 / span 2; grid-column: 2; align-self: center; font-family: var(--font-mono); color: var(--muted); transition: transform .2s, color .2s; }
.svc-list a:hover h3 { color: var(--signal-ink); }
.svc-list a:hover::after { transform: translateX(3px); color: var(--signal); }
@media (max-width: 760px) { .svc-list { grid-template-columns: 1fr; } }

/* about story */
.story { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 24px 56px; }
.story + .story { margin-top: clamp(48px, 7vw, 80px); padding-top: clamp(48px, 7vw, 80px); border-top: 1px solid var(--line); }
.story-side { position: sticky; top: 96px; align-self: start; }
.story-side .mono { color: var(--signal-ink); }
.story h2 { font-size: clamp(24px, 3.6vw, 34px); line-height: 1.5; }
.story-body > * + * { margin-top: 1.1em; }
.story-body .src { font-size: 13px; color: var(--muted); }
.story-body .src a { color: var(--signal-ink); }
.sign { padding: 18px 20px; border-left: 3px solid var(--signal); background: var(--surface); }
.sign strong { display: block; }
@media (max-width: 800px) { .story { grid-template-columns: 1fr; } .story-side { position: static; } }

.timeline { margin-top: 8px; border-left: 2px solid var(--ink); }
.timeline li { position: relative; padding: 0 0 22px 24px; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { background: var(--signal); border-color: var(--signal); }
.timeline .mono { color: var(--muted); }

/* company */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.stats div { padding: 24px; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--muted); }
.stats dd { margin-top: 6px; font-family: var(--font-wide); font-stretch: 125%; font-weight: 800; font-size: clamp(36px, 5vw, 56px); line-height: 1; }
.stats dd small { font-family: var(--font-body); font-stretch: 100%; font-size: 15px; font-weight: 700; margin-left: 4px; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } .stats div { border-right: 0; border-bottom: 1px solid var(--line); } .stats div:last-child { border-bottom: 0; } }
.spec { border-top: 2px solid var(--ink); }
.spec div { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 8px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-weight: 700; }
.spec dd a { color: var(--signal-ink); }
@media (max-width: 600px) { .spec div { grid-template-columns: 1fr; gap: 2px; } .spec dt { font-size: 13px; color: var(--muted); font-weight: 500; } }

/* reveal on scroll */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- service detail ---------- */
.stage-chip { display: inline-block; margin-top: 20px; padding: 5px 10px; border: 1px solid var(--ink); border-radius: 4px; background: var(--surface); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 72px); align-items: center; }
.split--form { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.prose { margin-top: 20px; }
.prose > * + * { margin-top: 1em; }
.figure { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.figure img { width: 100%; }
.figure a { display: block; }
.figure-screen { box-shadow: 0 30px 60px -36px rgba(11, 18, 32, .45); }
.figure-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.figure-bar span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.figure-photo img { aspect-ratio: 3 / 2; object-fit: cover; }
.figure figcaption { padding: 10px 14px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.feature-list li { padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--signal); border-radius: var(--radius); }
.feature-list h3 { font-size: 16px; line-height: 1.6; }
.feature-list p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.feature-list--desc { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.feature-list--ordered { counter-reset: feat; }
.feature-list--ordered li { counter-increment: feat; }
.feature-list--ordered h3::before { content: "STEP " counter(feat, decimal-leading-zero); display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--signal-ink); }
@media (max-width: 600px) { .feature-list { grid-template-columns: 1fr; } }
.metric-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 20px; font-weight: 700; }
.metric-line .mono { color: var(--muted); font-weight: 500; }
.fine { margin-top: 16px; font-size: 13px; color: var(--muted); }
.link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; border-top: 1px solid var(--line); }
.link-grid a { display: flex; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 15px; text-decoration: none; }
.link-grid a::after { content: "→"; font-family: var(--font-mono); color: var(--muted); }
.link-grid a:hover { color: var(--signal-ink); }
@media (max-width: 860px) { .link-grid { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.channels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.channel { display: grid; gap: 4px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; }
.channel .mono { color: var(--signal-ink); }
.channel strong { font-size: 20px; }
.channel-value { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
a.channel { border-color: var(--ink); }
a.channel:hover { background: var(--ink); color: #fff; }
a.channel:hover .channel-value { color: #C9D4E3; }
.channel--off { opacity: .6; }
@media (max-width: 700px) { .channels { grid-template-columns: 1fr; } }
.form { display: grid; gap: 6px; padding: clamp(20px, 4vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.form-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line); font-weight: 700; }
.form-head .mono { color: var(--muted); font-weight: 500; }
.form label { margin-top: 12px; font-size: 14px; font-weight: 700; }
.form input, .form select, .form textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #B9C2CF; border-radius: var(--radius); background: var(--paper); color: var(--ink); font: 16px/1.6 var(--font-body); }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--signal); outline-offset: 0; border-color: transparent; background: #fff; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; }
.form-actions .btn { flex: 1 1 220px; }
.form-actions .btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-text { padding: 8px 0; border: 0; background: none; color: var(--ink); font: 700 14px/1.4 var(--font-body); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.form-status { margin-top: 10px; font-size: 13px; color: var(--muted); }
#copy-fallback { min-height: 160px; margin-top: 8px; }
button.btn { border: 0; font: inherit; font-weight: 700; cursor: pointer; }
button.btn-ghost { background: transparent; border: 1px solid currentColor; color: var(--ink); }

/* ---------- journal ---------- */
.journal-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.journal-list > p { margin-top: 24px; }
.journal-entry { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 4px 28px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.journal-entry .journal-meta { grid-row: span 2; font-family: var(--font-mono); font-size: 13px; color: var(--muted); padding-top: 4px; }
.journal-entry h2 { font-size: 20px; line-height: 1.55; }
.journal-entry h2 a { text-decoration: none; }
.journal-entry h2 a:hover { color: var(--signal-ink); }
.journal-entry p:last-child { color: var(--muted); font-size: 15px; }
@media (max-width: 600px) { .journal-entry { grid-template-columns: 1fr; } .journal-entry .journal-meta { grid-row: auto; } }
.journal-article { max-width: 760px; padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 96px); }
.journal-article > * + * { margin-top: 1.2em; }
.journal-article h1 { font-size: clamp(28px, 4.6vw, 44px); line-height: 1.45; }
.journal-article > p:first-child a { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.journal-article a { color: var(--signal-ink); }
.journal-article img { border-radius: 10px; }
.page-head--404 { padding-bottom: clamp(64px, 10vw, 140px); }
