/* ─────────────────────────────────────────────────────────────
   OUR STORY PAGE  —  Long-scroll brand manifesto
   ───────────────────────────────────────────────────────────── */

.story-page { background: var(--sand); padding-top: 68px; }

/* ── Story Hero ──────────────────────────────────────────────── */
.story-hero {
  min-height: 92vh;
  background: linear-gradient(150deg, var(--teal-deep) 0%, var(--teal) 60%, #007A66 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 80px 32px;
}
.story-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 80% 30%, rgba(204,85,0,0.12) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 15% 80%, rgba(201,168,76,0.08) 0%, transparent 55%);
}
.story-hero-grid {
  position: absolute; inset: 0; opacity: 0.035;
  background-image:
    linear-gradient(rgba(255,255,255,0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.6) 1px, transparent 1px);
  background-size: 72px 72px;
}
.story-hero-inner {
  position: relative; max-width: 900px;
  text-align: center; z-index: 1;
}
.story-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold-light);
  margin-bottom: 36px;
}
html[dir="rtl"] .story-hero-eyebrow { letter-spacing: 0; }
.story-hero-eyebrow::before,
.story-hero-eyebrow::after {
  content: ''; display: block; width: 40px; height: 1px; background: var(--gold-light);
}
html[dir="rtl"] .story-hero-eyebrow::before,
html[dir="rtl"] .story-hero-eyebrow::after { display: block; }
.story-hero h1 {
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 700; color: var(--white); line-height: 1.1;
  margin-bottom: 32px;
}
.story-hero h1 em { color: var(--terra-light); font-style: italic; }
.story-hero-sub {
  font-size: 1.125rem; color: rgba(255,255,255,0.65);
  line-height: 1.8; max-width: 600px; margin: 0 auto 48px;
}
.story-hero-stat-row {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
}
.story-hero-stat { text-align: center; max-width: 200px; }
.story-hero-stat-num {
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700;
  color: var(--gold-light); line-height: 1.2; margin-bottom: 8px;
}
.story-hero-stat-label { font-size: 0.8125rem; color: rgba(255,255,255,0.55); line-height: 1.5; }
.story-hero-divider {
  width: 1px; height: 50px; background: rgba(255,255,255,0.2); align-self: center;
}

/* ── The Challenge Section ────────────────────────────────────── */
.challenge-section { background: var(--sand); padding: 100px 0; }
.challenge-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.challenge-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--terra);
  margin-bottom: 20px;
}
html[dir="rtl"] .challenge-label { letter-spacing: 0; }
.challenge-inner h2 {
  font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700;
  color: var(--ink); line-height: 1.2; margin-bottom: 24px;
}
.challenge-inner p {
  font-size: 1.0625rem; color: var(--ink-muted); line-height: 1.85;
  margin-bottom: 20px;
}
.challenge-pull-quote {
  border-inline-start: 3px solid var(--terra);
  padding-inline-start: 24px; margin: 32px 0;
  font-family: var(--font-serif); font-size: 1.375rem;
  color: var(--teal); font-style: italic; line-height: 1.5;
}
.challenge-visual {
  background: linear-gradient(145deg, var(--teal-deep), var(--teal));
  border-radius: var(--radius-xl); padding: 52px 40px; text-align: center;
  position: relative; overflow: hidden;
}
.challenge-visual::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(204,85,0,0.15), transparent);
}
.challenge-big-num {
  position: relative;
  font-family: var(--font-serif); font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700;
  color: var(--gold-light); line-height: 1.25; margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.challenge-big-label {
  position: relative;
  font-size: 1rem; color: rgba(255,255,255,0.72); line-height: 1.7;
}
.challenge-glass-pill {
  position: relative; display: inline-block; margin-top: 32px;
  background: var(--glass-white); border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-full); padding: 10px 24px;
  font-size: 0.875rem; font-weight: 600; color: var(--gold-light);
  backdrop-filter: blur(12px);
}

