.notes-shell {
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 32px 0 96px;
}

.notes-hero {
  padding: 48px 0 64px;
}

.notes-hero h1,
.article-header h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.notes-list {
  display: grid;
  gap: 18px;
}

.notes-item,
.note-card {
  display: block;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 60px rgba(79, 52, 32, 0.08);
  transition: transform 220ms ease, border-color 220ms ease;
}

.notes-item:hover,
.note-card:hover {
  transform: translateY(-3px);
  border-color: rgba(170, 95, 60, 0.28);
}

.notes-item h2,
.note-card h3 {
  margin: 10px 0 12px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.note-meta {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(31, 27, 22, 0.58);
}

.notes-item p,
.note-card p,
.article-body p,
.article-body li,
.article-body blockquote {
  line-height: 1.85;
  color: rgba(31, 27, 22, 0.74);
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.article-wrap {
  padding: 40px 0 96px;
}

.back-link {
  display: inline-block;
  margin-bottom: 28px;
  color: rgba(31, 27, 22, 0.72);
}

.article-header {
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(31, 27, 22, 0.12);
  margin-bottom: 32px;
}

.article-body h1,
.article-body h2,
.article-body h3 {
  font-family: "Cormorant Garamond", serif;
  line-height: 1.05;
  margin: 40px 0 16px;
}

.article-body h2 {
  font-size: 2.3rem;
}

.article-body h3 {
  font-size: 1.7rem;
}

.article-body ul,
.article-body ol {
  padding-left: 22px;
}

.article-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  background: rgba(31, 27, 22, 0.06);
  padding: 0.15em 0.4em;
  border-radius: 6px;
}

.article-body pre {
  padding: 18px;
  overflow: auto;
  background: rgba(31, 27, 22, 0.92);
  color: #f7f2eb;
  border-radius: 18px;
}

.article-body pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}

.article-body blockquote {
  margin: 24px 0;
  padding-left: 18px;
  border-left: 3px solid rgba(170, 95, 60, 0.5);
}

@media (max-width: 720px) {
  .notes-grid {
    grid-template-columns: 1fr;
  }

  .notes-item,
  .note-card {
    padding: 22px;
  }
}
