/* The Deen Map · shared stylesheet */
/* ============ Tokens ============ */
:root{
  --ink:#052b23;
  --ink-deep:#03201a;
  --green:#017358;
  --green-deep:#015a45;
  --gold:#d3ac4c;
  --gold-strong:#c19a38;
  --gold-soft:#e9d9a6;
  --paper:#faf6ec;
  --paper-2:#f3edda;
  --text:#25342e;
  --muted:#5d6b64;
  --line:rgba(1,115,88,.16);
  --line-gold:rgba(211,172,76,.4);
  --khatam:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128' viewBox='0 0 128 128'%3E%3Cg fill='none' stroke='%23d3ac4c' stroke-opacity='.08'%3E%3Crect x='46' y='46' width='36' height='36'/%3E%3Crect x='46' y='46' width='36' height='36' transform='rotate(45 64 64)'/%3E%3C/g%3E%3C/svg%3E");
  --header-h:76px;
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-padding-top:calc(var(--header-h) + 16px)}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}

body{
  font-family:'Figtree',system-ui,sans-serif;
  font-size:17px;
  line-height:1.7;
  color:var(--text);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
}

::selection{background:var(--gold);color:var(--ink)}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:4px}

img{max-width:100%;display:block}
a{color:var(--green)}

.skip-link{
  position:absolute;left:-999px;top:0;z-index:2000;
  background:var(--gold);color:var(--ink);padding:10px 18px;
  font-weight:600;text-decoration:none;border-radius:0 0 10px 0;
}
.skip-link:focus{left:0}

.container{max-width:1140px;margin:0 auto;padding:0 24px}

/* Script helpers */
.ar{font-family:'Amiri',serif;direction:rtl}
.ur{font-family:'Gulzar',serif;direction:rtl}

/* ============ Buttons ============ */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:15px 28px;border-radius:10px;border:1px solid transparent;
  font-family:'Figtree',sans-serif;font-weight:600;font-size:15px;letter-spacing:.02em;
  text-decoration:none;cursor:pointer;
  transition:transform .25s ease,box-shadow .25s ease,background .25s ease,border-color .25s ease,color .25s ease;
}
.btn svg{width:18px;height:18px;flex:none}
.btn-gold{background:var(--gold);color:var(--ink)}
.btn-gold:hover{background:var(--gold-strong);transform:translateY(-2px);box-shadow:0 10px 24px rgba(211,172,76,.28)}
.btn-ghost{border-color:rgba(233,217,166,.45);color:var(--paper)}
.btn-ghost:hover{border-color:var(--gold);color:var(--gold)}
.btn-outline{border-color:var(--line-gold);color:var(--green)}
.btn-outline:hover{border-color:var(--gold);color:var(--green-deep);transform:translateY(-2px)}

/* ============ Header ============ */
header{
  position:fixed;top:0;left:0;right:0;z-index:1000;
  padding:18px 0;
  transition:background .3s ease,padding .3s ease,border-color .3s ease;
  border-bottom:1px solid transparent;
}
header.scrolled{
  background:rgba(4,32,26,.92);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  border-bottom-color:rgba(211,172,76,.18);
  padding:12px 0;
}
.nav-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.brand-mark{
  width:44px;height:44px;flex:none;border-radius:50%;
  background:var(--paper);border:1px solid var(--line-gold);
  display:flex;align-items:center;justify-content:center;
}
.brand-mark img{width:32px;height:32px}
.brand-name{
  font-family:'EB Garamond',serif;font-weight:600;font-size:21px;
  letter-spacing:.04em;color:var(--gold);white-space:nowrap;
}
.nav-links{display:flex;align-items:center;gap:19px;list-style:none}
.nav-links a{
  color:rgba(250,246,236,.85);text-decoration:none;font-weight:500;font-size:14px;
  transition:color .25s ease;
}
.nav-links a:hover{color:var(--gold)}
.nav-links a.active:not(.btn){color:var(--gold)}
.nav-cta{padding:11px 20px;font-size:14px}
.menu-btn{
  display:none;background:none;border:0;color:var(--paper);
  font-size:26px;line-height:1;cursor:pointer;padding:6px 10px;
}

