:root {
  --bg: #080c14;
  --surface: #0d1422;
  --surface-2: #101b2d;
  --text: #e7eaf0;
  --muted: #8d99ae;
  --line: #1e2a3a;
  --accent: #6d9ee8;
  --accent-soft: rgba(109, 158, 232, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-geist-sans), Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }

.siteHeader {
  width: min(1120px, calc(100% - 48px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark { font-weight: 650; letter-spacing: -0.02em; }
.siteHeader nav { display: flex; gap: 28px; }
.siteHeader nav a { color: var(--muted); font-size: 0.86rem; transition: color 160ms ease; }
.siteHeader nav a:hover { color: var(--text); }

.page {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 88px;
  padding: 72px 0 110px;
}

.sidebar { align-self: start; position: sticky; top: 48px; }
h1 { margin: 0; font-size: 1.65rem; line-height: 1.2; letter-spacing: -0.035em; }
.nameJa { margin: 7px 0 0; color: var(--muted); font-size: 0.85rem; letter-spacing: 0.08em; }
.role { margin: 24px 0 0; line-height: 1.55; }
.affiliationLink { display: inline-flex; align-items: baseline; gap: 6px; color: var(--accent); }
.affiliationLink:hover { text-decoration: underline; text-underline-offset: 4px; }
.affiliationLink span { font-size: 0.68rem; }
.location { margin: 8px 0 0; color: var(--muted); font-size: 0.86rem; }

.profileLinks { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; margin-top: 30px; }
.profileLinks a { display: inline-flex; gap: 7px; color: var(--accent); font-size: 0.88rem; }
.profileLinks a:hover { text-decoration: underline; text-underline-offset: 4px; }
.profileLinks a span { font-size: 0.72rem; }
.profileEmail { color: var(--muted); font-size: 0.82rem; }

.content { min-width: 0; }
section { padding: 52px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.intro { padding-top: 4px; }
.kicker { margin: 0 0 34px; color: var(--accent); font-family: var(--font-geist-mono), monospace; font-size: 0.73rem; letter-spacing: 0.1em; text-transform: uppercase; }
h2 { margin: 0 0 24px; font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.02em; }
.prose { max-width: 720px; }
.prose p { margin: 0 0 18px; color: #cbd2dd; font-size: 1.03rem; }
.inlineLink { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.inlineLink:hover { color: #91b8f1; }
@media (max-width: 760px) {
  .siteHeader { width: min(100% - 32px, 1120px); height: 66px; }
  .siteHeader nav { gap: 16px; }
  .siteHeader nav a { font-size: 0.78rem; }
  .page { width: min(100% - 32px, 1120px); grid-template-columns: 1fr; gap: 56px; padding: 48px 0 80px; }
  .sidebar { position: static; }
  .profileLinks { flex-direction: row; flex-wrap: wrap; gap: 10px 24px; }
  section { padding: 42px 0; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
