@font-face {
  font-family: Vazirmatn;
  src: url("../fonts/vazirmatn-arabic-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: Vazirmatn;
  src: url("../fonts/vazirmatn-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Vazirmatn;
  src: url("../fonts/vazirmatn-arabic-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: Vazirmatn;
  src: url("../fonts/vazirmatn-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Vazirmatn;
  src: url("../fonts/vazirmatn-arabic-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: Vazirmatn;
  src: url("../fonts/vazirmatn-latin-700.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f3efe6;
  --paper-2: #e6dece;
  --card: #fbf8f2;
  --ink: #141916;
  --muted: #5c665f;
  --line: rgba(20, 25, 22, 0.12);
  --forest: #12352e;
  --forest-2: #0c241f;
  --gold: #a6843c;
  --gold-2: #e2c98a;
  --shadow: 0 30px 70px rgba(16, 28, 24, 0.1);
  --header: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 100% -8%, rgba(166, 132, 60, 0.16), transparent 55%),
    radial-gradient(700px 380px at 0% 12%, rgba(18, 53, 46, 0.06), transparent 50%),
    var(--paper);
  font-family: Vazirmatn, Tahoma, sans-serif;
  font-size: 17px;
  line-height: 1.85;
  color-scheme: light;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: #e7d7a8; color: var(--ink); }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; inset-inline-start: 12px; top: -40px; background: var(--forest);
  color: #f6f1e6; padding: 8px 12px; z-index: 20;
}
.skip:focus { top: 8px; }
.wrap { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 30;
  height: var(--header);
  display: flex; align-items: center;
  background: rgba(243, 239, 230, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 22px; width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 42px; height: 42px; }
.brand strong { display: block; font-size: 1.05rem; line-height: 1.2; font-weight: 800; }
.brand small { display: block; color: var(--muted); font-size: 0.75rem; }
.site-nav { display: flex; align-items: center; gap: 18px; margin-inline-start: auto; }
.site-nav a { text-decoration: none; color: var(--ink); font-size: 0.95rem; }
.site-nav a[aria-current="page"] { color: var(--forest); box-shadow: inset 0 -2px 0 var(--gold); }
.nav-toggle { display: none; margin-inline-start: auto; background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; border-radius: 999px; padding: 10px 18px; border: 1px solid transparent;
  line-height: 1.4; cursor: pointer; background: transparent;
}
.btn-primary { background: var(--forest); color: #f6f1e6; }
.btn-primary:hover { background: #1b4c42; }
.btn-ghost { border-color: rgba(20,25,22,.2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--forest); }
.btn-gold { background: var(--gold-2); color: #23190a; }
.btn-gold:hover { background: #efd7a0; }
.header-cta { white-space: nowrap; }

.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 42px; align-items: stretch; padding: 34px 0 18px; }
.kicker { margin: 0 0 10px; color: var(--gold); font-weight: 700; font-size: 0.92rem; letter-spacing: 0; }
h1 { margin: 0; font-size: clamp(2.15rem, 4.5vw, 4.15rem); line-height: 1.28; font-weight: 800; letter-spacing: -0.03em; }
.lede { font-size: 1.08rem; color: var(--muted); max-width: 40rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.truths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 8px 0 0; padding: 0; list-style: none; }
.truths li { background: rgba(255,252,247,.7); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; font-size: 0.92rem; line-height: 1.7; }
.truths strong { display: block; font-size: 0.98rem; }

.stage {
  background: radial-gradient(500px 240px at 20% 0%, rgba(226, 201, 138, .18), transparent 60%), var(--forest-2);
  color: #f4efe6; border-radius: 28px; padding: 16px; min-height: 540px;
  display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden;
}
.stage-top { display: flex; justify-content: space-between; gap: 12px; align-items: end; padding: 6px 6px 0; }
.stage-top p { margin: 0; color: #d9d0c2; font-size: 0.86rem; }
.stage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: 1; }
.stage-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: #0a1613; border-radius: 18px; overflow: hidden; border: 1px solid rgba(226,201,138,.18); min-height: 0;
}
.stage-card.span { grid-column: 1 / -1; }
.stage-card img { width: 100%; height: 168px; object-fit: contain; background: #070b0a; }
.stage-card.span img { height: 150px; }
.stage-card span { display: flex; justify-content: space-between; gap: 8px; padding: 8px 12px 10px; font-size: 0.92rem; }
.stage-card small { color: var(--gold-2); }

.band { border-block: 1px solid var(--line); margin: 28px 0 10px; overflow: hidden; }
.band-track { display: flex; gap: 28px; padding: 12px 0; color: var(--muted); white-space: nowrap; }
.band b { color: var(--ink); font-weight: 700; }

.section { padding: 64px 0; }
.section-head { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: end; margin-bottom: 18px; }
.section-head h2, .prose h2, .page-hero h1 { letter-spacing: -0.02em; }
h2 { margin: 0 0 8px; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.35; font-weight: 800; }
.section-head p { margin: 0; color: var(--muted); max-width: 40rem; }

.service-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 26px 0; border-top: 1px solid var(--line); text-decoration: none; }
.service-row:last-child { border-bottom: 1px solid var(--line); }
.num { color: var(--gold); font-weight: 800; font-size: 1.2rem; }
.service-row h2, .service-row h3 { margin: 0 0 4px; font-size: 1.45rem; }
.service-row p { margin: 0; color: var(--muted); }
.service-row em { font-style: normal; color: var(--forest); font-weight: 700; }

.work-list { display: flex; flex-direction: column; gap: 28px; }
.work-row { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: center; padding: 14px 0 28px; border-bottom: 1px solid var(--line); }
.work-row:nth-child(even) .work-media { order: 2; }
.work-media { background: #0c1210; border-radius: 24px; overflow: hidden; min-height: 280px; display: flex; align-items: center; }
.work-media img { width: 100%; height: 360px; object-fit: contain; background: #070b0a; }
.work-copy h3 { margin: 0 0 6px; font-size: 2rem; }
.work-copy h3 a, .text-link { color: var(--forest); }
.tagline { margin: 0 0 8px; font-weight: 700; }
.work-copy p { margin-top: 0; color: var(--muted); }
.meta-line { color: var(--gold); font-weight: 700; font-size: 0.92rem; margin-bottom: 6px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; min-height: 180px; }
.step b { display: block; margin-bottom: 8px; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.post-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; text-decoration: none; min-height: 230px; }
.post-card:hover { border-color: rgba(18,53,46,.35); }
.post-card time { color: var(--gold); font-size: 0.86rem; }
.post-card h3 { margin: 8px 0; font-size: 1.2rem; line-height: 1.55; }
.post-card p { margin: 0; color: var(--muted); }

.faq { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: left; color: var(--gold); font-weight: 800; }
.faq[open] summary::after { content: "–"; }
.faq-a { color: var(--muted); padding: 0 0 16px; }

.cta-band { background: var(--forest); color: #f6f1e6; border-radius: 28px; padding: 36px 32px; display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.cta-band h2 { color: #f6f1e6; }
.cta-band p { margin: 0; color: #d9d0c2; max-width: 36rem; }

.site-footer { padding: 28px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr .9fr; gap: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.site-footer h2 { font-size: 1rem; margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 4px 0; }
.legal { color: var(--muted); font-size: 0.88rem; margin-top: 22px; }
.search-mini { display: flex; gap: 8px; }
.search-mini input, .field input, .field textarea, .field select {
  width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px;
}
.page-hero { padding: 36px 0 10px; }
.crumbs { margin: 0 0 14px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: 0.9rem; }
.crumbs a { color: var(--forest); }
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.55rem; margin: 1.6rem 0 .4rem; }
.prose h3 { margin: 1.2rem 0 .3rem; }
.prose a { color: var(--forest); }
.prose blockquote { margin: 1.2rem 0; padding: .2rem 1rem; border-inline-start: 3px solid var(--gold); color: var(--muted); }
.prose figure { margin: 1.2rem 0; }
.prose img { border-radius: 18px; background: #0c1210; }
.prose figcaption { color: var(--muted); font-size: 0.9rem; }
.layout-2 { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; padding-bottom: 64px; }
.side-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; position: sticky; top: 96px; }
.side-card h2 { font-size: 1.05rem; }
.card-list { display: grid; gap: 12px; }
.plain-card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; text-decoration: none; }
.plain-card h2, .plain-card h3 { margin: 0 0 6px; font-size: 1.35rem; }
.work-hero-media { background: #0c1210; border-radius: 28px; margin: 10px 0 28px; }
.work-hero-media img { width: 100%; max-height: 520px; object-fit: contain; margin-inline: auto; }
.notice { background: #efe4c6; border-radius: 14px; padding: 12px 14px; }
.form-grid { display: grid; gap: 12px; }
.field label { display: block; font-weight: 700; margin-bottom: 4px; }
.hp { position: absolute; inset-inline-start: -9999px; height: 0; overflow: hidden; }
.error { color: #8a2e2e; margin: 0; }
.related { display: grid; gap: 10px; margin-top: 28px; }
.related a { text-decoration: none; border-top: 1px solid var(--line); padding-top: 8px; }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; inset: calc(var(--header) + 8px) 16px auto 16px;
    background: var(--card); border: 1px solid var(--line); border-radius: 16px;
    flex-direction: column; align-items: stretch; padding: 12px; box-shadow: var(--shadow);
  }
  body.nav-open .site-nav { display: flex; }
  .header-cta { display: none; }
  .hero, .work-row, .section-head, .layout-2, .steps, .post-grid, .truths, .footer-grid, .cta-band { grid-template-columns: 1fr; }
  .work-row:nth-child(even) .work-media { order: 0; }
  .service-row { grid-template-columns: 48px 1fr; }
  .service-row em { grid-column: 2; }
  .stage { min-height: 0; }
  .cta-band { align-items: stretch; }
  .side-card { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
