:root {
  --green: #0c3a2d;
  --green-2: #134d3c;
  --gold: #c9a96e;
  --gold-ink: #8a6a32;
  --paper: #f7f3ea;
  --paper-2: #efe8d8;
  --card: #fffdf8;
  --ink: #1c2622;
  --muted: #56625c;
  --line: #e2d9c6;
  --serif: 'Amiri', 'Times New Roman', serif;
  --sans: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  /* 8-point star lattice, the classic khatam motif */
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' fill='none' stroke='rgba(201,169,110,.17)' stroke-width='1'%3E%3Cpath d='M30 30h36v36H30zM48 22.5 73.5 48 48 73.5 22.5 48zM48 0v22.5M96 48H73.5M48 96V73.5M0 48h22.5M0 0l30 30M96 0 66 30M96 96 66 66M0 96l30-30'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { font: 400 17px/1.9 var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
html[lang='en'] body { line-height: 1.7; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 24px; }

.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 10; background: var(--gold); color: var(--green); padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ---------- header ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 5; color: var(--paper); transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: rgba(12, 58, 45, .94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(201, 169, 110, .25); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 21px/1 var(--serif); }
.mark { width: 34px; height: 34px; color: var(--gold); flex: none; }
.nav nav { display: flex; gap: 24px; margin-inline-start: auto; font-size: 15px; }
.nav nav a { text-decoration: none; opacity: .85; transition: color .2s, opacity .2s; }
.nav nav a:hover { opacity: 1; color: var(--gold); }
.lang { font: 500 14px var(--sans); color: var(--paper); background: none; border: 1px solid rgba(201, 169, 110, .5); border-radius: 999px; padding: 6px 16px; cursor: pointer; transition: color .2s, border-color .2s; }
.lang:hover { color: var(--gold); border-color: var(--gold); }
@media (max-width: 800px) {
  .nav nav { display: none; }
  .lang { margin-inline-start: auto; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; text-align: center; color: var(--paper); background: var(--green) var(--pattern) center / 96px; padding: 160px 0 120px; }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 45%, rgba(12, 58, 45, .2) 0, var(--green) 75%); }
.hero .wrap { position: relative; z-index: 1; }
.verse { font: 400 clamp(24px, 3.4vw, 34px)/1.9 var(--serif); color: var(--gold); }
.verse-ref { font-size: 14px; opacity: .7; }
.hero h1 { font: 700 clamp(46px, 8vw, 92px)/1.3 var(--serif); margin: 26px 0 6px; }
.tag { font-size: 15px; letter-spacing: .05em; color: var(--gold); }
.lede { max-width: 640px; margin: 22px auto 0; font-size: clamp(17px, 1.6vw, 19px); opacity: .9; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 26px; border-radius: 999px; border: 1px solid rgba(201, 169, 110, .6); text-decoration: none; font-weight: 500; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { color: var(--gold); border-color: var(--gold); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--green); }
.btn-gold:hover { background: #dcc08c; color: var(--green); }
.btn-green { background: var(--green); border-color: var(--green); color: var(--paper); font-size: 18px; }
.btn-green:hover { background: var(--green-2); color: var(--gold); }

/* ---------- sections ---------- */
section { padding: 100px 0; }
.alt { background: var(--paper-2); }
.kicker { display: flex; align-items: center; gap: 10px; color: var(--gold-ink); font-size: 14px; font-weight: 600; letter-spacing: .05em; }
.kicker::before { content: ''; width: 28px; height: 1px; background: currentColor; }
h2 { font: 700 clamp(30px, 4vw, 44px)/1.45 var(--serif); color: var(--green); margin: 10px 0 18px; }
.lead { max-width: 680px; color: var(--muted); font-size: 18px; }

.grid-2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.quote { background: var(--green) var(--pattern) center / 96px; color: var(--paper); border-radius: 20px; padding: 40px 34px; }
.quote p { font: 400 23px/2.1 var(--serif); }
.quote figcaption { margin-top: 14px; font-size: 14px; line-height: 1.7; color: var(--gold); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px; }
.card h3 { font: 700 23px/1.5 var(--serif); color: var(--green); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 16px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step, arabic-indic); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 50%; background: var(--green); color: var(--gold); font: 700 20px/1 var(--serif); }
html[lang='en'] .steps li::before { content: counter(step); }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }

/* ---------- radio ---------- */
.radio { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; margin-top: 40px; padding: 38px; border-radius: 24px; color: var(--paper); background: var(--green) var(--pattern) center / 96px; }
.radio h3 { font: 700 30px/1.4 var(--serif); margin: 4px 0 8px; }
.radio p { max-width: 580px; opacity: .88; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gold); opacity: 1 !important; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #e5484d; animation: pulse 1.6s ease-in-out infinite; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 64px; }
.bars span { width: 7px; height: 100%; border-radius: 4px; background: var(--gold); transform-origin: bottom; animation: eq 1.3s ease-in-out infinite; }
.bars span:nth-child(2) { animation-delay: -.4s; }
.bars span:nth-child(3) { animation-delay: -.8s; }
.bars span:nth-child(4) { animation-delay: -.2s; }
.bars span:nth-child(5) { animation-delay: -.6s; }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
@keyframes pulse { 50% { opacity: .3; } }

/* ---------- contact + footer ---------- */
.contact { text-align: center; }
.contact .kicker { justify-content: center; }
.contact .lead { margin: 0 auto 28px; }
.foot { background: var(--green); color: rgba(247, 243, 234, .75); font-size: 14px; padding: 28px 0; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.foot a { text-decoration: none; color: var(--gold); }

@media (max-width: 860px) {
  section { padding: 72px 0; }
  .grid-2, .pair, .steps { grid-template-columns: 1fr; }
  .grid-2 { gap: 36px; }
  .radio { grid-template-columns: 1fr; padding: 30px 26px; }
  .bars { height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- goals, members, contact details ---------- */
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; }
.person { text-align: center; }
.avatar { display: grid; place-items: center; width: 96px; height: 96px; margin: 0 auto 16px; border-radius: 50%; overflow: hidden; background: var(--green) var(--pattern) center / 48px; color: var(--gold); font: 700 36px/1 var(--serif); border: 3px solid var(--gold); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.person .role { color: var(--gold-ink); font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.lead-person { display: flex; align-items: center; gap: 28px; margin-top: 36px; text-align: start; }
.lead-person .avatar { width: 120px; height: 120px; margin: 0; flex: none; font-size: 44px; }
.lead-person h3 { font-size: 28px; }
.btn-line { border-color: var(--green); color: var(--green); font-size: 18px; }
.btn-line:hover { background: var(--green); color: var(--gold); }
address { margin-top: 32px; font-style: normal; color: var(--muted); }
address strong { display: block; color: var(--green); font: 700 20px/1.6 var(--serif); }
@media (max-width: 1000px) { .steps-4, .people { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .steps-4, .people { grid-template-columns: 1fr; }
  .lead-person { flex-direction: column; text-align: center; }
}