/* ============ Hero ============ */
.hero{
  position:relative;
  background:linear-gradient(180deg,var(--ink-deep) 0%,var(--ink) 55%,#063a2e 100%);
  color:var(--paper);
  padding:calc(var(--header-h) + 72px) 24px 88px;
  text-align:center;
  overflow:hidden;
}
.hero::before{
  content:"";position:absolute;inset:0;
  background-image:var(--khatam);
  pointer-events:none;
}
.hero::after{
  content:"";position:absolute;left:50%;bottom:0;transform:translateX(-50%);
  width:min(720px,90%);height:1px;
  background:linear-gradient(90deg,transparent,var(--line-gold),transparent);
}
.hero-inner{position:relative;max-width:820px;margin:0 auto}
.bismillah{
  font-family:'Amiri',serif;font-size:22px;color:rgba(250,246,236,.68);
  margin-bottom:34px;
}
.hero-mark{
  width:96px;height:96px;margin:0 auto 28px;border-radius:50%;
  background:var(--paper);border:1px solid var(--line-gold);
  box-shadow:0 0 0 8px rgba(211,172,76,.08);
  display:flex;align-items:center;justify-content:center;
}
.hero-mark img{width:68px;height:68px}
.hero-eyebrow{
  font-size:12px;font-weight:600;letter-spacing:.22em;
  color:var(--gold);margin-bottom:20px;
}
.hero h1{
  font-family:'EB Garamond',serif;font-weight:600;
  font-size:clamp(42px,6.5vw,72px);line-height:1.08;letter-spacing:-.01em;
  margin-bottom:30px;
}
.hero h1 em{font-style:italic;color:var(--gold-soft)}
.hero-ayah{
  font-family:'Amiri',serif;direction:rtl;
  font-size:clamp(27px,4vw,38px);line-height:1.9;color:var(--gold);
  margin-bottom:8px;
}
.hero-ayah-ref{
  font-family:'EB Garamond',serif;font-style:italic;font-size:17px;
  color:rgba(250,246,236,.72);margin-bottom:32px;
}
.hero-sub{
  font-size:18px;line-height:1.8;color:rgba(250,246,236,.86);
  max-width:620px;margin:0 auto 42px;
}
.hero-actions{display:flex;justify-content:center;gap:16px;flex-wrap:wrap}

/* ============ Stats strip ============ */
.stats{
  background:var(--ink);color:var(--paper);
  border-bottom:1px solid rgba(211,172,76,.16);
  padding:34px 0;
}
.stats-grid{
  display:grid;grid-template-columns:repeat(4,1fr);
}
.stat{
  text-align:center;padding:8px 18px;
  border-left:1px solid rgba(211,172,76,.16);
}
.stat:first-child{border-left:0}
.stat-num{
  font-family:'EB Garamond',serif;font-weight:600;
  font-size:34px;color:var(--gold);line-height:1.2;
}
.stat-label{
  font-size:12px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;
  color:rgba(250,246,236,.66);margin-top:6px;
}

/* ============ Sections & waypoints ============ */
.section{padding:104px 0}
.section-alt{background:var(--paper-2)}

.wp{display:flex;flex-direction:column;align-items:center;text-align:center;margin-bottom:60px}
.wp-connector{width:2px;height:54px;margin-bottom:14px;
  background-image:linear-gradient(to bottom,var(--line-gold) 45%,transparent 45%);
  background-size:2px 12px;
}
.wp-star{width:30px;height:30px;margin-bottom:20px}
.wp-star svg{width:100%;height:100%;stroke:var(--gold);fill:none;stroke-width:1.4;
  transition:fill .5s ease,transform .5s ease}
.wp-star.lit svg{fill:rgba(211,172,76,.22);transform:rotate(22.5deg) scale(1.06)}
.wp-eyebrow{
  font-size:12px;font-weight:600;letter-spacing:.22em;color:var(--green);
  margin-bottom:14px;
}
.wp h2{
  font-family:'EB Garamond',serif;font-weight:600;
  font-size:clamp(32px,4.5vw,48px);line-height:1.15;color:var(--green-deep);
  margin-bottom:12px;
}
.wp-sub{
  font-family:'EB Garamond',serif;font-style:italic;
  font-size:20px;color:var(--muted);
}
.on-ink .wp-eyebrow{color:var(--gold)}
.on-ink .wp h2{color:var(--paper)}
.on-ink .wp-sub{color:rgba(250,246,236,.72)}

/* ============ About ============ */
.about-grid{
  display:grid;grid-template-columns:1.05fr .95fr;gap:64px;align-items:center;
  margin-bottom:76px;
}
.about-text h3{
  font-family:'EB Garamond',serif;font-weight:600;font-size:28px;
  color:var(--green-deep);margin-bottom:18px;
}
.about-text p{font-size:17.5px;line-height:1.85;color:var(--text);margin-bottom:18px}
.about-text p:last-child{margin-bottom:0}

.map-frame{
  border-radius:210px 210px 18px 18px;
  border:1.5px solid var(--line-gold);
  background:var(--paper);
  padding:10px;
}
.map-frame-inner{
  border-radius:200px 200px 12px 12px;
  border:1px solid var(--line);
  background:var(--paper-2);
  padding:34px 16px 14px;
}
.map-frame-inner svg{width:100%;height:auto;display:block}
.map-caption{text-align:center;margin-top:22px}
.map-caption .ur{font-size:27px;line-height:2.1;color:var(--green-deep);display:block}
.map-caption small{
  display:block;margin-top:2px;font-size:12px;letter-spacing:.16em;
  text-transform:uppercase;color:var(--muted);
}

.values-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:0 36px;
  border-top:1px solid var(--line);
}
.value{padding:30px 4px 8px;border-top:2px solid transparent;margin-top:-1px;
  transition:border-color .3s ease}
