:root {
  --ink: #17212b;
  --muted: #607080;
  --line: #dce7df;
  --canvas: #f7faf8;
  --paper: #ffffff;
  --green: #73c000;
  --blue: #2477c8;
  --cyan: #00a6a6;
  --purple: #6a5bd7;
  --orange: #f0a000;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.62;
}

a { color: var(--blue); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #c9d8cf;
  background: rgba(247, 250, 248, 0.94);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: min(1120px, calc(100% - 2rem));
  min-height: 48px;
  margin: 0 auto;
}

.site-name {
  flex: 0 0 auto;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 0.8rem;
  min-width: 0;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar { display: none; }

.site-nav a {
  color: var(--muted);
  font-size: 0.8rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible { color: var(--blue); text-decoration: underline; }

.profile-shell {
  display: grid;
  grid-template-columns: 190px minmax(0, 760px);
  align-items: start;
  gap: 3.25rem;
  width: min(1080px, calc(100% - 2rem));
  margin: 2.25rem auto 4rem;
}

.profile-sidebar {
  position: sticky;
  top: 74px;
  padding-top: 0.4rem;
}

.profile-avatar {
  display: block;
  width: 132px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  object-fit: cover;
}

.sidebar-name {
  margin: 0.8rem 0 0.1rem;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.24rem;
  font-weight: 700;
}

.sidebar-role {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.sidebar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.sidebar-links a {
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.sidebar-links a:first-child { color: var(--green); }
.sidebar-links a:last-child { color: var(--blue); }
.sidebar-links a:hover, .sidebar-links a:focus-visible { text-decoration: underline; }

.profile-section {
  scroll-margin-top: 68px;
  padding: 0 0 2.15rem;
  margin: 0 0 2.15rem;
  border-bottom: 1px solid var(--line);
}

.profile-section:last-child { border-bottom: 0; }

.section-heading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.95rem;
}

.section-heading h1,
.section-body h2,
.section-body h3 {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
}

.section-heading h1 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.1;
}

.section-status {
  padding: 0.15rem 0.5rem;
  color: #675000;
  background: #fff3c5;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
}

.section-visual {
  display: block;
  width: 100%;
  margin: 0 0 1.1rem;
  border: 1px solid var(--line);
  background: var(--canvas);
}

.section-body > :first-child { margin-top: 0; }
.section-body > :last-child { margin-bottom: 0; }

.section-body h2 {
  margin: 1.65rem 0 0.4rem;
  font-size: 1.25rem;
  line-height: 1.25;
}

.section-body h3 {
  margin: 1.45rem 0 0.3rem;
  color: var(--ink);
  font-size: 1.03rem;
  line-height: 1.35;
}

.section-body p,
.section-body li { max-width: 72ch; }

.section-body ul { padding-left: 1.25rem; }

.section-body li::marker { color: var(--cyan); }

.section-body code {
  padding: 0.08rem 0.28rem;
  color: #4f3ab4;
  background: #f0edff;
  border-radius: 3px;
}

.section-body blockquote {
  margin: 1rem 0;
  padding: 0.15rem 1rem;
  color: var(--muted);
  border-left: 4px solid var(--green);
}

.to-be-continued {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-style: italic;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.4rem 0 2.25rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .header-inner { gap: 1rem; width: min(100% - 1.25rem, 680px); }
  .profile-shell { display: block; width: min(100% - 1.5rem, 680px); margin-top: 1.5rem; }
  .profile-sidebar { position: static; display: grid; grid-template-columns: 96px 1fr; column-gap: 1rem; align-items: center; margin-bottom: 2rem; }
  .profile-avatar { grid-row: span 3; width: 96px; }
  .sidebar-name { margin: 0; }
  .sidebar-role { margin: 0.15rem 0; }
  .sidebar-links { margin-top: 0.25rem; }
  .profile-section { padding-bottom: 1.75rem; margin-bottom: 1.75rem; }
  .site-footer { flex-direction: column; width: min(100% - 1.5rem, 680px); }
}
