/* Daftar-e Mehr — shared stylesheet for the English and Farsi pages.
   Layout uses CSS logical properties (inline-start/end) so the same rules
   produce correct LTR and RTL reading order. Only genuinely directional
   things — gradient angles, the strike-through origin, the play triangle —
   need a [dir="rtl"] override. */

/* ---------- tokens ---------- */

:root {
  --cream: #FAF7F0;
  --paper: #FFFDF8;
  --sand: #F3EDE1;
  --navy: #1E2A44;
  --teal: #1D7A74;
  --teal-bright: #27918A;
  --gold: #E8A13A;
  --gold-light: #F2C168;
  --ink: #1E2A44;
  --muted: #5C5344;
  --faint: #8A7E6B;
  --stone: #A99C85;
  --slate: #A9B4C6;
  --rule: #DCD2BF;
  --rule-soft: #E7DFCE;
  --on-dark: #FDFAF4;

  --shell: 1160px;
  --gutter: 32px;

  /* Typography differs per language: the English display face is a serif,
     while Farsi sets in Vazirmatn at heavier weights and looser leading. */
  --font-ui: 'Vazirmatn', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --display-weight: 500;
  --h1-size: 54px;
  --h1-leading: 1.12;
  --h2-size: 38px;
  --h2-leading: 1.18;
  --h2-weight: 500;
  --body-leading: 1.65;
  --prose-leading: 1.75;
}

html[lang="fa"] {
  --font-display: 'Vazirmatn', system-ui, sans-serif;
  --display-weight: 800;
  --h1-size: 44px;
  --h1-leading: 1.55;
  --h2-size: 32px;
  --h2-leading: 1.6;
  --h2-weight: 800;
  --body-leading: 1.9;
  --prose-leading: 2;
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: #14544F; }

img { max-width: 100%; display: block; }

h1, h2, h3 { text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  inset-inline-start: -9999px;
  top: 0;
  z-index: 200;
  background: var(--navy);
  color: var(--on-dark);
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { inset-inline-start: 0; color: var(--on-dark); }

/* Email addresses stay LTR even inside Farsi RTL text. */
.ltr { direction: ltr; unicode-bidi: embed; }

@keyframes strikeIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 247, 240, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 161, 58, 0.3);
}

.header-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: baseline; gap: 12px; }
.brand-primary { font-family: var(--font-display); font-size: 23px; font-weight: 600; letter-spacing: -0.01em; }
.brand-secondary { font-size: 15px; color: var(--faint); font-weight: 500; }

html[lang="fa"] .brand-primary { font-size: 22px; font-weight: 700; letter-spacing: 0; }
html[lang="fa"] .brand-secondary { font-family: 'Newsreader', serif; font-size: 14px; }

.nav { display: flex; align-items: center; gap: 26px; font-size: 14.5px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--teal); }

.lang-toggle {
  border: 1px solid var(--rule);
  background: transparent;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--faint);
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-family: var(--font-ui);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.lang-toggle:hover { border-color: var(--teal); color: var(--teal); }
.lang-toggle b { color: var(--ink); font-weight: 600; }
html[lang="fa"] .lang-toggle b { font-weight: 700; }

/* ---------- shared bits ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}
/* Farsi has no uppercase and needs no tracking. */
html[lang="fa"] .eyebrow { text-transform: none; letter-spacing: 0; font-size: 13.5px; }

.eyebrow-gold { color: var(--gold-light); }
.eyebrow-teal { color: var(--teal); }

.eyebrow-centred { justify-content: center; }
.eyebrow-centred::after {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--h2-size);
  font-weight: var(--h2-weight);
  line-height: var(--h2-leading);
  margin: 0;
}

.edge-stripe { height: 10px; }
.edge-stripe-up { background: linear-gradient(to bottom, var(--gold) 0 4px, var(--cream) 4px 6px, var(--teal) 6px 10px); }
.edge-stripe-down { background: linear-gradient(to bottom, var(--teal) 0 4px, var(--cream) 4px 6px, var(--gold) 6px 10px); }

