:root {
  --ink: #14110e;
  --ink-soft: #2c2c2e;
  --paper: #f6f0e6;
  --paper-2: #fffaf3;
  --quill: #ef3e2b;
  --quill-dark: #c42e1e;
  --line: rgba(20, 17, 14, 0.1);
  --muted: #6b645c;
  --naskh: "Noto Naskh Arabic", serif;
  --sans: "Noto Sans", system-ui, sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --shadow: 0 24px 60px rgba(20, 17, 14, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--naskh), var(--sans);
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.035;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }

.skip {
  position: absolute;
  right: -999px;
  top: 8px;
}
.skip:focus {
  right: 12px;
  background: #fff;
  padding: 8px 12px;
  z-index: 50;
  border-radius: 8px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 7vw;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.brand strong { display: block; font-size: 1.05rem; line-height: 1.25; }
.brand em {
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.nav-links { display: flex; gap: 22px; font-size: 0.98rem; }
.nav-links a { text-decoration: none; color: var(--ink-soft); }
.nav-links a:hover { color: var(--quill); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--quill) 50%, white); outline-offset: 2px; }
.btn-nav { margin-inline-start: auto; }
.btn-nav, .btn-primary {
  background: var(--quill);
  color: #fff;
  box-shadow: 0 8px 22px rgba(239, 62, 43, 0.28);
}
.btn-primary:hover, .btn-nav:hover { background: var(--quill-dark); }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
}
.btn-light { background: #fff; color: var(--ink); }
.play-icon { width: 18px; height: 18px; }

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 10px;
  gap: 5px;
  flex-direction: column;
  justify-content: center;
}
.menu-btn span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 48px;
  align-items: center;
  padding: 72px 7vw 48px;
  background:
    radial-gradient(820px 380px at 100% -10%, rgba(239, 62, 43, 0.16), transparent 58%),
    radial-gradient(600px 280px at 0% 100%, rgba(20, 17, 14, 0.06), transparent 55%),
    linear-gradient(180deg, var(--paper-2), var(--paper));
}
.hero-crescent {
  position: absolute;
  width: min(42vw, 420px);
  right: -8%;
  top: 8%;
  color: rgba(20, 17, 14, 0.07);
  pointer-events: none;
}
.eyebrow {
  color: var(--quill);
  font-weight: 700;
  margin: 0 0 10px;
}
.hero h1 {
  font-size: clamp(2.5rem, 6.2vw, 4.6rem);
  line-height: 1.22;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.kicker {
  margin: 0 0 16px;
  font-size: 1.25rem;
  color: var(--ink-soft);
}
.lede { font-size: 1.12rem; max-width: 38rem; color: var(--ink-soft); margin: 0 0 10px; }
.lede-en {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 34rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.stats {
  display: flex;
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.stats strong { display: block; font-size: 1.4rem; line-height: 1.2; }
.stats span { color: var(--muted); font-size: 0.9rem; }

.hero-stage { display: flex; justify-content: center; position: relative; z-index: 1; }
.phone {
  width: min(320px, 100%);
  background: #161310;
  border-radius: 38px;
  padding: 12px 10px 10px;
  color: #fff;
  box-shadow: var(--shadow), inset 0 0 0 2px #2a2520;
  position: relative;
}
.notch {
  width: 92px;
  height: 10px;
  background: #0c0b09;
  border-radius: 0 0 10px 10px;
  margin: 0 auto 6px;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 0.68rem;
  opacity: 0.75;
  padding: 0 10px 10px;
}
.post {
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 8px;
}
.post header { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.post header b { display: block; line-height: 1.2; }
.post header small { color: var(--muted); }
.avatar, .av2 {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--quill); color: #fff;
  display: grid; place-items: center; font-weight: 700; flex-shrink: 0;
}
.av2 { background: #2c2c2e; }
.verse { font-size: 1.05rem; line-height: 1.95; margin: 0; }
.post footer { color: var(--muted); font-size: 0.8rem; margin-top: 8px; }
.post-live { background: #221d18; color: #f6f1e8; }
.post-live .dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--quill);
  box-shadow: 0 0 0 6px rgba(239, 62, 43, 0.22);
  flex-shrink: 0;
}
.phone-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 4px;
  padding: 8px 4px 6px;
  font-size: 0.68rem;
  text-align: center;
  color: rgba(255,255,255,0.55);
}
.phone-tabs .on { color: #fff; font-weight: 700; }

.strip {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #fffaf3;
  padding: 16px 0;
  color: var(--muted);
}
.strip p {
  margin: 0;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  font-size: 1.05rem;
}
@keyframes marquee {
  from { transform: translateX(-6%); }
  to { transform: translateX(6%); }
}

.section { padding: 80px 7vw; }
.section-head { max-width: 40rem; margin-bottom: 36px; }
.section-head h2, .mushaira-copy h2, .cta h2 {
  font-size: clamp(1.85rem, 4vw, 2.7rem);
  line-height: 1.35;
  margin: 0 0 10px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(20, 17, 14, 0.08);
}
.icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(239, 62, 43, 0.1);
  color: var(--quill);
  display: grid; place-items: center;
  margin-bottom: 12px;
}
.icon svg { width: 22px; height: 22px; }
.card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--ink-soft); }

