  :root{
    --ink:#182620;
    --paper:#f6f1e4;
    --paper-2:#efe7d3;
    --emerald:#0d3d2f;
    --emerald-2:#124f3c;
    --emerald-deep:#082820;
    --gold:#c8963e;
    --gold-soft:#e4c88a;
    --rust:#a8402c;
    --rust-2:#8c3323;
    --line: rgba(24,38,32,0.12);
    --shadow: 0 18px 40px -20px rgba(8,40,32,0.35);
  }
  *{box-sizing:border-box;}
  html{scroll-behavior:smooth; overflow-x:hidden; max-width:100%;}
  body{
    margin:0;
    font-family:'Work Sans', sans-serif;
    color:var(--ink);
    background:var(--paper);
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
    max-width:100%;
  }
  h1,h2,h3,.display{
    font-family:'Amiri', serif;
    letter-spacing:0.2px;
  }
  .mono{ font-family:'IBM Plex Mono', monospace; letter-spacing:0.02em; }
  a{ color:inherit; }
  img{ max-width:100%; display:block; }

  /* ---------- Islamic geometric texture (signature motif) ---------- */
  .weave-bg{
    background-color:var(--paper);
    background-image:
      radial-gradient(circle at 0 0, transparent 9px, var(--paper) 10px),
      linear-gradient(45deg, rgba(13,61,47,0.05) 25%, transparent 25.5%, transparent 75%, rgba(13,61,47,0.05) 75.5%),
      linear-gradient(-45deg, rgba(13,61,47,0.05) 25%, transparent 25.5%, transparent 75%, rgba(13,61,47,0.05) 75.5%);
    background-size: 34px 34px, 34px 34px, 34px 34px;
  }
  .star-motif{
    position:absolute; inset:0; pointer-events:none; opacity:0.10;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='84' height='84' viewBox='0 0 84 84'><g fill='none' stroke='%23c8963e' stroke-width='1.1'><path d='M42 4 L54 24 L78 24 L60 40 L68 64 L42 50 L16 64 L24 40 L6 24 L30 24 Z'/></g></svg>");
    background-size: 84px 84px;
  }

  /* ---------- corner ornament used as recurring signature ---------- */
  .ornament{
    width:34px; height:34px;
    flex-shrink:0;
  }

  /* ---------- Top bar / nav ---------- */
  header.site-header{
    position:sticky; top:0; z-index:60;
    background:rgba(8,40,32,0.94);
    backdrop-filter:blur(6px);
    border-bottom:1px solid rgba(200,150,62,0.35);
  }
  .nav-wrap{ position:relative; }
  .nav-wrap{
    max-width:1180px; margin:0 auto; padding:14px 24px;
    display:flex; align-items:center; justify-content:space-between; gap:20px;
  }
  .brand{ display:flex; align-items:center; gap:12px; text-decoration:none; }
  .brand-mark{
    width:42px; height:42px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.25);
    overflow:hidden; flex-shrink:0;
  }
  .brand-mark img{ width:100%; height:100%; object-fit:cover; border-radius:50%; }
  .brand-text strong{ display:block; color:#f6f1e4; font-family:'Amiri',serif; font-size:17px; }
  .brand-text span{ display:block; color:var(--gold-soft); font-size:11px; letter-spacing:0.08em; text-transform:uppercase; }
  nav.main-nav{ display:flex; align-items:center; gap:26px; }
  nav.main-nav a{
    color:#e9e3d2; text-decoration:none; font-size:14.5px; font-weight:500;
    position:relative; padding:4px 0;
    display:inline-flex; align-items:center; gap:8px;
  }
  nav.main-nav a:not(.nav-cta):after{
    content:''; position:absolute; left:0; right:0; bottom:-3px; height:1px;
    background:var(--gold); transform:scaleX(0); transform-origin:left; transition:transform .3s ease;
  }
  nav.main-nav a:not(.nav-cta):hover:after{ transform:scaleX(1); }
  .nav-icon{ width:17px; height:17px; flex-shrink:0; opacity:0.9; }
  .nav-icon svg{ width:100%; height:100%; display:block; }
  .nav-cta{
    background:var(--rust); color:#fff !important; padding:9px 18px; border-radius:100px;
    font-weight:600; font-size:13.5px; box-shadow:0 6px 16px -4px rgba(168,64,44,0.6);
  }
  .menu-btn{ display:none; background:none; border:0; color:#f6f1e4; font-size:24px; cursor:pointer; }

  /* ---------- Hero ---------- */
  .hero{
    position:relative; overflow:hidden;
    background:radial-gradient(120% 140% at 15% -10%, var(--emerald-2) 0%, var(--emerald-deep) 55%, #05170f 100%);
    padding:64px 24px 0;
  }
  .hero-inner{
    max-width:1180px; margin:0 auto;
    display:grid; grid-template-columns:1.05fr 0.95fr; gap:48px; align-items:center;
    padding-bottom:56px;
  }
  .eyebrow{
    display:inline-flex; align-items:center; gap:8px;
    color:var(--gold-soft); font-size:12.5px; letter-spacing:0.14em; text-transform:uppercase;
    font-weight:600; margin-bottom:22px;
  }
  .eyebrow:before{ content:''; width:22px; height:1px; background:var(--gold-soft); }
  .hero h1{
    color:#faf6ea; font-size:clamp(32px,4.6vw,54px); line-height:1.12; font-weight:700;
    margin:0 0 20px;
  }
  .hero h1 em{ font-style:italic; color:var(--gold-soft); }
  .hero p.lead{
    color:#cfe0d6; font-size:17px; line-height:1.7; max-width:46ch; margin:0 0 30px;
  }
  .hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }
  .btn{
    display:inline-flex; align-items:center; gap:8px; text-decoration:none;
    padding:14px 26px; border-radius:100px; font-weight:700; font-size:15px;
    transition:transform .25s ease, box-shadow .25s ease;
  }
  .btn:hover{ transform:translateY(-2px); }
  .btn-primary{
    background:var(--rust); color:#fff;
    box-shadow:0 14px 30px -10px rgba(168,64,44,0.7);
  }
  .btn-primary:hover{ box-shadow:0 18px 34px -8px rgba(168,64,44,0.85); }
  .btn-ghost{
    background:transparent; color:#f6f1e4; border:1px solid rgba(246,241,228,0.35);
  }
  .btn-ghost:hover{ border-color:var(--gold-soft); color:var(--gold-soft); }

  .hero-visual{ position:relative; }
  .frame{
    position:relative; border-radius:18px; overflow:hidden;
    border:1px solid rgba(200,150,62,0.5);
    box-shadow:var(--shadow);
    aspect-ratio:4/5;
    background:#0a2b21;
  }
  .frame img{
    position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0;
    transition:opacity 1.4s ease;
  }
  .frame img.active{ opacity:1; }
  .frame-caption{
    position:absolute; left:0; right:0; bottom:0; padding:18px 20px 16px;
    background:linear-gradient(to top, rgba(5,20,15,0.88), transparent);
    color:#eee7d2; font-size:13px; z-index:3;
  }
  .frame-dots{ position:absolute; top:16px; right:16px; display:flex; gap:6px; z-index:3; }
  .frame-dots span{ width:6px; height:6px; border-radius:50%; background:rgba(255,255,255,0.4); }
  .frame-dots span.active{ background:var(--gold); }

  .stat-strip{
    position:relative; z-index:2;
    max-width:1180px; margin:-34px auto 0; padding:0 24px;
  }
  .stat-card{
    background:var(--paper); border-radius:16px; box-shadow:var(--shadow);
    display:grid; grid-template-columns:repeat(3,1fr);
    border:1px solid var(--line);
  }
  .stat-item{
    padding:24px 20px; text-align:center; border-right:1px solid var(--line);
  }
  .stat-item:last-child{ border-right:0; }
  .stat-item strong{
    display:block; font-family:'Amiri',serif; font-size:30px; color:var(--emerald);
  }
  .stat-item span{ display:block; margin-top:4px; font-size:12.5px; color:#5a6a61; text-transform:uppercase; letter-spacing:0.06em; }

  /* ---------- generic section scaffolding ---------- */
  section{ position:relative; padding:88px 24px; }
  .section-inner{ max-width:1180px; margin:0 auto; position:relative; z-index:1; }
  .kicker{
    display:flex; align-items:center; gap:10px; color:var(--rust); font-weight:700;
    font-size:12.5px; letter-spacing:0.14em; text-transform:uppercase; margin-bottom:14px;
  }
  .kicker:before{ content:''; width:28px; height:2px; background:var(--rust); border-radius:2px; }
  h2.section-title{
    font-size:clamp(26px,3.4vw,38px); font-weight:700; color:var(--emerald-deep);
    margin:0 0 18px; line-height:1.2;
  }

  /* ---------- story section ---------- */
  .story-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start; }
  .story-text p{ font-size:16px; line-height:1.85; color:#33463c; margin:0 0 18px; }
  .signature-line{
    font-family:'Amiri',serif; font-style:italic; font-size:19px; color:var(--emerald);
    border-left:3px solid var(--gold); padding-left:16px; margin:26px 0;
  }
  .gallery{
    display:grid; grid-template-columns:repeat(3,1fr); gap:10px;
  }
  .gallery a{ position:relative; border-radius:10px; overflow:hidden; aspect-ratio:1/1; display:block; }
  .gallery img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
  .gallery a:hover img{ transform:scale(1.08); }
  .gallery a:first-child{ grid-column:span 2; grid-row:span 2; aspect-ratio:auto; }

  /* ---------- transparency ---------- */
  .transparency{ background:var(--emerald-deep); color:#eee7d2; }
  .transparency .kicker{ color:var(--gold-soft); }
  .transparency .kicker:before{ background:var(--gold-soft); }
  .transparency h2.section-title{ color:#faf6ea; }
  .need-grid{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:52px; align-items:center; }
  .need-copy p{ color:#cfe0d6; line-height:1.8; font-size:15.5px; }
  .need-total{
    margin-top:22px; padding:18px 22px; border:1px solid rgba(200,150,62,0.4); border-radius:14px;
    background:rgba(246,241,228,0.05);
  }
  .need-total .amount{ font-family:'Amiri',serif; font-size:34px; color:var(--gold-soft); }
  .need-total .label{ font-size:12.5px; text-transform:uppercase; letter-spacing:0.08em; color:#a9c2b6; }

  .ledger{ background:#0f4636; border-radius:16px; padding:8px; border:1px solid rgba(200,150,62,0.3); }
  .ledger-row{
    display:grid; grid-template-columns:1fr auto; gap:14px; align-items:center;
    padding:16px 16px; border-bottom:1px dashed rgba(233,227,210,0.15);
  }
  .ledger-row:last-child{ border-bottom:0; background:rgba(200,150,62,0.12); border-radius:10px; }
  .ledger-label{ font-size:14.5px; color:#eee7d2; }
  .ledger-amount{ font-family:'IBM Plex Mono',monospace; font-size:14.5px; color:var(--gold-soft); text-align:right; white-space:nowrap; }
  .ledger-bar-track{ grid-column:1/-1; height:6px; border-radius:4px; background:rgba(233,227,210,0.12); overflow:hidden; margin-top:-8px; }
  .ledger-bar-fill{ height:100%; background:linear-gradient(90deg, var(--gold), var(--gold-soft)); border-radius:4px; }

  /* ---------- donation section ---------- */
  .donate{ background:var(--paper-2); }
  .donate-grid{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:50px; align-items:start; }
  .bank-card{
    display:flex; align-items:center; gap:16px;
    background:#fff; border:1px solid var(--line); border-left:4px solid var(--gold);
    border-radius:14px; padding:16px 18px; margin-bottom:12px;
    box-shadow:0 8px 20px -14px rgba(24,38,32,0.4);
  }
  .bank-logo{
    width:56px; height:56px; border-radius:10px; background:#fff; border:1px solid var(--line);
    display:flex; align-items:center; justify-content:center; padding:6px; flex-shrink:0;
  }
  .bank-logo img{ max-width:100%; max-height:100%; object-fit:contain; }
  .bank-info{ flex-grow:1; min-width:0; }
  .bank-name{ font-size:11.5px; text-transform:uppercase; letter-spacing:0.06em; color:#8a7a55; font-weight:700; }
  .bank-number{ font-family:'IBM Plex Mono',monospace; font-size:19px; font-weight:600; color:var(--ink); margin:2px 0; overflow-wrap:anywhere; word-break:break-word; }
  .bank-holder{ font-size:12px; color:#6b7a71; }
  .copy-btn{
    border:1px solid var(--line); background:var(--paper); color:#4c5a52; font-weight:700;
    font-size:11.5px; padding:8px 12px; border-radius:8px; cursor:pointer; white-space:nowrap;
    transition:all .25s ease;
  }
  .copy-btn:hover{ background:var(--emerald); color:#fff; border-color:var(--emerald); }
  .copy-btn.copied{ background:var(--gold); border-color:var(--gold); color:#2a1f04; }

  .ewallet-row{ display:flex; gap:10px; flex-wrap:wrap; margin:18px 0 26px; }
  .ewallet-chip{
    background:#fff; border:1px solid var(--line); border-radius:100px; padding:8px 16px;
    font-size:13px; font-weight:600; color:#3f4d45;
  }

  .qris-card{
    background:#fff; border-radius:16px; padding:22px; text-align:center;
    box-shadow:0 10px 26px -16px rgba(24,38,32,0.5); border:1px solid var(--line);
    position:sticky; top:96px;
  }
  .qris-card img{ border-radius:14px; margin:14px auto; max-width:100%; width:340px; border:2px solid var(--line); }
  .qris-note{ font-size:12.5px; color:#7d8b82; }

  .wa-btn{
    display:flex; align-items:center; justify-content:center; gap:10px;
    background:#1f9e56; color:#fff !important; text-decoration:none; font-weight:700; font-size:15.5px;
    padding:15px; border-radius:100px; margin-top:18px;
    box-shadow:0 14px 26px -12px rgba(31,158,86,0.7);
    transition:transform .25s ease;
  }
  .wa-btn:hover{ transform:translateY(-2px); }

  .social-row{ display:flex; gap:10px; margin-top:16px; }
  .social-chip{
    flex:1; text-align:center; padding:11px; border-radius:10px; font-size:13.5px; font-weight:700;
    text-decoration:none; color:#fff !important;
  }

  /* ---------- prayer / video ---------- */
  .prayer{ background:var(--emerald-deep); color:#eee7d2; text-align:center; }
  .prayer .star-motif{ opacity:0.06; }
  .video-frame{
    position:relative; width:100%; max-width:640px; margin:26px auto 0;
    aspect-ratio:16/9; border-radius:14px; overflow:hidden; border:1px solid rgba(200,150,62,0.35);
    box-shadow:var(--shadow);
  }
  .video-frame iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
  blockquote.dua{
    font-family:'Amiri',serif; font-style:italic; color:#f6f1e4; font-size:18px; line-height:1.85;
    max-width:64ch; margin:34px auto 0; padding:0;
  }
  blockquote.dua strong{ color:var(--gold-soft); font-style:normal; }

  /* ---------- footer ---------- */
  footer.site-footer{ background:#061f17; color:#a9c2b6; padding:46px 24px 26px; }
  .footer-inner{ max-width:1180px; margin:0 auto; display:flex; justify-content:space-between; gap:24px; flex-wrap:wrap; }
  .footer-inner small{ font-size:12.5px; }
  .footer-brand{ display:flex; align-items:center; gap:10px; color:#eee7d2; font-family:'Amiri',serif; }

  /* ---------- floating donate cta (mobile) ---------- */
  .float-cta{
    position:fixed; left:16px; right:16px; bottom:16px; z-index:70; display:none;
  }
  .float-cta a{
    display:flex; align-items:center; justify-content:center; gap:8px;
    background:var(--rust); color:#fff; text-decoration:none; font-weight:700; font-size:15px;
    padding:14px; border-radius:100px; box-shadow:0 14px 30px -8px rgba(168,64,44,0.65);
  }

  /* ---------- reveal on scroll ---------- */
  .reveal{ opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease; }
  .reveal.in{ opacity:1; transform:none; }

  /* ---------- responsive ---------- */
  @media (max-width: 900px){
    .hero-inner{ grid-template-columns:1fr; }
    .story-grid, .need-grid, .donate-grid{ grid-template-columns:1fr; }
    .stat-item strong{ font-size:24px; }
    nav.main-nav{
      position:absolute; top:calc(100% + 1px); left:0; right:0;
      background:var(--emerald-deep); border-bottom:1px solid rgba(200,150,62,0.35);
      flex-direction:column; align-items:stretch; padding:10px 0 26px; gap:0;
      max-height:0; overflow:hidden; opacity:0;
      transition:max-height .35s ease, opacity .3s ease;
    }
    nav.main-nav.open{ max-height:600px; opacity:1; }
    nav.main-nav a{
      width:100%; padding:20px 28px; font-size:17px; gap:16px;
      border-bottom:1px solid rgba(233,227,210,0.1);
      border-radius:0;
    }
    nav.main-nav a:not(.nav-cta):after{ display:none; }
    nav.main-nav .nav-icon{ width:22px; height:22px; color:var(--gold-soft); }
    nav.main-nav .nav-cta{
      margin:22px 28px 0; padding:16px 22px; justify-content:center; font-size:15.5px;
      border-bottom:0;
    }
    .menu-btn{ display:block; }
    .qris-card{ position:static; }
    .qris-card img{ width:100%; max-width:420px; }
    .float-cta{ display:block; }
    section{ padding:64px 18px; }
    .gallery{ grid-template-columns:repeat(2,1fr); }
    .gallery a:first-child{ grid-column:span 2; aspect-ratio:16/9; }
  }

  /* ---------- extra-small screens (down to ~300px) ---------- */
  @media (max-width: 380px){
    .nav-wrap{ padding:12px 14px; gap:10px; }
    .brand{ gap:8px; }
    .brand-mark{ width:36px; height:36px; }
    .brand-text strong{ font-size:15px; }
    .brand-text span{ font-size:9.5px; }

    section{ padding:48px 14px; }
    .hero{ padding:48px 14px 0; }
    .stat-strip{ padding:0 14px; }

    .hero h1{ font-size:26px; }
    .hero p.lead{ font-size:15px; }
    .btn{ padding:12px 20px; font-size:14px; }

    .stat-card{ grid-template-columns:1fr; }
    .stat-item{ border-right:0; border-bottom:1px solid var(--line); padding:16px; }
    .stat-item:last-child{ border-bottom:0; }
    .stat-item strong{ font-size:22px; }

    .signature-line{ font-size:16px; }

    .need-total{ padding:14px 16px; }
    .need-total .amount{ font-size:24px; word-break:break-word; }

    .ledger-row{ padding:12px 10px; }
    .ledger-label{ font-size:13px; }
    .ledger-amount{ font-size:13px; white-space:normal; }

    .bank-card{ flex-wrap:wrap; padding:14px; gap:10px; }
    .bank-logo{ width:44px; height:44px; }
    .bank-info{ flex-basis:0; }
    .bank-number{ font-size:15.5px; }
    .copy-btn{ flex-basis:100%; margin-top:6px; }

    .social-row{ flex-wrap:wrap; }
    .social-chip{ flex:1 1 45%; }

    blockquote.dua{ font-size:15.5px; }
  }
