/* SIMA · سيما — shared basics. Page styling lives inline, as designed. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #1C1A18; }
img { max-width: 100%; height: auto; }
a { color: #B33A2B; }
a:hover { color: #8E2C20; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #F0CDC6; outline-offset: 2px;
}
.skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 10;
  background: #F0CDC6; color: #1C1A18; padding: 10px 16px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Long-form text written in the editing panel */
.prose { max-width: 68ch; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose h2 { font-size: 1.5em; line-height: 1.3; margin: 1.6em 0 0.5em; }
.prose h3 { font-size: 1.2em; line-height: 1.35; margin: 1.4em 0 0.4em; }
.prose img { display: block; margin: 1.5em 0; }
.prose blockquote { margin: 1.5em 0; padding: 4px 20px; border-inline-start: 4px solid #B33A2B; color: #3A352F; }
.prose a { color: #B33A2B; }

/* Work filter */
.filter-btn[aria-pressed="true"] { background: #F0CDC6 !important; color: #1C1A18 !important; border-color: #F0CDC6 !important; }
.work-card[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
