/* ==========================================================================
   farsi con parisa — farsiconparisa.com
   built by veer.studio · v1.0 · May 2026
   ==========================================================================
   Visual identity:
     Persian Rose  #DB7D82  · accent / CTAs
     Isfahan Tile  #8FB3B8  · soft section bg
     Lapis Navy    #2B408D  · headings, footer
     Saffron Gold  #CCB047  · highlight / underlines
     Warm Cream    #FBF7F0  · page bg
     Ink           #1F1A2E  · body text
   Fonts:
     Playfair Display + Inter  — Latin
     Noto Nastaliq Urdu + Vazirmatn — Farsi
   ========================================================================== */

:root {
  --rose:    #DB7D82;
  --rose-2:  #c5616d;
  --tile:    #8FB3B8;
  --tile-2:  #b9d1d4;
  --lapis:   #2B408D;
  --lapis-2: #1c2d6b;
  --saffron: #CCB047;
  --cream:   #FBF7F0;
  --cream-2: #f4ecdb;
  --ink:     #1F1A2E;
  --ink-50:  rgba(31, 26, 46, .55);
  --ink-30:  rgba(31, 26, 46, .30);
  --ink-10:  rgba(31, 26, 46, .10);

  --f-display: 'Playfair Display', Georgia, serif;
  --f-body:    'Inter', system-ui, sans-serif;
  --f-fa-dis:  'IranNastaliq', 'Noto Nastaliq Urdu', serif;
  --f-fa-body: 'Vazirmatn', Tahoma, sans-serif;

  --r-soft: 8px;
  --r-card: 14px;
  --r-bubble: 999px;

  --shadow-soft:  0 4px 16px rgba(31, 26, 46, .06);
  --shadow-card:  0 10px 40px rgba(31, 26, 46, .08);
  --shadow-lift:  0 18px 60px rgba(31, 26, 46, .12);

  --space-sec: clamp(72px, 10vw, 140px);
  --nav-h: 76px;
}

/* ----- base ----- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--lapis); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--rose); }

p { margin: 0 0 1em 0; }
em { font-style: italic; color: var(--lapis); }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--lapis);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.005em;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .container { padding: 0 22px; } }

.eyebrow {
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--rose);
  margin-bottom: 14px;
}
.eyebrow.on-dark { color: var(--saffron); }

/* Persian-tile dot divider */
.dot-divider {
  height: 8px;
  margin: 24px 0;
  background-image: radial-gradient(circle at 50% 50%, var(--saffron) 2px, transparent 2.5px);
  background-size: 16px 8px;
  background-position: center;
  background-repeat: repeat-x;
  opacity: .55;
}

/* Farsi inline accents (in headings) */
.fa {
  font-family: var(--f-fa-dis);
  direction: rtl;
  font-weight: 400;
  color: var(--lapis);
  line-height: 1.9;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--r-bubble);
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
  cursor: pointer;
  border: 0;
}
.btn-primary { background: var(--rose); color: var(--cream); box-shadow: 0 8px 24px rgba(219,125,130,.35); }
.btn-primary:hover { background: var(--rose-2); color: var(--cream); transform: translateY(-1px); box-shadow: 0 12px 30px rgba(219,125,130,.45); }
.btn-ghost   { background: transparent; color: var(--lapis); border: 1.5px solid currentColor; padding: 14.5px 24px; }
.btn-ghost:hover { background: var(--lapis); color: var(--cream); }

/* =====================================================================
   NAV
   ===================================================================== */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px 32px;
  background: rgba(251, 247, 240, .82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(31, 26, 46, .06);
  height: var(--nav-h);
}
.brand {
  display: inline-flex; align-items: baseline; gap: 14px;
  text-decoration: none;
  color: var(--lapis);
}
.brand-mark {
  font-family: var(--f-fa-dis);
  font-size: 22px;
  line-height: 1;
  color: var(--lapis);
  direction: rtl;
}
.brand-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .01em;
}
.nav-links {
  margin-left: auto;
  display: flex; gap: 28px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: .01em;
  position: relative;
  padding: 6px 0;
}
.nav-links a:after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--rose) 0%, var(--saffron) 100%);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
  border-radius: 2px;
}
.nav-links a:hover { color: var(--lapis); }
.nav-links a:hover:after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 12px; }

