/* Shared styles for sub-pages – matches the main site aesthetic */
:root {
  --ink: #1a1612;
  --parchment: #f7f3ed;
  --cream: #ede6da;
  --warm: #c4a87c;
  --rust: #b5654a;
  --muted: #8a7e72;
  --light-muted: #b5ab9e;
  --shadow: rgba(26, 22, 18, 0.06);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
::selection { background: var(--warm); color: var(--parchment); }
html { scroll-behavior: smooth; }
body {
  font-family: 'Libre Baskerville', Georgia, serif;
  background: var(--parchment);
  color: var(--ink);
  line-height: 1.8;
}
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Nav */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(247, 243, 237, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--shadow);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.nav-logo span { color: var(--rust); font-style: italic; }
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--ink); }
/* Story page */
.story-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 7rem 2rem 4rem;
}
.story-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--cream);
}
.story-category-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--rust);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.story-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.story-meta-row {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  color: var(--light-muted);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.story-body p {
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  text-indent: 2em;
}
.story-body p:first-child { text-indent: 0; }
.story-body p:first-child::first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  float: left;
  line-height: 0.8;
  margin: 0.1em 0.15em 0 0;
  color: var(--rust);
  font-weight: 600;
}
.story-separator {
  text-align: center;
  margin: 3rem 0;
  color: var(--warm);
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  letter-spacing: 0.5em;
}
.story-body blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--rust);
  border-left: 2px solid var(--warm);
  padding-left: 1.5rem;
  margin: 2.5rem 0;
  line-height: 1.6;
  text-indent: 0;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rust);
  text-decoration: none;
  transition: gap 0.3s;
}
.back-link:hover { gap: 0.8rem; }
/* Footer */
footer {
  padding: 3rem;
  text-align: center;
  border-top: 1px solid var(--cream);
  margin-top: 2rem;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 1rem;
}
.footer-logo span { color: var(--rust); font-style: italic; }
.footer-copy {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  color: var(--light-muted);
  letter-spacing: 0.05em;
}
/* Responsive */
@media (max-width: 700px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .story-page { padding: 5rem 1.25rem 3rem; }
  .story-body p { font-size: 0.95rem; }
}