.btn-primary {
  background: var(--teal);
  color: #FFF;
  border-radius: 999px;
  padding: 15px 32px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 18px rgba(29, 122, 116, 0.45);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover {
  background: var(--teal-bright);
  color: #FFF;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(29, 122, 116, 0.55);
}

.btn-ghost {
  color: var(--on-dark);
  font-weight: 600;
  font-size: 15.5px;
  padding: 15px 18px;
  border: 1px solid rgba(253, 250, 244, 0.4);
  border-radius: 999px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.btn-ghost:hover {
  border-color: var(--on-dark);
  background: rgba(253, 250, 244, 0.1);
  color: var(--on-dark);
}

/* The navy sections share a faint ledger-diamond pattern. */
.ledger-pattern {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23E8A13A' stroke-width='1' opacity='0.07'%3E%3Crect x='17' y='17' width='22' height='22'/%3E%3Crect x='17' y='17' width='22' height='22' transform='rotate(45 28 28)'/%3E%3Cpath d='M0 11 L11 0 M45 0 L56 11 M56 45 L45 56 M11 56 L0 45'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- image placeholders ----------
   Every photo on this site is still unshot. These slots are deliberately
   styled to read as "pending", never as a finished image. Replacing one is
   a two-line edit — see the comment above each slot in the HTML. */

.slot {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  background: var(--sand);
  border: 1px dashed rgba(232, 161, 58, 0.75);
  color: var(--faint);
  font-size: 13.5px;
  line-height: 1.6;
  /* Clips a filled photo to the slot's corner radius. */
  overflow: hidden;
}

.slot::after {
  content: attr(data-pending);
  position: absolute;
  inset-block-end: 10px;
  inset-inline-end: 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(255, 253, 248, 0.85);
  padding: 3px 8px;
  border-radius: 999px;
}
html[lang="fa"] .slot::after { text-transform: none; letter-spacing: 0; }

.slot-dark {
  background: var(--navy);
  border-color: rgba(232, 161, 58, 0.4);
  color: var(--slate);
}
.slot-dark::after { background: rgba(30, 42, 68, 0.85); }

.slot-rounded { border-radius: 14px; }

/* The hero slot is full-bleed behind the headline, so its caption sits low and
   to the trailing edge rather than dead centre, where it would collide with
   the copy. */
.slot-hero {
  align-items: flex-end;
  justify-content: flex-end;
  text-align: end;
  padding: 0 32px 34px;
  border: 0;
  font-size: 12.5px;
  opacity: 0.55;
}
.slot-hero::after { inset-block-end: 34px; inset-inline-end: 32px; }
.slot-hero span { display: block; max-width: 320px; padding-block-end: 26px; }

/* The video slot has a play button in the middle and a caption tag in the
   bottom corner, so its own labels move to the top. */
.slot-video {
  align-items: flex-start;
  justify-content: flex-start;
  text-align: start;
  padding: 26px 24px;
}
.slot-video span { display: block; max-width: 62%; }
.slot-video::after { inset-block: 16px auto; inset-inline-end: 16px; }

/* When a real photo is dropped in, it fills the same box. */
.slot-filled { padding: 0; border: 0; background: none; }
.slot-filled img { width: 100%; height: 100%; object-fit: cover; }
.slot-filled::after { content: none; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media { position: absolute; inset: 0; }

/* The design assumed a dark dusk photograph. The actual hero image is bright
   daylight with a lot of pattern, so the ramp is deeper than the original and
   carries a flat floor underneath it — without that, the headline sits on
   highlights and loses contrast. Lighten these only if the photo is replaced
   with a darker one. */
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.86) 42%, rgba(15, 23, 42, 0.5) 75%, rgba(15, 23, 42, 0.25) 100%),
    rgba(15, 23, 42, 0.18);
  pointer-events: none;
}
[dir="rtl"] .hero-scrim {
  background:
    linear-gradient(-100deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.86) 42%, rgba(15, 23, 42, 0.5) 75%, rgba(15, 23, 42, 0.25) 100%),
    rgba(15, 23, 42, 0.18);
}

