/* ============================================================================
   nakhlfanavar.ir — public site
   ----------------------------------------------------------------------------
   One stylesheet, two scripts (Latin and Persian), no framework.

   Everything is written with logical properties so the Persian pages are the
   same layout mirrored, not a second layout. Type is the one place the two
   languages deliberately diverge: English gets an editorial serif for display
   and a grotesk for text; Persian gets Vazirmatn for both, because a Latin
   serif has no Arabic-script glyphs and a mixed display face reads as a
   mistake to a Persian reader.
   ========================================================================= */

/* --- fonts (self-hosted; nothing on this site is fetched from a third party) */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/InstrumentSerif-Regular.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("fonts/InstrumentSerif-Italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/Inter-Medium.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/Inter-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Vazirmatn"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/Vazirmatn-Regular.woff2") format("woff2"); }
@font-face { font-family: "Vazirmatn"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/Vazirmatn-Medium.woff2") format("woff2"); }
@font-face { font-family: "Vazirmatn"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/Vazirmatn-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Vazirmatn"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/Vazirmatn-Bold.woff2") format("woff2"); }

/* --- tokens: the brand sheet, verbatim ----------------------------------- */
:root {
  color-scheme: light;
  --paper: #F7F4EC;
  --paper-2: #EFE9DC;
  --line: #DED8CA;
  --line-soft: #E9E4D8;
  --ink: #132019;
  --ink-2: #33423A;
  --muted: #66726B;
  --forest: #143A2A;
  --forest-2: #24553D;
  --forest-deep: #0C2419;
  --brass: #B98942;
  --brass-2: #9E7436;
  --brass-soft: #E4CEA5;
  --brass-pale: #F3E8D2;
  --white: #FFFFFF;

  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --max: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px rgba(19, 32, 25, .12);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: 220ms;
}
html[lang="fa"] {
  --font-display: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
  --font-text: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
}

/* --- reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="fa"] body { line-height: 1.95; font-size: 1.0625rem; }
img, picture, svg { display: block; max-width: 100%; }
/* A <picture> is only a wrapper; anything sized on the frame must reach the img. */
.hero__figure picture, .page-hero__figure picture, .band__photo picture, .feature picture, .split picture { height: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--forest-2); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brass-soft); color: var(--ink); }

.container { width: min(var(--max), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.container--narrow { width: min(820px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }

/* --- type scale ----------------------------------------------------------- */
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 400; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.9rem, 6.2vw, 5.4rem); line-height: 1.0; letter-spacing: -.012em; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); line-height: 1.06; letter-spacing: -.01em; }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.2; }
h1 em, h2 em, .display em { font-style: italic; color: var(--brass-2); }
html[lang="fa"] h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); line-height: 1.35; letter-spacing: 0; font-weight: 700; }
html[lang="fa"] h2 { font-size: clamp(1.7rem, 3.6vw, 2.75rem); line-height: 1.4; letter-spacing: 0; font-weight: 700; }
html[lang="fa"] h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.6; font-weight: 700; }
html[lang="fa"] h1 em, html[lang="fa"] h2 em { font-style: normal; color: var(--brass-2); }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--ink-2); max-width: 44ch; }
html[lang="fa"] .lede { line-height: 1.9; max-width: 48ch; }
.small { font-size: .9rem; color: var(--muted); }