.value:hover{border-top-color:var(--gold)}
.value-icon{width:26px;height:26px;color:var(--green);margin-bottom:16px}
.value-icon svg{width:100%;height:100%;stroke:currentColor;fill:none;stroke-width:1.6;
  stroke-linecap:round;stroke-linejoin:round}
.value h4{
  font-family:'EB Garamond',serif;font-weight:600;font-size:21px;
  color:var(--green-deep);margin-bottom:8px;
}
.value p{font-size:15.5px;line-height:1.7;color:var(--muted)}

/* ============ Content pillars ============ */
.pillars{display:grid;grid-template-columns:repeat(2,1fr);gap:28px}
.pillar{
  background:var(--paper);border:1px solid var(--line);border-radius:16px;
  padding:34px 32px;
  transition:transform .3s ease,border-color .3s ease,box-shadow .3s ease;
}
.pillar:hover{
  transform:translateY(-4px);border-color:var(--line-gold);
  box-shadow:0 16px 34px rgba(5,43,35,.08);
}
.pillar-icon{
  width:58px;height:58px;border-radius:29px 29px 9px 9px;
  background:var(--green);color:var(--gold);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:22px;
}
.pillar-icon svg{width:26px;height:26px;stroke:currentColor;fill:none;stroke-width:1.6;
  stroke-linecap:round;stroke-linejoin:round}
.pillar h3{
  font-family:'EB Garamond',serif;font-weight:600;font-size:24px;
  color:var(--green-deep);margin-bottom:10px;
}
.pillar p{font-size:16px;line-height:1.75;color:var(--muted)}

/* ============ Ayah band ============ */
.ayah-band{
  position:relative;background:var(--ink);color:var(--paper);
  text-align:center;padding:92px 24px;overflow:hidden;
}
.ayah-band::before{content:"";position:absolute;inset:0;background-image:var(--khatam)}
.ayah-band-inner{position:relative;max-width:760px;margin:0 auto}
.ayah-band .ar{
  font-size:clamp(28px,4.4vw,40px);line-height:1.95;color:var(--gold);
  margin-bottom:14px;
}
.ayah-band-tr{
  font-family:'EB Garamond',serif;font-style:italic;font-size:21px;
  color:rgba(250,246,236,.88);margin-bottom:10px;
}
.ayah-band-ref{
  font-size:12px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;
  color:rgba(211,172,76,.75);
}

/* ============ Platforms ============ */
.featured-platform{
  display:flex;align-items:center;gap:30px;
  background:var(--green);color:var(--paper);
  border-radius:18px;padding:36px 40px;margin-bottom:30px;
  box-shadow:0 18px 40px rgba(1,90,69,.22);
}
.featured-icon{
  width:70px;height:70px;flex:none;border-radius:35px 35px 10px 10px;
  background:rgba(250,246,236,.12);border:1px solid rgba(211,172,76,.35);
  display:flex;align-items:center;justify-content:center;
}
.featured-icon svg{width:34px;height:34px;fill:var(--gold)}
.featured-body{flex:1}
.featured-body h3{
  font-family:'EB Garamond',serif;font-weight:600;font-size:26px;
  color:var(--gold-soft);margin-bottom:6px;
}
.featured-body p{font-size:16px;line-height:1.7;color:rgba(250,246,236,.88);max-width:560px}
.featured-platform .btn{flex:none}