.hero-inner {
  position: relative;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 96px var(--gutter) 110px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
  /* The scrim and copy must not block clicks on the hero photo behind them;
     interactive children re-enable pointer events individually. */
  pointer-events: none;
}

.hero-copy { animation: fadeUp 0.7s ease both; }

.hero-title {
  font-family: var(--font-display);
  font-size: var(--h1-size);
  line-height: var(--h1-leading);
  font-weight: var(--display-weight);
  letter-spacing: -0.015em;
  margin: 0 0 22px;
  color: var(--on-dark);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
html[lang="fa"] .hero-title { letter-spacing: 0; }
.hero-title em { font-style: italic; color: var(--gold-light); }
html[lang="fa"] .hero-title em { font-style: normal; white-space: nowrap; }

.strike { position: relative; white-space: nowrap; }
.strike::after {
  content: "";
  position: absolute;
  inset-inline: -2px;
  top: 56%;
  height: 3px;
  background: var(--gold-light);
  border-radius: 2px;
  transform-origin: left center;
  animation: strikeIn 0.9s cubic-bezier(0.6, 0, 0.2, 1) 1.1s both;
}
[dir="rtl"] .strike::after { transform-origin: right center; top: 54%; }

.hero-lede {
  font-size: 17.5px;
  line-height: var(--prose-leading);
  color: rgba(253, 250, 244, 0.85);
  max-width: 540px;
  margin: 0 0 34px;
}
html[lang="fa"] .hero-lede { font-size: 17px; }

.hero-actions { display: flex; gap: 14px; align-items: center; pointer-events: auto; flex-wrap: wrap; }

.hero-card-wrap {
  animation: fadeUp 0.7s ease 0.25s both;
  justify-self: end;
  width: 100%;
  max-width: 360px;
  pointer-events: auto;
}

.hero-card {
  background: rgba(253, 250, 244, 0.94);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 28px 28px 24px;
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.5);
  border-top: 4px solid var(--teal);
}

.card-kicker {
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 16px;
}
html[lang="fa"] .card-kicker { text-transform: none; letter-spacing: 0; font-size: 13px; }

.checklist { display: flex; flex-direction: column; gap: 13px; }
.check-item { display: flex; align-items: center; gap: 12px; }
.check-item span:last-child { font-size: 14.5px; }

.dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-sizing: border-box;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}
.dot-done { background: var(--teal); color: #FFF; }
.dot-next { border: 2px solid var(--gold); }
.dot-todo { border: 2px solid var(--rule); }

.check-done { color: var(--ink); font-weight: 600; }
.check-next { color: var(--muted); }
.check-todo { color: var(--faint); }

.card-foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #EFE8D8;
  font-size: 13px;
  color: var(--faint);
}

.hero-stripe { position: absolute; inset-inline: 0; bottom: 0; }

/* ---------- focus row ---------- */

.focus { background: var(--cream); }
.focus-grid {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 56px var(--gutter) 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.focus-item { text-align: center; }
.focus-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--teal);
  line-height: 1.2;
}
html[lang="fa"] .focus-title { font-size: 21px; font-weight: 800; line-height: 1.4; }
.focus-body { font-size: 14.5px; color: var(--muted); margin-top: 10px; line-height: var(--body-leading); }

/* ---------- how it works ---------- */

