/* kazuyukiimoto.com — Operational Stabilization Lead, Japan */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #FDFCFA;
  --fg: #0A0A0A;
  --fg-dim: #5A5A5A;
  --fg-mute: #8A8A8A;
  --line: #E5E2DC;
  --accent: #B91C1C;
  --max: 1080px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--fg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400; line-height: 1.65; font-size: 15px;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: var(--fg); color: var(--bg); }
a { color: var(--fg); text-decoration: none; }
img { max-width: 100%; display: block; }

/* Header */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 252, 250, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 16px 24px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
}
.nav-logo {
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em;
}
.nav-logo span { color: var(--fg-mute); font-weight: 400; margin-left: 6px; font-size: 12px; }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a {
  font-size: 13px; color: var(--fg-dim);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--fg); }

/* Hero */
.hero {
  padding: 96px 24px 72px;
  max-width: var(--max); margin: 0 auto;
}
.kicker {
  font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 28px;
  display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before { content: ''; width: 28px; height: 1px; background: var(--accent); }
h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 500; line-height: 1.12;
  letter-spacing: -0.025em; margin-bottom: 28px;
  max-width: 900px;
}
h1 em { font-style: italic; font-weight: 400; color: var(--fg-dim); }
.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.65; color: var(--fg-dim);
  max-width: 680px; margin-bottom: 40px; font-weight: 400;
}
.lead strong { color: var(--fg); font-weight: 500; }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 64px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  background: var(--fg); color: var(--bg);
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.01em;
  border: 1px solid var(--fg);
  transition: all 0.2s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--fg); background: transparent; color: var(--fg); }

/* Numbers strip */
.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--fg);
  border-bottom: 1px solid var(--line);
  max-width: var(--max); margin: 0 auto;
}
.num-item {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
}
.num-item:last-child { border-right: none; }
.num-big {
  font-size: 30px; font-weight: 500; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.num-label {
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--fg-mute); font-weight: 500;
}

/* Section */
section.block {
  max-width: var(--max); margin: 0 auto;
  padding: 80px 24px;
  border-top: 1px solid var(--line);
}
.block:first-of-type { border-top: none; }
.section-label {
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--fg-mute); font-weight: 600; margin-bottom: 16px;
}
h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 500; letter-spacing: -0.015em;
  line-height: 1.3; margin-bottom: 32px;
  max-width: 760px;
}
h3 {
  font-size: 17px; font-weight: 600;
  letter-spacing: -0.005em; margin-bottom: 8px;
}
p { color: var(--fg-dim); max-width: 680px; margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

/* Situation chips */
.situations {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--line);
  border-top: 1px solid var(--fg);
  border-bottom: 1px solid var(--fg);
}
.sit {
  background: var(--bg);
  padding: 32px 26px;
  transition: background 0.25s;
  cursor: pointer;
}
.sit:hover { background: #F7F5F0; }
.sit-num {
  font-size: 11px; color: var(--accent);
  letter-spacing: 0.2em; font-weight: 600; margin-bottom: 16px;
}
.sit-title { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.sit-desc { font-size: 13.5px; color: var(--fg-dim); line-height: 1.75; }

/* Track record preview */
.track-teaser { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.track-row {
  background: var(--bg);
  padding: 20px 24px;
  display: grid; grid-template-columns: 80px 1fr 120px;
  gap: 20px; align-items: center;
}
.track-row .label {
  font-size: 11px; letter-spacing: 0.2em;
  color: var(--fg-mute); font-weight: 600;
}
.track-row .result {
  font-size: 17px; font-weight: 500; letter-spacing: -0.005em;
}
.track-row .scope {
  font-size: 12px; color: var(--fg-mute);
  letter-spacing: 0.05em; text-align: right;
}

/* Service list */
.services-grid {
  display: grid; grid-template-columns: 1fr;
  border-top: 1px solid var(--fg);
}
.svc-row {
  display: grid; grid-template-columns: 200px 1fr 160px;
  gap: 24px; padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.svc-name { font-size: 16px; font-weight: 600; }
.svc-name .svc-sub {
  display: block; font-size: 11.5px;
  color: var(--fg-mute); letter-spacing: 0.1em;
  text-transform: uppercase; margin-top: 4px; font-weight: 500;
}
.svc-desc { font-size: 13.5px; color: var(--fg-dim); line-height: 1.75; }
.svc-price { font-size: 13.5px; color: var(--fg); font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }

/* Track record full */
.cases { border-top: 1px solid var(--fg); }
.case {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  display: grid; grid-template-columns: 60px 1fr;
  gap: 24px;
}
.case-num {
  font-size: 12px; letter-spacing: 0.15em;
  color: var(--fg-mute); font-weight: 600;
}
.case-body h4 { font-size: 15.5px; font-weight: 600; margin-bottom: 6px; }
.case-meta {
  display: flex; flex-wrap: wrap; gap: 14px;
  font-size: 12px; color: var(--fg-mute);
  letter-spacing: 0.02em; margin-bottom: 10px;
}
.case-meta span::before { content: '·'; margin-right: 10px; color: var(--line); }
.case-meta span:first-child::before { display: none; }
.case-body p { font-size: 13.5px; line-height: 1.75; margin-bottom: 0; }
.case-result {
  display: inline-block; margin-top: 10px;
  font-size: 13.5px; font-weight: 600; color: var(--fg);
  padding: 4px 10px; background: #F7F5F0;
  border-left: 2px solid var(--accent);
}

/* Contact */
.contact-block {
  text-align: center; padding: 72px 24px;
  max-width: 720px; margin: 0 auto;
}
.contact-block h2 { text-align: center; margin-left: auto; margin-right: auto; }
.contact-block p { margin-left: auto; margin-right: auto; }
.contact-links {
  display: flex; gap: 20px; justify-content: center;
  margin-top: 36px; flex-wrap: wrap;
}
.contact-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border: 1px solid var(--fg);
  font-size: 13.5px; font-weight: 500;
  transition: all 0.2s;
}
.contact-link:hover { background: var(--fg); color: var(--bg); }

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 32px 24px;
  font-size: 11.5px; color: var(--fg-mute);
  letter-spacing: 0.05em;
}
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}

/* Quote / callout */
.callout {
  border-left: 3px solid var(--accent);
  padding: 8px 20px;
  font-size: 16px; color: var(--fg);
  margin: 32px 0; max-width: 680px;
  font-weight: 500; line-height: 1.55;
}

/* Page hero (not home) */
.page-hero { padding: 72px 24px 40px; max-width: var(--max); margin: 0 auto; }
.page-hero h1 { font-size: clamp(30px, 3.8vw, 44px); margin-bottom: 20px; }
.page-hero .lead { max-width: 680px; }

/* Responsive */
@media (max-width: 768px) {
  .hero { padding: 64px 20px 48px; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .num-item { border-right: none; border-bottom: 1px solid var(--line); }
  .situations { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr; gap: 8px; }
  .svc-price { text-align: left; }
  .track-row { grid-template-columns: 1fr; gap: 4px; }
  .track-row .scope { text-align: left; }
  .case { grid-template-columns: 1fr; gap: 8px; }
  .section-label { font-size: 10.5px; }
  section.block { padding: 56px 20px; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
}
.mobile-menu-btn { display: none; background: none; border: none; color: var(--fg); font-size: 20px; cursor: pointer; }