.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 1.5px solid var(--lapis);
  padding: 7px 12px;
  border-radius: var(--r-bubble);
  cursor: pointer;
  font-family: var(--f-body);
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  color: var(--lapis);
  transition: background .18s, color .18s;
}
.lang-toggle:hover { background: var(--lapis); color: var(--cream); }
.lang-opt { padding: 0 4px; opacity: .55; transition: opacity .15s; }
.lang-opt.is-on { opacity: 1; }
.lang-opt[data-set="fa"] { font-family: var(--f-fa-dis); font-size: 15px; padding-bottom: 2px; }
.lang-divider { opacity: .35; }

.nav-menu { display: none; }
.nav-menu { background: transparent; border: 0; width: 36px; height: 36px; padding: 8px; cursor: pointer; }
.nav-menu span { display: block; height: 2px; background: var(--lapis); border-radius: 2px; margin: 4px 0; }

@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-menu { display: block; }
  .site-nav.is-open .nav-links {
    display: flex; flex-direction: column; gap: 20px;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--cream); padding: 24px 32px; border-bottom: 1px solid var(--ink-10);
    align-items: flex-start;
  }
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 80px 24px 120px;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.95) contrast(1.02);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 60% 38%, rgba(251,247,240,.32) 0%, rgba(251,247,240,.78) 70%, rgba(251,247,240,.95) 100%),
    linear-gradient(180deg, rgba(251,247,240,.40) 0%, rgba(251,247,240,.85) 80%);
}

.hero-inner {
  max-width: 1100px; width: 100%;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}

.hero-headline {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  gap: 12px;
  margin: 4px 0 8px;
}
.hero-fa {
  font-family: var(--f-fa-dis);
  font-size: clamp(54px, 9vw, 130px);
  color: var(--lapis);
  line-height: 1.6;
  direction: rtl;
  font-weight: 400;
  letter-spacing: 0;
  text-shadow: 0 2px 28px rgba(251,247,240,.6);
}
.hero-es {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(28px, 4.4vw, 56px);
  color: var(--lapis);
  line-height: 1.05;
}
.hero-es .rose { color: var(--rose); font-style: italic; font-weight: 700; }

.hero-sub {
  max-width: 640px;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--ink);
  opacity: .82;
  margin: 8px 0 4px;
}

.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 10px; }

.hero-scroll {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  width: 2px; height: 64px;
  background: linear-gradient(180deg, transparent 0%, var(--lapis) 50%, transparent 100%);
  opacity: .5;
}
.hero-scroll span {
  position: absolute; top: 0; left: -1px;
  width: 4px; height: 16px; background: var(--lapis); border-radius: 2px;
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: translateY(0); opacity: 0; }
  30%      { opacity: 1; }
  100%     { transform: translateY(48px); opacity: 0; }
}

/* =====================================================================
   INTRO
   ===================================================================== */
.intro {
  padding: var(--space-sec) 0;
  background: var(--cream);
}
.intro-text {
  max-width: 880px; margin: 0 auto;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.45;
  text-align: center;
  color: var(--ink);
}
.intro-text em {
  font-style: italic;
  color: var(--rose);
  font-weight: 400;
  position: relative;
}
.intro-text em:after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--saffron); opacity: .55;
}

/* =====================================================================
   WHY FARSI — full-bleed image band
   ===================================================================== */
.band-why {
  position: relative;
  padding: clamp(120px, 16vw, 220px) 24px;
  overflow: hidden;
  isolation: isolate;
}
.band-bg { position: absolute; inset: 0; z-index: -1; }
.band-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.7);
}
.band-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(43,64,141,.45) 0%, rgba(43,64,141,.75) 100%);
}
.band-content {
  max-width: 880px; text-align: center;
  color: var(--cream);
}
.band-eyebrow {
  font-family: var(--f-body); font-size: 12px;
  letter-spacing: .3em; font-weight: 600;
  color: var(--saffron);
  margin-bottom: 22px;
}
.band-title {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--cream); margin: 0 0 22px;
}
.band-title .es {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(42px, 6vw, 80px);
  line-height: 1.1;
}
.band-title .fa {
  font-family: var(--f-fa-dis);
  color: var(--cream);
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.9;
  font-weight: 400;
  opacity: .92;
}
.band-lede {
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.6;
  opacity: .9;
  max-width: 640px; margin: 0 auto;
}