.how {
  background-color: var(--navy);
  color: var(--cream);
  background-image:
    radial-gradient(800px 320px at 15% 0%, rgba(232, 161, 58, 0.12), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23E8A13A' stroke-width='1' opacity='0.07'%3E%3Crect x='17' y='17' width='22' height='22'/%3E%3Crect x='17' y='17' width='22' height='22' transform='rotate(45 28 28)'/%3E%3Cpath d='M0 11 L11 0 M45 0 L56 11 M56 45 L45 56 M11 56 L0 45'/%3E%3C/g%3E%3C/svg%3E");
}
[dir="rtl"] .how {
  background-image:
    radial-gradient(800px 320px at 85% 0%, rgba(232, 161, 58, 0.12), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23E8A13A' stroke-width='1' opacity='0.07'%3E%3Crect x='17' y='17' width='22' height='22'/%3E%3Crect x='17' y='17' width='22' height='22' transform='rotate(45 28 28)'/%3E%3Cpath d='M0 11 L11 0 M45 0 L56 11 M56 45 L45 56 M11 56 L0 45'/%3E%3C/g%3E%3C/svg%3E");
}

.how-inner { max-width: var(--shell); margin: 0 auto; padding: 88px var(--gutter) 92px; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.section-note { font-size: 15px; color: var(--slate); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
  background: rgba(250, 247, 240, 0.05);
  border: 1px solid rgba(232, 161, 58, 0.25);
  border-radius: 12px;
  padding: 26px 24px;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.step:hover {
  background: rgba(250, 247, 240, 0.09);
  transform: translateY(-4px);
  border-color: rgba(232, 161, 58, 0.5);
}
.step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 14px;
}
html[lang="fa"] .step-num { font-style: normal; font-size: 26px; font-weight: 800; }
.step-title { font-size: 16.5px; font-weight: 700; margin: 0 0 10px; line-height: 1.4; }
html[lang="fa"] .step-title { line-height: 1.6; }
.step-body { font-size: 14px; line-height: var(--body-leading); color: var(--slate); margin: 0; }

/* ---------- story ---------- */

.story { max-width: var(--shell); margin: 0 auto; padding: 96px var(--gutter); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.story-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 16px;
}
.media-tall { grid-row: 1 / 3; min-width: 0; position: relative; }
.media-wide { min-width: 0; position: relative; }
.media-tall .slot, .media-wide .slot { position: absolute; inset: 0; }

.ledger-tile {
  background: var(--navy);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  text-align: center;
}
.ledger-term { font-size: 26px; font-weight: 800; color: var(--gold-light); }
.ledger-gloss { font-size: 13px; color: var(--slate); line-height: 1.5; }
html[lang="fa"] .ledger-gloss { line-height: 1.8; }

.story-copy .section-title { margin-bottom: 20px; }
.story-prose { font-size: 16px; line-height: var(--prose-leading); color: var(--muted); margin: 0 0 16px; }
.story-prose:last-of-type { margin-bottom: 28px; }
.story-prose b { color: var(--teal); }

.link-arrow { font-weight: 700; font-size: 15.5px; display: inline-flex; align-items: center; gap: 8px; }
.link-arrow span { font-size: 18px; }

/* ---------- moments / video ---------- */

.moments {
  background: var(--sand);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}
.moments-inner { max-width: var(--shell); margin: 0 auto; padding: 88px var(--gutter); }
.moments-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.moments-head .section-title { margin-bottom: 14px; }
.moments-lede { font-size: 16px; line-height: var(--prose-leading); color: var(--muted); margin: 0; }

.video-frame {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 70px -25px rgba(60, 48, 30, 0.45);
  outline: 1px solid rgba(232, 161, 58, 0.4);
  outline-offset: 8px;
}
.video-media { position: absolute; inset: 0; }
.video-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.15), rgba(15, 23, 42, 0.5));
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.play {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(253, 250, 244, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.4);
}
.play::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 24px solid var(--teal);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}
[dir="rtl"] .play::before {
  border-left: 0;
  border-right: 24px solid var(--teal);
  margin-left: 0;
  margin-right: 6px;
}
.video-tag {
  position: absolute;
  bottom: 16px;
  inset-inline-end: 20px;
  font-size: 13px;
  color: rgba(253, 250, 244, 0.85);
  background: rgba(15, 23, 42, 0.55);
  padding: 6px 14px;
  border-radius: 999px;
  pointer-events: none;
}

