/* Guided Umrah — landing site.
   Dark emerald and gold, glass, slow light. Every animation stops for
   prefers-reduced-motion. No frameworks, fonts are self-hosted. */

@font-face { font-family: 'Jakarta'; src: url(fonts/jakarta.woff2) format('woff2'); font-weight: 400 800; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url(fonts/instrument-serif.woff2) format('woff2'); font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url(fonts/instrument-serif-italic.woff2) format('woff2'); font-style: italic; font-display: swap; }
@font-face { font-family: 'Amiri'; src: url(fonts/amiri-arabic.woff2) format('woff2'); font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }

:root {
  --ink: #050a07;
  --ink-2: #09120d;
  --ink-3: #0f1c15;
  --cream: #f3efe4;
  --muted: rgba(243, 239, 228, .64);
  --faint: rgba(243, 239, 228, .42);
  --line: rgba(243, 239, 228, .09);
  --line-2: rgba(243, 239, 228, .16);
  --emerald: #34d399;
  --emerald-2: #1fbf7a;
  --emerald-deep: #0e6a44;
  --mint: #7cf0b6;
  --gold: #e3b866;
  --gold-2: #f6dca0;
  --glass: rgba(18, 32, 25, .55);
  --radius: 28px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --sans: 'Jakarta', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', 'Nirmala UI', sans-serif;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --page: min(1180px, 100% - 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--emerald); color: var(--ink); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 8px; }

.skip { position: absolute; left: -999px; top: 12px; z-index: 100; background: var(--cream); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ─────────── Living background ─────────── */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.aurora .a1 { width: 60vmax; height: 60vmax; left: -18vmax; top: -22vmax; background: radial-gradient(circle, #0f7a4c 0%, transparent 65%); animation: drift1 26s var(--ease) infinite alternate; }
.aurora .a2 { width: 50vmax; height: 50vmax; right: -16vmax; top: 18vh; background: radial-gradient(circle, #6b5320 0%, transparent 62%); opacity: .38; animation: drift2 32s var(--ease) infinite alternate; }
.aurora .a3 { width: 46vmax; height: 46vmax; left: 20vw; bottom: -30vmax; background: radial-gradient(circle, #0c5a5a 0%, transparent 65%); opacity: .35; animation: drift3 38s var(--ease) infinite alternate; }
@keyframes drift1 { to { transform: translate(14vmax, 10vmax) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-12vmax, 14vmax) scale(.9); } }
@keyframes drift3 { to { transform: translate(-10vmax, -12vmax) scale(1.1); } }

.grain {
  position: fixed; inset: -50%; z-index: -1; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 33% { transform: translate(-3%, 2%); } 66% { transform: translate(2%, -3%); } 100% { transform: translate(0, 0); } }

.cursor-glow {
  position: fixed; z-index: -1; width: 520px; height: 520px; left: 0; top: 0; pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 211, 153, .13), transparent 62%);
  transform: translate3d(var(--cx, -999px), var(--cy, -999px), 0) translate(-50%, -50%);
  transition: opacity .4s;
}
@media (hover: none) { .cursor-glow { display: none; } }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); background: linear-gradient(90deg, var(--emerald), var(--gold)); }

/* ─────────── Type ─────────── */
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.gold-text {
  background: linear-gradient(100deg, var(--gold-2) 0%, var(--gold) 35%, #fff4d6 50%, var(--gold) 65%, var(--gold-2) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 7s linear infinite;
}
@keyframes sheen { to { background-position: -220% 0; } }
.display { font-size: clamp(46px, 7vw, 100px); line-height: .98; letter-spacing: -.035em; font-weight: 800; margin: 0 0 22px; }
.display .line { display: block; }
.display .serif { font-size: .96em; letter-spacing: -.015em; padding-right: .08em; }
@media (min-width: 981px) { .display .serif { white-space: nowrap; } }
.display-sm { font-size: clamp(40px, 6vw, 80px); line-height: 1; letter-spacing: -.04em; font-weight: 800; margin: 18px 0 14px; }
.h2 { font-size: clamp(34px, 4.6vw, 62px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; margin: 0; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 34em; margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .18em; font-size: 12.5px; font-weight: 700; color: var(--mint); margin: 0 0 18px; }
.eyebrow::before { content: ''; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.tiny { font-size: 13px; color: var(--faint); }
.center { text-align: center; justify-content: center; }

/* ─────────── Buttons ─────────── */
.btn {
  --bg: rgba(243, 239, 228, .06);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--bg); color: var(--cream); font: 700 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .5s var(--ease-spring), background .3s, border-color .3s, box-shadow .4s;
  -webkit-tap-highlight-color: transparent; isolation: isolate; overflow: hidden;
}
.btn:hover { border-color: rgba(243, 239, 228, .3); }
.btn:active { transform: scale(.97); }
.btn-primary {
  background: linear-gradient(135deg, #3ee0a2 0%, #16a86a 55%, #0e7a4d 100%);
  border-color: transparent; color: #03140b;
  box-shadow: 0 10px 40px -10px rgba(52, 211, 153, .65), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 16px 60px -12px rgba(52, 211, 153, .85), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn-arrow { display: inline-block; transition: transform .45s var(--ease-spring); }
.btn:hover .btn-arrow { transform: translateX(5px); }
.btn-small { white-space: nowrap; min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn-glow { background: rgba(52, 211, 153, .12); border-color: rgba(52, 211, 153, .35); color: var(--mint); }
.btn-glow:hover { background: rgba(52, 211, 153, .2); }
.btn-ghost { background: transparent; }
.btn-wide { width: 100%; }
.btn-text { background: none; border: 0; color: var(--muted); font: 600 14px var(--sans); cursor: pointer; padding: 10px; text-decoration: underline; text-underline-offset: 4px; }
.btn-text:hover { color: var(--cream); }
.link-arrow { display: inline-flex; gap: 8px; color: var(--mint); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(124, 240, 182, .35); padding-bottom: 3px; }
.link-arrow:hover { border-color: var(--mint); }

.store-badge {
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 20px 0 16px;
  border-radius: 16px; border: 1px dashed var(--line-2); color: var(--muted); font-weight: 700; line-height: 1.1;
}
.store-badge svg { width: 24px; height: 24px; fill: currentColor; opacity: .85; }
.store-badge small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--faint); }

/* ─────────── Nav ─────────── */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 50; transform: translateX(-50%);
  width: min(1180px, calc(100% - 24px)); display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 16px; border-radius: 999px; border: 1px solid transparent;
  transition: background .4s, border-color .4s, backdrop-filter .4s, padding .4s;
}
.nav.is-scrolled { background: rgba(9, 18, 13, .62); border-color: var(--line); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
.brand { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; text-decoration: none; font-size: 17px; }
.brand img { border-radius: 10px; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 9px 14px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 600; transition: color .25s, background .25s; }
.nav-links a:hover, .nav-links a.is-active { color: var(--cream); background: rgba(243, 239, 228, .07); }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ─────────── Sections ─────────── */
main > section { width: var(--page); margin: 0 auto; }
.section-head { margin-bottom: 56px; }
.section-head .lead { margin-top: 18px; }

/* ─────────── Hero ─────────── */
.hero {
  min-height: 100svh; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px;
  padding: 130px 0 70px;
}
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 8px 16px 8px 12px;
  border-radius: 999px; border: 1px solid var(--line-2); background: rgba(243, 239, 228, .04);
  font-size: 14px; font-weight: 600; color: var(--muted);
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 34px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 30px 0 0; color: var(--faint); font-size: 14px; font-weight: 600; }
.trust li::before { content: '✓'; color: var(--emerald); margin-right: 8px; }

.hero-visual { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 600px; width: 100%; justify-self: center; }
.tawaf-orbit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ring { fill: none; }
.ring-outer { stroke: rgba(243, 239, 228, .06); stroke-width: 1; }
.ring-dash { stroke: url(#ringGrad); stroke-width: 2; stroke-dasharray: 2 14; stroke-linecap: round; opacity: .55; transform-origin: 300px 300px; animation: spin-ccw 60s linear infinite; }
.ring-inner { stroke: rgba(52, 211, 153, .12); stroke-width: 1; }
.orbit { transform-origin: 300px 300px; animation: spin-ccw 14s linear infinite; }
.orbit-slow { animation-duration: 40s; }
@keyframes spin-ccw { to { transform: rotate(-360deg); } }

.phone {
  position: relative; width: min(300px, 62%); aspect-ratio: 390 / 830; border-radius: 46px; padding: 11px;
  background: linear-gradient(145deg, #2b3a32, #0b120e 40%, #1b2620);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 50px 120px -30px rgba(0, 0, 0, .9), 0 30px 80px -40px rgba(52, 211, 153, .45), inset 0 0 0 1px rgba(255, 255, 255, .05);
  transform-style: preserve-3d; transition: transform .8s var(--ease);
}
.phone::before { content: ''; position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 76px; height: 18px; border-radius: 20px; background: #000; z-index: 2; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #0e1311; border-top: 26px solid #35b27a; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero .phone { animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -14px; } }

.float-chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 18px;
  background: var(--glass); border: 1px solid var(--line-2); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8); font-size: 14.5px; font-weight: 600; white-space: nowrap;
  transition: transform .6s var(--ease);
}
.float-chip b { color: var(--mint); }
.c1 { top: 16%; left: 0; font-size: 18px; }
.c1 b { font-size: 26px; letter-spacing: -.03em; }
.c1 span { color: var(--muted); }
.c2 { bottom: 20%; right: -2%; }
.c3 { bottom: 6%; left: 8%; }
.ok-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 12px var(--emerald); }

/* ─────────── Marquee ─────────── */
.marquee { width: 100% !important; overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; margin: 10px 0 140px !important; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee li { font-size: clamp(22px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.02em; padding: 0 28px; color: rgba(243, 239, 228, .78); white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee li::after { content: '✦'; font-size: .5em; color: var(--gold); opacity: .7; }
.marquee li.gold { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ─────────── Story ─────────── */
.story { padding-bottom: 120px; }
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; }
.story-stage { position: sticky; top: 12vh; height: 76vh; display: grid; place-items: center; }
.phone-story { width: min(320px, 80%); }
.story-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform 1s var(--ease); }
.story-img.is-on { opacity: 1; transform: none; }
.story-dots { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
.story-dots li { width: 8px; height: 8px; border-radius: 99px; background: var(--line-2); transition: height .5s var(--ease-spring), background .4s; }
.story-dots li.is-on { height: 32px; background: linear-gradient(var(--emerald), var(--gold)); }
.story-steps { list-style: none; margin: 0; padding: 0; }
.story-step { min-height: 76vh; display: flex; flex-direction: column; justify-content: center; padding: 20px 0; opacity: .28; transition: opacity .6s var(--ease); }
.story-step.is-on { opacity: 1; }
.story-inline { display: none; width: min(240px, 66%); margin: 0 0 26px; }
.story-inline .phone-screen img { height: 100%; object-fit: cover; object-position: top; }
.step-no { font-family: var(--serif); font-style: italic; font-size: 64px; line-height: 1; color: var(--gold); opacity: .9; }
.story-step h3 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.06; letter-spacing: -.03em; margin: 18px 0 16px; }
.story-step p { font-size: 18.5px; color: var(--muted); max-width: 30em; margin: 0; }

/* ─────────── Counter demo ─────────── */
.counter-demo { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; padding: 60px 0 160px; }
.counter-demo .lead { margin-top: 18px; }
.counter-demo .tiny { margin-top: 16px; }
.demo-card {
  position: relative; display: grid; justify-items: center; gap: 22px; padding: 38px 32px 26px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(25, 45, 35, .7), rgba(9, 18, 13, .7)); border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.demo-ring { position: relative; width: 220px; height: 220px; }
.demo-ring svg { width: 100%; height: 100%; transform: rotate(-90deg) scaleY(-1); } /* starts at the top, fills anticlockwise like Tawaf */
.demo-ring circle { fill: none; stroke-width: 10; stroke-linecap: round; }
.demo-ring .track { stroke: rgba(243, 239, 228, .07); }
.demo-ring .fill { stroke: var(--emerald); stroke-dasharray: var(--done, 0) 7; transition: stroke-dasharray .9s var(--ease-spring), stroke .4s; filter: drop-shadow(0 0 10px rgba(52, 211, 153, .6)); }
.demo-card.is-final .demo-ring .fill { stroke: var(--gold); filter: drop-shadow(0 0 12px rgba(227, 184, 102, .7)); }
.demo-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1; }
.demo-num small { font-size: 15px; font-weight: 700; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; }
.demo-num strong { font-size: 84px; font-weight: 800; letter-spacing: -.05em; margin: 4px 0; display: inline-block; }
.demo-num strong.bump { animation: bump .6s var(--ease-spring); }
@keyframes bump { 0% { transform: scale(.6); opacity: 0; } 100% { transform: none; opacity: 1; } }
.demo-num span { color: var(--faint); font-weight: 700; }
.demo-card.is-done .demo-num strong { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 44px; letter-spacing: 0; color: var(--gold); }
.demo-card.is-done .demo-num span { display: none; }
.demo-dots { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0; }
.demo-dots li { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; border: 1.5px solid var(--line-2); color: var(--muted); transition: all .5s var(--ease-spring); }
.demo-dots li.is-current { border-color: var(--emerald); color: var(--cream); transform: scale(1.08); }
.demo-dots li.is-done { background: var(--emerald); border-color: var(--emerald); color: #03140b; font-size: 0; }
.demo-dots li.is-done::after { content: '✓'; font-size: 14px; }
.demo-card .btn[disabled] { opacity: .5; cursor: default; }

/* ─────────── Bento ─────────── */
.features { padding-bottom: 160px; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; padding: 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 34, 27, .78), rgba(10, 18, 14, .78)); border: 1px solid var(--line);
  transition: border-color .4s, transform .6s var(--ease);
}
.tile::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(52, 211, 153, .14), transparent 45%); }
.tile:hover { border-color: var(--line-2); transform: translateY(-4px); }
.tile:hover::before { opacity: 1; }
.tile h3 { font-size: 21px; letter-spacing: -.02em; line-height: 1.2; margin: 18px 0 8px; }
.tile p { margin: 0; color: var(--muted); font-size: 15.5px; }
.tile-icon { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; font-size: 24px; background: rgba(243, 239, 228, .06); border: 1px solid var(--line); }
.tile-xl { grid-column: span 2; grid-row: span 2; display: grid; grid-template-rows: 1fr auto; padding: 0; }
.tile-xl .tile-media { position: relative; overflow: hidden; height: 340px; padding: 28px 28px 0; display: flex; justify-content: center; mask-image: linear-gradient(#000 65%, transparent); -webkit-mask-image: linear-gradient(#000 65%, transparent); }
.tile-xl .tile-media img { width: 62%; border-radius: 26px 26px 0 0; border: 1px solid var(--line-2); border-bottom: 0; transform: translateY(6%); transition: transform 1s var(--ease); }
.tile-xl:hover .tile-media img { transform: translateY(0); }
.tile-xl .tile-body { padding: 0 28px 28px; }
.tile-wide { grid-column: span 2; }
.tile-row { display: grid; grid-template-columns: 1fr 170px; gap: 24px; align-items: center; }
.tile-shot { width: 170px; height: auto; border-radius: 18px; border: 1px solid var(--line-2); transform: rotate(4deg); transition: transform .8s var(--ease-spring); }
.tile-wide:hover .tile-shot { transform: rotate(0) scale(1.04); }

/* ─────────── Verse ─────────── */
.verse { padding: 40px 0 170px; text-align: center; }
.verse figure { margin: 0 auto; max-width: 900px; position: relative; }
.verse figure::before { content: ''; position: absolute; inset: -60px -10%; z-index: -1; background: radial-gradient(closest-side, rgba(227, 184, 102, .14), transparent); }
.verse blockquote { margin: 0; }
.arabic { font-family: 'Amiri', 'Noto Naskh Arabic', serif; font-size: clamp(48px, 8vw, 104px); line-height: 1.5; margin: 0; color: var(--gold-2); text-shadow: 0 0 60px rgba(227, 184, 102, .35); }
.translit { margin: 18px 0 0; color: var(--muted); letter-spacing: .06em; font-size: 15px; text-transform: uppercase; font-weight: 600; }
.meaning { font-size: clamp(30px, 3.6vw, 48px); margin: 18px 0 0; line-height: 1.15; }
.verse figcaption { margin-top: 26px; color: var(--faint); font-size: 14px; }

/* ─────────── Languages ─────────── */
.languages { padding-bottom: 160px; }
.lang-stage { height: clamp(90px, 13vw, 160px); display: grid; place-items: center; overflow: hidden; margin-bottom: 30px; }
.lang-word { font-size: clamp(42px, 8vw, 110px); font-weight: 800; letter-spacing: -.04em; line-height: 1.3; white-space: nowrap; background: linear-gradient(180deg, var(--cream), rgba(243, 239, 228, .45)); -webkit-background-clip: text; background-clip: text; color: transparent; transition: opacity .45s var(--ease), transform .6s var(--ease), filter .45s; }
.lang-word.is-out { opacity: 0; transform: translateY(30%); filter: blur(8px); }
.lang-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0; }
.lang-grid li { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border-radius: 20px; border: 1px solid var(--line); background: rgba(243, 239, 228, .025); cursor: default; transition: border-color .3s, background .3s, transform .5s var(--ease-spring); }
.lang-grid li:hover, .lang-grid li.is-on { border-color: rgba(52, 211, 153, .45); background: rgba(52, 211, 153, .07); transform: translateY(-3px); }
.lang-grid b { font-size: 22px; font-weight: 700; }
.lang-grid span { font-size: 13px; color: var(--faint); font-weight: 600; letter-spacing: .04em; }

/* ─────────── Privacy ─────────── */
.privacy { padding-bottom: 120px; }
.no-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.no { padding: 34px 30px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(243, 239, 228, .04), transparent); }
.no strong { display: block; font-size: clamp(56px, 6vw, 84px); line-height: .9; letter-spacing: -.05em; font-weight: 800; background: linear-gradient(180deg, var(--cream), rgba(243, 239, 228, .3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.no span { display: block; font-family: var(--serif); font-style: italic; font-size: clamp(34px, 3.4vw, 46px); color: var(--mint); line-height: 1.1; margin-top: 2px; }
.no p { color: var(--muted); margin: 14px 0 0; }

/* ─────────── Honest note ─────────── */
.note { display: flex; gap: 18px; align-items: flex-start; max-width: 860px; padding: 24px 28px; border-radius: 22px; border: 1px solid rgba(227, 184, 102, .28); background: rgba(227, 184, 102, .06); margin-bottom: 160px !important; }
.note p { margin: 0; color: var(--muted); font-size: 15.5px; }
.note-badge { flex: none; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(227, 184, 102, .4); border-radius: 999px; padding: 5px 12px; }

/* ─────────── Final ─────────── */
.final { text-align: center; padding: 40px 0 140px; display: grid; justify-items: center; }
.final .lead { margin: 0 auto; }
.final-mark { width: 110px; height: 110px; animation: spin-ccw 40s linear infinite; opacity: .95; }

/* ─────────── Footer ─────────── */
.footer { width: var(--page); margin: 0 auto; padding: 34px 0 48px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 14px 30px; align-items: center; }
.footer-brand { display: inline-flex; gap: 10px; align-items: center; font-weight: 800; }
.footer-brand img { border-radius: 8px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: flex-end; }
.footer nav a { color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.footer nav a:hover { color: var(--cream); }
.footer .tiny { grid-column: 1 / -1; margin: 0; }

/* ─────────── Reveal on scroll ─────────── */
.js .reveal { opacity: 0; transform: translateY(34px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }
.js .display .line { display: block; overflow: hidden; padding-bottom: .06em; }

/* ─────────── Responsive ─────────── */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; text-align: left; }
  .hero-visual { max-width: 460px; margin-top: 10px; }
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .story-stage { display: none; }
  .story-step { min-height: 0; opacity: 1; padding: 0 0 70px; }
  .story-inline { display: block; }
  .counter-demo { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .lang-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --page: calc(100% - 32px); --radius: 22px; }
  .hero { padding-top: 104px; gap: 20px; }
  .cta-row { gap: 10px; }
  .cta-row .btn, .store-badge { width: 100%; justify-content: center; }
  .float-chip { font-size: 12.5px; padding: 9px 12px; }
  .c1 { font-size: 15px; } .c1 b { font-size: 20px; }
  .c2 { right: 0; }
  .bento { grid-template-columns: 1fr; }
  .tile-xl, .tile-wide { grid-column: auto; grid-row: auto; }
  .tile-row { grid-template-columns: 1fr 120px; }
  .tile-shot { width: 120px; }
  .tile-xl .tile-media { height: 280px; }
  .nav .btn-small { padding: 0 14px; }
  .no-grid { grid-template-columns: 1fr; }
  .lang-grid li { padding: 16px; }
  .lang-grid b { font-size: 18px; }
  .note { flex-direction: column; gap: 12px; }
  .footer { grid-template-columns: 1fr; }
  .footer nav { justify-content: flex-start; }
  .marquee { margin-bottom: 100px !important; }
  .section-head { margin-bottom: 40px; }
}

/* ─────────── Reduced motion ─────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .story-img { transition: none; }
}