/* =====================================================================
   SECTION HEAD (shared)
   ===================================================================== */
.section-head { text-align: center; margin-bottom: 60px; }
.section-head h2 {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  margin: 0;
}
.section-head h2 .es {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.1;
  color: var(--lapis);
}
.section-head h2 .fa {
  font-family: var(--f-fa-dis);
  font-size: clamp(28px, 3.6vw, 48px);
  color: var(--tile);
  opacity: 1;
  line-height: 1.95;
}
.section-head.light h2 .es,
.section-head.light h2 .fa { color: var(--cream); }
.section-head.light h2 .fa { opacity: .85; }

/* =====================================================================
   PILLARS
   ===================================================================== */
.pillars {
  padding: var(--space-sec) 0;
  position: relative;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}
.pillars:before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--tile), transparent);
  opacity: .6;
}
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 980px) { .pillar-grid { grid-template-columns: 1fr; gap: 24px; max-width: 560px; margin: 0 auto; } }

.pillar {
  background: var(--cream);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.pillar-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.pillar-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.pillar:hover .pillar-image img { transform: scale(1.04); }
.pillar-image-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(43,64,141,0) 30%, rgba(43,64,141,.55) 100%);
}
.pillar-image-fa {
  position: absolute;
  bottom: 14px; right: 18px;
  font-family: var(--f-fa-dis);
  color: var(--cream);
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.6;
  direction: rtl;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
  letter-spacing: 0;
  opacity: .96;
}

.pillar-body { padding: 28px 28px 32px; flex: 1; }
.pillar-num {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  color: var(--saffron);
  letter-spacing: .04em;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.pillar-num:after {
  content: ''; display: inline-block;
  width: 28px; height: 2px;
  background: var(--saffron);
  border-radius: 2px;
  opacity: .85;
}
.pillar h3 {
  display: flex; align-items: baseline; gap: 12px;
  font-size: clamp(24px, 2.4vw, 30px);
  margin-bottom: 16px;
}
.pillar h3 .es { font-family: var(--f-display); font-weight: 700; color: var(--lapis); }
.pillar h3 .fa {
  font-family: var(--f-fa-dis);
  color: var(--rose);
  font-size: .85em;
  margin-right: 0;
  opacity: .85;
}
.pillar p { font-size: 15.5px; line-height: 1.7; color: var(--ink); opacity: .82; margin: 0; }

/* =====================================================================
   MOODBOARD (between pillars + testimonials)
   ===================================================================== */
.moodboard {
  position: relative;
  padding: clamp(64px, 9vw, 120px) 0;
  background:
    linear-gradient(180deg, var(--cream-2) 0%, #eef5f6 100%);
  overflow: hidden;
}
.moodboard:before,
.moodboard:after {
  content: ''; position: absolute; left: 0; right: 0;
  height: 6px;
  background-image: radial-gradient(circle at 50% 50%, var(--saffron) 1.8px, transparent 2.2px);
  background-size: 14px 6px; background-position: center; background-repeat: repeat-x;
  opacity: .65;
}
.moodboard:before { top: 0; }
.moodboard:after  { bottom: 0; }

.moodboard-head {
  display: flex; align-items: center; justify-content: center;
  gap: 18px; margin: 0 auto 60px;
  max-width: 760px;
}
.mood-rule {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--tile) 30%, var(--tile) 70%, transparent);
  opacity: .9;
}
.mood-eyebrow {
  font-family: var(--f-body); font-size: 12px;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--lapis); font-weight: 600;
  white-space: nowrap;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  height: 24px;
}
.mood-fa {
  font-family: var(--f-fa-dis);
  color: var(--rose);
  font-size: 22px;
  line-height: 1;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  height: 24px;
  margin-left: 14px;
  transform: translateY(-2px);   /* nudge Nastaliq up to share baseline with the small-caps Latin */
}