/* ---------- journal ---------- */

.journal { max-width: var(--shell); margin: 0 auto; padding: 96px var(--gutter); }
.journal-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 56px; align-items: center; }
.journal-lede {
  font-size: 15.5px;
  color: var(--muted);
  max-width: 520px;
  line-height: var(--body-leading);
  margin: 12px 0 32px;
}

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat {
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-top: 3px solid var(--gold);
  border-radius: 10px;
  padding: 24px 22px;
}
.stat-label {
  font-size: 12.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 700;
  margin-bottom: 10px;
}
html[lang="fa"] .stat-label { text-transform: none; letter-spacing: 0; font-size: 13px; }
.stat-value {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
html[lang="fa"] .stat-value { font-size: 22px; font-weight: 800; }
.stat-note { font-size: 13px; color: var(--faint); line-height: 1.5; }
html[lang="fa"] .stat-note { line-height: 1.8; }

.contact-card {
  background: var(--navy);
  border-radius: 16px;
  padding: 40px 38px;
  color: var(--cream);
  box-shadow: 0 24px 60px -24px rgba(30, 42, 68, 0.6);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23F2C168' stroke-width='1'%3E%3Crect x='17' y='17' width='22' height='22'/%3E%3Crect x='17' y='17' width='22' height='22' transform='rotate(45 28 28)'/%3E%3Cpath d='M0 11 L11 0 M45 0 L56 11 M56 45 L45 56 M11 56 L0 45'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.contact-card > * { position: relative; }
.contact-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: var(--display-weight);
  margin: 0 0 10px;
}
html[lang="fa"] .contact-title { font-size: 22px; }
.contact-body { font-size: 14.5px; color: var(--slate); line-height: var(--prose-leading); margin: 0 0 22px; }

.contact-row {
  background: rgba(250, 247, 240, 0.08);
  border: 1px dashed rgba(232, 161, 58, 0.5);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.contact-email { font-size: 16px; font-weight: 700; color: var(--gold-light); }
.contact-email:hover { color: #FFF; }

.copy-btn {
  background: var(--teal);
  color: #FFF;
  border: none;
  border-radius: 999px;
  padding: 11px 22px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  font-family: var(--font-ui);
  transition: background 0.2s ease, transform 0.2s ease;
}
.copy-btn:hover { background: var(--teal-bright); transform: translateY(-1px); }

/* ---------- FAQ ---------- */

.faq { background: var(--sand); border-top: 1px solid var(--rule-soft); }
.faq-inner { max-width: 780px; margin: 0 auto; padding: 88px var(--gutter) 96px; }
.faq-lede { font-size: 15.5px; color: var(--muted); margin: 12px 0 44px; line-height: var(--body-leading); }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }

.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 4px;
  font-weight: 600;
  font-size: 16.5px;
  transition: color 0.15s ease;
}
html[lang="fa"] .faq-q { font-weight: 700; font-size: 16px; }
.faq-q:hover { color: var(--teal); }
.faq-q::-webkit-details-marker { display: none; }

.faq-plus {
  font-size: 22px;
  color: var(--teal);
  font-weight: 400;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] .faq-plus { transform: rotate(45deg); }

.faq-a {
  font-size: 15px;
  line-height: var(--prose-leading);
  color: var(--muted);
  margin: 0;
  padding-block-end: 24px;
  padding-inline: 4px 40px;
}

/* ---------- footer ---------- */

.site-footer { background: var(--navy); color: var(--slate); }
.footer-inner { max-width: var(--shell); margin: 0 auto; padding: 56px var(--gutter) 44px; }
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.footer-brand { max-width: 380px; }
.footer-brand .brand { margin-bottom: 14px; gap: 10px; }
.footer-brand .brand-primary { font-size: 22px; color: var(--cream); }
.footer-brand .brand-secondary { color: var(--gold); }
html[lang="fa"] .footer-brand .brand-primary { font-size: 21px; }
.footer-tagline { font-size: 14px; line-height: var(--prose-leading); margin: 0; }

.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col-title {
  font-size: 12.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 700;
  margin-bottom: 4px;
}
html[lang="fa"] .footer-col-title { text-transform: none; letter-spacing: 0; font-size: 13px; }
.footer-col a { color: var(--slate); }
.footer-col a:hover { color: var(--cream); }
.footer-note { color: var(--faint); }

.footer-bottom {
  border-top: 1px solid rgba(169, 180, 198, 0.2);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--faint);
}
.footer-sign { font-family: 'Newsreader', serif; font-style: italic; }
/* The Farsi sign-off is Persian only. Newsreader carries no Persian glyphs, and
   italic isn't a Persian typographic convention — set it in the UI face upright. */