.mushaira {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  background: #171411;
  color: #f6f1e8;
}
.mushaira .eyebrow { color: #ff8a7a; }
.mushaira .lede-en { color: rgba(246, 241, 232, 0.62); }
.ticks { padding: 0; list-style: none; display: grid; gap: 8px; margin: 18px 0; }
.ticks li::before { content: "◆ "; color: var(--quill); font-size: 0.7em; }
.mushaira-panel {
  background: linear-gradient(180deg, #2a231c, #1d1915);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.live {
  display: inline-block;
  background: var(--quill);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  padding: 4px 9px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.mushaira-panel strong { display: block; font-size: 1.5rem; margin-bottom: 6px; }
.seats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 22px;
}
.seats span {
  text-align: center;
  padding: 10px 6px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px dashed rgba(255,255,255,0.12);
  font-size: 0.85rem;
}

.learn-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.learn-row article {
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  border-right: 3px solid var(--quill);
}
.learn-row h3 { margin: 0 0 6px; }
.learn-row p { margin: 0; color: var(--muted); }

.quote-band {
  margin: 0 7vw;
  padding: 48px 28px;
  text-align: center;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(400px 120px at 50% 0%, rgba(239, 62, 43, 0.08), transparent);
}
.quote-band p {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  line-height: 2;
  margin: 0 0 12px;
}
.quote-band cite { color: var(--muted); font-style: normal; }

.quotes {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.quotes blockquote {
  margin: 0;
  background: var(--paper-2);
  border-right: 3px solid var(--quill);
  padding: 22px;
  border-radius: 14px;
}
.quotes p {
  font-size: 1.12rem;
  margin: 0 0 12px;
  line-height: 1.7;
}
.quotes cite { color: var(--muted); font-style: normal; font-size: 0.88rem; }

.cta {
  margin: 0 7vw 88px;
  background: linear-gradient(160deg, #ef3e2b, #c42e1e);
  color: #fff;
  text-align: center;
  border-radius: 32px;
  padding: 64px 24px;
  box-shadow: 0 24px 50px rgba(196, 46, 30, 0.28);
}
.cta img {
  width: 80px;
  height: 80px;
  margin: 0 auto 12px;
  mix-blend-mode: multiply;
}
.cta p { max-width: 32rem; margin: 0 auto 22px; }
.cta-note { opacity: 0.8; font-family: var(--sans); font-size: 0.85rem !important; }

.foot {
  padding: 40px 7vw 96px;
  background: #14110e;
  color: #f6f1e8;
}
.foot-top, .foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.foot-bottom { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.08); }
.foot-brand, .texet { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.foot-brand img { width: 44px; height: 44px; background: #fff; border-radius: 10px; }
.foot-brand span, .copy { color: rgba(246,241,232,0.62); font-size: 0.9rem; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a { color: rgba(246,241,232,0.82); }
.texet {
  background: #000;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid #FFE70F;
}
.texet span { font-family: var(--sans); font-size: 0.75rem; color: #FFE70F; }
.texet img { height: 28px; width: auto; }

.sticky-cta {
  display: none;
  position: fixed;
  inset-inline: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 25;
}
.sticky-cta.show { display: block; }
.sticky-cta .btn { width: 100%; box-shadow: var(--shadow); }

@media (min-width: 821px) {
  .sticky-cta,
  .sticky-cta.show { display: none !important; }
}

@media (max-width: 1040px) {
  .hero, .mushaira, .grid, .learn-row, .quotes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-links {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 14px 7vw 18px;
    gap: 12px;
  }
  .nav-links.open { display: flex; }
  .menu-btn { display: flex; }
  .hero { grid-template-columns: 1fr; padding-top: 36px; }
  .phone { width: min(280px, 86vw); }
  .grid, .learn-row, .quotes, .mushaira { grid-template-columns: 1fr; }
  .cta { margin-bottom: 64px; }
  .brand em { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .strip p, .btn, .card { animation: none; transition: none; }
}