/* ── Pillars Section ─────────────────────────────────────────── */
.pillars-section {
  background: linear-gradient(160deg, var(--teal-deep) 0%, var(--teal-mid) 100%);
  padding: 100px 0;
}
.pillars-section .section-header h2 { color: var(--white); }
.pillars-section .section-header p  { color: rgba(255,255,255,0.62); }
.pillars-section .badge { color: var(--gold-light); background: rgba(201,168,76,0.15); border-color: rgba(201,168,76,0.3); }
.pillars-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.pillar-card {
  background: var(--glass-white);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 40px 36px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.pillar-card::before {
  content: ''; position: absolute; top: 0; inset-inline-start: 0;
  width: 4px; height: 100%;
  background: linear-gradient(to bottom, var(--terra), var(--gold));
}
.pillar-card:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glass);
}
.pillar-arabic-name {
  font-family: var(--font-serif); font-size: 2rem; font-weight: 700;
  color: var(--gold-light); margin-bottom: 4px; direction: rtl;
}
html[dir="rtl"] .pillar-arabic-name { direction: ltr; }
.pillar-english-name {
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 20px;
}
html[dir="rtl"] .pillar-english-name { letter-spacing: 0; }
.pillar-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.pillar-card p  { font-size: 0.9375rem; color: rgba(255,255,255,0.62); line-height: 1.7; }
.pillar-badges  { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.pillar-badge {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 5px 12px; border-radius: var(--radius-full);
}
html[dir="rtl"] .pillar-badge { letter-spacing: 0; }
.pillar-badge-cap  { background: rgba(204,85,0,0.25); color: var(--terra-light); }
.pillar-badge-lang { background: rgba(201,168,76,0.2); color: var(--gold-light); }

/* ── Methodology Section ─────────────────────────────────────── */
.methodology-section { background: var(--sand); padding: 100px 0; }
.methodology-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.method-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 40px 32px; text-align: center;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  position: relative; overflow: hidden;
}
.method-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--terra));
  transform: scaleX(0); transition: var(--transition); transform-origin: left;
}
html[dir="rtl"] .method-card::after { transform-origin: right; }
.method-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.method-card:hover::after { transform: scaleX(1); }

.method-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-faint), rgba(204,85,0,0.06));
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; font-size: 1.75rem;
}
.method-num {
  position: absolute; top: 20px; inset-inline-end: 20px;
  font-family: var(--font-serif); font-size: 3rem; font-weight: 700;
  color: var(--sand-dark); line-height: 1;
}
.method-card h3 { font-size: 1.1875rem; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.method-card p  { font-size: 0.9375rem; color: var(--ink-muted); line-height: 1.7; }

/* ── Philosophy & Origin ─────────────────────────────────────── */
.origin-section {
  background: var(--white); padding: 120px 0;
  border-top: 1px solid var(--border);
  position: relative; overflow: hidden; text-align: center;
}
.origin-watermark {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: 'Scheherazade New', serif; font-size: clamp(10rem, 26vw, 20rem);
  line-height: 1; color: var(--sand); pointer-events: none; user-select: none;
}
.origin-inner { position: relative; max-width: 680px; margin: 0 auto; padding: 0 32px; }
.origin-inner h2 {
  font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700;
  color: var(--ink); line-height: 1.2; margin: 24px 0 0;
}
.origin-inner h2 em,
.origin-inner p em { color: var(--gold); font-family: var(--font-serif); font-style: italic; }
html[dir="rtl"] .origin-inner h2 em,
html[dir="rtl"] .origin-inner p em { font-style: normal; }
.origin-rule { width: 48px; height: 1px; background: var(--gold); margin: 36px auto; }
.origin-inner .origin-lead {
  font-family: var(--font-serif); font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  color: var(--teal); line-height: 1.5; margin-bottom: 32px;
}
.origin-inner p {
  font-size: 1.0625rem; color: var(--ink-muted); line-height: 1.9;
  margin-bottom: 20px;
}
.origin-ornament { margin-top: 36px; color: var(--gold); font-size: 0.875rem; letter-spacing: 0.4em; }

/* ── Closing CTA ─────────────────────────────────────────────── */
.story-cta-section {
  background: linear-gradient(160deg, var(--teal-deep), var(--teal));
  padding: 96px 0; text-align: center;
}
.story-cta-section h2 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: var(--white); margin-bottom: 16px; }
.story-cta-section p  { font-size: 1.0625rem; color: rgba(255,255,255,0.62); max-width: 480px; margin: 0 auto 40px; line-height: 1.75; }

/* ── Story Responsive ────────────────────────────────────────── */
@media (max-width: 960px) {
  .challenge-inner { grid-template-columns: 1fr; gap: 48px; }
  .pillars-grid    { grid-template-columns: 1fr; }
  .methodology-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .story-hero-stat-row { gap: 28px; }
  .story-hero-divider  { display: none; }
  .challenge-section, .pillars-section, .methodology-section, .origin-section, .story-cta-section { padding: 72px 0; }
  .origin-inner { padding: 0 16px; }
}