html[lang="fa"] .footer-sign { font-family: var(--font-ui); font-style: normal; }

/* ---------- responsive ----------
   The design was drawn desktop-only; these breakpoints are additive and
   don't change the desktop rendering. */

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding-block: 80px 90px; }
  .hero-card-wrap { justify-self: start; }
  .story-grid { grid-template-columns: 1fr; gap: 48px; }
  .journal-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  :root { --h1-size: 44px; --h2-size: 33px; }
  html[lang="fa"] { --h1-size: 36px; --h2-size: 28px; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; --h1-size: 36px; --h2-size: 28px; }
  html[lang="fa"] { --h1-size: 30px; --h2-size: 25px; }

  /* Section links fall away on narrow screens — the footer still lists them.
     The language toggle must survive, so it's excluded. */
  .nav a:not(.lang-toggle) { display: none; }
  .hero { min-height: 0; }
  .hero-inner { padding-block: 64px 76px; }
  .hero-lede { font-size: 16px; }
  .focus-grid { grid-template-columns: 1fr; gap: 28px; padding-block: 44px 40px; }
  .how-inner, .moments-inner { padding-block: 64px; }
  .story, .journal { padding-block: 64px; }
  .faq-inner { padding-block: 64px 72px; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 36px; }
  .story-media { grid-template-rows: 180px 180px; }
  .contact-card { padding: 32px 26px; }
  .faq-a { padding-inline: 4px 12px; }
  .footer-cols { gap: 36px; }

  /* Text links sit at 22–28px tall, which is under the 24px minimum target
     size and far under a comfortable thumb. Pad them out on touch screens;
     the column gap shrinks so the footer doesn't sprawl. */
  .footer-col { gap: 0; }
  .footer-col a,
  .contact-email,
  .link-arrow {
    padding-block: 11px;
  }
  .footer-col-title { margin-bottom: 0; }

  /* With the section links hidden, this is the only control in the header. */
  .lang-toggle { padding-block: 11px; }

  /* The desktop scrim ramps left-to-right, which on a narrow screen shows
     almost nothing but its dark end. Ramp vertically instead. Measured against
     the rendered layout, the copy that sits directly on the photo occupies
     6%–65% of the hero: eyebrow at 6%, headline 10%–28%, lede 30%–51%,
     buttons 54%–65%. The gradient is therefore at full strength from 12% to
     68%. Below that sits the journal card (70%–93%), which carries its own
     near-opaque background and needs no scrim of its own — so the gradient
     opens up behind it and the photograph reads around its edges.
     Both directions share it; a vertical gradient has no handedness. */
  .hero-scrim,
  [dir="rtl"] .hero-scrim {
    background: linear-gradient(
      to bottom,
      rgba(15, 23, 42, 0.38) 0%,
      rgba(15, 23, 42, 0.70) 6%,
      rgba(15, 23, 42, 0.86) 12%,
      rgba(15, 23, 42, 0.86) 68%,
      rgba(15, 23, 42, 0.40) 100%
    );
  }
}

@media (max-width: 420px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions a { text-align: center; }
  .contact-row { flex-direction: column; align-items: stretch; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
