/* ============================================
   abbasramezani.ir — Design System
   ============================================
   Signature: numbered essays + teal green + 
   circular ornament + narrow reading column
   ============================================ */

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

/* ---------- Tokens ---------- */
:root {
  /* Colors */
  --teal: #1A8B7F;
  --teal-dark: #14746A;
  --teal-light: #E8F4F2;
  --ink: #1A1A1A;
  --ink-soft: #2E2E2E;
  --grey-500: #6B6B6B;
  --grey-400: #8A8A8A;
  --grey-300: #B8B8B8;
  --paper: #FBF9F4;
  --paper-tint: #F5F1E8;
  --divider: #E8E4DC;
  --divider-strong: #D4CFC2;
  --highlight: rgba(26, 139, 127, 0.12);
  
  /* Typography */
  --font-persian: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  
  /* Layout */
  --reading-max: 840px;
  --content-max: 1120px;
  --nav-max: 1280px;
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-persian);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
  font-weight: 400;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
a { color: inherit; text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--divider);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(251, 249, 244, 0.92);
}
.header-inner {
  max-width: var(--nav-max);
  margin: 0 auto;
  padding: 20px 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: contain;
}
.brand .brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand .brand-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand .brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--grey-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-nav {
  display: flex;
  gap: 32px;
  justify-content: center;
}
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.site-nav a:hover { color: var(--teal); }
.site-nav a.active {
  color: var(--teal);
  border-bottom-color: var(--teal);
}
.header-cta {
  padding: 8px 18px;
  background: var(--teal);
  color: white;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.15s;
}
.header-cta:hover { background: var(--teal-dark); }

/* ---------- Ornament (echoing logo circle) ---------- */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 40px auto;
  color: var(--teal);
}
.ornament::before,
.ornament::after {
  content: '';
  flex: 0 0 60px;
  height: 1px;
  background: var(--teal);
  opacity: 0.4;
}
.ornament .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

/* ---------- Homepage: Hero ---------- */
.hero {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 100px 40px 80px;
  text-align: center;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--teal);
  opacity: 0.5;
}
.hero h1 {
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin: 0 auto 32px;
}
.hero h1 em {
  font-style: normal;
  color: var(--teal);
  position: relative;
}
.hero-lead {
  font-size: 18px;
  color: var(--grey-500);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.85;
  font-weight: 400;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--divider);
  max-width: 640px;
  margin: 0 auto;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.hero-stat .n {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 500;
  color: var(--teal);
  line-height: 1;
}
.hero-stat .l {
  font-size: 12px;
  color: var(--grey-500);
  letter-spacing: 0.05em;
}

/* ---------- Section title (used on homepage) ---------- */
.section-title {
  max-width: var(--content-max);
  margin: 60px auto 32px;
  padding: 0 40px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}
.section-title h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.section-title .aside {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--grey-500);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.section-title .aside a { color: var(--teal); }
.section-title .aside a:hover { color: var(--teal-dark); }

/* ---------- Featured (pillar) essays ---------- */
.featured {
  max-width: var(--content-max);
  margin: 0 auto 40px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar {
  background: white;
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26, 139, 127, 0.12);
  border-color: var(--teal);
}
.pillar .n {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--teal);
  letter-spacing: 0.1em;
  font-weight: 500;
}
.pillar h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
  min-height: 78px;
}
.pillar .excerpt {
  font-size: 14px;
  color: var(--grey-500);
  line-height: 1.75;
  flex: 1;
}
.pillar .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--divider);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--grey-500);
  letter-spacing: 0.05em;
}
.pillar .cat {
  color: var(--teal);
  font-weight: 500;
}

/* ---------- Latest essays list ---------- */
.latest {
  max-width: 780px;
  margin: 0 auto 80px;
  padding: 0 40px;
}
.essay-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--divider);
  align-items: baseline;
  transition: padding 0.15s;
}
.essay-row:hover {
  padding-right: 8px;
}
.essay-row:hover h3 {
  color: var(--teal);
}
.essay-row .n {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--teal);
  font-weight: 500;
  letter-spacing: 0.1em;
  padding-top: 6px;
}
.essay-row h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.005em;
  transition: color 0.15s;
}
.essay-row .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--grey-500);
  white-space: nowrap;
  letter-spacing: 0.05em;
}
.essay-row .meta .cat {
  color: var(--teal);
}