.platform-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.platform{
  background:var(--paper);border:1px solid var(--line);border-radius:16px;
  padding:28px;display:flex;flex-direction:column;align-items:flex-start;
  transition:transform .3s ease,border-color .3s ease,box-shadow .3s ease;
}
.platform:hover{
  transform:translateY(-4px);border-color:var(--line-gold);
  box-shadow:0 14px 30px rgba(5,43,35,.07);
}
.platform-icon{
  width:48px;height:48px;border-radius:50%;
  background:rgba(211,172,76,.16);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:18px;
}
.platform-icon svg{width:22px;height:22px;fill:var(--green)}
.platform h3{
  font-family:'EB Garamond',serif;font-weight:600;font-size:21px;
  color:var(--green-deep);
}
.platform-handle{font-size:13px;color:var(--muted);margin-bottom:10px}
.platform p{font-size:15px;line-height:1.65;color:var(--muted);margin-bottom:18px}
.platform-link{
  margin-top:auto;font-weight:600;font-size:14.5px;color:var(--green);
  text-decoration:none;border-bottom:1.5px solid var(--line-gold);
  padding-bottom:2px;transition:color .25s ease,border-color .25s ease;
}
.platform-link:hover{color:var(--gold-strong);border-color:var(--gold)}

/* ============ CTA ============ */
.cta{
  position:relative;background:linear-gradient(180deg,var(--ink) 0%,var(--ink-deep) 100%);
  color:var(--paper);text-align:center;padding:110px 24px;overflow:hidden;
}
.cta::before{content:"";position:absolute;inset:0;background-image:var(--khatam)}
.cta-inner{position:relative;max-width:700px;margin:0 auto}
.cta p{font-size:18px;line-height:1.85;color:rgba(250,246,236,.86);margin-bottom:40px}
.cta-actions{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;margin-bottom:34px}
.cta-dua{
  font-family:'EB Garamond',serif;font-style:italic;font-size:18px;
  color:rgba(211,172,76,.85);
}

/* ============ Footer ============ */
footer{background:var(--ink-deep);color:rgba(250,246,236,.75);padding:76px 0 0}
.footer-grid{
  display:grid;grid-template-columns:1.6fr 1fr 1fr 1.4fr;gap:48px;
  padding-bottom:56px;
}
.footer-brand{display:flex;align-items:center;gap:12px;text-decoration:none;margin-bottom:18px}
.footer-brand .brand-mark{width:40px;height:40px}
.footer-brand .brand-mark img{width:28px;height:28px}
.footer-brand span{
  font-family:'EB Garamond',serif;font-weight:600;font-size:20px;
  letter-spacing:.04em;color:var(--gold);
}
.footer-blurb{font-size:15px;line-height:1.8;margin-bottom:22px;max-width:340px}
.socials{display:flex;gap:10px;flex-wrap:wrap}
.social{
  width:42px;height:42px;border-radius:50%;
  border:1px solid rgba(211,172,76,.3);
  display:flex;align-items:center;justify-content:center;
  transition:background .25s ease,border-color .25s ease,transform .25s ease;
}
.social svg{width:18px;height:18px;fill:rgba(250,246,236,.85);transition:fill .25s ease}
.social:hover{background:var(--gold);border-color:var(--gold);transform:translateY(-2px)}
.social:hover svg{fill:var(--ink)}
.footer-col h3{
  font-family:'EB Garamond',serif;font-weight:600;font-size:19px;
  color:var(--gold-soft);margin-bottom:20px;
}
.footer-col ul{list-style:none}
.footer-col li{margin-bottom:12px}
.footer-col a{
  color:rgba(250,246,236,.72);text-decoration:none;font-size:15px;
  transition:color .25s ease;
}
.footer-col a:hover{color:var(--gold)}
.footer-col p{font-size:15px;line-height:1.8}
.footer-col p + p{margin-top:14px}
.footer-col p a{color:var(--gold-soft);text-decoration:underline;text-underline-offset:3px}
.footer-bottom{
  border-top:1px solid rgba(211,172,76,.16);
  padding:26px 0;text-align:center;font-size:13.5px;color:rgba(250,246,236,.55);
}
.footer-bottom p + p{margin-top:4px}