.moodboard-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  grid-template-areas:
    "nature  zereshk  zereshk"
    "nature  ehsaei   alli"
    "badab   badab    badab";
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}
@media (max-width: 840px) {
  .moodboard-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "nature  zereshk"
      "ehsaei  alli"
      "badab   badab";
  }
}
@media (max-width: 540px) {
  .moodboard-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "nature"
      "zereshk"
      "ehsaei"
      "alli"
      "badab";
  }
}

.mood-card {
  position: relative; margin: 0;
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--tile);
}
.mood-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s cubic-bezier(.2,.7,.2,1);
}
.mood-card:hover img { transform: scale(1.05); }

.m-nature   { grid-area: nature;   aspect-ratio: 3/5; }
.m-zereshk  { grid-area: zereshk;  aspect-ratio: 16/9; }
.m-ehsaei   { grid-area: ehsaei;   aspect-ratio: 1/1; }
.m-alli     { grid-area: alli;     aspect-ratio: 1/1; }
.m-badab    { grid-area: badab;    aspect-ratio: 21/8; }

@media (max-width: 840px) {
  .m-nature  { aspect-ratio: 4/5; }
  .m-zereshk { aspect-ratio: 4/5; }
  .m-ehsaei  { aspect-ratio: 1/1; }
  .m-alli    { aspect-ratio: 1/1; }
  .m-badab   { aspect-ratio: 16/9; }
}
@media (max-width: 540px) {
  .m-nature, .m-zereshk, .m-ehsaei, .m-alli { aspect-ratio: 4/3; }
  .m-badab { aspect-ratio: 16/9; }
}

/* Special tint for the calligraphy card so the Spanish overlay reads clearly */
.m-ehsaei figcaption {
  background: linear-gradient(180deg, transparent 0%, rgba(28,45,107,.75) 60%, rgba(28,45,107,.92) 100%);
}

.mood-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px 26px 22px;
  background: linear-gradient(180deg, transparent 0%, rgba(43,64,141,.65) 70%, rgba(43,64,141,.85) 100%);
  color: var(--cream);
  display: flex; flex-direction: column; gap: 4px;
}
.cap-fa {
  font-family: var(--f-fa-dis);
  color: var(--saffron);
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.7;
  direction: rtl; text-align: right;
}
.cap-es {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 14px;
  color: var(--cream);
  opacity: .92;
  letter-spacing: .03em;
}

.mood-quote {
  max-width: 740px;
  margin: 52px auto 0;
  padding: 32px 28px 28px;
  text-align: center;
  position: relative;
  font-family: var(--f-display);
  color: var(--lapis);
  display: flex; flex-direction: column; gap: 12px;
}
.q-mark {
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  font-family: var(--f-display);
  font-size: 80px; line-height: 1;
  color: var(--saffron);
  opacity: .35;
}
.q-fa {
  font-family: var(--f-fa-dis);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 2.0;
  color: var(--lapis);
  margin-top: 18px;
  direction: rtl;
}
.q-es {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.5;
  color: var(--ink);
  opacity: .85;
}
.q-attr {
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rose);
  margin-top: 8px;
  font-weight: 600;
}

/* =====================================================================
   TESTIMONIALS
   ===================================================================== */
.testimonials {
  position: relative;
  padding: var(--space-sec) 0;
  overflow: hidden;
  isolation: isolate;
}
.testimonials-bg { position: absolute; inset: 0; z-index: -1; }
.testimonials-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.6);
}
.testimonials-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(28,45,107,.92), rgba(43,64,141,.95));
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .testimonial-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