/* Eyebrow: tracked small caps in English; Persian has no case, so it gets a
   short rule and weight instead - the same rhythm, the right typography. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brass-2); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
html[lang="fa"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: .9rem; font-weight: 600; }
.on-dark .eyebrow, .on-dark .eyebrow::before { color: var(--brass-soft); }

/* --- buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: .97rem; line-height: 1;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn .arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
html[dir="rtl"] .btn:hover .arrow { transform: translateX(-3px); }
.btn--primary { background: var(--forest); color: var(--paper); box-shadow: 0 12px 28px rgba(20, 58, 42, .22); }
.btn--primary:hover { background: var(--forest-deep); transform: translateY(-1px); }
.btn--outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn--outline:hover { background: rgba(20, 58, 42, .06); }
.btn--brass { background: var(--brass); color: var(--forest-deep); }
.btn--brass:hover { background: var(--brass-2); color: var(--paper); }
.on-dark .btn--outline { border-color: rgba(247, 244, 236, .5); color: var(--paper); }
.on-dark .btn--outline:hover { background: rgba(247, 244, 236, .1); border-color: var(--paper); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.textlink { font-weight: 600; color: var(--forest-2); border-bottom: 1px solid var(--brass-soft); padding-bottom: 2px; }
.textlink:hover { border-color: var(--brass); }

/* --- header ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 244, 236, .86); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(222, 216, 202, .7);
}
.nav { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 38px; height: 38px; }
.brand__name { font-family: var(--font-display); font-size: 1.45rem; line-height: 1; color: var(--forest); letter-spacing: -.005em; }
html[lang="fa"] .brand__name { font-size: 1.25rem; font-weight: 700; }
.brand__tag { display: block; font-family: var(--font-text); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
html[lang="fa"] .brand__tag { letter-spacing: 0; text-transform: none; font-size: .78rem; }
.nav__links { display: flex; align-items: center; gap: 26px; margin-inline-start: auto; font-size: .95rem; font-weight: 500; color: var(--ink-2); }
.nav__links a { position: relative; padding: 8px 0; }
.nav__links a::after { content: ""; position: absolute; inset-inline: 0; bottom: 2px; height: 1.5px; background: var(--brass); transform: scaleX(0); transform-origin: inline-start; transition: transform var(--dur) var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--forest); font-weight: 600; }
.nav__cta { display: inline-flex; }
.lang {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--white);
  font-size: .78rem; font-weight: 600; letter-spacing: .06em;
}
.lang a { padding: 6px 10px; border-radius: 999px; color: var(--muted); font-family: var(--font-text); }
.lang a[aria-current="true"] { background: var(--forest); color: var(--paper); }
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); align-items: center; justify-content: center; }
.nav__toggle span { display: block; width: 18px; height: 2px; background: var(--forest); position: relative; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; inset-inline-start: 0; width: 18px; height: 2px; background: var(--forest); }
.nav__toggle span::before { top: -6px; } .nav__toggle span::after { top: 6px; }

/* --- hero (home) ------------------------------------------------------------ */
.hero { position: relative; overflow: clip; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 96px) clamp(40px, 6vw, 80px); }
.hero h1 { max-width: 12ch; }
html[lang="fa"] .hero h1 { max-width: 16ch; }
.hero .lede { margin-top: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__note { margin-top: 22px; font-size: .86rem; color: var(--muted); max-width: 46ch; }
.hero__figure { position: relative; margin: 0; }
.hero__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero__badge {
  position: absolute; inset-inline-start: 18px; bottom: 18px;
  display: inline-flex; flex-direction: column; gap: 2px;
  padding: 12px 16px; border-radius: 12px;
  background: rgba(247, 244, 236, .92); backdrop-filter: blur(8px);
  color: var(--ink); font-size: .82rem; line-height: 1.4;
}
.hero__badge strong { font-weight: 600; }
.hero__badge span { color: var(--muted); font-size: .76rem; }
.hero__frond { position: absolute; inset-inline-end: -8vw; top: -6vw; width: 42vw; max-width: 620px; opacity: .06; pointer-events: none; }

/* --- proof strip ------------------------------------------------------------ */
.proof { border-block: 1px solid var(--line); background: var(--paper-2); }
.proof__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof__item { padding: 22px 24px; border-inline-start: 1px solid var(--line); }
.proof__item:first-child { border-inline-start: 0; padding-inline-start: 0; }
.proof__item strong { display: block; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.15; color: var(--forest); }
html[lang="fa"] .proof__item strong { font-weight: 700; font-size: 1.15rem; }
.proof__item span { display: block; margin-top: 4px; font-size: .86rem; color: var(--muted); }

/* --- sections --------------------------------------------------------------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--forest); color: var(--paper); }
.section--dark h2, .section--dark h3 { color: var(--paper); }
.section--dark .lede, .section--dark p { color: rgba(247, 244, 236, .82); }
.section__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head p { margin: 0; color: var(--muted); max-width: 44ch; }
.section--dark .section__head p { color: rgba(247, 244, 236, .78); }
.section__head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }

/* --- feature trio (photo + text) -------------------------------------------- */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 32px); }
.feature { display: flex; flex-direction: column; gap: 16px; }
.feature img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); width: 100%; }
.feature__n { font-family: var(--font-display); font-size: 1rem; color: var(--brass-2); letter-spacing: .04em; }
.feature h3 { margin-top: 2px; }
.feature p { margin: 0; color: var(--muted); font-size: .98rem; }