/* ============ Progress bar & back to top ============ */
#progressBar{position:fixed;top:0;left:0;height:3px;width:0;z-index:1300;
  background:linear-gradient(90deg,var(--gold),var(--gold-soft))}
.to-top{
  position:fixed;right:22px;bottom:22px;z-index:900;width:48px;height:48px;border-radius:50%;
  background:var(--ink);border:1px solid var(--line-gold);
  display:flex;align-items:center;justify-content:center;cursor:pointer;
  opacity:0;pointer-events:none;transform:translateY(8px);
  transition:opacity .3s ease,transform .3s ease,background .3s ease;
}
.to-top.show{opacity:1;pointer-events:auto;transform:none}
.to-top svg{width:18px;height:18px;fill:var(--gold)}
.to-top:hover{background:var(--green-deep)}

/* ============ Today (You are here) ============ */
.here-marker{position:relative;width:16px;height:16px;margin-bottom:24px}
.here-marker::after{content:"";position:absolute;inset:0;border-radius:50%;background:var(--gold)}
.here-marker::before{content:"";position:absolute;inset:-9px;border-radius:50%;
  border:1.5px solid var(--gold);opacity:.55;animation:herePulse 2.4s ease-out infinite}
@keyframes herePulse{
  0%{transform:scale(.55);opacity:.7}
  70%{transform:scale(1.55);opacity:0}
  100%{transform:scale(1.55);opacity:0}
}
.today-grid{display:grid;grid-template-columns:1fr 1.7fr;gap:26px;margin-bottom:26px}
.today-card{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:30px 32px}
.today-label{
  font-size:11px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--green);
  margin-bottom:16px;display:flex;align-items:center;justify-content:space-between;gap:12px;
}
.g-date{font-family:'EB Garamond',serif;font-weight:600;font-size:29px;line-height:1.25;
  color:var(--green-deep);margin-bottom:8px}