/* ---------- Article page ---------- */
.essay-hero {
  max-width: 840px;
  margin: 60px auto 40px;
  padding: 0 40px;
  text-align: center;
}
.essay-hero .breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--grey-500);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.essay-hero .breadcrumb a { color: var(--teal); }
.essay-hero .breadcrumb .sep { margin: 0 8px; color: var(--grey-300); }
.essay-hero .n {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal);
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  font-weight: 500;
}
.essay-hero h1 {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.essay-hero .lead {
  font-size: 18px;
  line-height: 1.85;
  color: var(--grey-500);
  max-width: 640px;
  margin: 0 auto 28px;
}
.essay-hero .byline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--grey-500);
  letter-spacing: 0.05em;
  padding-top: 24px;
  border-top: 1px solid var(--divider);
}
.essay-hero .byline .sep { color: var(--grey-300); }
.essay-hero .byline .cat { color: var(--teal); }

/* ---------- Article body ---------- */
.essay-body {
  max-width: var(--reading-max);
  margin: 0 auto;
  padding: 40px 40px 80px;
  font-size: 17px;
  line-height: 1.9;
  color: var(--ink-soft);
}
.essay-body > p:first-of-type::first-letter {
  font-family: var(--font-persian);
  font-size: 68px;
  font-weight: 800;
  color: var(--teal);
  float: right;
  line-height: 0.9;
  margin-right: 0;
  margin-left: 12px;
  margin-top: 8px;
}
.essay-body p {
  margin-bottom: 24px;
}
.essay-body h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-top: 56px;
  margin-bottom: 20px;
  line-height: 1.35;
  color: var(--ink);
}
.essay-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--teal);
}
.essay-body blockquote {
  border-right: 3px solid var(--teal);
  background: var(--teal-light);
  padding: 20px 24px;
  margin: 32px 0;
  font-size: 18px;
  line-height: 1.85;
  color: var(--ink);
  border-radius: 6px;
}
.essay-body ul, .essay-body ol {
  padding-right: 24px;
  margin-bottom: 24px;
}
.essay-body li {
  margin-bottom: 8px;
}
.essay-body strong {
  color: var(--ink);
  font-weight: 700;
}
.essay-body em {
  color: var(--teal-dark);
  font-style: normal;
  font-weight: 500;
  background: linear-gradient(transparent 70%, var(--highlight) 70%);
}

/* Article footer */
.essay-footer {
  max-width: var(--reading-max);
  margin: 40px auto;
  padding: 40px;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  text-align: center;
}
.essay-footer .sig {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--grey-500);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.essay-footer .signature {
  font-size: 16px;
  color: var(--teal);
  font-weight: 600;
}

/* Related */
.related {
  max-width: var(--content-max);
  margin: 40px auto 80px;
  padding: 0 40px;
}
.related h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--grey-500);
  text-transform: uppercase;
  margin-bottom: 20px;
  text-align: center;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ---------- Archive page ---------- */
.archive-header {
  max-width: var(--content-max);
  margin: 60px auto 40px;
  padding: 0 40px;
  text-align: center;
}
.archive-header h1 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.archive-header p {
  font-size: 16px;
  color: var(--grey-500);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.85;
}
.filters {
  max-width: var(--content-max);
  margin: 40px auto 32px;
  padding: 0 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.filter {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--divider-strong);
  border-radius: 100px;
  font-size: 13px;
  font-family: var(--font-persian);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.15s;
}
.filter:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.filter.active {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}
.filter .count {
  font-family: var(--font-mono);
  font-size: 11px;
  margin-right: 4px;
  opacity: 0.6;
}
.archive-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px 80px;
}
.archive-year {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--grey-500);
  letter-spacing: 0.15em;
  margin: 32px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--divider-strong);
  display: flex;
  justify-content: space-between;
}
.archive-year:first-of-type { margin-top: 0; }