/* --- product split ------------------------------------------------------------ */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.split--reverse > :first-child { order: 2; }
.spec { margin-top: 30px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.spec li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.spec__n { font-family: var(--font-display); font-size: 1.1rem; color: var(--brass-2); }
.spec strong { display: block; font-weight: 600; }
.spec span { display: block; color: var(--muted); font-size: .92rem; margin-top: 2px; }

/* --- steps ------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; position: relative; }
.steps::before { content: ""; position: absolute; top: 22px; inset-inline: 22px; height: 1px; background: rgba(247, 244, 236, .22); }
.step { position: relative; padding-top: 62px; }
.step__n {
  position: absolute; top: 0; inset-inline-start: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-display); font-size: 1.15rem;
  background: var(--paper); color: var(--forest); border: 1px solid var(--brass-soft);
}
html[lang="fa"] .step__n { font-weight: 700; font-size: 1rem; }
.step h3 { font-size: 1.15rem; color: var(--paper); }
html[lang="fa"] .step h3 { font-size: 1.05rem; }
.step p { font-size: .9rem; color: rgba(247, 244, 236, .74); margin: 8px 0 0; }

/* --- gallery ------------------------------------------------------------------ */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.gallery figure { margin: 0; position: relative; overflow: clip; border-radius: var(--radius); background: var(--paper-2); }
.gallery picture { height: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption {
  position: absolute; inset-inline: 0; bottom: 0; padding: 40px 18px 16px;
  background: linear-gradient(to top, rgba(12, 36, 25, .78), transparent);
  color: var(--paper); font-size: .84rem;
}
.gallery .g-1 { grid-column: span 7; aspect-ratio: 16 / 10; }
.gallery .g-2 { grid-column: span 5; aspect-ratio: 4 / 5; }
.gallery .g-3 { grid-column: span 4; aspect-ratio: 1; }
.gallery .g-4 { grid-column: span 8; aspect-ratio: 16 / 8; }

/* --- statement ------------------------------------------------------------------ */
.statement { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.statement blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.12; color: var(--forest); }
html[lang="fa"] .statement blockquote { font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.55; font-weight: 700; }
.statement blockquote em { color: var(--brass-2); }
.rules { display: grid; gap: 0; border-top: 1px solid var(--line); }
.rules li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rules__tick { width: 26px; height: 26px; border-radius: 50%; background: var(--forest); color: var(--paper); display: grid; place-items: center; font-size: .8rem; }
.rules strong { display: block; font-weight: 600; }
.rules p { margin: 3px 0 0; color: var(--muted); font-size: .93rem; }

/* --- CTA band --------------------------------------------------------------------- */
.band { position: relative; overflow: clip; background: var(--forest-deep); color: var(--paper); }
.band__photo { position: absolute; inset: 0; }
.band__photo img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.band__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 40px; align-items: center; padding-block: clamp(56px, 8vw, 104px); }
.band h2 { color: var(--paper); max-width: 18ch; }
.band p { color: rgba(247, 244, 236, .8); max-width: 52ch; }
.band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-self: end; }

/* --- inner page hero ---------------------------------------------------------------- */
.page-hero { background: var(--forest); color: var(--paper); position: relative; overflow: clip; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(44px, 6vw, 84px); }
.page-hero h1 { color: var(--paper); max-width: 14ch; font-size: clamp(2.5rem, 5vw, 4.4rem); }
html[lang="fa"] .page-hero h1 { max-width: 20ch; font-size: clamp(2rem, 4.4vw, 3.3rem); }
.page-hero .lede { color: rgba(247, 244, 236, .84); }
.page-hero__figure { margin: 0; }
.page-hero__figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.page-hero--plain .page-hero__grid { grid-template-columns: 1fr; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* --- prose ---------------------------------------------------------------------------- */
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0 0 14px; }
.prose h3 { margin: 34px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-inline-start: 20px; list-style: disc; }
.prose li { margin-bottom: 6px; }
.callout { margin: 28px 0; padding: 20px 22px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); border-inline-start: 4px solid var(--brass); }
.callout strong { color: var(--forest); }
.two-col { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); }
.sticky-note { position: sticky; top: 100px; align-self: start; }
.sticky-note h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }

/* --- requirement grid (buyers) ------------------------------------------------------- */
.req-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.req { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.req .eyebrow { margin-bottom: 10px; }
.req strong { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--forest); }
html[lang="fa"] .req strong { font-weight: 700; font-size: 1.1rem; }
.req p { margin: 8px 0 0; font-size: .92rem; color: var(--muted); }