.h-date{font-family:'EB Garamond',serif;font-style:italic;font-size:20px;color:var(--gold-strong)}
.h-note{font-size:12.5px;line-height:1.55;color:var(--muted);margin-top:14px}
.city-select{
  font-family:'Figtree',sans-serif;font-size:13px;font-weight:600;color:var(--green-deep);
  background:var(--paper);border:1px solid var(--line-gold);border-radius:8px;
  padding:6px 10px;cursor:pointer;max-width:170px;
}
.pt-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-top:4px}
.pt{background:var(--paper-2);border:1px solid transparent;border-radius:12px;text-align:center;padding:14px 6px}
.pt-name{font-size:10.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.pt-time{font-family:'EB Garamond',serif;font-weight:600;font-size:20px;color:var(--green-deep);
  margin-top:4px;white-space:nowrap}
.pt.next{background:rgba(211,172,76,.16);border-color:var(--line-gold)}
.pt.next .pt-time{color:var(--gold-strong)}
.pt-next-line{margin-top:16px;font-size:14px;color:var(--muted)}
.pt-next-line strong{color:var(--green-deep)}
.pt-status{font-size:14.5px;color:var(--muted);padding:6px 0}
.reminder-card{
  background:var(--paper);border:1px solid var(--line-gold);border-radius:18px;
  padding:42px 36px;text-align:center;max-width:820px;margin:0 auto;
}
.reminder-tag{
  display:inline-block;font-size:11px;font-weight:700;letter-spacing:.2em;
  color:var(--green-deep);background:rgba(211,172,76,.18);border-radius:999px;
  padding:7px 16px;margin-bottom:24px;
}
.reminder-ar{font-family:'Amiri',serif;direction:rtl;
  font-size:clamp(24px,3.4vw,31px);line-height:2;color:var(--green-deep);margin-bottom:12px}
.reminder-en{font-family:'EB Garamond',serif;font-style:italic;font-size:20px;
  color:var(--text);margin-bottom:16px}
.reminder-src{font-size:12px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;
  color:var(--gold-strong)}

/* ============ Routes (Start here) ============ */
.routes-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.route{
  background:var(--paper-2);border:1px solid var(--line);border-radius:16px;
  padding:32px 30px;display:flex;flex-direction:column;
  transition:transform .3s ease,border-color .3s ease,box-shadow .3s ease;
}
.route:hover{transform:translateY(-4px);border-color:var(--line-gold);
  box-shadow:0 14px 30px rgba(5,43,35,.07)}
.route-tag{
  width:46px;height:46px;border-radius:23px 23px 8px 8px;
  background:var(--green);color:var(--gold);
  font-family:'EB Garamond',serif;font-weight:600;font-size:20px;
  display:flex;align-items:center;justify-content:center;margin-bottom:20px;
}
.route h3{font-family:'EB Garamond',serif;font-weight:600;font-size:23px;
  color:var(--green-deep);margin-bottom:20px}
.route-steps{list-style:none;margin-bottom:26px}
.route-steps li{position:relative;padding:0 0 18px 26px;font-size:15px;line-height:1.6;color:var(--muted)}
.route-steps li::before{content:"";position:absolute;left:6px;top:8px;width:7px;height:7px;
  background:var(--gold);transform:rotate(45deg)}
.route-steps li::after{content:"";position:absolute;left:9px;top:22px;bottom:0;
  border-left:2px dotted var(--line-gold)}
.route-steps li:last-child{padding-bottom:0}
.route-steps li:last-child::after{display:none}
.route .platform-link{margin-top:auto;align-self:flex-start}

/* ============ FAQ ============ */
.faq-list{max-width:820px;margin:0 auto;border-top:1px solid var(--line)}
.faq{border-bottom:1px solid var(--line)}
.faq summary{
  list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;
  gap:20px;padding:24px 4px;
  font-family:'EB Garamond',serif;font-weight:600;font-size:21px;color:var(--green-deep);
}
.faq summary::-webkit-details-marker{display:none}
.faq-plus{flex:none;width:22px;height:22px;position:relative}
.faq-plus::before,.faq-plus::after{content:"";position:absolute;left:50%;top:50%;
  transform:translate(-50%,-50%);background:var(--gold-strong)}
.faq-plus::before{width:14px;height:2px}
.faq-plus::after{width:2px;height:14px;transition:transform .3s ease}
.faq[open] .faq-plus::after{transform:translate(-50%,-50%) rotate(90deg)}
.faq p{padding:0 34px 26px 4px;font-size:16px;line-height:1.8;color:var(--muted)}

/* ============ Reveal animation ============ */
.reveal{opacity:0;transform:translateY(20px);transition:opacity .7s ease,transform .7s ease}
.reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  .reveal{opacity:1;transform:none;transition:none}
  .btn,.pillar,.platform,.value,.wp-star svg,.social,.route,.to-top,.faq-plus::after{transition:none}
  .here-marker::before{animation:none}
}

/* ============ Responsive ============ */
@media (max-width:980px){
  .about-grid{grid-template-columns:1fr;gap:48px}
  .map-frame{max-width:460px;margin:0 auto}
  .values-grid{grid-template-columns:repeat(2,1fr)}
  .platform-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .featured-platform{flex-direction:column;align-items:flex-start;gap:20px}
  .today-grid{grid-template-columns:1fr}
  .routes-grid{grid-template-columns:1fr}
  .pt-grid{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:1020px){
  .menu-btn{display:block}
  .nav-links{
    position:fixed;top:0;right:0;height:100dvh;width:min(320px,82vw);
    background:var(--ink-deep);flex-direction:column;align-items:flex-start;
    gap:26px;padding:110px 34px 40px;
    border-left:1px solid rgba(211,172,76,.2);
    transform:translateX(105%);transition:transform .35s ease;
    box-shadow:-20px 0 50px rgba(0,0,0,.35);
  }
  .nav-links.open{transform:translateX(0)}
  .nav-links a{font-size:17px}
  .nav-cta{margin-top:8px}
}
@media (max-width:640px){
  .section{padding:80px 0}
  .stats-grid{grid-template-columns:repeat(2,1fr);gap:26px 0}
  .stat:nth-child(3){border-left:0}
  .pillars{grid-template-columns:1fr}
  .platform-grid{grid-template-columns:1fr}
  .values-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr;gap:38px}
  .featured-platform{padding:30px 26px}
  .hero{padding-top:calc(var(--header-h) + 48px)}
  .today-card{padding:24px 22px}
  .reminder-card{padding:34px 22px}
  .pt-grid{gap:8px}
  .faq summary{font-size:19px}
  .horizon-grid{grid-template-columns:1fr}
  .dua-card{padding:32px 22px 26px}
}