/* ---------- About page ---------- */
.about {
  max-width: 720px;
  margin: 80px auto;
  padding: 0 40px;
}
.about h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.about h1 em { font-style: normal; color: var(--teal); }
.about .portrait {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 32px;
  border: 2px solid var(--teal);
  padding: 4px;
}
.about p {
  font-size: 17px;
  line-height: 1.95;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.about h2 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.about ul.links {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.about ul.links li {
  padding: 12px 0;
  border-bottom: 1px solid var(--divider);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.about ul.links li:last-child { border-bottom: none; }
.about ul.links a {
  color: var(--teal);
  font-weight: 500;
}
.about ul.links .label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--grey-500);
  letter-spacing: 0.05em;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--divider);
  padding: 40px 20px;
  background: var(--paper-tint);
  margin-top: auto;
}
.footer-inner {
  max-width: var(--nav-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-inner .copyright {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--grey-500);
  letter-spacing: 0.05em;
}
.footer-inner .links {
  display: flex;
  gap: 24px;
  font-size: 13px;
}
.footer-inner .links a {
  color: var(--ink-soft);
  transition: color 0.15s;
}
.footer-inner .links a:hover { color: var(--teal); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    padding: 16px 20px;
    gap: 16px;
  }
  .site-nav {
    display: none;
  }
  .brand .brand-sub { display: none; }
  .hero { padding: 60px 20px 40px; }
  .featured { grid-template-columns: 1fr; padding: 0 20px; }
  .related-grid { grid-template-columns: 1fr; }
  .latest, .essay-body, .about, .archive-list { padding-left: 20px; padding-right: 20px; }
  .essay-hero { padding: 0 20px; margin-top: 40px; }
  .section-title { padding: 0 20px; }
  .hero-stats { gap: 24px; }
  .essay-body { font-size: 16px; line-height: 1.85; }
  .essay-body > p:first-of-type::first-letter { font-size: 54px; }
}
<!-- ============================================
     نوار پیشرفت مطالعه — Reading Progress Bar
     این قطعه رو داخل essay.php اضافه کن:
     
     محل دقیق: بلافاصله بعد از <?php layout_head(); ?>
     یعنی همون بالای <main> که essay شروع می‌شه.
     
     چون position:fixed داره، جای دقیقش توی HTML مهم نیست؛
     فقط باید یه‌جا داخل <body> باشه (هرجا که essay.php محتوا رو echo می‌کنه).
     ============================================ -->

<div id="reading-progress"></div>

<script>
(function() {
  var bar = document.getElementById('reading-progress');
  if (!bar) return;
  
  function updateProgress() {
    var article = document.querySelector('.essay-body');
    if (!article) return;
    
    var articleTop = article.offsetTop;
    var articleHeight = article.offsetHeight;
    var scrollTop = window.scrollY || document.documentElement.scrollTop;
    var windowHeight = window.innerHeight;
    
    var start = articleTop - windowHeight * 0.3;
    var end = articleTop + articleHeight - windowHeight * 0.5;
    var progress = (scrollTop - start) / (end - start);
    progress = Math.max(0, Math.min(1, progress));
    
    bar.style.width = (progress * 100) + '%';
  }
  
  window.addEventListener('scroll', updateProgress, { passive: true });
  window.addEventListener('resize', updateProgress);
  updateProgress();
})();
</script>

/* ============================================
   ENHANCEMENT LAYER — auto-added by fix_everything.php
   ============================================ */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -180px; left: 50%;
  transform: translateX(-50%); width: 900px; height: 500px;
  background: radial-gradient(ellipse at center, rgba(26, 139, 127, 0.10) 0%, rgba(26, 139, 127, 0.04) 45%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block; padding: 6px 16px; border: 1px solid rgba(26, 139, 127, 0.25);
  border-radius: 100px; background: rgba(26, 139, 127, 0.06);
  animation: fadeInDown 0.6s ease both;
}
.hero h1 { animation: fadeInUp 0.7s ease 0.1s both; }
.hero-lead { animation: fadeInUp 0.7s ease 0.2s both; }
.hero-stats { animation: fadeInUp 0.7s ease 0.3s both; }
.hero-stat .n {
  font-family: 'JetBrains Mono', monospace; font-size: 28px; font-weight: 800;
  color: #1A8B7F; display: block; font-variant-numeric: tabular-nums;
  transition: transform 0.2s ease;
}
.hero-stat:hover .n { transform: scale(1.08); }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.pillar {
  position: relative;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}
