/* Thoughts page — override dark defaults for light static page */
html.thoughts-page,
.thoughts-page,
.thoughts-page body {
  background: #faf8f5;
}

/* Shared nav bar — consistent with main page post-transition */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 36px 40px;
  pointer-events: none;
}

.nav-bar a {
  pointer-events: auto;
}

.nav-bar .sig-wrap {
  position: static;
}

.nav-bar .sig {
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #3a3430;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.nav-bar .sig:hover {
  opacity: 1;
}

.nav-bar .sig-lab {
  font-weight: 400;
  opacity: 0.4;
  margin-left: 4px;
}

.nav-bar .top-actions {
  position: static;
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-bar .thoughts-btn {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(58, 52, 48, 0.5);
  text-decoration: none;
  opacity: 1;
  pointer-events: auto;
  transition: color 0.2s ease;
}

.nav-bar .thoughts-btn:hover {
  color: #d4967a;
}

.nav-bar .join-top {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #3a3430;
  text-decoration: none;
  opacity: 0.7;
  pointer-events: auto;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav-bar .join-top:hover {
  color: #d4967a;
  opacity: 1;
}

/* Main content */
.thoughts-main {
  padding-top: 140px;
  padding-bottom: 80px;
  max-width: 600px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.thoughts-header {
  margin-bottom: 48px;
}

.back-link {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(58, 52, 48, 0.4);
  text-decoration: none;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: #d4967a;
}

.thoughts-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #3a3430;
  margin-bottom: 4px;
}

.thoughts-subtitle {
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgba(58, 52, 48, 0.4);
  letter-spacing: 0.02em;
}

/* Full post */
.post-full {
  margin-bottom: 72px;
}

.post-header {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(58, 52, 48, 0.08);
}

.post-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #3a3430;
  margin-bottom: 4px;
  line-height: 1.2;
}

.post-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(58, 52, 48, 0.5);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.post-meta {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(58, 52, 48, 0.4);
  letter-spacing: 0.02em;
}

.post-date {
  opacity: 0.7;
}

.post-readtime {
  opacity: 0.5;
}

/* Post body — long-form essay */
.post-body {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #3a3430;
}

.post-body p {
  margin-bottom: 1.35em;
}

.post-body h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #3a3430;
  margin-top: 2em;
  margin-bottom: 0.6em;
}

/* Inline art — abstract SVG illustrations */
.post-art {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2.5em 0;
  padding: 0;
}

.post-art svg {
  max-width: 100%;
  height: auto;
  opacity: 0.85;
}

.post-art.bleed svg {
  max-width: 140%;
  margin: 0 -20%;
}

@media (max-width: 640px) {
  .post-art.bleed svg {
    max-width: 100%;
    margin: 0;
  }
}

/* Archive section */
.post-archive {
  padding-top: 28px;
  border-top: 1px solid rgba(58, 52, 48, 0.08);
}

.archive-heading {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(58, 52, 48, 0.35);
  margin-bottom: 16px;
}

/* Paper list */
.paper-list {
  list-style: none;
}

.paper-item {
  padding: 20px 0;
  border-bottom: 1px solid rgba(58, 52, 48, 0.07);
  opacity: 1;
  transform: none;
}

.paper-item:last-child {
  border-bottom: none;
}

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

.paper-link .paper-title {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: #3a3430;
  margin-bottom: 2px;
  transition: color 0.2s ease;
}

.paper-link:hover .paper-title {
  color: #d4967a;
}

.paper-link .paper-subtitle {
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(58, 52, 48, 0.45);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.paper-link .paper-meta {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(58, 52, 48, 0.4);
  letter-spacing: 0.02em;
}

.paper-tag {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(58, 52, 48, 0.3);
  margin-right: 8px;
}

.paper-date,
.paper-readtime {
  opacity: 0.5;
}

/* Footer */
.thoughts-footer {
  text-align: center;
  padding: 40px 24px 60px;
}

.thoughts-footer a {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(58, 52, 48, 0.35);
  text-decoration: none;
  transition: color 0.2s ease;
}

.thoughts-footer a:hover {
  color: #d4967a;
}

@media (max-width: 640px) {
  .nav-bar {
    padding: 24px;
  }

  .nav-bar .sig {
    font-size: 0.75rem;
  }

  .nav-bar .top-actions {
    gap: 14px;
  }

  .nav-bar .thoughts-btn,
  .nav-bar .join-top {
    font-size: 0.625rem;
  }

  .thoughts-main {
    padding-top: 110px;
  }

  .thoughts-title {
    font-size: 1.5rem;
  }

  .post-title {
    font-size: 1.25rem;
  }

  .post-body {
    font-size: 0.875rem;
  }

  .paper-title {
    font-size: 0.9375rem;
  }
}
