:root {
  --navy: #192343;
  --bg: #fafaf8;
  --text: #1c1c1c;
  --muted: #6b6b6b;
  --border: #e5e4e0;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  opacity: 0.65;
}

/* ── Layout ── */

.layout {
  display: flex;
  min-height: 100vh;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
}

.sidebar {
  width: 176px;
  flex-shrink: 0;
  padding: 52px 32px 52px 0;
  border-right: 1px solid var(--border);
}

.sidebar-inner {
  position: sticky;
  top: 52px;
}

.site-name {
  margin-bottom: 28px;
}

.site-name a {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--navy);
  text-decoration: none;
}

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

nav a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}

nav a:hover {
  color: var(--navy);
  opacity: 1;
}

nav a.active {
  color: var(--navy);
}

nav a.soon {
  color: var(--border);
  cursor: default;
  pointer-events: none;
}

/* ── Main content ── */

.content {
  flex: 1;
  padding: 52px 0 52px 48px;
}

/* ── About page ── */

.about-bio {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}

.about-bio p + p {
  margin-top: 1.2em;
}

.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 36px;
}

.about-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

@media (max-width: 600px) {
  .about-photos {
    grid-template-columns: 1fr;
  }
}

/* ── Resume page ── */

.resume-section {
  margin-bottom: 36px;
}

.resume-section-title {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.resume-item {
  margin-bottom: 20px;
}

.resume-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.resume-item-title {
  font-weight: 600;
  font-size: 13.5px;
}

.resume-item-date {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.resume-sub {
  margin-top: 12px;
}

.resume-sub-title {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 5px;
}

.resume-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.resume-item ul li {
  font-size: 12.5px;
  line-height: 1.65;
  padding-left: 14px;
  position: relative;
  margin-bottom: 3px;
  color: var(--text);
}

.resume-item ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--muted);
}

.resume-kv {
  font-size: 13px;
  line-height: 1.9;
}

.resume-kv .k {
  color: var(--muted);
  margin-right: 8px;
}

/* ── Mobile ── */

@media (max-width: 600px) {
  .layout {
    flex-direction: column;
    padding: 0 20px;
  }

  .sidebar {
    width: 100%;
    padding: 32px 0 20px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .sidebar-inner {
    position: static;
    display: flex;
    align-items: center;
    gap: 24px;
  }

  .site-name {
    margin-bottom: 0;
  }

  nav {
    flex-direction: row;
    gap: 14px;
  }

  .content {
    padding: 32px 0 48px;
  }
}