.testimonial {
  background: rgba(251,247,240,.06);
  border: 1px solid rgba(251,247,240,.18);
  backdrop-filter: blur(4px);
  border-radius: var(--r-card);
  padding: 32px 28px;
  margin: 0;
  color: var(--cream);
  position: relative;
}
.testimonial:before {
  content: '"';
  position: absolute;
  top: -6px; left: 22px;
  font-family: var(--f-display);
  font-size: 88px;
  line-height: 1;
  color: var(--saffron);
  opacity: .6;
}
.testimonial blockquote {
  margin: 18px 0 24px;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  color: var(--cream);
  opacity: .95;
}
.testimonial figcaption {
  display: flex; flex-direction: column; gap: 4px;
  border-top: 1px solid rgba(251,247,240,.2);
  padding-top: 16px;
}
.testimonial figcaption strong {
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--saffron);
  font-size: 16px;
}
.testimonial figcaption span {
  font-size: 13px;
  opacity: .75;
  letter-spacing: .04em;
}

/* =====================================================================
   ABOUT
   ===================================================================== */
.about {
  padding: var(--space-sec) 0;
  background: var(--cream);
}
.about-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; max-width: 640px; margin: 0 auto; }
}

.about-photo {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4/5;
}
.about-photo img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 30%;
}
.about-photo:before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(43,64,141,.35) 100%);
  z-index: 2; pointer-events: none;
}
.about-photo-mark {
  position: absolute;
  bottom: 22px; right: 26px;
  font-family: var(--f-fa-dis);
  color: var(--cream);
  font-size: 72px;
  line-height: 1.6;
  direction: rtl;
  z-index: 3;
  text-shadow: 0 2px 16px rgba(0,0,0,.45);
}

.about-content h2 {
  display: block;
  margin-bottom: 24px;
}
.about-content h2 .es {
  display: block;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.05;
  color: var(--lapis);
}
.about-content h2 .fa {
  display: block;
  font-family: var(--f-fa-dis);
  color: var(--rose);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.9;
  opacity: .9;
  margin-top: 4px;
}

.about-lede { font-size: 17.5px; line-height: 1.7; color: var(--ink); opacity: .85; max-width: 580px; }

.about-stats {
  display: flex; gap: 28px;
  margin: 36px 0 32px;
  padding: 24px 0;
  border-top: 1px solid var(--ink-10);
  border-bottom: 1px solid var(--ink-10);
}
.about-stats .stat { display: flex; flex-direction: column; gap: 4px; }
.about-stats .num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 38px);
  color: var(--rose);
  line-height: 1;
  position: relative;
  padding-bottom: 8px;
}
.about-stats .num:after {
  content: ''; position: absolute;
  left: 0; bottom: 0;
  width: 24px; height: 2px;
  background: var(--saffron);
  opacity: .9;
}
.about-stats .label {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lapis);
  opacity: .7;
  font-weight: 500;
  margin-top: 6px;
}
@media (max-width: 540px) {
  .about-stats { gap: 18px; flex-wrap: wrap; }
}

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact {
  padding: var(--space-sec) 0;
  background: var(--cream-2);
}
.contact-card {
  display: grid;
  grid-template-columns: 7fr 5fr;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--lapis);
  color: var(--cream);
  box-shadow: var(--shadow-lift);
  min-height: 460px;
}
@media (max-width: 880px) { .contact-card { grid-template-columns: 1fr; min-height: 0; } }

.contact-content { padding: 56px 56px 64px; }
@media (max-width: 720px) { .contact-content { padding: 40px 28px; } }

.contact-content h2 {
  display: block;
  margin-bottom: 18px;
}
.contact-content h2 .es {
  display: block;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.05;
  color: var(--cream);
}
.contact-content h2 .fa {
  display: block;
  font-family: var(--f-fa-dis);
  color: var(--saffron);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.9;
  opacity: .95;
  margin-top: 4px;
}
.contact-lede {
  font-size: 17px; line-height: 1.65;
  color: rgba(251,247,240,.85);
  max-width: 460px;
  margin-bottom: 36px;
}

.contact-channels { display: flex; flex-direction: column; gap: 14px; }
.channel {
  display: flex; align-items: baseline; gap: 14px;
  padding: 16px 20px;
  background: rgba(251,247,240,.06);
  border: 1px solid rgba(251,247,240,.16);
  border-radius: var(--r-card);
  color: var(--cream);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.channel:hover { background: rgba(251,247,240,.12); border-color: var(--saffron); color: var(--cream); transform: translateX(4px); }
.channel-label {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--saffron); font-weight: 600;
  width: 100px; flex-shrink: 0;
}
.channel-value { font-size: 15.5px; font-weight: 500; }