/* --- contact ------------------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.card--dark { background: var(--forest); color: var(--paper); border-color: transparent; }
.card--dark h2, .card--dark h3 { color: var(--paper); }
.card--dark p { color: rgba(247, 244, 236, .82); }
.kv { display: grid; gap: 0; }
.kv > div { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.kv > div:last-child { border: 0; }
.kv small { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
html[lang="fa"] .kv small { letter-spacing: 0; text-transform: none; font-size: .82rem; }
.kv strong { display: block; margin-top: 3px; font-weight: 600; }
.kv a { color: var(--forest-2); border-bottom: 1px solid var(--brass-soft); }

/* --- messenger chips (Persian grower path) ------------------------------------------- */
.channels { display: grid; gap: 12px; margin-top: 28px; }
.channel { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.channel:hover { border-color: var(--brass); transform: translateY(-1px); }
.channel__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; color: var(--paper); flex: none; }
.channel__icon--bale { background: #1C7C54; }
.channel__icon--rubika { background: #6C3CC9; }
.channel strong { display: block; font-weight: 600; }
.channel span { display: block; font-size: .86rem; color: var(--muted); direction: ltr; text-align: end; }
.channel .arrow { margin-inline-start: auto; color: var(--brass-2); }

/* --- footer ---------------------------------------------------------------------------- */
.site-footer { background: var(--forest-deep); color: rgba(247, 244, 236, .78); padding-block: clamp(48px, 6vw, 80px) 28px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .7fr)); gap: 40px; }
.footer__brand .brand__name { color: var(--paper); }
.footer__brand .brand__tag { color: rgba(247, 244, 236, .55); }
.footer__brand p { margin-top: 18px; max-width: 40ch; font-size: .93rem; }
.footer__title { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-soft); margin-bottom: 14px; }
html[lang="fa"] .footer__title { letter-spacing: 0; text-transform: none; font-size: .9rem; }
.footer__links { display: grid; gap: 10px; font-size: .93rem; }
.footer__links a:hover { color: var(--paper); }
.footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(247, 244, 236, .14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .8rem; color: rgba(247, 244, 236, .55); }

/* --- 404 --------------------------------------------------------------------------------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.notfound h1 { font-size: clamp(4rem, 12vw, 9rem); color: var(--brass-soft); line-height: 1; }

/* --- reveal ------------------------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
html.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .gallery img { transition: none; }
  html { scroll-behavior: auto; }
}

/* --- utilities ---------------------------------------------------------------------------- */
.num { font-variant-numeric: tabular-nums; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* --- responsive ----------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 34px; }
  .steps::before { display: none; }
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; margin-inline-start: auto; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; inset-inline: 0; top: 100%; padding: 12px var(--gutter) 20px;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.is-open .nav__links a { padding: 12px 0; font-size: 1.05rem; width: 100%; border-bottom: 1px solid var(--line-soft); }
  .nav.is-open .nav__cta { display: inline-flex; margin-top: 12px; }
  .hero__grid, .page-hero__grid, .split, .statement, .two-col, .contact, .band__grid { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .hero__grid { padding-top: 28px; }
  .hero__figure { order: -1; }
  .hero__figure img { aspect-ratio: 4 / 3; }
  .proof__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof__item { border-inline-start: 0; padding-inline: 0; }
  .proof__item:nth-child(2n) { padding-inline-start: 20px; border-inline-start: 1px solid var(--line); }
  .section__head { grid-template-columns: 1fr; gap: 12px; }
  .trio { grid-template-columns: 1fr; gap: 28px; }
  .feature img { aspect-ratio: 16 / 10; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery .g-1, .gallery .g-4 { grid-column: span 2; }
  .gallery .g-2, .gallery .g-3 { grid-column: span 1; aspect-ratio: 1; }
  .band__actions { justify-self: start; }
  .req-grid { grid-template-columns: 1fr; }
  .sticky-note { position: static; }
  .page-hero__figure { order: -1; }
  .page-hero__figure img { aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__actions .btn, .page-hero__actions .btn, .band__actions .btn { width: 100%; }
  .proof__grid { grid-template-columns: 1fr; }
  .proof__item:nth-child(2n) { padding-inline-start: 0; border-inline-start: 0; }
  .proof__item { padding-block: 14px; border-top: 1px solid var(--line); }
  .proof__item:first-child { border-top: 0; }
}
