@font-face {
  font-family: "Vazirmatn";
  src: url("https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn[wght].woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --vj-color-bg-page: #f8f7f4;
  --vj-color-bg-surface: #ffffff;
  --vj-color-bg-muted: #efece6;
  --vj-color-text-primary: #171717;
  --vj-color-text-secondary: #4d4b47;
  --vj-color-text-muted: #77736d;
  --vj-color-border-default: #d9d5cd;
  --vj-color-brand-primary: #171717;
  --vj-color-primary-700: #2a2927;
  --vj-color-brand-accent: #a86645;
  --vj-color-success: #2f6b4f;
  --vj-color-warning: #a66a1f;
  --vj-color-error: #a84444;
  --vj-color-info: #47627a;
  --vj-radius-sm: .4rem;
  --vj-radius-md: .7rem;
  --vj-radius-lg: 1rem;
  --vj-radius-pill: 999px;
  --vj-shadow-sm: 0 4px 16px rgb(23 23 23 / 5%);
  --vj-shadow-md: 0 14px 35px rgb(23 23 23 / 8%);
  --vj-focus-ring: 0 0 0 3px rgb(168 102 69 / 28%);
}
html { direction: rtl; box-sizing: border-box; scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: inherit; }
body { margin: 0; background: var(--vj-color-bg-page, var(--vj-color-bg-canvas)); color: var(--vj-color-text-primary); font-family: var(--vj-font-fa); font-size: var(--vj-font-body-fa); line-height: var(--vj-line-body-fa); font-weight: var(--vj-font-weight-regular); font-kerning: normal; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: none; box-shadow: var(--vj-focus-ring); }
.vj-container { width: min(100% - 2rem, 1280px); margin-inline: auto; }
.vj-container--narrow { max-inline-size: 740px; }
.site-main { min-block-size: 55vh; }
.site-header { position: relative; z-index: 10; border-block-end: 1px solid var(--vj-color-border-default); background: rgb(248 247 244 / 96%); }
.site-header__inner { min-block-size: 5.25rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-branding__link { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; }
.site-branding__name { font-size: 1rem; font-weight: 600; }
.site-branding__descriptor { color: var(--vj-color-text-muted); font-size: .75rem; border-inline-start: 1px solid var(--vj-color-border-default); padding-inline-start: .8rem; }
.site-branding .custom-logo-link img { max-block-size: 3.1rem; inline-size: auto; }
.site-navigation__list, .site-footer__menu { list-style: none; margin: 0; padding: 0; }
.site-navigation__list { display: flex; align-items: center; gap: .35rem; }
.site-navigation__list a { display: inline-flex; align-items: center; min-block-size: 2.65rem; padding: .55rem .8rem; border-radius: var(--vj-radius-pill); text-decoration: none; color: var(--vj-color-text-secondary); }
.site-navigation__list a:hover, .site-navigation__list a:focus-visible { background: var(--vj-color-bg-muted); color: var(--vj-color-text-primary); }
.vj-nav-cta { background: var(--vj-color-brand-primary) !important; color: #fff !important; padding-inline: 1rem !important; }
.site-footer { border-block-start: 1px solid var(--vj-color-border-default); background: var(--vj-color-bg-muted); margin-block-start: 4rem; }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-block: 3.5rem; }
.site-footer__title { font-weight: 600; font-size: 1.05rem; color: inherit; text-decoration: none; }
.site-footer__brand p { color: var(--vj-color-text-muted); max-inline-size: 360px; line-height: 1.8; }
.site-footer__heading { font-weight: 600; margin: 0 0 .8rem; }
.site-footer__menu { display: grid; gap: .4rem; }
.site-footer__menu a, .site-footer__bottom a { color: var(--vj-color-text-secondary); text-decoration: none; }
.site-footer__menu a:hover, .site-footer__bottom a:hover { color: var(--vj-color-brand-accent); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; border-block-start: 1px solid var(--vj-color-border-default); padding-block: 1rem; color: var(--vj-color-text-muted); font-size: .85rem; }
.site-footer__bottom p { margin: 0; }
.screen-reader-text { position: absolute !important; inline-size: 1px; block-size: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.entry-header { margin-block: clamp(3rem, 7vw, 5rem) 1.5rem; }
.entry-title { max-inline-size: 980px; margin: 0; font-size: var(--vj-font-h1-fa); line-height: var(--vj-line-h1-fa); font-weight: var(--vj-font-weight-semibold); letter-spacing: var(--vj-track-fa); }
.vj-content { max-inline-size: var(--vj-article-measure-fa); line-height: var(--vj-line-body-fa); font-size: var(--vj-font-body-fa); padding-block-end: 2rem; }
.vj-content p, .vj-content ul, .vj-content ol, .vj-content blockquote { margin-block: 1rem; }
.vj-content h2 { margin-block: 3rem 1rem; font-size: var(--vj-font-h2-fa); line-height: var(--vj-line-h2-fa); font-weight: var(--vj-font-weight-semibold); letter-spacing: var(--vj-track-fa); }
.vj-content h3 { margin-block: 2.2rem 1rem; font-size: var(--vj-font-h3-fa); line-height: var(--vj-line-h3-fa); font-weight: var(--vj-font-weight-semibold); letter-spacing: var(--vj-track-fa); }
.vj-content ul, .vj-content ol { padding-inline-start: 1.4rem; }
.vj-content li + li { margin-block-start: .45rem; }
.vj-content blockquote { margin-inline: 0; padding: 1.25rem 1.4rem; border-inline-start: 3px solid var(--vj-color-brand-accent); background: var(--vj-color-bg-muted); border-radius: var(--vj-radius-md); }
.vj-content img { border-radius: var(--vj-radius-lg); }
.vj-content table { display: block; max-inline-size: 100%; overflow-x: auto; border-collapse: collapse; }
.vj-content th, .vj-content td { border: 1px solid var(--vj-color-border-default); padding: .7rem .9rem; text-align: start; }
.vj-content code, .vj-content pre { font-family: var(--vj-font-code); }
.vj-content pre { overflow-x: auto; padding: 1rem; border-radius: var(--vj-radius-md); background: #222; color: #f7f4ed; }
.vj-eyebrow { margin: 0; color: var(--vj-color-brand-accent); font-size: .82rem; font-weight: 700; }
.vj-section-heading { margin-block-end: 2rem; }
.vj-section-heading__title { margin: .5rem 0 .7rem; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.25; }
.vj-section-heading__description { margin: 0; color: var(--vj-color-text-secondary); max-inline-size: 760px; }
.vj-arrow-link { display: inline-flex; align-items: center; gap: .25rem; margin-block-start: 1rem; color: var(--vj-color-text-primary); font-weight: 600; text-decoration: none; }
.vj-arrow-link:hover { color: var(--vj-color-brand-accent); }
.vj-button { display: inline-flex; align-items: center; justify-content: center; min-block-size: 2.75rem; padding: .68rem 1rem; font-size: .9375rem; border: 1px solid transparent; border-radius: var(--vj-radius-pill); text-decoration: none; font-weight: 700; cursor: pointer; transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease; }
.vj-button:hover { transform: translateY(-1px); }
.vj-button--primary { background: var(--vj-color-brand-primary); color: #fff; }
.vj-button--primary:hover { background: var(--vj-color-primary-700); }
.vj-button--secondary { background: var(--vj-color-bg-surface); color: var(--vj-color-text-primary); border-color: var(--vj-color-border-default); }
.vj-button--tertiary { padding-inline: .35rem; color: var(--vj-color-text-secondary); }
.vj-form-field { display: grid; gap: .45rem; margin-block-end: 1rem; }
.vj-form-field label { font-weight: 600; }
.vj-form-field input, .vj-form-field textarea, .vj-form-field select { inline-size: 100%; border: 1px solid var(--vj-color-border-default); border-radius: var(--vj-radius-md); background: var(--vj-color-bg-surface); color: var(--vj-color-text-primary); padding: .8rem .9rem; }
.vj-form-field textarea { resize: vertical; min-block-size: 8rem; }
.vj-checkbox { display: flex; gap: .65rem; align-items: flex-start; margin-block: 1.25rem; color: var(--vj-color-text-secondary); }
.vj-checkbox input { margin-block-start: .35rem; }
.vj-form-notice { margin-block: 1.25rem; padding: .9rem 1rem; border-radius: var(--vj-radius-md); border: 1px solid var(--vj-color-border-default); background: var(--vj-color-bg-muted); }
.vj-form-notice.is-success { border-color: #9cc4ab; color: var(--vj-color-success); }
.vj-form-notice.is-error { border-color: #dfaaaa; color: var(--vj-color-error); }
.vj-hp { position: absolute !important; inline-size: 1px !important; block-size: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0); white-space: nowrap; }
.vj-breadcrumbs { margin-block: 1.25rem; color: var(--vj-color-text-muted); font-size: .9rem; }
.vj-breadcrumbs a { color: inherit; text-decoration: none; }
.vj-breadcrumbs a:hover { color: var(--vj-color-brand-accent); }
/* Language-specific typography: coordinated system, not mirrored sizes. */
html[lang^="en"] body {
  direction: ltr;
  font-family: var(--vj-font-en);
  font-size: var(--vj-font-body-en);
  line-height: var(--vj-line-body-en);
}
html[lang^="en"] .entry-title {
  font-size: var(--vj-font-h1-en);
  line-height: var(--vj-line-h1-en);
  letter-spacing: var(--vj-track-heading-en);
}
html[lang^="en"] .vj-content {
  max-inline-size: var(--vj-article-measure-en);
  font-size: var(--vj-font-body-en);
  line-height: var(--vj-line-body-en);
}
html[lang^="en"] .vj-content h2 {
  font-size: var(--vj-font-h2-en);
  line-height: var(--vj-line-h2-en);
  letter-spacing: var(--vj-track-heading-en);
}
html[lang^="en"] .vj-content h3 {
  font-size: var(--vj-font-h3-en);
  line-height: var(--vj-line-h3-en);
  letter-spacing: var(--vj-track-heading-en);
}
html[lang^="en"] .site-navigation__list a,
html[lang^="en"] .vj-button {
  font-family: var(--vj-font-en);
}
html:not([lang^="en"]) { direction: rtl; }

@media (max-width: 900px) { .site-header__inner { align-items: flex-start; padding-block: 1rem; } .site-branding__descriptor { display: none; } .site-navigation__list { flex-wrap: wrap; justify-content: end; } .site-footer__inner { grid-template-columns: 1fr; } }
@media (max-width: 620px) { body { font-size: var(--vj-font-body-fa-mobile); } html[lang^="en"] body { font-size: var(--vj-font-body-en-mobile); } .vj-content { font-size: var(--vj-font-body-fa-mobile); } html[lang^="en"] .vj-content { font-size: var(--vj-font-body-en-mobile); } .vj-container { width: min(100% - 1.25rem, 1280px); } .site-header__inner { flex-direction: column; gap: .8rem; } .site-navigation__list { justify-content: start; gap: .1rem; } .site-navigation__list a { padding-inline: .65rem; font-size: .9rem; } .site-footer__bottom { flex-direction: column; } }

/* Persian editorial rhythm inspired by mature Iranian content/product sites. */
:where(p, li) { text-wrap: pretty; }
:where(.vj-content p, .entry-content p) { margin-block: 0 1.15em; }
:where(.vj-content strong, .entry-content strong) { font-weight: 600; }
:where(.vj-content em, .entry-content em) { font-style: normal; }
:where(.vj-content ul, .vj-content ol, .entry-content ul, .entry-content ol) { padding-inline-start: 1.25rem; }
:where(.vj-content blockquote, .entry-content blockquote) { margin-inline: 0; padding-inline: 1.25rem; border-inline-start: 3px solid var(--vj-color-brand-accent); color: var(--vj-color-text-secondary); }

/* Vahid Jafari Persian editorial typography — v0.20 */
html[lang^="fa"] body,
html[dir="rtl"] body,
body.rtl {
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  font-weight: 400;
  letter-spacing: 0;
  font-variation-settings: "wght" 400;
}

html[lang^="fa"] button,
html[lang^="fa"] input,
html[lang^="fa"] textarea,
html[lang^="fa"] select,
html[dir="rtl"] button,
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select {
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
}

html[lang^="fa"] .site-navigation__list a,
html[dir="rtl"] .site-navigation__list a {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
}

html[lang^="fa"] .vj-home-hero h1,
html[dir="rtl"] .vj-home-hero h1 {
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0;
  font-variation-settings: "wght" 700;
  text-wrap: balance;
}

html[lang^="fa"] .vj-home-hero__lead,
html[dir="rtl"] .vj-home-hero__lead {
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  font-size: clamp(1.0625rem, 1.15vw, 1.25rem);
  line-height: 1.9;
  font-weight: 400;
  letter-spacing: 0;
}

html[lang^="fa"] .entry-title,
html[dir="rtl"] .entry-title {
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0;
  font-variation-settings: "wght" 700;
  text-wrap: balance;
}

html[lang^="fa"] .vj-content,
html[dir="rtl"] .vj-content {
  max-inline-size: 45rem;
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.95;
  font-weight: 400;
  letter-spacing: 0;
}

html[lang^="fa"] .vj-content h2,
html[dir="rtl"] .vj-content h2 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0;
  font-variation-settings: "wght" 700;
}

html[lang^="fa"] .vj-content h3,
html[dir="rtl"] .vj-content h3 {
  font-size: clamp(1.25rem, 1.55vw, 1.5rem);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0;
  font-variation-settings: "wght" 600;
}

html[lang^="fa"] .vj-eyebrow,
html[dir="rtl"] .vj-eyebrow {
  font-size: .82rem;
  line-height: 1.6;
  font-weight: 600;
}

html[lang^="fa"] .vj-button,
html[dir="rtl"] .vj-button {
  font-size: .9375rem;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: 0;
}

@media (max-width: 620px) {
  html[lang^="fa"] body,
  html[dir="rtl"] body {
    font-size: 16px;
    line-height: 1.9;
  }

  html[lang^="fa"] .vj-home-hero h1,
  html[dir="rtl"] .vj-home-hero h1 {
    font-size: clamp(2rem, 9vw, 2.625rem);
    line-height: 1.25;
  }

  html[lang^="fa"] .vj-content,
  html[dir="rtl"] .vj-content {
    font-size: 1rem;
    line-height: 1.95;
  }
}

/* VJ performance + Persian typography baseline */
:root { --vj-font-fa: "Vazirmatn", Tahoma, Arial, sans-serif; }
body { font-synthesis: none; }
html[lang^="fa"] body, html[lang^="fa"] button, html[lang^="fa"] input, html[lang^="fa"] textarea, html[lang^="fa"] select { font-family: var(--vj-font-fa); }
html[lang^="fa"] .vj-eyebrow { letter-spacing: 0; }


/* Homepage-specific rules */
.site-header {
  position: relative;
  z-index: 10;
  border-block-end: 1px solid var(--vj-color-border-default);
  background: rgb(248 247 244 / 92%);
  backdrop-filter: blur(10px);
}
.site-header__inner {
  min-block-size: 5.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.site-branding__link { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; }
.site-branding__name { font-size: 1.1rem; font-weight: 700; }
.site-branding__descriptor { color: var(--vj-color-text-muted); font-size: .78rem; border-inline-start: 1px solid var(--vj-color-border-default); padding-inline-start: .8rem; }
.site-branding .custom-logo-link img { max-block-size: 3.1rem; inline-size: auto; }
.site-navigation__list, .site-footer__menu { list-style: none; margin: 0; padding: 0; }
.site-navigation__list { display: flex; align-items: center; gap: .35rem; }
.site-navigation__list a { display: inline-flex; align-items: center; min-block-size: 2.55rem; padding: .5rem .7rem; border-radius: var(--vj-radius-pill); text-decoration: none; color: var(--vj-color-text-secondary); }
.site-navigation__list a:hover, .site-navigation__list a:focus-visible { background: var(--vj-color-bg-surface); color: var(--vj-color-text-primary); }
.vj-nav-cta { background: var(--vj-color-brand-primary) !important; color: #fff !important; padding-inline: 1rem !important; }
.vj-nav-cta:hover, .vj-nav-cta:focus-visible { background: var(--vj-color-primary-700) !important; }

.vj-container { width: min(100% - 2rem, 1280px); margin-inline: auto; }
.vj-container--narrow { max-inline-size: 740px; }
.site-main { padding-block: 0; }
.vj-home-hero { padding-block: clamp(4.5rem, 9vw, 8rem); border-block-end: 1px solid var(--vj-color-border-default); }
.vj-home-hero__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .8fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.vj-home-hero__media {
  margin: 0;
  inline-size: min(100%, 500px);
  justify-self: end;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--vj-radius-lg);
  background: var(--vj-color-bg-muted);
  box-shadow: var(--vj-shadow-md);
}
.vj-home-hero__media img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: center;
}
.vj-home-hero h1 { max-inline-size: 980px; margin: .75rem 0 1.5rem; font-size: var(--vj-font-display-xl-fa); line-height: var(--vj-line-display-fa); font-weight: var(--vj-font-weight-semibold); letter-spacing: var(--vj-track-fa); }
.vj-home-hero__lead { max-inline-size: 800px; color: var(--vj-color-text-secondary); font-size: var(--vj-font-lead-fa); line-height: var(--vj-line-lead-fa); margin: 0; }
.vj-home-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-block-start: 2rem; }
.vj-home-hero__statement { border-inline-start: 2px solid var(--vj-color-brand-accent); padding-inline: 1.5rem; }
.vj-home-hero__statement span { color: var(--vj-color-brand-accent); font-size: .8rem; }
.vj-home-hero__statement strong { display: block; margin-block: .35rem .15rem; font-size: 1.35rem; }
.vj-home-hero__statement p { color: var(--vj-color-text-secondary); margin: 0 0 1.35rem; line-height: 1.85; }
.vj-home-section { padding-block: clamp(4rem, 8vw, 7rem); }
.vj-home-section--muted { background: var(--vj-color-bg-muted); }
.vj-home-section--dark { background: var(--vj-color-brand-primary); color: #fff; }
.vj-home-section--dark p { color: #d7d4ce; }
.vj-home-section--dark .vj-eyebrow { color: #d6a281; }
.vj-home-section--dark h2 { color: #fff; }
.vj-home-section--dark .vj-button--on-dark { border-color: #fff; color: #fff; }
.vj-section-heading--row { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-block-end: 2.5rem; }
.vj-home-grid { display: grid; gap: 1rem; }
.vj-home-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-block-start: 2.5rem; }
.vj-home-card { display: block; min-block-size: 100%; padding: 1.6rem; border: 1px solid var(--vj-color-border-default); border-radius: var(--vj-radius-lg); background: var(--vj-color-bg-surface); text-decoration: none; color: inherit; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
a.vj-home-card:hover { transform: translateY(-3px); border-color: #c4beb3; box-shadow: 0 14px 35px rgb(23 23 23 / 7%); }
.vj-home-card__number { color: var(--vj-color-brand-accent); font-weight: 700; font-size: .85rem; }
.vj-home-card h3 { margin: .65rem 0 .8rem; font-size: 1.25rem; line-height: 1.4; }
.vj-home-card p { color: var(--vj-color-text-secondary); margin: 0; line-height: 1.85; }
.vj-home-card--content h3 a { text-decoration: none; color: inherit; }
.vj-home-two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 8vw, 8rem); align-items: center; }
.vj-home-two-col h2, .vj-home-cta h2 { max-inline-size: 780px; font-size: var(--vj-font-h2-fa); line-height: var(--vj-line-h2-fa); font-weight: var(--vj-font-weight-semibold); letter-spacing: var(--vj-track-fa); margin: .7rem 0 1rem; }
.vj-home-two-col > div > p { color: var(--vj-color-text-secondary); font-size: 1.08rem; line-height: 1.95; }
.vj-home-outline { border-block-start: 1px solid var(--vj-color-border-default); }
.vj-home-outline div { display: grid; grid-template-columns: 100px 1fr; gap: 1rem; padding-block: 1.1rem; border-block-end: 1px solid var(--vj-color-border-default); }
.vj-home-outline strong { color: var(--vj-color-brand-accent); }
.vj-home-outline span { color: var(--vj-color-text-secondary); }
.vj-home-two-col--center { align-items: center; }
.vj-home-cta { text-align: center; padding-block: 1rem; }
.vj-home-cta h2 { margin-inline: auto; }
.vj-home-cta .vj-button { margin-block-start: 1rem; }
.site-footer { border-block-start: 1px solid var(--vj-color-border-default); background: #efece6; }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-block: 3.5rem; }
.site-footer__title { font-weight: 700; font-size: 1.2rem; color: inherit; text-decoration: none; }
.site-footer__brand p { color: var(--vj-color-text-muted); max-inline-size: 360px; line-height: 1.8; }
.site-footer__heading { font-weight: 700; margin: 0 0 .8rem; }
.site-footer__menu { display: grid; gap: .4rem; }
.site-footer__menu a, .site-footer__bottom a { color: var(--vj-color-text-secondary); text-decoration: none; }
.site-footer__menu a:hover, .site-footer__bottom a:hover { color: var(--vj-color-brand-accent); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; border-block-start: 1px solid var(--vj-color-border-default); padding-block: 1rem; color: var(--vj-color-text-muted); font-size: .85rem; }
.site-footer__bottom p { margin: 0; }

.entry-header { margin-block-end: 1.5rem; }
.entry-title { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.2; }
.vj-content { max-inline-size: 740px; line-height: 1.95; }
.vj-content p, .vj-content ul, .vj-content ol { margin-block: 1rem; }
.vj-content img { border-radius: var(--vj-radius-lg); }

@media (max-width: 900px) {
  .site-header__inner { align-items: flex-start; padding-block: 1rem; }
  .site-branding__descriptor { display: none; }
  .site-navigation__list { flex-wrap: wrap; justify-content: end; }
  .vj-home-hero__grid, .vj-home-two-col, .site-footer__inner { grid-template-columns: 1fr; }
  .vj-home-hero__media { inline-size: min(100%, 520px); justify-self: start; }
  .vj-home-hero__statement { margin-block-start: .5rem; }
  .vj-home-grid--three { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .site-header__inner { flex-direction: column; gap: .8rem; }
  .site-navigation__list { justify-content: start; gap: .1rem; }
  .site-navigation__list a { padding-inline: .65rem; font-size: .9rem; }
  .vj-home-hero { padding-block: 3.5rem; }
  .vj-home-outline div { grid-template-columns: 78px 1fr; }
  .site-footer__bottom { flex-direction: column; }
  .vj-section-heading--row { flex-direction: column; align-items: start; }
}

/* English homepage typography. */
html[lang^="en"] .vj-home-hero h1 { font-size: var(--vj-font-display-xl-en); line-height: var(--vj-line-display-en); letter-spacing: var(--vj-track-display-en); }
html[lang^="en"] .vj-home-hero__lead { font-family: var(--vj-font-en); font-size: var(--vj-font-lead-en); line-height: var(--vj-line-lead-en); }
html[lang^="en"] .vj-home-two-col h2, html[lang^="en"] .vj-home-cta h2 { font-size: var(--vj-font-h2-en); line-height: var(--vj-line-h2-en); letter-spacing: var(--vj-track-heading-en); }
html[lang^="en"] .vj-home-card h3 { font-family: var(--vj-font-en); font-size: var(--vj-font-h3-en); line-height: var(--vj-line-h3-en); }

/* Master Header overrides — keep Homepage visually identical to interior templates. */
.vj-header { position: sticky; inset-block-start: 0; z-index: 1000; background: color-mix(in srgb, var(--vj-color-bg-page) 92%, transparent); border-block-end: 1px solid color-mix(in srgb, var(--vj-color-border-default) 78%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: box-shadow .2s ease, background-color .2s ease; }
.vj-header.is-scrolled { box-shadow: 0 6px 24px rgb(23 23 23 / 6%); background: color-mix(in srgb, var(--vj-color-bg-page) 97%, transparent); }
.vj-header__inner { min-block-size: 5rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(1rem, 2.5vw, 2.5rem); transition: min-block-size .2s ease; }
.vj-header.is-scrolled .vj-header__inner { min-block-size: 4rem; }
.vj-header__brand { display: flex; align-items: center; min-inline-size: 0; }
.vj-header__brand-link { display: inline-flex; align-items: center; text-decoration: none; color: var(--vj-color-text-primary); }
.vj-header__brand-link > a { display: inline-flex; align-items: center; text-decoration: none; color: inherit; }
.vj-header__brand .custom-logo-link { display: inline-flex; align-items: center; }
.vj-header__brand .custom-logo-link img { inline-size: auto; max-block-size: 3.5rem; transition: max-block-size .2s ease; }
.vj-header.is-scrolled .vj-header__brand .custom-logo-link img { max-block-size: 2.8rem; }
.vj-header__wordmark { font-size: 1.05rem; font-weight: 700; }
.vj-header__nav { justify-self: center; }
.vj-header__menu { list-style: none; display: flex; align-items: center; justify-content: center; gap: clamp(.15rem, .4vw, .5rem); margin: 0; padding: 0; }
.vj-header__item { position: relative; }
.vj-header__details { position: relative; }
.vj-header__trigger { min-block-size: 2.75rem; display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .75rem; color: var(--vj-color-text-secondary); font-size: .94rem; line-height: 1.4; font-weight: 500; text-decoration: none; border-radius: .55rem; cursor: pointer; transition: color .16s ease, background-color .16s ease; }
summary.vj-header__trigger { list-style: none; }
summary.vj-header__trigger::-webkit-details-marker { display: none; }
.vj-header__trigger:hover, .vj-header__trigger:focus-visible, .vj-header__details[open] > .vj-header__trigger { color: var(--vj-color-text-primary); background: var(--vj-color-bg-muted); }
.vj-header__chevron { inline-size: .75rem; block-size: .75rem; transition: transform .16s ease; }
.vj-header__details[open] .vj-header__chevron { transform: rotate(180deg); }
.vj-header__dropdown { position: absolute; inset-block-start: calc(100% + .65rem); inset-inline-start: 50%; min-inline-size: 19rem; transform: translateX(-50%); padding: .65rem; background: var(--vj-color-bg-surface); border: 1px solid var(--vj-color-border-default); border-radius: .9rem; box-shadow: 0 18px 50px rgb(23 23 23 / 10%); }
html[dir="rtl"] .vj-header__dropdown { transform: translateX(50%); }
.vj-header__dropdown-grid { display: grid; gap: .2rem; }
.vj-header__dropdown a { display: block; padding: .75rem .85rem; border-radius: .55rem; color: var(--vj-color-text-secondary); font-size: .9rem; line-height: 1.55; text-decoration: none; }
.vj-header__dropdown a:hover, .vj-header__dropdown a:focus-visible { background: var(--vj-color-bg-muted); color: var(--vj-color-text-primary); }
.vj-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: .35rem; }
.vj-header__icon-button, .vj-header__lang { inline-size: 2.75rem; block-size: 2.75rem; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: transparent; color: var(--vj-color-text-secondary); text-decoration: none; cursor: pointer; transition: background-color .16s ease, color .16s ease; }
.vj-header__icon-button svg { inline-size: 1.15rem; block-size: 1.15rem; }
.vj-header__icon-button:hover, .vj-header__icon-button:focus-visible, .vj-header__lang:hover, .vj-header__lang:focus-visible { background: var(--vj-color-bg-muted); color: var(--vj-color-text-primary); }
.vj-header__lang { font-size: .78rem; font-weight: 700; letter-spacing: .03em; }
.vj-header__cta { min-block-size: 2.75rem; display: inline-flex; align-items: center; justify-content: center; padding-inline: 1.05rem; border-radius: 999px; background: var(--vj-color-brand-primary); color: #fff; font-size: .88rem; line-height: 1.35; font-weight: 700; text-decoration: none; white-space: nowrap; transition: transform .16s ease, background-color .16s ease; }
.vj-header__cta:hover { transform: translateY(-1px); background: var(--vj-color-primary-700); color: #fff; }
.vj-header__cta:focus-visible { box-shadow: var(--vj-focus-ring); }
.vj-header__mobile-toggle { display: none; inline-size: 2.75rem; block-size: 2.75rem; border: 1px solid var(--vj-color-border-default); border-radius: .65rem; background: var(--vj-color-bg-surface); cursor: pointer; }
.vj-header__mobile-toggle span { display: block; inline-size: 1.1rem; block-size: 1.5px; margin: 3px auto; background: currentColor; }
.vj-mobile-nav { display: none; border-block-start: 1px solid var(--vj-color-border-default); background: var(--vj-color-bg-surface); }
.vj-mobile-nav[hidden] { display: none; }
.vj-mobile-nav__group { border-block-end: 1px solid var(--vj-color-border-default); }
.vj-mobile-nav__group summary, .vj-mobile-nav__link { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem 0; font-weight: 600; color: var(--vj-color-text-primary); text-decoration: none; cursor: pointer; list-style: none; }
.vj-mobile-nav__links { display: grid; gap: .2rem; padding: 0 0 .85rem; }
.vj-mobile-nav__links a { padding: .65rem .75rem; color: var(--vj-color-text-secondary); text-decoration: none; border-radius: .5rem; }
.vj-mobile-nav__footer { display: flex; gap: 1rem; padding-block: 1rem 1.25rem; }
.vj-mobile-nav__footer a { color: var(--vj-color-text-secondary); text-decoration: none; font-weight: 600; }
.vj-search-dialog { inline-size: min(42rem, calc(100% - 2rem)); max-inline-size: none; border: 1px solid var(--vj-color-border-default); border-radius: 1rem; padding: 0; background: var(--vj-color-bg-surface); color: var(--vj-color-text-primary); box-shadow: 0 24px 70px rgb(23 23 23 / 20%); }
.vj-search-dialog::backdrop { background: rgb(23 23 23 / 42%); }
.vj-search-dialog__panel { padding: 1.25rem; }
.vj-search-dialog__header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-block-end: 1rem; }
.vj-search-dialog__header h2 { margin: 0; font-size: 1.25rem; line-height: 1.3; }
.vj-search-dialog__form { display: grid; grid-template-columns: 1fr auto; gap: .65rem; }
.vj-search-dialog__form input { min-block-size: 3rem; inline-size: 100%; padding-inline: 1rem; border: 1px solid var(--vj-color-border-default); border-radius: .7rem; background: var(--vj-color-bg-page); color: var(--vj-color-text-primary); }
html[lang^="en"] .vj-header__trigger, html[lang^="en"] .vj-header__dropdown a, html[lang^="en"] .vj-header__cta { font-family: var(--vj-font-en); }
@media (max-width: 1050px) { .vj-header__inner { gap: 1rem; } .vj-header__menu { gap: 0; } .vj-header__trigger { padding-inline: .55rem; font-size: .88rem; } .vj-header__cta { padding-inline: .85rem; } }
@media (max-width: 820px) { .vj-header__inner { grid-template-columns: 1fr auto; } .vj-header__nav { display: none; } .vj-header__actions { gap: .2rem; } .vj-header__mobile-toggle { display: inline-block; } .vj-mobile-nav { display: block; } }
/* Vahid Jafari Footer Master — v0.26 */
.site-footer{margin-block-start:0;background:var(--vj-color-brand-primary,#171717);color:#f8f7f4;border-block-start:1px solid rgba(255,255,255,.08)}
.site-footer__cta{border-block-end:1px solid rgba(255,255,255,.1)}
.site-footer__cta-inner{display:flex;align-items:flex-end;justify-content:space-between;gap:3rem;padding-block:clamp(2.75rem,6vw,4.75rem)}
.site-footer__cta-copy{max-inline-size:760px}
.site-footer__eyebrow{margin:0 0 .65rem;color:#c7b5a8;font-size:.8rem;line-height:1.5;font-weight:600}
.site-footer__cta h2{margin:0 0 .75rem;font-size:clamp(1.9rem,3.8vw,3rem);line-height:1.2;font-weight:700;letter-spacing:0}
.site-footer__cta p:last-child{margin:0;max-inline-size:48rem;color:rgba(248,247,244,.72);font-size:1rem;line-height:1.9}
.site-footer__cta-button{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;flex:0 0 auto;min-block-size:3rem;padding:.8rem 1.1rem;border:1px solid rgba(23,23,23,.12);border-radius:999px;background:#f8f7f4;color:#171717;text-decoration:none;font-size:.95rem;font-weight:600;transition:transform .18s ease,background-color .18s ease,color .18s ease}
.site-footer__cta-button:hover{transform:translateY(-1px);background:#fff}
.site-footer__main{display:grid;grid-template-columns:1.55fr repeat(4,1fr);gap:2.5rem;padding-block:clamp(3rem,6vw,4.5rem)}
.site-footer__brand{padding-inline-end:1rem}
.site-footer__title{display:inline-block;margin:0 0 .9rem;color:#fff;text-decoration:none;font-size:1.3rem;font-weight:700}
.site-footer__brand p{margin:0;max-inline-size:19rem;color:rgba(248,247,244,.68);font-size:.95rem;line-height:1.85}
.site-footer__socials{display:flex;flex-wrap:wrap;gap:.55rem;margin-block-start:1.5rem}
.site-footer__socials a{display:inline-flex;align-items:center;min-block-size:2rem;padding:.35rem .6rem;border:1px solid rgba(255,255,255,.14);border-radius:999px;color:rgba(248,247,244,.82);text-decoration:none;font-size:.8rem;font-weight:500;transition:border-color .18s ease,color .18s ease,background-color .18s ease}
.site-footer__socials a:hover{border-color:rgba(255,255,255,.32);background:rgba(255,255,255,.06);color:#fff}
.site-footer__heading{margin:0 0 1rem;color:#fff;font-size:.95rem;line-height:1.5;font-weight:600}
.site-footer__menu{display:grid;gap:.58rem;margin:0;padding:0;list-style:none}
.site-footer__menu a{color:rgba(248,247,244,.66);font-size:.9rem;line-height:1.7;text-decoration:none;transition:color .18s ease}
.site-footer__menu a:hover{color:#fff}
.site-footer__bottom{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-block:1.1rem;border-block-start:1px solid rgba(255,255,255,.1);color:rgba(248,247,244,.54);font-size:.78rem;line-height:1.6}
.site-footer__bottom p{margin:0}
.site-footer__legal{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:1rem}
.site-footer__legal a{color:inherit;text-decoration:none}
.site-footer__legal a:hover{color:#fff}
@media (max-width:1050px){.site-footer__main{grid-template-columns:1.5fr repeat(2,1fr)}}
@media (max-width:760px){.site-footer__cta-inner{flex-direction:column;align-items:flex-start;gap:1.5rem}.site-footer__main{grid-template-columns:repeat(2,1fr);gap:2rem}.site-footer__brand{grid-column:1/-1;padding-inline-end:0}.site-footer__bottom{flex-direction:column;align-items:flex-start}.site-footer__legal{justify-content:flex-start}}
@media (max-width:520px){.site-footer__main{grid-template-columns:1fr}.site-footer__brand{grid-column:auto}.site-footer__socials{margin-block-start:1.1rem}.site-footer__cta h2{font-size:clamp(1.75rem,9vw,2.25rem)} }

/* Vahid Jafari Footer refinement — v0.27 */
.site-footer__cta-inner{
  gap:2.25rem;
  padding-block:clamp(2.5rem,5vw,3.8rem);
}
.site-footer__cta-copy{
  flex:1 1 auto;
  max-inline-size:800px;
}
.site-footer__cta h2{
  max-inline-size:780px;
}
.site-footer__main{
  grid-template-columns:1.7fr repeat(4,1fr);
  gap:2.1rem;
  padding-block:clamp(2.5rem,5vw,3.7rem);
}
.site-footer__brand{
  padding-inline-end:1.5rem;
}
.site-footer__title{
  font-size:1.4rem;
  margin-block-end:.75rem;
}
.site-footer__brand p{
  max-inline-size:21rem;
  font-size:.98rem;
  line-height:1.8;
}
.site-footer__heading{
  margin-block-end:.85rem;
  font-size:.97rem;
}
.site-footer__menu{
  gap:.52rem;
}
.site-footer__menu a{
  font-size:.9rem;
}
.site-footer__socials{
  margin-block-start:1.25rem;
  gap:.45rem;
}
.site-footer__socials a{
  min-block-size:2rem;
}
@media (max-width:1050px){
  .site-footer__main{grid-template-columns:1.45fr repeat(2,1fr);}
}