/* Decorative right column with saffron image */
.contact-decor {
  position: relative; overflow: hidden;
}
.contact-decor img {
  width: 100%; height: 100%; object-fit: cover;
}
.contact-decor-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(204,176,71,.65) 0%, rgba(219,125,130,.5) 100%);
  mix-blend-mode: multiply;
}
.contact-decor:after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(43,64,141,.4) 100%);
}
.contact-decor-fa {
  position: absolute;
  bottom: 28px; right: 32px; left: 32px;
  font-family: var(--f-fa-dis);
  color: var(--cream);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.7;
  direction: rtl;
  text-align: right;
  text-shadow: 0 2px 16px rgba(0,0,0,.4);
  z-index: 2;
}
@media (max-width: 880px) { .contact-decor { min-height: 260px; } }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  background: var(--lapis-2);
  color: rgba(251,247,240,.78);
  padding: 64px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 3fr 2fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; text-align: center; } }

.footer-brand .footer-mark {
  display: block;
  font-family: var(--f-fa-dis);
  font-size: 30px;
  color: var(--cream);
  line-height: 1.6;
  direction: rtl;
  margin-bottom: 8px;
}
.footer-brand p { font-family: var(--f-display); font-style: italic; color: rgba(251,247,240,.72); margin: 0; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 18px 24px; justify-content: center; }
@media (max-width: 720px) { .footer-nav { justify-content: center; } }
.footer-nav a { color: var(--cream); opacity: .8; font-size: 14px; font-weight: 500; }
.footer-nav a:hover { color: var(--saffron); opacity: 1; }

.footer-meta { text-align: right; font-size: 13px; color: rgba(251,247,240,.6); }
@media (max-width: 720px) { .footer-meta { text-align: center; } }
.footer-meta p { margin: 0 0 6px; }
.footer-meta .credit a { color: var(--saffron); font-weight: 600; }
.footer-meta .credit a:hover { color: var(--cream); }

/* =====================================================================
   FARSI MODE — toggled by JS adding [data-lang="fa"] to <html>
   ===================================================================== */
html[data-lang="fa"] body {
  direction: rtl;
  font-family: var(--f-fa-body);
  font-size: 18px;
}
html[data-lang="fa"] [data-i18n] { /* JS overwrites text content */ }

/* In FA mode swap the visible Spanish & Farsi spans inside headings */
html[data-lang="fa"] .hero-headline {
  flex-direction: column-reverse;
  gap: 80px;                       /* base separation between Nastaliq wordmark and subtitle */
}
/* Tighten the big Nastaliq line-box so its descender pad doesn't push the gap unevenly */
html[data-lang="fa"] .hero-fa {
  line-height: 1.25;
  padding-bottom: 32px;
}
html[data-lang="fa"] .hero-es,
html[data-lang="fa"] .band-title .es,
html[data-lang="fa"] .section-head h2 .es,
html[data-lang="fa"] .about-content h2 .es,
html[data-lang="fa"] .contact-content h2 .es,
html[data-lang="fa"] .pillar h3 .es {
  /* Hide Spanish title bits; the Farsi span carries the title */
  font-family: var(--f-fa-body);
  color: var(--ink);
  opacity: .6;
  font-size: .55em;
  font-style: normal;
  font-weight: 500;
  margin-top: 8px;
  line-height: 1.7;
}
/* The hero specifically needs even more breathing room because the Nastaliq runs huge */
html[data-lang="fa"] .hero-es {
  margin-top: 0;                   /* gap on the parent already separates them */
  padding-top: 24px;
  line-height: 1.95;
}
html[data-lang="fa"] .band-title .es,
html[data-lang="fa"] .section-head.light h2 .es { color: rgba(251,247,240,.7); }

