:root {
  --ink: #1e2826;
  --muted: #63706d;
  --paper: #f7f6f2;
  --surface: #fffefa;
  --green: #0b3b36;
  --accent: #dd6f3c;
  --line: #dce1dc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Vazirmatn", Tahoma, sans-serif; font-size: 16px; line-height: 1.9; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(247,246,242,.92); position: sticky; top: 0; z-index: 2; backdrop-filter: blur(12px); }
.nav-wrap, .footer-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; font-weight: 800; font-size: 1.05rem; gap: 10px; }
.brand-mark { display: grid; place-items: center; width: 33px; height: 33px; color: #fff; background: var(--green); border-radius: 50% 50% 50% 8%; }
nav { display: flex; gap: 26px; font-size: .92rem; font-weight: 600; }
nav a { color: var(--muted); } nav a:hover { color: var(--green); }
.hero { padding: 92px 0 80px; background: var(--surface); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.7fr .8fr; align-items: center; gap: 90px; }
.eyebrow { margin: 0 0 9px; color: var(--accent); font-size: .79rem; font-weight: 800; letter-spacing: .04em; }
h1, h2, h3 { color: var(--green); line-height: 1.35; }
.hero h1 { max-width: 750px; margin: 0; font-size: clamp(2rem, 4.3vw, 4rem); letter-spacing: -.05em; }
.hero-copy { max-width: 630px; margin: 20px 0 30px; color: var(--muted); font-size: 1.08rem; }
.button { display: inline-flex; align-items: center; gap: 12px; padding: 11px 20px; border-radius: 4px; color: #fff; background: var(--green); font-size: .92rem; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { background: #15554d; transform: translateY(-2px); }
.profile-card { position: relative; padding: 31px; color: #f7f5ed; background: var(--green); border-radius: 4px 36px 4px 4px; box-shadow: 12px 12px 0 #dce7e0; }
.profile-card h2 { margin: 30px 0 7px; color: #fff; font-size: 1.35rem; }.profile-card p { margin: 0; color: #d6e3df; line-height: 1.8; }.profile-number { color: #9fc1b8; font-weight: 700; }.card-line { height: 1px; margin: 25px 0 16px; background: #46726a; }.location { font-size: .86rem; }
.posts-section { padding: 75px 0 105px; }.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 24px; }.section-heading h2 { margin: 0; font-size: 1.9rem; }.section-heading > span { color: var(--muted); font-size: .87rem; }
.post-list { border-top: 2px solid var(--green); }.post-card { display: grid; grid-template-columns: 135px 1fr 1.2fr auto; align-items: center; gap: 25px; padding: 27px 4px; border-bottom: 1px solid var(--line); }.post-date { margin: 0; color: var(--muted); direction: ltr; text-align: right; font-size: .82rem; }.post-card h3 { margin: 0; font-size: 1.16rem; }.post-card h3 a:hover, .text-link:hover { color: var(--accent); }.post-card > p:not(.post-date) { margin: 0; color: var(--muted); font-size: .9rem; }.text-link, .back-link { color: var(--green); font-size: .87rem; font-weight: 800; white-space: nowrap; }
.page { min-height: 65vh; padding-top: 90px; padding-bottom: 105px; }.prose { width: min(760px, calc(100% - 40px)); }.prose h1 { margin: 0; font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -.05em; }.lead { color: var(--muted); font-size: 1.2rem; }.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; margin: 58px 0; }.about-grid h2 { font-size: 1.25rem; }.contact-box { padding: 28px 32px; background: #e7efea; border-right: 4px solid var(--accent); }.contact-box p { margin-top: 0; }.contact-box a { color: var(--green); font-weight: 800; direction: ltr; display: inline-block; }.post { padding-top: 75px; padding-bottom: 105px; }.post-header { padding-bottom: 36px; border-bottom: 1px solid var(--line); }.post-header h1 { margin: 0 0 14px; }.post-meta { margin: 0; color: var(--muted); font-size: .87rem; }.post-content { padding: 33px 0; font-size: 1.06rem; }.post-content p { margin: 0 0 1.4em; }.not-found { text-align: center; }.not-found .button { margin-top: 20px; }.empty-state { padding: 35px; background: #e7efea; color: var(--muted); }.empty-state p { margin: 0; }.empty-state code { direction: ltr; display: inline-block; }.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .81rem; }.site-footer p { margin: 0; }.site-footer a { direction: ltr; color: var(--green); }
@media (max-width: 760px) { .container { width: min(100% - 32px, 1120px); }.nav-wrap { min-height: 66px; }.brand { font-size: .92rem; } nav { gap: 14px; font-size: .8rem; }.hero { padding: 61px 0; }.hero-grid { grid-template-columns: 1fr; gap: 42px; }.profile-card { width: min(330px, 100%); }.post-card { grid-template-columns: 1fr; gap: 8px; }.post-date { text-align: right; }.post-card > p:not(.post-date) { margin: 5px 0; }.about-grid { grid-template-columns: 1fr; gap: 18px; margin: 40px 0; }.page, .post { padding-top: 58px; }.footer-wrap { min-height: 92px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 2px; padding: 15px 0; } }
