@font-face {
  font-family: 'Proxima Nova';
  src: url('/fonts/proxima_nova.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Proxima Nova';
  src: url('/fonts/proxima_nova_it.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Proxima Nova';
  src: url('/fonts/proxima_nova_bold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Proxima Nova';
  src: url('/fonts/proxima_nova_bold_it.woff2') format('woff2');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

:root {
  --accent: #6b9bd1;
  --accent-hover: #8ab4e0;
}

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

body {
  font-family: "Proxima Nova", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #e0e0e0;
  background: #1a1a1a;
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

nav {
  margin-bottom: 4rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #333;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

nav a {
  color: #e0e0e0;
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 2px 4px;
  margin-left: -4px;
}

nav a:hover {
  background: var(--accent);
  color: #1a1a1a;
}

h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #fff;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 4rem;
  margin-bottom: 2rem;
  color: #fff;
  letter-spacing: -0.01em;
}

.year-heading {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: #888;
  letter-spacing: -0.01em;
}

.year-group:first-child .year-heading {
  margin-top: 0;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #f5f5f5;
}

p {
  margin-bottom: 1rem;
  color: #d0d0d0;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-style: solid;
  text-underline-offset: 2px;
  transition: all 0.2s ease;
  padding: 0 2px;
}

a:hover {
  background: var(--accent);
  color: #1a1a1a;
  text-decoration: none;
}

/* List items */
.list-description {
  color: #aaa;
  margin-bottom: 3rem;
  font-size: 1rem;
  line-height: 1.7;
}

.list-item-link {
  text-decoration: none;
  display: block;
}

.list-item {
  margin-bottom: 0.5rem;
  padding: 10px 0;
  transition: background 0.15s ease;
}

.list-item:hover {
  background: var(--accent);
}

.list-item:hover * {
  color: #1a1a1a !important;
  text-decoration-color: #333 !important;
}

.content-section .list-item {
  margin-bottom: 0;
  padding: 6px 0;
}

.list-title-text {
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: #666;
  text-underline-offset: 3px;
  line-height: 1.4;
}

.list-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: #666;
  text-underline-offset: 3px;
  display: inline-block;
  margin-bottom: 0.5rem;
  transition: all 0.2s ease;
}

.list-title:hover {
  text-decoration: none;
}

.list-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}

.list-header .list-title-text {
  flex: 1;
}

.list-header time {
  font-size: 0.9rem;
  color: #888;
  white-space: nowrap;
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.description {
  color: #aaa;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.author {
  color: #888;
  margin: 0 0 0.25rem 0;
  font-size: 0.9rem;
}

.rating {
  font-size: 0.9rem;
  color: #888;
  white-space: nowrap;
}

.rating .stars {
  color: #9a8f6f;
  letter-spacing: 0.05em;
}

/* Article pages */
article header {
  margin-bottom: 3rem;
}

article header h1 {
  margin-bottom: 0.5rem;
}

article header time {
  font-size: 0.9rem;
  color: #888;
}

article .content {
  margin-top: 2rem;
}

article .content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 2rem 0;
  display: block;
}

/* Home page sections */
.intro {
  margin-bottom: 3rem;
}

.profile {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.profile-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-text h1 {
  margin-bottom: 0.25rem;
}

.tagline {
  font-size: 1rem;
  color: #888;
  margin: 0;
}

.about {
  margin-top: 2rem;
}

.about p {
  font-size: 1rem;
  color: #d0d0d0;
  line-height: 1.7;
}

.about h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.intro p {
  font-size: 1.1rem;
  color: #aaa;
}

.content-section {
  margin-bottom: 3rem;
}

ul {
  list-style: none;
}

article .content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

article .content ul li {
  margin-bottom: 0.5rem;
}

ul li {
  margin-bottom: 1.5rem;
}

ul li a {
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: #666;
  text-underline-offset: 3px;
  transition: all 0.2s ease;
}

ul li a:hover {
  text-decoration: none;
}

time {
  display: block;
  font-size: 0.9rem;
  color: #888;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

code {
  font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, monospace;
  font-size: 0.9em;
  background: #252525;
  padding: 0.2em 0.4em;
  border-radius: 3px;
}

pre {
  background: #252525;
  padding: 1rem;
  border-radius: 4px;
  overflow-x: auto;
  margin: 1.5rem 0;
}

pre code {
  background: none;
  padding: 0;
}

blockquote {
  border-left: 3px solid #444;
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: #aaa;
}