html[data-lang="fa"] .hero-fa { font-size: clamp(56px, 9.5vw, 140px); }
html[data-lang="fa"] .hero-sub,
html[data-lang="fa"] .intro-text,
html[data-lang="fa"] .band-lede,
html[data-lang="fa"] .about-lede,
html[data-lang="fa"] .contact-lede,
html[data-lang="fa"] .pillar p,
html[data-lang="fa"] .testimonial blockquote,
html[data-lang="fa"] .channel-value {
  font-family: var(--f-fa-body);
  line-height: 1.95;
  font-style: normal;
}
html[data-lang="fa"] .intro-text em { font-style: normal; }
html[data-lang="fa"] .nav-links a,
html[data-lang="fa"] .footer-nav a,
html[data-lang="fa"] .btn,
html[data-lang="fa"] .eyebrow,
html[data-lang="fa"] .channel-label,
html[data-lang="fa"] .about-stats .label,
html[data-lang="fa"] .testimonial figcaption {
  font-family: var(--f-fa-body);
}
html[data-lang="fa"] .nav-links a { font-size: 15px; }

/* Fade-in on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s ease-out, transform .8s ease-out;
}
[data-reveal].is-in {
  opacity: 1; transform: none;
}

/* =====================================================================
   MOBILE FIXES  ( < 720px )
   ===================================================================== */