.pillar:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(26, 139, 127, 0.18), 0 4px 12px rgba(0,0,0,0.06);
  border-color: rgba(26, 139, 127, 0.35);
}
.pillar:hover .n { color: #14746A; }
.pillar h3 { transition: color 0.2s ease; }
.pillar:hover h3 { color: #1A8B7F; }
.pillar::after {
  content: ''; position: absolute; top: 0; right: 0; width: 0; height: 3px;
  background: linear-gradient(90deg, #1A8B7F, #4FB8AA); border-radius: 0 0 0 3px;
  transition: width 0.35s ease;
}
.pillar:hover::after { width: 100%; }

.essay-row { transition: background 0.2s ease, padding-right 0.2s ease; border-radius: 6px; }
.essay-row:hover { background: rgba(26, 139, 127, 0.04); padding-right: 8px; }
.essay-row h3 { transition: color 0.2s ease; }
.essay-row:hover h3 { color: #1A8B7F; }
.essay-row .n { transition: transform 0.2s ease; }
.essay-row:hover .n { transform: translateX(-2px); }

.cat {
  display: inline-block; padding: 2px 10px; border-radius: 100px;
  background: rgba(26, 139, 127, 0.08); font-size: 12px; transition: background 0.2s ease;
}
a:hover .cat, .essay-row:hover .cat, .pillar:hover .cat { background: rgba(26, 139, 127, 0.15); }

.essay-body blockquote {
  position: relative; border-right: none;
  background: linear-gradient(135deg, rgba(26, 139, 127, 0.06), rgba(26, 139, 127, 0.02));
  padding: 28px 32px 28px 24px; margin: 32px 0; border-radius: 12px;
  font-size: 19px; line-height: 1.9; font-weight: 500; color: #14453f;
}
.essay-body blockquote::before {
  content: '\201C'; position: absolute; top: 4px; right: 16px; font-size: 64px;
  font-family: Georgia, serif; color: rgba(26, 139, 127, 0.18); line-height: 1;
}

.essay-body > p:first-of-type::first-letter {
  font-size: 64px; font-weight: 800; color: #1A8B7F; float: right;
  line-height: 0.8; margin: 6px 0 0 10px; font-family: 'Vazirmatn', serif;
}

.site-nav a { position: relative; padding-bottom: 4px; }
.site-nav a::after {
  content: ''; position: absolute; bottom: 0; right: 0; width: 0; height: 2px;
  background: #1A8B7F; transition: width 0.25s ease;
}
.site-nav a:hover::after, .site-nav a.active::after { width: 100%; }

.filters .filter { transition: all 0.2s ease; }
.filters .filter:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.06); }
.filters .filter.active { box-shadow: 0 4px 14px rgba(26, 139, 127, 0.25); }

.essay-body a { text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: color 0.15s ease; }
.essay-body a:hover { color: #14746A; }

.ornament .dot { animation: gentlePulse 3s ease-in-out infinite; }
@keyframes gentlePulse { 0%, 100% { opacity: 0.6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.15); } }

.archive-year { font-family: 'JetBrains Mono', monospace; letter-spacing: 0.02em; }
.archive-year span:first-child { font-size: 15px; font-weight: 700; color: #1A8B7F; }

html { scroll-behavior: smooth; }

#reading-progress {
  position: fixed; top: 0; right: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, #1A8B7F, #4FB8AA); width: 0%; z-index: 9999;
  transition: width 0.1s ease-out;
}

@media (max-width: 768px) {
  .hero::before { width: 100%; height: 300px; top: -120px; }
  .pillar:hover { transform: none; }
  .essay-body > p:first-of-type::first-letter { font-size: 48px; }
}
/* MOBILE MENU */
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-menu-btn span { display: block; width: 22px; height: 2px; background: #1A1A1A; margin: 5px 0; transition: 0.2s; }
.mobile-nav-dropdown {
  display: none; position: absolute; top: 100%; right: 0; left: 0;
  background: #FBF9F4; border-top: 1px solid #E0DED8; padding: 8px 20px 16px;
  flex-direction: column; gap: 4px; z-index: 100;
}
.mobile-nav-dropdown.open { display: flex; }
.mobile-nav-dropdown a {
  padding: 12px 8px; font-size: 15px; color: #1A1A1A; text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.mobile-nav-dropdown a.active { color: #1A8B7F; font-weight: 600; }
@media (max-width: 680px) {
  .site-nav { display: none; }
  .mobile-menu-btn { display: block; }
  .header-inner { position: relative; }
}
/* HORIZONTAL SCROLL FIX (mobile) */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}
.hero::before {
  max-width: 100vw;
}
* {
  box-sizing: border-box;
}