/* Ecuries Fiz - Styles */

html { scroll-behavior: smooth; }

/* Reveal animation */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Article prose ─── */

.prose h2 {
  margin-top: 2.75rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e7e5e4; /* stone-200 */
}
.prose h3 {
  margin-top: 2rem;
  margin-bottom: 0.6rem;
}
.prose p {
  margin-bottom: 1.25rem;
}
.prose ul, .prose ol {
  margin-bottom: 1.15rem;
  padding-left: 1.5rem;
}
.prose li {
  margin-bottom: 0.45rem;
}
.prose blockquote {
  border-left: 3px solid #d4a373;
  padding: 1rem 1.25rem;
  margin: 2rem 0;
  font-style: italic;
  color: #57534e;
  background: #faf8f5; /* cream */
  border-radius: 0 0.5rem 0.5rem 0;
}
.prose img {
  border-radius: 0.75rem;
  margin: 2rem 0;
}
.prose table {
  font-size: 0.9rem;
}

/* Drop cap on first paragraph */
.article-prose > p:first-of-type::first-letter {
  float: left;
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5em;
  line-height: 0.8;
  padding-right: 0.1em;
  padding-top: 0.08em;
  color: #1b4d3e; /* forest */
  font-weight: 700;
}

/* Subtle separator between major sections */
.prose h2 + p {
  margin-top: 0;
}

/* ─── Focus ─── */
a:focus-visible, button:focus-visible {
  outline: 2px solid #d4a373;
  outline-offset: 2px;
}

/* ─── Print ─── */
@media print {
  header, footer, nav, .reveal-on-scroll, #progress-bar { display: none !important; }
  .prose { max-width: 100%; }
}
