/* Article / Essay Page Styles */
:root {
  --p-bg:       #f5eedc;
  --p-bg-2:     #efe5cc;
  --p-bg-3:     #e9dcc0;
  --p-paper:    #faf4e3;
  --p-line:     #d6c6a4;
  --p-text:     #3a322a;
  --p-text-dim: #6e6253;
  --p-terra:    #c7522a;
  --p-sage:     #7c9070;
  --p-rose:     #c98079;
  --p-ochre:    #d4a574;

  --f-p-display: "Instrument Serif", "Times New Roman", serif;
  --f-p-body:    "Fraunces", Georgia, serif;
  --f-p-hand:    "Caveat", cursive;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--p-bg);
  color: var(--p-text);
  font-family: var(--f-p-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.55;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix type='matrix' values='0.23 0 0 0 0 0.20 0 0 0 0 0 0 0.16 0 0 0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}

.p-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 36px;
}

.p-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 244, 227, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px dashed var(--p-line);
}
.p-nav-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.p-nav a {
  font-family: var(--f-p-body);
  font-style: italic;
  font-size: 16px;
  color: var(--p-text-dim);
  text-decoration: none;
  transition: color 200ms;
}
.p-nav a:hover { color: var(--p-terra); }

.essay-container {
  max-width: 740px;
  margin: 0 auto;
  padding: 80px 24px 120px;
}
.essay-meta {
  font-family: var(--f-p-hand);
  font-size: 22px;
  color: var(--p-terra);
  margin-bottom: 12px;
}
.essay-meta span { color: var(--p-sage); }
.essay-title {
  font-family: var(--f-p-display);
  font-style: italic;
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 400;
  color: var(--p-text);
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.p-section-rule {
  width: 100%;
  height: 12px;
  margin: 20px 0 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='12'%3E%3Cpath d='M0 6 Q12.5 2 25 6 Q37.5 10 50 6 Q62.5 2 75 6 Q87.5 10 100 6' fill='none' stroke='%23c7522a' stroke-width='1.5' opacity='0.7'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 100px 12px;
}
.essay-content {
  font-size: 19px;
  color: var(--p-text-dim);
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.85;
  hyphens: auto;
}
.essay-content p { margin-bottom: 28px; text-align: justify; text-justify: inter-word; }
.essay-content p:first-of-type::first-letter {
  font-family: var(--f-p-display);
  font-style: italic;
  font-size: 3.5em;
  color: var(--p-terra);
  float: left;
  line-height: 0.85;
  margin: 6px 10px -4px 0;
}
.essay-talk {
  margin-top: 32px;
  padding: 10px 0 0;
  border-top: 1px dashed var(--p-line);
  background: transparent;
  border-radius: 0;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}
.essay-talk h2 {
  font-family: var(--f-p-hand);
  font-style: normal;
  font-size: 14px;
  color: var(--p-text-dim);
  margin-bottom: 4px;
}
.essay-talk p {
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--p-text-dim);
}
.essay-talk a {
  color: var(--p-terra);
  text-decoration: underline;
  text-decoration-color: rgba(199, 82, 42, 0.35);
}
.essay-content blockquote {
  font-family: var(--f-p-display);
  font-style: italic;
  font-size: 26px;
  color: var(--p-text);
  line-height: 1.35;
  border-left: 3px solid var(--p-terra);
  padding-left: 24px;
  margin: 40px 0 40px 12px;
}
.essay-content em { color: var(--p-text); }
.p-footer {
  padding: 40px 32px;
  text-align: center;
  border-top: 1px dashed var(--p-line);
  font-family: var(--f-p-hand);
  font-size: 20px;
  color: var(--p-terra);
}
.p-footer a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 720px) {
  .p-nav-inner { padding: 12px 18px 12px 72px; gap: 4px 16px; overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; }
  .p-nav a { font-size: 14px; }
  .essay-container { padding: 60px 18px 80px; }
}
