:root {
  --bg-content: #14151a;
  --bg-sidebar: #0e0f13;
  --text: #eceae4;
  --text-dim: #9a9891;
  --accent: #c9a066;
  --border: #232530;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  display: flex;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-content);
  color: var(--text);
}

.sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  padding: 32px 24px;
  min-height: 100vh;
}

.brand {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 40px;
}

.brand-dot {
  color: var(--text-dim);
  font-weight: 400;
}

nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-item {
  display: block;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 6px;
}

.nav-item.active {
  color: var(--text);
  background: rgba(201, 160, 102, 0.12);
  border-left: 2px solid var(--accent);
  padding-left: 10px;
}

.content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}

.portrait {
  margin: 0;
  max-width: 420px;
  text-align: center;
}

.portrait img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.portrait figcaption {
  margin-top: 24px;
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-dim);
  line-height: 1.5;
}

@media (max-width: 640px) {
  body { flex-direction: column; }
  .sidebar { width: 100%; min-height: auto; }
  .content { padding: 32px 24px; }
}