@media (max-width: 720px) {
  :root { --nav-h: 64px; }

  /* NAV: collapse brand to only the wordmark or only the Nastaliq mark,
     not both. Keep wordmark (Latin) visible; hide the redundant Nastaliq
     mark on small screens. */
  .site-nav { padding: 10px 18px; gap: 12px; }
  .brand    { gap: 10px; }
  .brand-mark { display: none; }
  .brand-name { font-size: 15px; }

  .lang-toggle { padding: 6px 10px; font-size: 12px; }
  .lang-opt[data-set="fa"] { font-size: 14px; }

  /* HERO: tighten paddings, scale type a touch */
  .hero { padding: 56px 18px 96px; min-height: calc(100vh - var(--nav-h)); }
  .hero-fa { font-size: clamp(40px, 14vw, 64px); line-height: 1.55; }
  .hero-es { font-size: clamp(26px, 7.5vw, 36px); }
  .hero-sub { font-size: 15px; max-width: 92%; }
  .btn { padding: 13px 20px; font-size: 13.5px; }
  .hero-cta-row { gap: 10px; justify-content: center; }
  .hero-cta-row .btn-ghost { padding: 11.5px 18px; }

  /* INTRO: smaller editorial type */
  .intro-text { font-size: 18px; line-height: 1.55; padding: 0 6px; }

  /* WHY BAND: smaller title */
  .band-why { padding: 80px 18px; }
  .band-title .es { font-size: clamp(30px, 8vw, 44px); }
  .band-title .fa { font-size: clamp(34px, 9vw, 48px); line-height: 1.6; }
  .band-lede { font-size: 15px; padding: 0 6px; }

  /* SECTION HEADS */
  .section-head { margin-bottom: 36px; }
  .section-head h2 .es { font-size: clamp(28px, 7.5vw, 40px); }
  .section-head h2 .fa { font-size: clamp(24px, 6.5vw, 34px); line-height: 1.6; }

  /* PILLARS: stack the bilingual H3 vertically so the Farsi label
     drops underneath the Spanish title — no more inline wrapping mess */
  .pillar-body { padding: 22px 22px 26px; }
  .pillar h3 {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 24px;
    margin-bottom: 12px;
  }
  .pillar h3 .es { font-size: 24px; }
  .pillar h3 .fa { font-size: 22px; line-height: 1.6; margin-top: 2px; }
  .pillar p { font-size: 15px; line-height: 1.65; }
  .pillar-image-fa { font-size: 36px; bottom: 12px; right: 16px; }
  .pillar-num { font-size: 13px; margin-bottom: 8px; }
  .pillar-num:after { width: 22px; }

  /* MOODBOARD */
  .moodboard { padding: 56px 0; }
  .moodboard-head { gap: 12px; margin-bottom: 40px; padding: 0 18px; }
  .mood-eyebrow { font-size: 11px; letter-spacing: .2em; }
  .mood-fa { font-size: 19px; margin-left: 8px; }
  .mood-card figcaption { padding: 18px 20px 16px; }
  .cap-fa { font-size: 26px; line-height: 1.55; }
  .cap-es { font-size: 13px; }
  .mood-quote { padding: 26px 18px 22px; margin-top: 32px; }
  .q-fa  { font-size: 20px; line-height: 1.8; }
  .q-es  { font-size: 16px; }
  .q-attr { font-size: 11px; letter-spacing: .18em; }

  /* TESTIMONIALS */
  .testimonials { padding: 64px 0; }
  .testimonial { padding: 26px 22px; }
  .testimonial blockquote { font-size: 16px; line-height: 1.55; margin: 14px 0 20px; }
  .testimonial:before { font-size: 70px; top: -4px; left: 18px; }
  .testimonial figcaption strong { font-size: 15px; }
  .testimonial figcaption span { font-size: 12px; }

  /* ABOUT */
  .about { padding: 64px 0; }
  .about-grid { gap: 28px; }
  .about-photo { aspect-ratio: 4/5; max-width: 360px; margin: 0 auto; }
  .about-photo-mark { font-size: 52px; bottom: 16px; right: 18px; }
  .about-content h2 .es { font-size: clamp(30px, 8vw, 42px); }
  .about-content h2 .fa { font-size: clamp(24px, 6.5vw, 34px); }
  .about-lede { font-size: 16px; line-height: 1.65; }
  .about-stats { gap: 14px; padding: 18px 0; margin: 26px 0 22px; }
  .about-stats .num { font-size: 26px; padding-bottom: 6px; }
  .about-stats .label { font-size: 10.5px; }

  /* CONTACT — fix the decor panel becoming a separate band where the
     Nastaliq inscription was colliding with the contact info on top of it */
  .contact { padding: 56px 0; }
  .contact-card { min-height: 0; }
  .contact-content { padding: 36px 24px 40px; }
  .contact-content h2 .es { font-size: clamp(28px, 7.5vw, 42px); }
  .contact-content h2 .fa { font-size: clamp(24px, 6.5vw, 34px); }
  .contact-lede { font-size: 15px; margin-bottom: 26px; }
  .channel { padding: 13px 16px; gap: 10px; flex-wrap: wrap; }
  .channel-label { width: auto; font-size: 11px; letter-spacing: .15em; }
  .channel-value { font-size: 14.5px; word-break: break-word; }
  .contact-decor { min-height: 220px; }
  .contact-decor-fa { font-size: 32px; bottom: 18px; right: 20px; left: 20px; line-height: 1.6; }

  /* FOOTER */
  .site-footer { padding: 44px 0 28px; }
  .footer-brand .footer-mark { font-size: 26px; }
  .footer-brand p { font-size: 15px; }
  .footer-nav { gap: 12px 18px; }
  .footer-nav a { font-size: 13.5px; }
  .footer-meta { font-size: 12px; }

  /* Common: container side padding */
  .container { padding: 0 18px; }
}

/* Even tighter ( < 420px ) */
@media (max-width: 420px) {
  .hero-fa { font-size: 38px; }
  .hero-es { font-size: 22px; line-height: 1.15; }
  .hero-sub { font-size: 14px; }
  .pillar h3 .fa { font-size: 20px; }
  .pillar-image-fa { font-size: 30px; }
  .mood-fa { font-size: 17px; }
  .mood-eyebrow { font-size: 10.5px; }
  .about-stats { flex-direction: column; align-items: flex-start; gap: 14px; }
  .about-stats .stat { flex-direction: row; align-items: baseline; gap: 14px; }
  .about-stats .num { padding-bottom: 0; }
  .about-stats .num:after { display: none; }
  .channel { flex-direction: column; align-items: flex-start; gap: 4px; }
  .channel-label { width: auto; }
}

/* FA mode mobile overrides — the Nastaliq hero needs even tighter sizing */
@media (max-width: 720px) {
  html[data-lang="fa"] .hero-fa { font-size: clamp(40px, 13vw, 60px); line-height: 1.35; padding-bottom: 14px; }
  html[data-lang="fa"] .hero-headline { gap: 36px; }
  html[data-lang="fa"] .hero-es { font-size: 14px; padding-top: 12px; }
}