/* ============ Jumu'ah banner ============ */
.jumuah{
  display:inline-flex;align-items:center;gap:14px;
  background:rgba(211,172,76,.14);border:1px solid var(--line-gold);border-radius:999px;
  padding:10px 20px;margin-bottom:30px;
  font-size:14px;font-weight:500;color:var(--gold-soft);
}
.jumuah button{background:none;border:0;color:var(--gold);font-size:18px;line-height:1;cursor:pointer;padding:0 2px}

/* ============ On the horizon ============ */
.horizon-wrap{margin-top:30px}
.horizon-label{text-align:center;font-size:11px;font-weight:700;letter-spacing:.2em;color:var(--green);margin-bottom:16px}
.horizon-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;max-width:820px;margin:0 auto}
.horizon{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:20px;text-align:center}
.horizon-days{font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--gold-strong);margin-bottom:6px}
.horizon-name{font-family:'EB Garamond',serif;font-weight:600;font-size:20px;color:var(--green-deep)}
.horizon-date{font-size:13px;color:var(--muted);margin-top:4px}
.horizon-note{text-align:center;font-size:12px;color:var(--muted);margin-top:14px}
.duas-cta{text-align:center;margin-top:30px}

/* ============ Inner page hero ============ */
.page-hero{
  position:relative;background:linear-gradient(180deg,var(--ink-deep),var(--ink));
  color:var(--paper);text-align:center;
  padding:calc(var(--header-h) + 68px) 24px 68px;overflow:hidden;
}
.page-hero::before{content:"";position:absolute;inset:0;background-image:var(--khatam)}
.page-hero-inner{position:relative;max-width:780px;margin:0 auto}
.page-hero .wp-eyebrow{color:var(--gold)}
.page-hero h1{font-family:'EB Garamond',serif;font-weight:600;font-size:clamp(36px,5vw,56px);margin-bottom:22px}
.page-hero .ar{font-size:clamp(22px,3.4vw,30px);line-height:1.95;color:var(--gold);margin-bottom:8px}
.page-hero-sub{font-family:'EB Garamond',serif;font-style:italic;font-size:18px;color:rgba(250,246,236,.78)}

/* ============ Du'a cards ============ */
.dua-cat{
  font-size:12px;font-weight:700;letter-spacing:.22em;color:var(--green);
  text-align:center;margin:66px 0 28px;
}
.dua-cat:first-of-type{margin-top:0}
.dua-card{
  position:relative;background:var(--paper);border:1px solid var(--line);border-radius:16px;
  padding:36px 34px 30px;max-width:860px;margin:0 auto 22px;
}
.dua-card .ar{font-size:clamp(21px,3vw,27px);line-height:2.05;color:var(--green-deep);margin-bottom:16px}
.dua-translit{font-family:'EB Garamond',serif;font-style:italic;font-size:17px;line-height:1.75;color:var(--muted);margin-bottom:14px}
.dua-en{font-size:16.5px;line-height:1.75;color:var(--text);margin-bottom:16px}
.dua-src{font-size:11.5px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--gold-strong)}
.copy-btn{
  position:absolute;top:-14px;right:22px;
  background:var(--paper);border:1px solid var(--line);border-radius:8px;
  padding:6px 14px;font-family:'Figtree',sans-serif;font-size:12px;font-weight:600;
  color:var(--green-deep);cursor:pointer;
  transition:border-color .25s ease,background .25s ease;
}
.copy-btn:hover{border-color:var(--line-gold)}
.copy-btn.done{background:rgba(211,172,76,.22);border-color:var(--line-gold)}

/* ============ 404 ============ */
.err-wrap{
  min-height:100svh;display:flex;align-items:center;justify-content:center;text-align:center;
  background:linear-gradient(180deg,var(--ink-deep),var(--ink));color:var(--paper);
  padding:40px 24px;position:relative;overflow:hidden;
}
.err-wrap::before{content:"";position:absolute;inset:0;background-image:var(--khatam)}
.err-inner{position:relative;max-width:560px}
.err-code{font-family:'EB Garamond',serif;font-weight:600;font-size:clamp(80px,14vw,128px);color:var(--gold);line-height:1}
.err-inner h1{font-family:'EB Garamond',serif;font-weight:600;font-size:clamp(26px,4vw,38px);margin:12px 0 16px}
.err-inner p{color:rgba(250,246,236,.8);margin-bottom:32px;line-height:1.8}
