:root {
  --ink: #132c28;
  --forest: #123b33;
  --forest-2: #0b2e28;
  --moss: #1f5548;
  --gold: #d6aa5b;
  --gold-soft: #f1dfb8;
  --cream: #f7f2e8;
  --paper: #fffdf8;
  --line: rgba(19, 44, 40, 0.14);
  --muted: #5f6f6b;
  --radius: 1rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: white; padding: .8rem 1rem; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.site-header { height: 86px; padding: 0 clamp(1rem, 5vw, 5.25rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; position: absolute; inset: 0 0 auto; z-index: 20; color: white; border-bottom: 1px solid rgba(255,255,255,.18); }
.brand { display: flex; align-items: center; gap: .8rem; min-width: max-content; }
.brand > span:last-child { display: flex; flex-direction: column; gap: .15rem; }
.brand strong { font-family: Georgia, 'Times New Roman', serif; font-size: 1.05rem; letter-spacing: .015em; }
.brand small { font-size: .67rem; opacity: .68; letter-spacing: .07em; text-transform: uppercase; }
.brand-logo { width: 52px; height: 52px; object-fit: contain; flex: 0 0 auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,.16)); }
.header-logo { width: 175px; height: 82px; object-fit: contain; object-position: left center; filter: drop-shadow(0 5px 12px rgba(0,0,0,.2)); }
.site-header nav { display: flex; gap: clamp(1rem, 2.5vw, 2.25rem); font-size: .86rem; }
.site-header nav a { opacity: .78; transition: opacity .2s ease; }
.site-header nav a:hover, .site-header nav a:focus-visible { opacity: 1; }
.header-donate { background: var(--gold); color: var(--forest-2); border-radius: 999px; padding-inline: 1.25rem; font-weight: 800; }
.header-donate svg { width: 15px; height: 15px; }

.hero-shell { min-height: 760px; padding: 144px clamp(1rem, 5vw, 5.25rem) 72px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(350px, 470px); align-items: center; gap: clamp(2rem, 6vw, 6.5rem); color: white; position: relative; overflow: hidden; background: linear-gradient(90deg, rgba(5, 31, 27, .94) 0%, rgba(7, 39, 33, .85) 43%, rgba(7, 35, 30, .64) 100%), url('mosque-hero.png') center / cover no-repeat; }
.hero-shell::before { content: ""; position: absolute; inset: 0; opacity: .1; background-image: linear-gradient(30deg, transparent 48%, var(--gold) 49%, transparent 51%), linear-gradient(-30deg, transparent 48%, var(--gold) 49%, transparent 51%); background-size: 70px 120px; mask-image: linear-gradient(to right, transparent, black); }
.hero-shell::after { content: ""; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(214,170,91,.17); border-radius: 50%; left: -220px; bottom: -280px; box-shadow: 0 0 0 74px rgba(214,170,91,.035), 0 0 0 148px rgba(214,170,91,.025); }
.hero-copy, .donation-card { position: relative; z-index: 2; }
.hero-copy { max-width: 760px; }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin: 0 0 1.25rem; color: var(--gold-soft); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { width: 30px; height: 1px; background: var(--gold); }
.eyebrow.dark { color: #87672e; }
.eyebrow.light { color: var(--gold-soft); }
.hero-copy h1, .section-heading h2, .final-cta h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-weight: 500; letter-spacing: -.035em; }
.hero-copy h1 { max-width: 720px; font-size: clamp(3.25rem, 6.3vw, 6.4rem); line-height: .96; }
.hero-intro { max-width: 655px; margin: 1.8rem 0 0; color: rgba(255,255,255,.76); font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.75; }
.hero-intro strong { color: white; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.primary-cta, .final-button { min-height: 54px; border-radius: 999px; background: var(--gold); color: var(--forest-2); padding-inline: 1.5rem; font-weight: 800; }
.primary-cta svg, .final-button svg { width: 17px; }
.text-link { padding-bottom: .25rem; border-bottom: 1px solid rgba(255,255,255,.4); font-size: .9rem; }
.hero-proof { display: flex; gap: 2.25rem; margin-top: 2.6rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.15); }
.hero-proof > div { display: flex; gap: .7rem; align-items: center; }
.hero-proof svg { width: 25px; color: var(--gold-soft); }
.hero-proof span { display: flex; flex-direction: column; gap: .2rem; }
.hero-proof strong { font-size: .8rem; }
.hero-proof small { font-size: .71rem; color: rgba(255,255,255,.56); }

.donation-card { background: rgba(255,253,248,.97); color: var(--ink); padding: clamp(1.45rem, 3vw, 2.25rem); border-radius: 24px 24px 70px 24px; box-shadow: 0 30px 80px rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.45); }
.card-kicker { display: flex; align-items: center; gap: .45rem; color: #8a6729; font-size: .72rem; text-transform: uppercase; font-weight: 900; letter-spacing: .12em; }
.card-kicker svg { width: 15px; fill: #d6aa5b; }
.donation-card h2 { margin: .55rem 0 .6rem; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }
.donation-card > p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.6; }
.amount-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .45rem; margin: 1.35rem 0 1rem; }
.amount { height: 42px; padding: 0; border-radius: .65rem; border-color: var(--line); color: var(--ink); }
.amount.active { background: var(--forest); color: white; border-color: var(--forest); }
.custom-amount { display: block; color: var(--muted); font-size: .77rem; font-weight: 700; }
.currency-input { display: flex; align-items: center; position: relative; margin-top: .45rem; }
.currency-input b { position: absolute; left: .9rem; z-index: 1; color: var(--ink); }
.currency-input input { height: 48px; padding-left: 2rem; background: white; border-color: var(--line); font-size: 1rem; font-weight: 800; }
.amount-help { display: block; margin: .4rem 0 1rem; color: var(--muted); font-size: .69rem; }
.amount-help.error { color: #a83232; }
.paypal-button { width: 100%; height: 52px; border-radius: .75rem; background: var(--forest); color: white; font-weight: 800; }
.paypal-button:disabled { background: #b8c5c2; opacity: 1; }
.connection-note { margin-top: .65rem !important; color: #8a6222 !important; font-size: .7rem !important; text-align: center; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: .4rem; margin-top: .85rem; color: var(--muted); font-size: .68rem; }
.secure-note svg { width: 14px; }

.section-pad { padding: clamp(5rem, 9vw, 8.5rem) clamp(1.2rem, 8vw, 8.5rem); }
.appeal-section { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; background: var(--paper); }
.section-heading h2, .final-cta h2 { font-size: clamp(2.7rem, 4.5vw, 5rem); line-height: 1.02; }
.appeal-copy { max-width: 660px; }
.appeal-copy > p { color: var(--muted); line-height: 1.8; }
.appeal-copy .lead { margin-top: 0; color: var(--ink); font-family: Georgia, serif; font-size: 1.35rem; line-height: 1.55; }
.quote-strip { display: flex; gap: 1.15rem; margin-top: 2rem; padding: 1.5rem; background: var(--cream); border-left: 3px solid var(--gold); }
.quote-strip > span { font-family: Georgia, serif; font-size: 3rem; line-height: .8; color: var(--gold); }
.quote-strip p { margin: 0; font-family: Georgia, serif; font-size: 1.02rem; line-height: 1.55; }
.quote-strip small { display: block; margin-top: .5rem; color: var(--muted); font-family: Arial, sans-serif; font-size: .69rem; }

.vision-section { background: #f4eee2; }
.vision-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: end; }
.vision-intro h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.7rem, 4.5vw, 5rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.02; }
.vision-pitch { max-width: 640px; }
.vision-pitch p { color: var(--muted); line-height: 1.75; }
.vision-pitch p:first-child { margin-top: 0; }
.vision-pitch strong { color: var(--ink); }
.vision-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.vision-button { min-height: 52px; border-radius: 999px; background: var(--forest); color: white; padding-inline: 1.4rem; font-weight: 800; }
.vision-button svg { width: 16px; fill: var(--gold); color: var(--gold); }
.vision-carousel { display: grid; grid-template-columns: minmax(0, 1fr) 74px; gap: 1rem; margin-top: 4rem; }
.vision-viewport { height: clamp(520px, 55vw, 760px); min-height: 0; overflow: hidden; position: relative; background: #d8d4ca; box-shadow: 0 24px 60px rgba(19,44,40,.14); }
.vision-track { width: 100%; height: 100%; display: flex; flex-direction: column; transition: transform .85s cubic-bezier(.22,.8,.22,1); will-change: transform; }
.vision-slide { width: 100%; height: 100%; flex: 0 0 100%; margin: 0; position: relative; overflow: hidden; background: #ece9e2; }
.vision-slide img { width: 100%; height: 100%; display: block; object-fit: cover; }
.vision-slide img.floor-plan-image { object-fit: contain; padding: clamp(1rem, 2vw, 2rem); background: white; }
.vision-slide::after { content: ""; position: absolute; inset: 42% 0 0; background: linear-gradient(transparent, rgba(6,30,26,.92)); pointer-events: none; }
.vision-slide.plan-slide::after { inset: 62% 0 0; }
.vision-slide figcaption { position: absolute; inset: auto 0 0; z-index: 1; display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; padding: clamp(1.25rem, 2.5vw, 2rem); color: white; }
.vision-slide figcaption span { grid-row: span 2; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; color: var(--gold-soft); font-size: .68rem; }
.vision-slide figcaption strong { align-self: end; font-family: Georgia, serif; font-size: clamp(1.25rem, 2vw, 1.8rem); font-weight: 500; }
.vision-slide figcaption small { margin-top: .25rem; color: rgba(255,255,255,.72); font-size: .75rem; }
.vision-controls { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: .8rem; padding: .7rem; border: 1px solid rgba(19,44,40,.13); background: rgba(255,255,255,.55); }
.vision-controls > button { flex: 0 0 auto; border-color: rgba(19,44,40,.18); background: white; color: var(--forest); }
.vision-controls > button:hover { background: var(--forest); color: white; }
.vision-controls svg { width: 18px; }
.vision-dots { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: .65rem; }
.vision-dots button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(19,44,40,.15); border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.vision-dots button:hover, .vision-dots button:focus-visible { border-color: var(--gold); color: var(--forest); }
.vision-dots button.active { border-color: var(--forest); background: var(--forest); color: white; transform: scale(1.08); }
.vision-dots span { font-size: .65rem; font-weight: 800; }
.future-pillars { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 1rem; border: 1px solid rgba(19,44,40,.12); background: rgba(255,255,255,.48); }
.future-pillars > div { display: flex; align-items: center; gap: .8rem; padding: 1.25rem; border-right: 1px solid rgba(19,44,40,.12); }
.future-pillars > div:last-child { border-right: 0; }
.future-pillars svg { width: 24px; color: #9c7530; flex: 0 0 auto; }
.future-pillars span { display: flex; flex-direction: column; gap: .2rem; }
.future-pillars strong { font-size: .8rem; }
.future-pillars small { color: var(--muted); font-size: .66rem; }

.plan-section { background: var(--forest-2); color: white; }
.plan-heading { display: flex; justify-content: space-between; gap: 3rem; align-items: end; }
.plan-heading > p { max-width: 500px; margin: 0 0 .4rem; color: rgba(255,255,255,.62); line-height: 1.7; }
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 4rem; }
.plan-card { position: relative; min-height: 330px; padding: 1.65rem; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.035); transition: transform .25s ease, background .25s ease; }
.plan-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.065); }
.plan-card > svg { width: 25px; color: var(--gold); margin-top: 3.1rem; }
.plan-number { position: absolute; right: 1.4rem; top: 1.2rem; color: rgba(255,255,255,.22); font-family: Georgia, serif; font-size: 1.8rem; }
.plan-card h3 { margin: 1rem 0 .65rem; font-family: Georgia, serif; font-size: 1.25rem; font-weight: 500; }
.plan-card strong { color: var(--gold-soft); font-size: 1.2rem; }
.plan-card p { color: rgba(255,255,255,.54); font-size: .78rem; line-height: 1.65; }

.copy-button { width: 100%; height: 48px; border-color: var(--forest); color: var(--forest); }
.copy-button svg { width: 15px; }

.final-cta { display: flex; align-items: center; justify-content: space-between; gap: 3rem; background: #1c5145; color: white; position: relative; overflow: hidden; }
.final-cta::after { content: ""; position: absolute; width: 320px; height: 320px; right: 7%; border: 1px solid rgba(214,170,91,.17); transform: rotate(45deg); }
.final-cta > * { position: relative; z-index: 1; }
.final-copy { max-width: 600px; margin: 1.25rem 0 0; color: rgba(255,255,255,.68); line-height: 1.7; }
.site-footer { padding: 3.5rem clamp(1.2rem, 8vw, 8.5rem) 2rem; display: grid; grid-template-columns: 1fr; justify-items: center; align-items: start; gap: 2rem; background: #071f1c; color: white; text-align: center; }
.footer-identity { display: flex; flex-direction: column; align-items: center; }
.footer-identity > p { max-width: 520px; margin: 1rem auto 0; color: rgba(255,255,255,.48); font-size: .72rem; line-height: 1.7; }
.footer-logo { width: min(340px, 80vw); height: 205px; object-fit: contain; filter: drop-shadow(0 12px 28px rgba(0,0,0,.28)); }
.footer-contact { width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: .75rem; font-style: normal; }
.footer-contact a { flex: 1 1 240px; max-width: 340px; min-height: 62px; display: flex; gap: .65rem; align-items: center; justify-content: center; padding: .75rem 1rem; border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.72); font-size: .72rem; line-height: 1.55; text-align: left; }
.footer-contact svg { width: 17px; height: 17px; color: var(--gold); flex: 0 0 auto; }
.footer-links { grid-column: 1 / -1; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: .6rem; width: 100%; }
.footer-links a { min-width: 135px; padding: .72rem .9rem; border: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.78); font-size: .72rem; text-align: center; transition: border-color .2s ease, color .2s ease; }
.footer-links a:hover, .footer-links a:focus-visible { border-color: var(--gold); color: white; }
.footer-notice { width: 100%; margin: 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.42); font-size: .67rem; line-height: 1.6; }
.copyright { white-space: nowrap; }
.site-footer .copyright { margin: 0; color: rgba(255,255,255,.42); font-size: .67rem; line-height: 1.6; }

.subpage { min-height: 100vh; background: var(--paper); }
.subpage-hero { min-height: 470px; padding: 165px clamp(1.2rem, 8vw, 8.5rem) 90px; display: flex; flex-direction: column; justify-content: flex-end; color: white; position: relative; overflow: hidden; background: linear-gradient(90deg, rgba(5,31,27,.95), rgba(8,42,35,.76)), url('mosque-hero.png') center 42% / cover no-repeat; }
.subpage-hero::after { content: ""; position: absolute; width: 380px; height: 380px; right: 9%; bottom: -250px; border: 1px solid rgba(214,170,91,.24); transform: rotate(45deg); }
.subpage-hero > * { position: relative; z-index: 1; }
.subpage-hero h1 { max-width: 900px; margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3.7rem, 7vw, 7rem); font-weight: 500; letter-spacing: -.045em; line-height: .95; }
.subpage-hero > p:last-child { max-width: 670px; margin: 1.3rem 0 0; color: rgba(255,255,255,.72); font-size: 1.05rem; line-height: 1.75; }
.legal-hero { min-height: 420px; }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 620px); gap: 7vw; align-items: start; }
.contact-details h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.7rem, 4.3vw, 4.7rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.02; }
.contact-lead { max-width: 650px; margin: 1.5rem 0 0; color: var(--muted); line-height: 1.75; }
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-top: 2.5rem; }
.contact-card { min-height: 175px; display: flex; gap: 1rem; padding: 1.25rem; background: white; border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; }
a.contact-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(19,44,40,.08); }
.contact-card > svg { width: 34px; height: 34px; padding: .45rem; border-radius: 50%; background: var(--forest); color: var(--gold-soft); flex: 0 0 auto; }
.contact-card span { min-width: 0; }
.contact-card small { display: block; margin-bottom: .38rem; color: #8a6729; font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-card strong { display: block; overflow-wrap: anywhere; font-family: Georgia, serif; font-size: 1rem; }
.contact-card p { margin: .55rem 0 0; color: var(--muted); font-size: .71rem; line-height: 1.6; }

.contact-form { padding: clamp(1.5rem, 3.5vw, 2.6rem); border-radius: 22px 22px 70px 22px; background: var(--forest-2); color: white; box-shadow: 0 24px 60px rgba(19,44,40,.2); }
.form-heading { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.8rem; }
.form-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--forest-2); }
.form-icon svg { width: 19px; }
.form-heading small { display: block; margin-bottom: .2rem; color: var(--gold-soft); font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.form-heading h2 { margin: 0; font-family: Georgia, serif; font-size: 1.8rem; font-weight: 500; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: .48rem; }
.form-field label { color: rgba(255,255,255,.8); font-size: .72rem; }
.form-field label span { color: rgba(255,255,255,.45); font-weight: 400; }
.form-field input, .form-field textarea { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.07); color: white; }
.form-field input { height: 48px; }
.form-field textarea { min-height: 160px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(255,255,255,.38); }
.form-field input:focus-visible, .form-field textarea:focus-visible { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(214,170,91,.22); }
.form-message { grid-column: 1 / -1; }
.form-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.15rem; }
.form-submit-row > p { max-width: 330px; margin: 0; color: rgba(255,255,255,.48); font-size: .64rem; line-height: 1.55; }
.form-submit-row > p a { color: var(--gold-soft); text-decoration: underline; }
.contact-submit { min-height: 50px; border-radius: 999px; background: var(--gold); color: var(--forest-2); padding-inline: 1.3rem; font-weight: 800; }
.contact-submit svg { width: 16px; }
.form-status { min-height: 1.1rem; margin: .8rem 0 0; color: var(--gold-soft); font-size: .7rem; }

.legal-content { width: min(920px, calc(100% - 2.4rem)); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) 0; }
.legal-updated { margin: 0 0 3rem; color: #8a6729; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.legal-content section { padding: 0 0 2.2rem; margin-bottom: 2.2rem; border-bottom: 1px solid var(--line); }
.legal-content section:last-child { margin-bottom: 0; }
.legal-content h2 { margin: 0 0 .8rem; font-family: Georgia, serif; font-size: clamp(1.45rem, 2.2vw, 2rem); font-weight: 500; }
.legal-content p { margin: 0; color: var(--muted); line-height: 1.85; }
.legal-content a { color: var(--forest); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }

.prayer-hero { background-position: center 35%; }
.prayer-board { background: #f5f0e6; }
.prayer-board-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; }
.prayer-board-head h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(2.8rem, 5vw, 5.2rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.prayer-location { display: flex; align-items: center; gap: .5rem; margin-top: 1rem; color: var(--muted); font-size: .76rem; }
.prayer-location svg { width: 16px; color: #8a6729; }
.next-prayer { min-width: 280px; display: flex; align-items: center; gap: .9rem; padding: 1.15rem 1.3rem; border-radius: 18px; background: var(--forest-2); color: white; box-shadow: 0 18px 40px rgba(19,44,40,.16); }
.next-prayer > svg { width: 32px; height: 32px; padding: .42rem; border-radius: 50%; background: var(--gold); color: var(--forest-2); }
.next-prayer span { display: grid; grid-template-columns: 1fr auto; column-gap: 1.2rem; align-items: center; }
.next-prayer small { grid-column: 1 / -1; color: var(--gold-soft); font-size: .61rem; letter-spacing: .11em; text-transform: uppercase; }
.next-prayer strong { font-family: Georgia, serif; font-size: 1rem; }
.next-prayer b { color: rgba(255,255,255,.58); font-size: .68rem; }
.prayer-date-row { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3.2rem; padding: .9rem 1rem; border: 1px solid var(--line); background: rgba(255,255,255,.5); color: var(--muted); font-size: .72rem; }
.prayer-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .8rem; margin-top: .8rem; }
.prayer-card { min-height: 235px; position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 1.25rem; border: 1px solid var(--line); background: white; }
.prayer-card.next { background: var(--forest); color: white; border-color: var(--forest); transform: translateY(-4px); box-shadow: 0 16px 36px rgba(19,44,40,.16); }
.prayer-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: #9b732c; }
.prayer-card.next .prayer-icon { background: var(--gold); color: var(--forest-2); }
.prayer-icon svg { width: 20px; }
.prayer-card span small { color: var(--muted); font-size: .62rem; }
.prayer-card.next span small { color: rgba(255,255,255,.6); }
.prayer-card h3 { margin: .25rem 0 0; font-family: Georgia, serif; font-size: 1.3rem; font-weight: 500; }
.prayer-card time { font-family: Georgia, serif; font-size: 2rem; font-weight: 600; color: var(--forest); }
.prayer-card.next time { color: var(--gold-soft); }
.prayer-card > b { position: absolute; top: 1rem; right: 1rem; color: var(--gold-soft); font-size: .56rem; letter-spacing: .12em; text-transform: uppercase; }
.prayer-skeleton { min-height: 235px; border-radius: 0; background: rgba(19,44,40,.09); }
.prayer-refresh-note { display: flex; align-items: center; justify-content: flex-end; gap: .45rem; margin-top: .9rem; color: var(--muted); font-size: .65rem; }
.prayer-refresh-note svg { width: 13px; }
.prayer-error { display: flex; align-items: center; gap: 1rem; margin-top: 3rem; padding: 1.3rem; border: 1px solid #d8b0a8; background: #fff8f5; }
.prayer-error > svg { width: 28px; color: #a44d39; }
.prayer-error span { flex: 1; }
.prayer-error p { margin: .2rem 0 0; color: var(--muted); font-size: .75rem; }
.prayer-disclaimer { margin-top: 2.5rem; padding: 1.1rem 1.25rem; border-left: 3px solid var(--gold); background: rgba(255,255,255,.55); color: var(--muted); font-size: .72rem; line-height: 1.7; }
.prayer-disclaimer strong { color: var(--ink); }

.donate-hero { background-position: center 48%; }
.donate-page-content { background: #f5f0e6; }
.donate-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; align-items: end; }
.donate-intro h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(2.8rem, 4.8vw, 5rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.donate-intro > p { max-width: 650px; margin: 0; color: var(--muted); line-height: 1.8; }
.donation-legacy-message { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5vw; margin-top: 3rem; padding: clamp(1.4rem, 2.6vw, 2.2rem); border-left: 4px solid var(--gold); background: #fffaf0; }
.donation-legacy-message strong { font-family: Georgia, serif; font-size: clamp(1.25rem, 2vw, 1.65rem); font-weight: 500; line-height: 1.35; }
.donation-legacy-message p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.8; }
.crowdfunder-panel { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 3rem; padding: clamp(1.4rem, 2.6vw, 2.25rem); border: 1px solid rgba(214,170,91,.5); border-radius: 22px; background: linear-gradient(115deg, var(--forest-2), #245b4e); color: white; }
.crowdfunder-copy { display: flex; align-items: center; gap: 1rem; }
.crowdfunder-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--forest-2); font-size: 1.2rem; flex: 0 0 auto; }
.crowdfunder-copy > span:last-child { display: block; }
.crowdfunder-copy small { color: var(--gold-soft); font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.crowdfunder-copy h3 { margin: .25rem 0 .4rem; font-family: Georgia, serif; font-size: clamp(1.55rem, 2.5vw, 2.15rem); font-weight: 500; }
.crowdfunder-copy p { max-width: 680px; margin: 0; color: rgba(255,255,255,.68); font-size: .79rem; line-height: 1.65; }
.crowdfunder-button { flex: 0 0 auto; min-height: 52px; border-radius: 999px; padding-inline: 1.4rem; background: var(--gold); color: var(--forest-2); font-weight: 900; }
.crowdfunder-button:hover { background: var(--gold-soft); color: var(--forest-2); }
.donate-methods { display: grid; grid-template-columns: minmax(0, 820px); gap: 1rem; margin-top: 1rem; }
.paypal-panel { width: 100%; padding: clamp(1.5rem, 3vw, 2.5rem); background: white; border: 1px solid var(--line); border-radius: 22px 22px 75px 22px; }
.donate-panel-head { display: flex; align-items: center; gap: .9rem; }
.donate-panel-head > svg { width: 44px; height: 44px; padding: .55rem; border-radius: 50%; background: var(--forest); color: var(--gold-soft); }
.donate-panel-head small { color: #8a6729; font-size: .61rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.donate-panel-head h3 { margin: .2rem 0 0; font-family: Georgia, serif; font-size: 1.8rem; font-weight: 500; }
.paypal-panel > p { color: var(--muted); line-height: 1.7; font-size: .82rem; }
.donate-amounts { display: grid; grid-template-columns: repeat(6, 1fr); gap: .45rem; margin: 1.5rem 0 1rem; }
.donate-amount { height: 44px; padding: 0; border-color: var(--line); color: var(--ink); }
.donate-amount.selected { background: var(--forest); color: white; border-color: var(--forest); }
.donate-custom { display: block; color: var(--muted); font-size: .75rem; font-weight: 700; }
.donate-custom .currency-input { margin-top: .45rem; }
.paypal-donate-button { width: 100%; min-height: 54px; border-radius: .75rem; background: #0874d1; color: white; font-weight: 800; }
.paypal-donate-button:hover { background: #0764b5; color: white; }
.paypal-donate-button:disabled { background: #b8c5c2; opacity: 1; }
.donation-impact { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 1rem; padding: 1.3rem 1.5rem; background: #e7dac1; }
.donation-impact > div { display: flex; align-items: center; gap: .8rem; }
.donation-impact svg { width: 28px; color: var(--forest); }
.donation-impact span { display: flex; flex-direction: column; gap: .2rem; }
.donation-impact strong { font-family: Georgia, serif; font-size: 1.1rem; }
.donation-impact small { color: var(--muted); font-size: .68rem; }
.donation-impact > a { color: var(--forest); font-size: .74rem; font-weight: 800; text-decoration: underline; text-underline-offset: .2rem; }

.islam-hero { background-position: center 40%; }
.islam-contents { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; padding: 1rem clamp(1.2rem, 8vw, 8.5rem); background: #eadfc9; }
.islam-contents a { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.2rem; border: 1px solid rgba(19,44,40,.12); background: rgba(255,255,255,.45); }
.islam-contents svg { width: 24px; color: #8a6729; }
.islam-contents span { display: flex; flex-direction: column; gap: .18rem; }
.islam-contents strong { font-family: Georgia, serif; font-size: .95rem; }
.islam-contents small { color: var(--muted); font-size: .64rem; }
.islam-content { background: var(--paper); }
.islam-section { padding: clamp(5rem, 9vw, 8rem) clamp(1.2rem, 8vw, 8.5rem); }
.islam-section-heading { display: grid; grid-template-columns: .9fr 1.1fr; gap: 7vw; align-items: end; margin-bottom: 3.5rem; }
.islam-section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -1.2rem; }
.islam-section-heading h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(2.8rem, 5vw, 5.2rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.islam-section-heading > p:last-child { margin: 0; color: var(--muted); line-height: 1.8; }
.belief-list { border-top: 1px solid var(--line); }
.belief-item { display: grid; grid-template-columns: 90px 1fr; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.belief-item > span { color: #a47a2e; font-family: Georgia, serif; font-size: 1.3rem; }
.belief-item h3 { margin: 0 0 .75rem; font-family: Georgia, serif; font-size: clamp(1.35rem, 2.2vw, 2rem); font-weight: 500; }
.belief-item p { max-width: 950px; margin: 0; color: var(--muted); line-height: 1.85; }
.dark-section { background: var(--forest-2); color: white; }
.dark-section .islam-section-heading > p:last-child, .dark-section .belief-item p { color: rgba(255,255,255,.6); }
.dark-section .belief-list, .dark-section .belief-item { border-color: rgba(255,255,255,.12); }
.dark-section .belief-item > span { color: var(--gold); }
.guidance-section { background: #f1e8d8; }
.guidance-section .islam-section-heading { grid-template-columns: 1fr; }
.guidance-copy { max-width: 960px; margin-left: auto; }
.guidance-copy p { margin: 0; padding: 1.5rem 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 1.02rem; line-height: 1.9; }

.services-hero { min-height: 600px; background-position: center 34%; }
.service-hero-facts { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.service-hero-facts span { min-width: 165px; display: flex; flex-direction: column; gap: .2rem; padding: .85rem 1rem; border: 1px solid rgba(255,255,255,.2); background: rgba(7,31,28,.38); backdrop-filter: blur(8px); }
.service-hero-facts strong { color: var(--gold-soft); font-family: Georgia, serif; font-size: 1.25rem; font-weight: 500; }
.service-hero-facts small { color: rgba(255,255,255,.65); font-size: .65rem; letter-spacing: .06em; text-transform: uppercase; }
.services-intro { display: grid; grid-template-columns: .95fr 1.05fr; gap: 8vw; align-items: start; background: var(--paper); }
.services-intro h2, .services-section-heading h2, .documents-panel h2, .attendance-panel h2, .service-final-cta h2 { margin: 0; font-family: Georgia, serif; font-weight: 500; letter-spacing: -.035em; }
.services-intro h2 { max-width: 660px; font-size: clamp(2.8rem, 5vw, 5.2rem); line-height: 1.02; }
.services-intro-copy { max-width: 690px; }
.services-intro-copy p { margin: 0 0 1rem; color: var(--muted); font-size: 1rem; line-height: 1.85; }
.service-enquiry-button { min-height: 52px; margin-top: 1rem; border-radius: 999px; background: var(--forest); color: white; padding-inline: 1.4rem; font-weight: 800; }
.service-enquiry-button svg { width: 16px; color: var(--gold-soft); }
.marriage-process { background: var(--forest-2); color: white; }
.services-section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 7vw; align-items: end; }
.services-section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: .25rem; }
.services-section-heading h2 { font-size: clamp(2.8rem, 5vw, 5.2rem); line-height: 1; }
.services-section-heading > p:last-child { max-width: 520px; margin: 0 0 .3rem; color: rgba(255,255,255,.6); line-height: 1.75; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 4rem 0 0; padding: 0; list-style: none; counter-reset: none; }
.process-card { min-height: 390px; position: relative; padding: 1.5rem; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.035); }
.process-number { position: absolute; top: 1.3rem; right: 1.3rem; color: rgba(255,255,255,.25); font-family: Georgia, serif; font-size: 1.5rem; }
.process-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--forest-2); }
.process-icon svg { width: 21px; }
.process-card h3 { margin: 2.2rem 0 .9rem; color: var(--gold-soft); font-family: Georgia, serif; font-size: 1.35rem; font-weight: 500; line-height: 1.25; }
.process-card p { margin: 0; color: rgba(255,255,255,.6); font-size: .78rem; line-height: 1.75; }
.ceremony-details { display: grid; grid-template-columns: 1.05fr .95fr; gap: 1rem; background: #f4eee2; }
.documents-panel { padding: clamp(1.5rem, 4vw, 3.2rem); background: white; border: 1px solid var(--line); }
.detail-panel-heading { display: flex; align-items: center; gap: 1rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.detail-panel-heading > svg { width: 48px; height: 48px; padding: .65rem; border-radius: 50%; background: var(--forest); color: var(--gold-soft); flex: 0 0 auto; }
.detail-panel-heading small { display: block; margin-bottom: .3rem; color: #8a6729; font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.documents-panel h2 { font-size: clamp(2rem, 3vw, 3rem); }
.documents-panel > p { color: var(--muted); line-height: 1.7; }
.documents-panel ul { display: grid; gap: .6rem; margin: 1.4rem 0; padding: 0; list-style: none; }
.documents-panel li { display: flex; align-items: center; gap: .7rem; padding: .85rem; background: var(--cream); color: var(--ink); font-size: .78rem; }
.documents-panel li svg { width: 17px; color: #9b732c; flex: 0 0 auto; }
.confirmation-note { margin: 1.5rem 0 0; padding: 1rem 1.1rem; border-left: 3px solid var(--gold); background: #f1e8d8; font-size: .76rem; }
.ceremony-side-panels { display: grid; grid-template-rows: auto 1fr; gap: 1rem; }
.attendance-panel, .important-panel { position: relative; overflow: hidden; padding: clamp(1.5rem, 4vw, 3.2rem); }
.attendance-panel { background: #e7dac1; }
.attendance-panel > svg, .important-panel > svg { position: absolute; right: 2rem; top: 2rem; width: 62px; height: 62px; opacity: .14; }
.attendance-panel h2 { font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1; }
.attendance-panel > p:last-child { max-width: 640px; margin: 1.2rem 0 0; color: var(--muted); line-height: 1.8; }
.important-panel { background: #1c5145; color: white; }
.important-panel ul { display: grid; gap: .85rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.important-panel li { position: relative; padding-left: 1.2rem; color: rgba(255,255,255,.7); font-size: .8rem; line-height: 1.65; }
.important-panel li::before { content: ""; position: absolute; left: 0; top: .6rem; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.service-final-cta { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; background: #0b2e28; color: white; }
.service-final-cta > svg { width: 58px; height: 58px; padding: .75rem; border-radius: 50%; background: var(--gold); color: var(--forest-2); }
.service-final-cta .eyebrow { margin-bottom: .7rem; }
.service-final-cta h2 { font-size: clamp(2rem, 3.8vw, 3.8rem); line-height: 1.05; }
.service-final-cta p:last-child { max-width: 700px; margin: .8rem 0 0; color: rgba(255,255,255,.6); line-height: 1.7; }

@media (max-width: 1050px) {
  .site-header nav { display: none; }
  .hero-shell { grid-template-columns: 1fr minmax(330px, 410px); gap: 2rem; }
  .hero-copy h1 { font-size: clamp(3.5rem, 6.4vw, 5rem); }
  .future-pillars { grid-template-columns: repeat(2, 1fr); }
  .future-pillars > div:nth-child(2) { border-right: 0; }
  .future-pillars > div:nth-child(-n+2) { border-bottom: 1px solid rgba(19,44,40,.12); }
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .prayer-grid { grid-template-columns: repeat(3, 1fr); }
  .donate-amounts { grid-template-columns: repeat(3, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { grid-column: 1 / -1; }
}

@media (max-width: 800px) {
  .site-header { height: 76px; }
  .header-donate { display: none; }
  .hero-shell { min-height: auto; padding-top: 118px; grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: clamp(3.5rem, 13vw, 5rem); }
  .donation-card { max-width: 560px; }
  .appeal-section, .vision-intro { grid-template-columns: 1fr; gap: 3rem; }
  .vision-carousel { grid-template-columns: 1fr; }
  .vision-controls { flex-direction: row; padding: .65rem; }
  .vision-dots { flex-direction: row; }
  .plan-heading, .final-cta { align-items: flex-start; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-links { grid-column: 1 / -1; }
  .footer-contact { justify-content: center; }
  .site-footer .copyright { padding-top: 0; border-top: 0; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .prayer-board-head, .donation-impact { align-items: flex-start; flex-direction: column; }
  .donate-intro, .donate-methods, .islam-section-heading { grid-template-columns: 1fr; gap: 2rem; }
  .services-intro, .services-section-heading, .ceremony-details { grid-template-columns: 1fr; gap: 2rem; }
  .services-section-heading .eyebrow { grid-column: auto; }
  .service-final-cta { grid-template-columns: auto 1fr; }
  .service-final-cta .final-button { grid-column: 2; justify-self: start; }
  .islam-section-heading .eyebrow { grid-column: auto; margin-bottom: -1rem; }
  .islam-contents { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .brand small { display: none; }
  .brand strong { font-size: .92rem; }
  .brand-logo { width: 42px; height: 42px; }
  .header-logo { width: 136px; height: 72px; }
  .hero-shell { padding-inline: 1rem; }
  .hero-copy h1 { font-size: 3.35rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-proof { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .amount-grid { grid-template-columns: repeat(3, 1fr); }
  .plan-grid { grid-template-columns: 1fr; }
  .future-pillars { grid-template-columns: 1fr; }
  .future-pillars > div { border-right: 0; border-bottom: 1px solid rgba(19,44,40,.12); }
  .future-pillars > div:nth-child(2) { border-right: 0; }
  .future-pillars > div:last-child { border-bottom: 0; }
  .vision-viewport { height: 410px; }
  .vision-dots { gap: .35rem; }
  .vision-dots button { width: 28px; height: 28px; }
  .plan-card { min-height: 270px; }
  .final-cta { padding-inline: 1.2rem; }
  .subpage-hero { min-height: 420px; padding-inline: 1.2rem; }
  .contact-layout { padding-inline: 1rem; }
  .contact-cards, .form-grid { grid-template-columns: 1fr; }
  .form-message { grid-column: auto; }
  .form-submit-row { align-items: stretch; flex-direction: column; }
  .contact-submit { width: 100%; }
  .prayer-grid { grid-template-columns: repeat(2, 1fr); }
  .prayer-card, .prayer-skeleton { min-height: 205px; }
  .next-prayer { min-width: 100%; }
  .prayer-date-row { flex-direction: column; }
  .prayer-error { align-items: flex-start; flex-wrap: wrap; }
  .donate-page-content, .prayer-board, .islam-section { padding-inline: 1rem; }
  .donation-legacy-message { grid-template-columns: 1fr; gap: .8rem; }
  .crowdfunder-panel { align-items: flex-start; flex-direction: column; }
  .crowdfunder-button { width: 100%; }
  .donate-methods { grid-template-columns: 1fr; }
  .donate-amounts { grid-template-columns: repeat(3, 1fr); }
  .donation-impact { align-items: flex-start; }
  .service-hero-facts span { min-width: calc(50% - .4rem); }
  .process-grid { grid-template-columns: 1fr; }
  .process-card { min-height: 320px; }
  .service-final-cta { grid-template-columns: 1fr; }
  .service-final-cta .final-button { grid-column: auto; justify-self: start; }
  .belief-item { grid-template-columns: 45px 1fr; gap: 1rem; }
  .islam-contents { padding-inline: 1rem; }
}

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

/* Standalone PHP package additions */
img { max-width: 100%; }
.button, button.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 1px solid transparent; padding: .72rem 1.2rem; cursor: pointer; font-weight: 800; line-height: 1; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid rgba(214,170,91,.55); outline-offset: 3px; }
.icon-button { width: 42px; height: 42px; min-height: 42px; padding: 0; border-radius: .6rem; border-color: rgba(19,44,40,.2); background: white; color: var(--forest); font-size: 1.1rem; }
.site-header .menu-toggle { display: none; }
.site-header nav a.active { opacity: 1; color: var(--gold-soft); }
.donation-card input, .contact-form input, .contact-form textarea, .donate-custom input { width: 100%; border: 1px solid var(--line); border-radius: .55rem; padding: .75rem; }
.donation-card .currency-input input, .donate-custom .currency-input input { padding-left: 2rem; }
.amount-grid button, .donate-amounts button { border: 1px solid var(--line); background: white; color: var(--ink); }
.amount-grid button.active, .donate-amounts button.selected { background: var(--forest); border-color: var(--forest); color: white; }
.paypal-button { width: 100%; background: var(--forest); color: white; border-radius: .75rem; }
.vision-slide[hidden] { display: none; }
.vision-viewport { isolation: isolate; }
.vision-track.php-carousel { position: relative; }
.php-carousel .vision-slide { position: absolute; inset: 0; opacity: 0; transform: translateY(42px); transition: opacity .7s ease, transform .7s ease; pointer-events: none; }
.php-carousel .vision-slide.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.vision-controls { min-height: 100%; }
.vision-dots button { flex: 0 0 auto; }
.notice { margin: 0 0 1.5rem; padding: 1rem 1.1rem; border-left: 3px solid var(--gold); background: #fff8e8; color: var(--ink); line-height: 1.6; }
.notice.error { border-left-color: #a83232; background: #fff4f2; }
.contact-form .button { background: var(--gold); color: var(--forest-2); border-radius: 999px; }
.page-copy { color: var(--muted); line-height: 1.8; }
.prayer-loading { grid-column: 1 / -1; padding: 2rem; text-align: center; color: var(--muted); }
.footer-links a.active { color: var(--gold-soft); border-color: rgba(214,170,91,.45); }
.mobile-only { display: none; }

@media (max-width: 1050px) {
  .site-header { position: absolute; flex-wrap: wrap; height: auto; min-height: 76px; padding-block: .45rem; }
  .site-header .menu-toggle { display: inline-flex; min-height: 42px; border-radius: 999px; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: white; }
  .site-header nav { display: none; order: 3; width: 100%; padding: .8rem 0 1rem; flex-wrap: wrap; gap: .75rem 1.2rem; border-top: 1px solid rgba(255,255,255,.15); }
  .site-header.nav-open nav { display: flex; }
  .site-header nav a { min-height: 38px; display: inline-flex; align-items: center; }
}

@media (max-width: 520px) {
  .header-donate { display: none; }
  .vision-controls { overflow-x: auto; justify-content: flex-start; }
  .vision-dots { flex: 0 0 auto; }
  .vision-actions .button { width: 100%; }
}

/* Previous champagne layout retained as a compatibility layer */
:root {
  --ink: #1d1d1f;
  --forest: #244f40;
  --forest-2: #17372e;
  --moss: #4d7465;
  --gold: #c89a3b;
  --gold-deep: #8c6419;
  --gold-soft: #f2dfad;
  --cream: #f1e3c2;
  --paper: #ffffff;
  --line: rgba(29, 29, 31, .12);
  --muted: #6e6e73;
  --accent: #c89a3b;
  --accent-dark: #8c6419;
  --charcoal: #1d1d1f;
  --surface: #f5f5f7;
  --radius: 1.75rem;
}

body {
  background: #fff;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body small { font-size: .8rem !important; }
.custom-amount, .donate-custom, .card-kicker { font-size: .875rem; }
h1, h2, h3 { text-wrap: balance; }

.site-header {
  height: 86px;
  padding-inline: clamp(1rem, 4.5vw, 5.25rem);
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid rgba(29,29,31,.09);
  background: rgba(255,255,255,.84);
  box-shadow: none;
  backdrop-filter: saturate(180%) blur(22px);
}
.site-header::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: linear-gradient(#f3dfa9, #b88627); }
.site-header::after { content: ""; position: absolute; inset: auto 5vw 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(200,154,59,.45), transparent); }
.header-logo { width: 172px; height: 82px; filter: drop-shadow(0 3px 8px rgba(0,0,0,.08)); }
.site-header nav { gap: clamp(.85rem, 1.9vw, 1.9rem); color: var(--ink); font-size: .72rem; font-weight: 600; letter-spacing: -.01em; text-transform: none; }
.site-header nav a { position: relative; color: var(--ink); opacity: .72; }
.site-header nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: -.65rem; height: 2px; border-radius: 2px; background: var(--gold); transition: left .2s ease, right .2s ease; }
.site-header nav a:hover::after, .site-header nav a:focus-visible::after { left: 0; right: 0; }
.site-header nav a.active { color: var(--ink); opacity: 1; }
.header-donate {
  min-height: 40px;
  padding-inline: 1.2rem;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--gold-soft);
  box-shadow: none;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 0;
}
.site-header .menu-toggle { border-color: transparent; border-radius: 999px; background: var(--ink); color: white; }

.hero-shell {
  min-height: 1160px;
  padding: 150px clamp(1rem, 6vw, 6rem) 105px;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-content: center;
  gap: 3.2rem;
  color: var(--ink);
  text-align: center;
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(255,252,245,.9) 0%, rgba(250,243,225,.82) 58%, rgba(245,245,247,.94) 100%), url('mosque-hero.png') center 36% / cover no-repeat;
}
.hero-shell::before { opacity: .22; background-image: radial-gradient(circle at center, rgba(200,154,59,.18) 0 1px, transparent 1.5px); background-size: 18px 18px; mask-image: linear-gradient(to bottom, black, transparent 72%); }
.hero-shell::after { width: 640px; height: 640px; left: 50%; bottom: -520px; border: 1px solid rgba(200,154,59,.38); border-radius: 50%; box-shadow: 0 0 0 54px rgba(200,154,59,.035), 0 0 0 108px rgba(200,154,59,.02); transform: translateX(-50%); }
.hero-copy { max-width: 980px; }
.eyebrow { justify-content: center; color: var(--gold-deep); font-size: .7rem; font-weight: 700; letter-spacing: .17em; }
.eyebrow span { width: 36px; border-radius: 2px; background: var(--gold); }
.eyebrow.dark, .eyebrow.light { color: var(--gold-deep); }
.hero-copy h1, .section-heading h2, .vision-intro h2, .plan-heading h2, .final-cta h2, .subpage-hero h1, .contact-details h2, .prayer-board-head h2, .donate-intro h2, .islam-section-heading h2, .services-intro h2, .services-section-heading h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -.055em;
}
.hero-copy h1 { max-width: 960px; margin-inline: auto; color: var(--ink); font-size: clamp(4rem, 7vw, 7.5rem); line-height: .92; text-shadow: none; }
.hero-intro { max-width: 740px; margin-inline: auto; padding: 0; border: 0; color: rgba(29,29,31,.72); font-size: clamp(1.05rem,1.5vw,1.25rem); }
.hero-actions, .hero-proof { justify-content: center; }
.primary-cta, .vision-button, .service-enquiry-button, .crowdfunder-button, .contact-submit, .final-button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  box-shadow: none;
  padding-inline: 1.5rem;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: 0;
}
.primary-cta:hover, .vision-button:hover, .service-enquiry-button:hover, .crowdfunder-button:hover, .contact-submit:hover, .final-button:hover { background: #3a3a3c; color: white; }
.text-link { color: #7b5918; border-bottom-color: rgba(140,100,25,.35); font-family: inherit; }
.hero-proof { border-top-color: rgba(29,29,31,.12); }
.hero-proof strong { color: var(--ink); }
.hero-proof small { color: var(--muted); }

.donation-card {
  width: min(610px, 100%);
  overflow: hidden;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(200,154,59,.42);
  border-radius: 34px;
  outline: 0;
  background: rgba(255,255,255,.88);
  box-shadow: 0 28px 80px rgba(70,52,18,.16), inset 0 1px 0 rgba(255,255,255,.8);
  backdrop-filter: blur(22px);
  text-align: left;
}
.donation-card::before { content: ""; display: block; width: 74px; height: 5px; margin: 0 auto 1.2rem; border-radius: 99px; background: linear-gradient(90deg, #f3dfa9, #b98729); }
.card-kicker { justify-content: center; color: var(--gold-deep); }
.donation-card h2 { color: var(--ink); font-family: inherit; font-size: 2.15rem; font-weight: 700; letter-spacing: -.035em; text-align: center; }
.donation-card > p { text-align: center; }
.amount-grid { gap: .55rem; }
.amount, .donate-amount { border-radius: 999px; border-color: rgba(29,29,31,.12); background: var(--surface); }
.amount:hover, .donate-amount:hover { border-color: var(--gold); background: #f7ecd0; }
.amount.active, .donate-amount.selected { border-color: var(--gold); background: linear-gradient(135deg, #efd998, #c79739); color: var(--ink); }
.currency-input input, .form-field input, .form-field textarea { border-radius: 14px; }
.paypal-button, .paypal-donate-button { border: 0; border-radius: 999px; background: var(--ink); color: white; box-shadow: none; font-family: inherit; }
.paypal-button:hover, .paypal-donate-button:hover { background: var(--forest); color: white; }

.section-pad { padding-block: clamp(6rem, 10vw, 10rem); }
.appeal-section { grid-template-columns: 1fr; gap: 2.5rem; background: white; text-align: center; }
.section-heading { max-width: 980px; margin-inline: auto; }
.section-heading h2, .vision-intro h2, .plan-heading h2, .contact-details h2, .prayer-board-head h2, .donate-intro h2, .islam-section-heading h2, .services-intro h2, .services-section-heading h2 { color: var(--ink); }
.section-heading h2::after, .vision-intro h2::after, .contact-details h2::after, .prayer-board-head h2::after, .donate-intro h2::after, .services-intro h2::after { content: ""; display: block; width: 70px; height: 5px; margin: 1.2rem auto 0; border-radius: 99px; background: linear-gradient(90deg, #f2dfa9, #bd8b2d); }
.appeal-copy { max-width: 820px; margin-inline: auto; }
.appeal-copy .lead { padding: 0; border: 0; color: var(--ink); font-family: inherit; font-size: 1.35rem; font-weight: 600; }
.quote-strip { justify-content: center; border: 0; border-radius: 24px; background: var(--surface); box-shadow: none; text-align: left; }

.vision-section, .prayer-board, .donate-page-content, .ceremony-details, .guidance-section { background: var(--surface); }
.vision-intro { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
.vision-pitch { max-width: 820px; margin-inline: auto; }
.vision-actions { justify-content: center; }
.vision-carousel { grid-template-columns: 1fr; gap: .8rem; padding: 0; border: 0; border-radius: 34px; background: transparent; box-shadow: 0 28px 80px rgba(29,29,31,.12); overflow: hidden; }
.vision-viewport { height: clamp(560px, 58vw, 820px); border: 0; border-radius: 34px 34px 0 0; box-shadow: none; }
.vision-slide figcaption { padding: clamp(1.5rem,3vw,2.5rem); }
.vision-controls { min-height: 76px; flex-direction: row; border: 0; border-radius: 0 0 34px 34px; background: rgba(255,255,255,.96); }
.vision-controls > button, .vision-dots button { border-radius: 999px; }
.vision-controls > button { border-color: rgba(29,29,31,.12); background: var(--surface); color: var(--ink); }
.vision-dots { flex-direction: row; }
.vision-dots button { width: 38px; height: 38px; border-color: transparent; color: var(--muted); }
.vision-dots button.active { border-color: var(--gold); outline: 0; background: linear-gradient(135deg, #efd998, #c79739); color: var(--ink); }
.future-pillars { gap: 1rem; margin-top: 1.25rem; border: 0; background: transparent; }
.future-pillars > div { min-height: 145px; padding: 1.5rem; border: 0; border-radius: 24px; background: white; box-shadow: 0 10px 35px rgba(29,29,31,.06); }
.future-pillars svg { color: var(--gold-deep); }

.plan-section { border: 0; background: white; color: var(--ink); }
.plan-heading { align-items: center; flex-direction: column; text-align: center; }
.plan-heading h2 { color: var(--ink); }
.plan-heading > p { max-width: 680px; color: var(--muted); }
.plan-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin-top: 3rem; }
.plan-card { min-height: 290px; border: 0; border-radius: 30px; background: var(--surface); box-shadow: none; }
.plan-card:nth-child(1), .plan-card:nth-child(4) { background: linear-gradient(145deg, #f5ead0, #fffaf0); }
.plan-card:hover { transform: translateY(-4px); background: #eeeef0; box-shadow: 0 18px 50px rgba(29,29,31,.08); }
.plan-card h3 { color: var(--ink); font-family: inherit; font-weight: 700; }
.plan-card strong { color: #8a6115; }
.plan-card p { color: var(--muted); }
.plan-card > svg, .plan-number { color: var(--gold-deep); }

.final-cta { border: 0; background: radial-gradient(circle at 75% 25%, rgba(200,154,59,.22), transparent 30%), #1d1d1f; color: white; }
.final-cta h2 { color: white; }
.final-cta .eyebrow { color: var(--gold-soft); }
.final-copy { color: rgba(255,255,255,.66); }
.final-cta .final-button { background: linear-gradient(135deg, #efd998, #c79739); color: var(--ink); }
.final-cta::after { border: 1px solid rgba(242,223,173,.16); border-radius: 50%; }

.site-footer { border: 0; border-top: 1px solid rgba(29,29,31,.09); background: var(--surface); color: var(--ink); }
.footer-logo { width: min(280px, 72vw); height: 170px; }
.footer-identity > p, .footer-contact a, .footer-links a, .footer-notice, .site-footer .copyright { color: var(--muted); }
.footer-contact a, .footer-links a { border: 0; border-radius: 16px; background: rgba(255,255,255,.72); font-family: inherit; }
.footer-contact svg { color: var(--gold-deep); }
.footer-contact a:hover, .footer-links a:hover { background: white; color: var(--ink); }
.footer-links a.active { color: var(--forest); background: white; }
.footer-notice { border-top-color: rgba(29,29,31,.1); }

.subpage-hero { min-height: 500px; padding-top: 145px; align-items: center; color: var(--ink); text-align: center; border: 0; background: linear-gradient(180deg, rgba(255,252,245,.9), rgba(245,245,247,.92)), url('mosque-hero.png') center 42% / cover no-repeat; }
.subpage-hero::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: radial-gradient(rgba(200,154,59,.2) 0 1px, transparent 1.5px); background-size: 18px 18px; }
.subpage-hero::after { width: 260px; height: 260px; right: 50%; bottom: -210px; border: 1px solid rgba(200,154,59,.3); border-radius: 50%; transform: translateX(50%); }
.subpage-hero .eyebrow { justify-content: center; }
.subpage-hero h1 { color: var(--ink); font-size: clamp(3.8rem,7vw,7rem); text-shadow: none; }
.subpage-hero > p:last-child { margin-inline: auto; color: var(--muted); }

.contact-layout { grid-template-columns: 1fr; max-width: 1180px; margin-inline: auto; }
.contact-details { text-align: center; }
.contact-lead { margin-inline: auto; }
.contact-cards { max-width: 980px; margin-inline: auto; }
.contact-card, .next-prayer, .prayer-card, .crowdfunder-panel, .paypal-panel, .islam-contents a, .documents-panel, .attendance-panel, .important-panel, .service-hero-facts span { border-radius: 24px; }
.contact-card { border: 0; background: var(--surface); box-shadow: none; text-align: left; }
.contact-card > svg, .form-icon, .next-prayer > svg, .prayer-icon, .crowdfunder-copy > svg, .donate-panel-head > svg, .process-icon, .detail-panel-heading > svg, .service-final-cta > svg { border-radius: 14px; }
.contact-card > svg, .donate-panel-head > svg, .detail-panel-heading > svg { background: var(--ink); color: var(--gold-soft); }
.contact-form { border: 1px solid rgba(29,29,31,.09); border-radius: 30px; outline: 0; background: white; color: var(--ink); box-shadow: 0 24px 70px rgba(29,29,31,.08); }
.form-heading small { color: var(--gold-deep); }
.form-heading h2 { color: var(--ink); font-family: inherit; font-weight: 700; }
.form-field label { color: var(--muted); }
.form-field input, .form-field textarea { border-color: transparent; background: var(--surface); color: var(--ink); }
.form-field input::placeholder, .form-field textarea::placeholder { color: #9a9aa0; }
.form-submit-row > p { color: var(--muted); }
.form-submit-row > p a { color: #7b5918; }
.form-status { color: var(--forest); }
.contact-form .contact-submit { border-radius: 999px; background: var(--ink); color: white; }

.prayer-card { border: 0; background: white; box-shadow: 0 8px 30px rgba(29,29,31,.055); }
.prayer-card.next, .next-prayer { border: 0; background: var(--ink); }
.prayer-date-row, .prayer-disclaimer, .donation-legacy-message, .donation-impact, .guidance-copy p, .confirmation-note { border-color: rgba(200,154,59,.38); }
.crowdfunder-panel { border: 0; background: radial-gradient(circle at 85% 20%, rgba(200,154,59,.22), transparent 30%), var(--ink); box-shadow: 0 22px 60px rgba(29,29,31,.14); }
.paypal-panel { border: 0; background: white; box-shadow: 0 18px 55px rgba(29,29,31,.07); }
.donate-intro { grid-template-columns: 1fr; text-align: center; }
.donate-intro > p { margin-inline: auto; }
.donate-methods { justify-content: center; margin-inline: auto; }
.islam-contents { gap: 1rem; border: 0; background: var(--surface); }
.islam-contents a { border: 0; background: white; box-shadow: 0 8px 28px rgba(29,29,31,.05); }
.belief-list { border-top-color: rgba(29,29,31,.12); }
.dark-section, .marriage-process, .service-final-cta { background: #1d1d1f; }
.dark-section .islam-section-heading h2, .marriage-process .services-section-heading h2, .service-final-cta h2 { color: white; }
.process-grid { grid-template-columns: repeat(2, 1fr); }
.process-card { min-height: 300px; border: 1px solid rgba(255,255,255,.12); border-radius: 28px; background: rgba(255,255,255,.045); }
.ceremony-details { grid-template-columns: 1fr; }
.documents-panel { border: 0; background: white; box-shadow: 0 18px 55px rgba(29,29,31,.07); }
.documents-panel li { border: 0; border-radius: 14px; background: var(--surface); }
.important-panel { border: 0; background: var(--ink); }
.important-panel li::before { background: var(--gold); }
.service-hero-facts span { border-color: rgba(29,29,31,.1); background: rgba(255,255,255,.72); color: var(--ink); }
.service-hero-facts strong { color: #7c5918; }
.service-hero-facts small { color: var(--muted); }
.legal-content section { border-bottom-color: rgba(29,29,31,.1); }

@media (max-width: 1050px) {
  .hero-shell { min-height: 1100px; }
  .future-pillars { gap: .8rem; }
}

@media (max-width: 800px) {
  .site-header { height: 78px; }
  .header-logo { width: 155px; height: 74px; }
  .hero-shell { min-height: auto; padding-top: 120px; padding-bottom: 80px; }
  .subpage-hero { min-height: 460px; padding-top: 122px; }
  .vision-controls { flex-direction: row; }
}

@media (max-width: 520px) {
  .hero-copy h1 { font-size: 3.35rem; }
  .hero-shell { gap: 2.2rem; }
  .donation-card { border-radius: 24px; padding: 1.55rem; }
  .section-pad { padding-block: 5rem; }
  .plan-grid, .process-grid { grid-template-columns: 1fr; }
  .vision-viewport { height: 430px; border-radius: 24px 24px 0 0; }
  .vision-controls { border-radius: 0 0 24px 24px; overflow-x: auto; }
  .future-pillars { gap: .75rem; }
}
/* Dark gallery gold redesign */
:root {
  --ink: #f5f5f7;
  --forest: #174c3c;
  --forest-2: #0c2d25;
  --moss: #5d8a78;
  --gold: #d2a654;
  --gold-deep: #9d7126;
  --gold-soft: #f1d79a;
  --cream: #eee2c9;
  --paper: #0a0a0b;
  --line: rgba(255, 255, 255, .12);
  --muted: #a7a7ad;
  --accent: #d2a654;
  --accent-dark: #9d7126;
  --charcoal: #09090a;
  --surface: #1b1b1e;
  --radius: 2rem;
}

html { background: #080809; }
body {
  background: #09090a;
  color: #f5f5f7;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { text-wrap: balance; }

.site-header {
  height: 92px;
  padding-inline: clamp(1rem, 4.5vw, 5.5rem);
  color: #f5f5f7;
  border: 0;
  border-bottom: 1px solid rgba(241,215,154,.16);
  background: rgba(9,9,10,.76);
  box-shadow: 0 12px 40px rgba(0,0,0,.2);
  backdrop-filter: saturate(150%) blur(24px);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(#f5d991, #8d621f);
}
.site-header::after {
  content: "";
  position: absolute;
  inset: auto 7vw 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(210,166,84,.5), transparent);
}
.header-logo {
  width: 184px;
  height: 88px;
  filter: drop-shadow(0 7px 18px rgba(0,0,0,.45));
}
.site-header nav {
  gap: clamp(.8rem, 1.8vw, 1.75rem);
  color: #f5f5f7;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: -.01em;
  text-transform: none;
}
.site-header nav a { position: relative; color: #f5f5f7; opacity: .62; }
.site-header nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -.7rem;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transition: left .2s ease, right .2s ease;
}
.site-header nav a:hover::after,
.site-header nav a:focus-visible::after { left: 0; right: 0; }
.site-header nav a:hover,
.site-header nav a.active { color: #fff; opacity: 1; }
.header-donate {
  min-height: 42px;
  padding-inline: 1.3rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #f1d79a, #bd8935);
  color: #111;
  box-shadow: 0 8px 26px rgba(210,166,84,.2);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: 0;
}
.site-header .menu-toggle {
  border-color: rgba(241,215,154,.3);
  border-radius: 999px;
  background: #1c1c1f;
  color: var(--gold-soft);
}

.hero-shell {
  min-height: 900px;
  padding: 150px clamp(1.2rem, 6vw, 6.5rem) 90px;
  grid-template-columns: minmax(0, 1.1fr) minmax(390px, .78fr);
  justify-items: stretch;
  align-items: center;
  align-content: center;
  gap: clamp(3rem, 7vw, 7.5rem);
  color: #fff;
  text-align: left;
  border-bottom: 1px solid rgba(241,215,154,.12);
  background: linear-gradient(90deg, rgba(7,7,8,.96) 0%, rgba(8,8,9,.86) 48%, rgba(8,8,9,.54) 100%), url('mosque-hero.png') center 38% / cover no-repeat;
}
.hero-shell::before {
  opacity: .28;
  background-image: radial-gradient(circle at center, rgba(241,215,154,.23) 0 1px, transparent 1.5px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, black, transparent 76%);
}
.hero-shell::after {
  width: 500px;
  height: 500px;
  left: -310px;
  bottom: -305px;
  border: 1px solid rgba(210,166,84,.3);
  border-radius: 50%;
  box-shadow: 0 0 0 65px rgba(210,166,84,.03), 0 0 0 130px rgba(210,166,84,.018);
  transform: none;
}
.hero-copy { max-width: 850px; }
.eyebrow {
  justify-content: flex-start;
  color: var(--gold-soft);
  font-size: .7rem;
  font-weight: 750;
  letter-spacing: .17em;
}
.eyebrow span { width: 38px; border-radius: 2px; background: var(--gold); }
.eyebrow.dark, .eyebrow.light { color: var(--gold-soft); }
.hero-copy h1,
.section-heading h2,
.vision-intro h2,
.plan-heading h2,
.final-cta h2,
.subpage-hero h1,
.contact-details h2,
.prayer-board-head h2,
.donate-intro h2,
.islam-section-heading h2,
.services-intro h2,
.services-section-heading h2 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -.055em;
}
.hero-copy h1 {
  max-width: 820px;
  margin-inline: 0;
  color: transparent;
  background: linear-gradient(180deg, #fff 8%, #f6ecd8 54%, #cda24e 115%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(4.2rem, 7.3vw, 8rem);
  line-height: .89;
  text-shadow: none;
}
.hero-intro {
  max-width: 680px;
  margin-inline: 0;
  padding: 0 0 0 1.1rem;
  border: 0;
  border-left: 2px solid var(--gold);
  color: rgba(245,245,247,.7);
  font-size: clamp(1.05rem,1.5vw,1.24rem);
}
.hero-actions, .hero-proof { justify-content: flex-start; }
.primary-cta,
.vision-button,
.service-enquiry-button,
.crowdfunder-button,
.contact-submit,
.final-button {
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #f1d79a, #bd8935);
  color: #111;
  box-shadow: none;
  padding-inline: 1.6rem;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: 0;
}
.primary-cta:hover,
.vision-button:hover,
.service-enquiry-button:hover,
.crowdfunder-button:hover,
.contact-submit:hover,
.final-button:hover {
  background: #f7e6bb;
  color: #09090a;
}
.text-link {
  color: var(--gold-soft);
  border-bottom-color: rgba(241,215,154,.42);
  font-family: inherit;
}
.hero-proof { border-top-color: rgba(255,255,255,.14); }
.hero-proof strong { color: #fff; }
.hero-proof small { color: #a7a7ad; }

.donation-card {
  width: min(525px, 100%);
  justify-self: end;
  overflow: hidden;
  padding: clamp(1.8rem, 3vw, 2.65rem);
  border: 1px solid rgba(241,215,154,.26);
  border-radius: 34px;
  outline: 1px solid rgba(255,255,255,.035);
  background: linear-gradient(145deg, rgba(36,36,40,.91), rgba(18,18,20,.88));
  box-shadow: 0 38px 100px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(25px);
  color: #f5f5f7;
  text-align: left;
}
.donation-card::before {
  content: "";
  display: block;
  width: 76px;
  height: 4px;
  margin: 0 0 1.3rem;
  border-radius: 99px;
  background: linear-gradient(90deg, #f1d79a, #a06e21);
}
.card-kicker { justify-content: flex-start; color: var(--gold-soft); }
.donation-card h2 {
  color: #fff;
  font-family: inherit;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -.04em;
  text-align: left;
}
.donation-card > p { color: #a7a7ad; text-align: left; }
.amount-grid { gap: .55rem; }
.amount, .donate-amount {
  border-radius: 999px;
  border-color: rgba(255,255,255,.12);
  background: #27272a;
  color: #f5f5f7;
}
.amount:hover, .donate-amount:hover {
  border-color: var(--gold);
  background: #363026;
}
.amount.active, .donate-amount.selected {
  border-color: var(--gold);
  background: linear-gradient(135deg, #f1d79a, #bd8935);
  color: #111;
}
.currency-input { border-color: rgba(255,255,255,.12); background: #222225; }
.currency-input b { color: var(--gold-soft); }
.currency-input input {
  border-radius: 14px;
  color: #fff;
  background: transparent;
}
.amount-help, .donation-card .security-note { color: #929298; }
.paypal-button, .paypal-donate-button {
  border: 1px solid rgba(241,215,154,.35);
  border-radius: 999px;
  background: #111113;
  color: #fff;
  box-shadow: none;
  font-family: inherit;
}
.paypal-button:hover, .paypal-donate-button:hover {
  border-color: var(--gold);
  background: var(--forest);
  color: white;
}

.section-pad { padding-block: clamp(6.5rem, 11vw, 11rem); }
.appeal-section {
  grid-template-columns: minmax(280px,.78fr) minmax(0,1.22fr);
  gap: clamp(3rem, 8vw, 8.5rem);
  background: #0b0b0c;
  color: #f5f5f7;
  text-align: left;
}
.section-heading { max-width: 700px; margin-inline: 0; }
.section-heading h2,
.vision-intro h2,
.contact-details h2,
.prayer-board-head h2,
.islam-section-heading h2,
.services-section-heading h2 { color: #fff; }
.section-heading h2::after,
.vision-intro h2::after,
.contact-details h2::after,
.prayer-board-head h2::after,
.donate-intro h2::after,
.services-intro h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 1.25rem 0 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #f1d79a, #9d7126);
}
.appeal-copy { max-width: 820px; margin-inline: 0; }
.appeal-copy .lead {
  padding: 0 0 0 1.25rem;
  border: 0;
  border-left: 2px solid var(--gold);
  color: #f5f5f7;
  font-family: inherit;
  font-size: 1.4rem;
  font-weight: 600;
}
.appeal-copy p { color: #a7a7ad; }
.quote-strip {
  justify-content: flex-start;
  border: 0;
  border-radius: 26px;
  background: linear-gradient(135deg, #f0dfba, #c79a49);
  color: #151515;
  box-shadow: 0 25px 70px rgba(0,0,0,.28);
  text-align: left;
}
.quote-strip p, .quote-strip strong, .quote-strip small { color: #151515; }

.vision-section {
  background: radial-gradient(circle at 80% 10%, rgba(210,166,84,.09), transparent 25%), #151517;
  color: #f5f5f7;
}
.vision-intro {
  grid-template-columns: minmax(0,1fr) minmax(320px,.7fr);
  gap: clamp(2rem, 7vw, 7rem);
  text-align: left;
}
.vision-pitch { max-width: 610px; margin-inline: 0; }
.vision-pitch p { color: #a7a7ad; }
.vision-actions { justify-content: flex-start; }
.vision-carousel {
  grid-template-columns: minmax(0,1fr) 82px;
  gap: 0;
  padding: 0;
  border: 1px solid rgba(241,215,154,.17);
  border-radius: 36px;
  background: #0b0b0c;
  box-shadow: 0 35px 100px rgba(0,0,0,.38);
  overflow: hidden;
}
.vision-viewport {
  height: clamp(570px, 58vw, 820px);
  border: 0;
  border-radius: 35px 0 0 35px;
  box-shadow: none;
}
.vision-slide::after { background: linear-gradient(180deg, transparent 55%, rgba(5,5,6,.9)); }
.vision-slide figcaption { padding: clamp(1.5rem,3vw,2.5rem); color: #fff; }
.vision-controls {
  min-height: 0;
  flex-direction: column;
  border: 0;
  border-left: 1px solid rgba(255,255,255,.09);
  border-radius: 0;
  background: #111113;
}
.vision-controls > button,
.vision-dots button { border-radius: 999px; }
.vision-controls > button {
  border-color: rgba(241,215,154,.25);
  background: #232326;
  color: var(--gold-soft);
}
.vision-dots { flex-direction: column; }
.vision-dots button {
  width: 40px;
  height: 40px;
  border-color: transparent;
  color: #77777d;
}
.vision-dots button.active {
  border-color: var(--gold);
  outline: 0;
  background: linear-gradient(135deg, #f1d79a, #bd8935);
  color: #111;
}
.future-pillars { gap: 1rem; margin-top: 1.25rem; border: 0; background: transparent; }
.future-pillars > div {
  min-height: 155px;
  padding: 1.6rem;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 26px;
  background: #202023;
  color: #f5f5f7;
  box-shadow: none;
}
.future-pillars p { color: #a7a7ad; }
.future-pillars svg { color: var(--gold); }

.plan-section {
  border: 0;
  background: #eee2c9;
  color: #151515;
}
.plan-heading {
  align-items: flex-end;
  flex-direction: row;
  text-align: left;
}
.plan-heading h2 { color: #151515; }
.plan-heading > p { max-width: 620px; color: #625b50; }
.plan-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.plan-card {
  min-height: 355px;
  border: 0;
  border-radius: 30px;
  background: rgba(255,255,255,.58);
  box-shadow: 0 16px 45px rgba(57,42,16,.08);
}
.plan-card:nth-child(1), .plan-card:nth-child(4) {
  background: linear-gradient(155deg, #fffaf0, #d7b66f);
}
.plan-card:hover {
  transform: translateY(-7px);
  background: #fffaf0;
  box-shadow: 0 28px 70px rgba(57,42,16,.15);
}
.plan-card h3 { color: #161616; font-family: inherit; font-weight: 700; }
.plan-card strong { color: #7d5518; }
.plan-card p { color: #625b50; }
.plan-card > svg, .plan-number { color: #93671f; }

.final-cta {
  border: 0;
  background: radial-gradient(circle at 82% 22%, rgba(241,215,154,.16), transparent 27%), linear-gradient(135deg, #174c3c, #071c17);
  color: white;
}
.final-cta h2 { color: white; }
.final-cta .eyebrow { color: var(--gold-soft); }
.final-copy { color: rgba(255,255,255,.68); }
.final-cta .final-button { background: linear-gradient(135deg, #f1d79a, #bd8935); color: #111; }
.final-cta::after { border: 1px solid rgba(241,215,154,.16); border-radius: 50%; }

.site-footer {
  border: 0;
  border-top: 1px solid rgba(241,215,154,.12);
  background: #070708;
  color: #f5f5f7;
}
.footer-logo { width: min(310px, 78vw); height: 185px; }
.footer-identity > p,
.footer-contact a,
.footer-links a,
.footer-notice,
.site-footer .copyright { color: #96969c; }
.footer-contact a, .footer-links a {
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  background: #151517;
  font-family: inherit;
}
.footer-contact svg { color: var(--gold); }
.footer-contact a:hover, .footer-links a:hover {
  border-color: rgba(241,215,154,.25);
  background: #202023;
  color: #fff;
}
.footer-links a.active { color: var(--gold-soft); background: #202023; }
.footer-notice { border-top-color: rgba(255,255,255,.09); }

.subpage { background: #0f0f11; color: #f5f5f7; }
.subpage-hero {
  min-height: 610px;
  padding-top: 160px;
  align-items: center;
  color: #fff;
  text-align: left;
  border: 0;
  background: linear-gradient(90deg, rgba(5,5,6,.96), rgba(6,6,7,.66)), url('mosque-hero.png') center 42% / cover no-repeat;
}
.subpage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image: radial-gradient(rgba(241,215,154,.24) 0 1px, transparent 1.5px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}
.subpage-hero::after {
  width: 340px;
  height: 340px;
  right: -220px;
  bottom: -260px;
  border: 1px solid rgba(210,166,84,.26);
  border-radius: 50%;
  transform: none;
}
.subpage-hero .eyebrow { justify-content: flex-start; }
.subpage-hero h1 {
  max-width: 950px;
  color: transparent;
  background: linear-gradient(180deg, #fff, #d7b76f);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(4rem,7vw,7.4rem);
  text-shadow: none;
}
.subpage-hero > p:last-child { margin-inline: 0; color: #b6b6bc; }

.contact-layout { grid-template-columns: .86fr 1.14fr; max-width: 1300px; margin-inline: auto; }
.contact-details { text-align: left; }
.contact-details h2 { color: #fff; }
.contact-lead { margin-inline: 0; color: #a7a7ad; }
.contact-cards { max-width: none; margin-inline: 0; }
.contact-card,
.next-prayer,
.prayer-card,
.crowdfunder-panel,
.paypal-panel,
.islam-contents a,
.documents-panel,
.attendance-panel,
.important-panel,
.service-hero-facts span { border-radius: 26px; }
.contact-card {
  border: 1px solid rgba(255,255,255,.08);
  background: #1b1b1e;
  color: #f5f5f7;
  box-shadow: none;
  text-align: left;
}
.contact-card p, .contact-card a { color: #b0b0b5; }
.contact-card > svg,
.form-icon,
.next-prayer > svg,
.prayer-icon,
.crowdfunder-copy > svg,
.donate-panel-head > svg,
.process-icon,
.detail-panel-heading > svg,
.service-final-cta > svg { border-radius: 14px; }
.contact-card > svg, .donate-panel-head > svg, .detail-panel-heading > svg {
  background: linear-gradient(135deg, #f1d79a, #b67f2d);
  color: #111;
}
.contact-form {
  border: 1px solid rgba(241,215,154,.18);
  border-radius: 32px;
  outline: 0;
  background: #1b1b1e;
  color: #f5f5f7;
  box-shadow: 0 34px 90px rgba(0,0,0,.3);
}
.form-heading small { color: var(--gold-soft); }
.form-heading h2 { color: #fff; font-family: inherit; font-weight: 700; }
.form-field label { color: #b0b0b5; }
.form-field input, .form-field textarea {
  border-color: rgba(255,255,255,.08);
  border-radius: 15px;
  background: #27272a;
  color: #fff;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: #77777d; }
.form-submit-row > p { color: #929298; }
.form-submit-row > p a { color: var(--gold-soft); }
.form-status { color: var(--gold-soft); }
.contact-form .contact-submit {
  border-radius: 999px;
  background: linear-gradient(135deg, #f1d79a, #bd8935);
  color: #111;
}

.prayer-board { background: #111113; color: #f5f5f7; }
.prayer-board-head h2 { color: #fff; }
.prayer-board-head p, .prayer-date-row { color: #a7a7ad; }
.prayer-card {
  border: 1px solid rgba(255,255,255,.08);
  background: #1d1d20;
  color: #f5f5f7;
  box-shadow: none;
}
.prayer-card p, .prayer-card small { color: #a7a7ad; }
.prayer-card.next, .next-prayer {
  border: 0;
  background: linear-gradient(145deg, #efd79f, #b98635);
  color: #111;
}
.prayer-card.next p, .prayer-card.next small,
.next-prayer p, .next-prayer small { color: #2b2418; }
.prayer-date-row,
.prayer-disclaimer,
.donation-legacy-message,
.donation-impact,
.guidance-copy p,
.confirmation-note { border-color: rgba(210,166,84,.38); }

.donate-page-content { background: #eee2c9; color: #151515; }
.donate-intro { grid-template-columns: minmax(0,1fr) minmax(320px,.65fr); text-align: left; }
.donate-intro h2 { color: #151515; }
.donate-intro > p { margin-inline: 0; color: #625b50; }
.donate-methods { justify-content: flex-start; margin-inline: 0; }
.crowdfunder-panel {
  border: 0;
  background: radial-gradient(circle at 85% 20%, rgba(241,215,154,.22), transparent 30%), #111113;
  color: #fff;
  box-shadow: 0 28px 80px rgba(57,42,16,.2);
}
.crowdfunder-panel p { color: #b0b0b5; }
.paypal-panel {
  border: 1px solid rgba(90,62,18,.12);
  background: rgba(255,255,255,.62);
  color: #151515;
  box-shadow: 0 24px 65px rgba(57,42,16,.1);
}
.paypal-panel p, .paypal-panel small { color: #625b50; }
.paypal-panel .paypal-donate-button { background: #111113; color: #fff; }

.islam-content { background: #0f0f11; color: #f5f5f7; }
.islam-contents {
  gap: 1rem;
  border: 0;
  background: #151517;
}
.islam-contents a {
  border: 1px solid rgba(255,255,255,.08);
  background: #202023;
  color: #f5f5f7;
  box-shadow: none;
}
.islam-contents a:hover { border-color: rgba(241,215,154,.3); background: #28282c; }
.islam-section { background: #0f0f11; color: #f5f5f7; }
.islam-section p, .pillar-copy p, .belief-copy p { color: #a7a7ad; }
.pillar-list, .belief-list { border-color: rgba(255,255,255,.1); }
.pillar-number, .belief-number { color: var(--gold); }
.guidance-section {
  background: #eee2c9;
  color: #151515;
}
.guidance-section .islam-section-heading h2 { color: #151515; }
.guidance-section p, .guidance-copy p { color: #625b50; }
.dark-section, .marriage-process, .service-final-cta {
  background: radial-gradient(circle at 82% 12%, rgba(210,166,84,.08), transparent 24%), #09090a;
}
.dark-section .islam-section-heading h2,
.marriage-process .services-section-heading h2,
.service-final-cta h2 { color: white; }

.services-intro { background: #eee2c9; color: #151515; }
.services-intro h2 { color: #151515; }
.services-intro p { color: #625b50; }
.services-intro .eyebrow { color: #805b1d; }
.process-grid { grid-template-columns: repeat(4, 1fr); }
.process-card {
  min-height: 350px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 28px;
  background: #1b1b1e;
  color: #f5f5f7;
}
.process-card p { color: #a7a7ad; }
.ceremony-details {
  grid-template-columns: 1.15fr .85fr;
  background: #eee2c9;
  color: #151515;
}
.documents-panel {
  border: 0;
  background: rgba(255,255,255,.65);
  color: #151515;
  box-shadow: 0 22px 65px rgba(57,42,16,.1);
}
.documents-panel li {
  border: 0;
  border-radius: 14px;
  background: rgba(255,255,255,.7);
  color: #4f493f;
}
.attendance-panel { background: #174c3c; color: #fff; }
.important-panel { border: 0; background: #111113; color: #fff; }
.important-panel li::before { background: var(--gold); }
.service-hero-facts span {
  border-color: rgba(241,215,154,.17);
  background: rgba(25,25,28,.78);
  color: #f5f5f7;
}
.service-hero-facts strong { color: var(--gold-soft); }
.service-hero-facts small { color: #a7a7ad; }
.legal-content { background: #eee2c9; color: #151515; }
.legal-content section { border-bottom-color: rgba(57,42,16,.12); }
.legal-content p, .legal-content li { color: #625b50; }

@media (max-width: 1180px) {
  .hero-shell { grid-template-columns: minmax(0,1fr) minmax(350px,.78fr); gap: 3rem; }
  .plan-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .future-pillars { gap: .8rem; }
}

@media (max-width: 900px) {
  .site-header { height: 82px; }
  .header-logo { width: 164px; height: 78px; }
  .hero-shell {
    min-height: auto;
    padding-top: 130px;
    padding-bottom: 85px;
    grid-template-columns: 1fr;
  }
  .donation-card { justify-self: start; width: min(620px,100%); }
  .appeal-section, .vision-intro, .contact-layout, .donate-intro, .ceremony-details { grid-template-columns: 1fr; }
  .vision-carousel { grid-template-columns: 1fr; }
  .vision-viewport { border-radius: 35px 35px 0 0; }
  .vision-controls {
    min-height: 78px;
    flex-direction: row;
    border: 0;
    border-top: 1px solid rgba(255,255,255,.09);
  }
  .vision-dots { flex-direction: row; }
  .plan-heading { align-items: flex-start; flex-direction: column; }
  .subpage-hero { min-height: 530px; padding-top: 130px; }
}

@media (max-width: 560px) {
  .hero-copy h1 { font-size: 3.65rem; }
  .subpage-hero h1 { font-size: 3.7rem; }
  .hero-shell { gap: 2.4rem; }
  .donation-card { border-radius: 26px; padding: 1.55rem; }
  .section-pad { padding-block: 5.25rem; }
  .plan-grid, .process-grid { grid-template-columns: 1fr; }
  .vision-viewport { height: 440px; border-radius: 25px 25px 0 0; }
  .vision-controls { border-radius: 0 0 25px 25px; overflow-x: auto; }
  .future-pillars { gap: .75rem; }
}
/* Sapphire and champagne showroom redesign */
:root {
  --ink: #10233f;
  --forest: #0a4d95;
  --forest-2: #061c38;
  --moss: #4f78a6;
  --gold: #d3a750;
  --gold-deep: #9c6f21;
  --gold-soft: #f4dfaa;
  --cream: #fbf7ee;
  --paper: #ffffff;
  --line: rgba(16, 35, 63, .12);
  --muted: #66758a;
  --accent: #1265be;
  --accent-dark: #073b73;
  --charcoal: #07182d;
  --surface: #eef5fc;
  --radius: 2.25rem;
}

html { background: #06182f; }
body {
  background: #f6f8fb;
  color: #10233f;
  font-family: "Avenir Next", Avenir, "Trebuchet MS", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3,
.hero-copy h1,
.section-heading h2,
.vision-intro h2,
.plan-heading h2,
.final-cta h2,
.subpage-hero h1,
.contact-details h2,
.prayer-board-head h2,
.donate-intro h2,
.islam-section-heading h2,
.services-intro h2,
.services-section-heading h2,
.donation-card h2,
.plan-card h3,
.form-heading h2,
.donate-panel-head h3,
.crowdfunder-copy h3,
.prayer-card h3,
.prayer-card time,
.bank-details dd {
  font-family: "Bodoni 72", Didot, "Iowan Old Style", Georgia, serif !important;
  letter-spacing: -.035em;
}

.site-header {
  height: 94px;
  padding-inline: clamp(1rem, 4.5vw, 5.75rem);
  color: #fff;
  border: 0;
  border-bottom: 1px solid rgba(244,223,170,.2);
  background: rgba(5,27,55,.82);
  box-shadow: 0 12px 45px rgba(3,24,50,.18);
  backdrop-filter: saturate(170%) blur(24px);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #f5dfaa, #bd8429);
}
.site-header::after {
  content: "";
  position: absolute;
  inset: auto 6vw 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244,223,170,.58), transparent);
}
.header-logo {
  width: 192px;
  height: 90px;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.32));
}
.site-header nav {
  gap: clamp(.8rem, 1.9vw, 1.9rem);
  color: #fff;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: none;
}
.site-header nav a { position: relative; color: #fff; opacity: .7; }
.site-header nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -.72rem;
  height: 2px;
  border-radius: 2px;
  background: #e5bd6a;
  transition: left .2s ease, right .2s ease;
}
.site-header nav a:hover::after,
.site-header nav a:focus-visible::after { left: 0; right: 0; }
.site-header nav a:hover,
.site-header nav a.active { color: #fff; opacity: 1; }
.header-donate {
  min-height: 43px;
  padding-inline: 1.35rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: linear-gradient(135deg, #f3d994, #c79035);
  color: #0a2341;
  box-shadow: 0 10px 28px rgba(3,24,50,.22);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 0;
}
.site-header .menu-toggle {
  border-color: rgba(244,223,170,.32);
  border-radius: 999px;
  background: #0d3c70;
  color: #f4dfaa;
}

.hero-shell {
  min-height: 1140px;
  padding: 155px clamp(1.15rem, 7vw, 7.5rem) 95px;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-content: center;
  gap: 3.4rem;
  color: #fff;
  text-align: center;
  border-bottom: 0;
  background:
    radial-gradient(circle at 50% 17%, rgba(52,137,225,.52), transparent 34%),
    linear-gradient(180deg, rgba(5,28,57,.76), rgba(5,28,57,.94) 67%, #061c38 100%),
    url('mosque-hero.png') center 38% / cover no-repeat;
}
.hero-shell::before {
  opacity: .3;
  background-image:
    linear-gradient(rgba(244,223,170,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,223,170,.08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 28%, black, transparent 70%);
}
.hero-shell::after {
  width: 720px;
  height: 220px;
  left: 50%;
  bottom: -150px;
  border: 1px solid rgba(244,223,170,.24);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(244,223,170,.025), 0 0 0 110px rgba(244,223,170,.018);
  transform: translateX(-50%);
}
.hero-copy { max-width: 1120px; }
.eyebrow {
  justify-content: center;
  color: #f4dfaa;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .18em;
}
.eyebrow span { width: 40px; border-radius: 2px; background: #d3a750; }
.eyebrow.dark { color: #9c6f21; }
.eyebrow.light { color: #f4dfaa; }
.hero-copy h1 {
  max-width: 1050px;
  margin-inline: auto;
  color: #fff;
  background: none;
  font-size: clamp(4.8rem, 8.2vw, 9.2rem);
  font-weight: 500;
  line-height: .86;
  letter-spacing: -.055em;
  text-shadow: 0 18px 50px rgba(2,18,38,.32);
}
.hero-intro {
  max-width: 790px;
  margin-inline: auto;
  padding: 0;
  border: 0;
  color: rgba(255,255,255,.76);
  font-size: clamp(1.05rem,1.55vw,1.3rem);
}
.hero-intro strong { color: #f4dfaa; }
.hero-actions, .hero-proof { justify-content: center; }
.primary-cta,
.vision-button,
.service-enquiry-button,
.crowdfunder-button,
.contact-submit,
.final-button {
  min-height: 51px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #f4dfaa, #ca9238);
  color: #092440;
  box-shadow: 0 12px 30px rgba(2,18,38,.15);
  padding-inline: 1.65rem;
  font-family: "Avenir Next", Avenir, sans-serif;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: 0;
}
.primary-cta:hover,
.vision-button:hover,
.service-enquiry-button:hover,
.crowdfunder-button:hover,
.contact-submit:hover,
.final-button:hover {
  background: #fff2ce;
  color: #061c38;
}
.text-link {
  color: #f4dfaa;
  border-bottom-color: rgba(244,223,170,.45);
  font-family: inherit;
}
.hero-proof {
  max-width: 760px;
  margin-inline: auto;
  border-top-color: rgba(255,255,255,.17);
}
.hero-proof strong { color: #fff; }
.hero-proof small { color: rgba(255,255,255,.62); }

.donation-card {
  width: min(850px, 100%);
  justify-self: center;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 3.2rem);
  border: 1px solid rgba(244,223,170,.55);
  border-radius: 42px;
  outline: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.94);
  box-shadow: 0 42px 110px rgba(2,18,38,.34), inset 0 1px 0 #fff;
  backdrop-filter: blur(28px);
  color: #10233f;
  text-align: center;
}
.donation-card::before {
  content: "";
  display: block;
  width: 92px;
  height: 4px;
  margin: 0 auto 1.4rem;
  border-radius: 99px;
  background: linear-gradient(90deg, #0b59a7, #d3a750);
}
.card-kicker { justify-content: center; color: #9c6f21; }
.donation-card h2 {
  color: #10233f;
  font-size: 2.65rem;
  font-weight: 500;
  text-align: center;
}
.donation-card > p {
  max-width: 620px;
  margin-inline: auto;
  color: #66758a;
  text-align: center;
}
.amount-grid { max-width: 620px; margin-inline: auto; gap: .6rem; }
.amount, .donate-amount {
  border-radius: 999px;
  border-color: rgba(16,35,63,.13);
  background: #eef5fc;
  color: #10233f;
}
.amount:hover, .donate-amount:hover {
  border-color: #1265be;
  background: #e0eefc;
}
.amount.active, .donate-amount.selected {
  border-color: #0a4d95;
  background: linear-gradient(135deg, #0d69c7, #073b73);
  color: #fff;
}
.custom-amount { max-width: 620px; margin-inline: auto; text-align: left; }
.currency-input { border-color: rgba(16,35,63,.13); background: #f5f8fc; }
.currency-input b { color: #9c6f21; }
.currency-input input { border-radius: 14px; color: #10233f; background: transparent; }
.amount-help, .donation-card .secure-note { color: #66758a; }
.paypal-button, .paypal-donate-button {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #1265be, #073b73);
  color: #fff;
  box-shadow: none;
  font-family: inherit;
}
.paypal-button:hover, .paypal-donate-button:hover { background: #082e59; color: #fff; }

.section-pad { padding-block: clamp(6.5rem, 11vw, 11rem); }
.appeal-section {
  grid-template-columns: 1fr;
  gap: 3.4rem;
  background: #fff;
  color: #10233f;
  text-align: center;
}
.section-heading { max-width: 1040px; margin-inline: auto; }
.section-heading h2,
.vision-intro h2,
.contact-details h2,
.prayer-board-head h2,
.islam-section-heading h2,
.services-section-heading h2 { color: #10233f; }
.section-heading h2,
.vision-intro h2,
.plan-heading h2,
.contact-details h2,
.prayer-board-head h2,
.donate-intro h2,
.islam-section-heading h2,
.services-intro h2,
.services-section-heading h2 {
  font-weight: 500;
}
.section-heading h2::after,
.vision-intro h2::after,
.contact-details h2::after,
.prayer-board-head h2::after,
.donate-intro h2::after,
.services-intro h2::after {
  content: "";
  display: block;
  width: 82px;
  height: 3px;
  margin: 1.35rem auto 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #1265be, #d3a750);
}
.appeal-copy { max-width: 900px; margin-inline: auto; }
.appeal-copy .lead {
  padding: 0;
  border: 0;
  color: #10233f;
  font-family: "Bodoni 72", Didot, Georgia, serif;
  font-size: 1.62rem;
  font-weight: 500;
}
.appeal-copy p { color: #66758a; }
.quote-strip {
  justify-content: center;
  border: 1px solid rgba(211,167,80,.34);
  border-radius: 34px;
  background: linear-gradient(135deg, #fffaf0, #eef5fc);
  color: #10233f;
  box-shadow: 0 24px 65px rgba(9,49,91,.08);
  text-align: left;
}
.quote-strip p, .quote-strip strong { color: #10233f; }
.quote-strip small { color: #66758a; }

.vision-section {
  background: radial-gradient(circle at 85% 8%, rgba(30,112,200,.1), transparent 28%), #eef5fc;
  color: #10233f;
}
.vision-intro {
  grid-template-columns: 1fr;
  gap: 1.5rem;
  text-align: center;
}
.vision-pitch { max-width: 850px; margin-inline: auto; }
.vision-pitch p { color: #66758a; }
.vision-actions { justify-content: center; }
.vision-carousel {
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  border: 1px solid rgba(16,35,63,.1);
  border-radius: 46px;
  background: #fff;
  box-shadow: 0 38px 95px rgba(9,49,91,.16);
  overflow: hidden;
}
.vision-viewport {
  height: clamp(580px, 60vw, 840px);
  border: 0;
  border-radius: 45px 45px 0 0;
  box-shadow: none;
}
.vision-slide::after { background: linear-gradient(180deg, transparent 55%, rgba(3,28,56,.84)); }
.vision-slide figcaption { padding: clamp(1.6rem,3vw,2.7rem); color: #fff; }
.vision-controls {
  min-height: 84px;
  flex-direction: row;
  border: 0;
  border-top: 1px solid rgba(16,35,63,.09);
  border-radius: 0;
  background: rgba(255,255,255,.98);
}
.vision-controls > button,
.vision-dots button { border-radius: 999px; }
.vision-controls > button {
  border-color: rgba(16,35,63,.12);
  background: #eef5fc;
  color: #0a4d95;
}
.vision-dots { flex-direction: row; }
.vision-dots button {
  width: 40px;
  height: 40px;
  border-color: transparent;
  color: #7d899a;
}
.vision-dots button.active {
  border-color: #0a4d95;
  outline: 0;
  background: linear-gradient(135deg, #1265be, #073b73);
  color: #fff;
}
.future-pillars { gap: 1rem; margin-top: 1.25rem; border: 0; background: transparent; }
.future-pillars > div {
  min-height: 155px;
  padding: 1.65rem;
  border: 1px solid rgba(16,35,63,.08);
  border-radius: 28px;
  background: rgba(255,255,255,.82);
  color: #10233f;
  box-shadow: 0 14px 38px rgba(9,49,91,.06);
}
.future-pillars p, .future-pillars small { color: #66758a; }
.future-pillars svg { color: #0a4d95; }

.plan-section {
  border: 0;
  background:
    radial-gradient(circle at 84% 12%, rgba(36,112,194,.32), transparent 30%),
    linear-gradient(145deg, #061c38, #0a3f7b);
  color: #fff;
}
.plan-heading { align-items: flex-end; flex-direction: row; text-align: left; }
.plan-heading h2 { color: #fff; }
.plan-heading > p { max-width: 620px; color: rgba(255,255,255,.65); }
.plan-grid { grid-template-columns: repeat(2, 1fr); gap: 1.15rem; margin-top: 3rem; }
.plan-card {
  min-height: 300px;
  border: 1px solid rgba(244,223,170,.2);
  border-radius: 34px;
  background: rgba(255,255,255,.08);
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(14px);
}
.plan-card:nth-child(1), .plan-card:nth-child(4) {
  background: linear-gradient(145deg, rgba(244,223,170,.96), rgba(201,146,55,.95));
  color: #0b2748;
}
.plan-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,.13);
  box-shadow: 0 25px 60px rgba(0,0,0,.16);
}
.plan-card:nth-child(1):hover, .plan-card:nth-child(4):hover { background: #f5dfaa; }
.plan-card h3 { color: inherit; font-weight: 500; }
.plan-card strong { color: #f4dfaa; }
.plan-card:nth-child(1) strong, .plan-card:nth-child(4) strong { color: #694815; }
.plan-card p { color: rgba(255,255,255,.62); }
.plan-card:nth-child(1) p, .plan-card:nth-child(4) p { color: #4f4b43; }
.plan-card > svg, .plan-number { color: #f4dfaa; }
.plan-card:nth-child(1) > svg, .plan-card:nth-child(4) > svg,
.plan-card:nth-child(1) .plan-number, .plan-card:nth-child(4) .plan-number { color: #0a4d95; }

.final-cta {
  border: 0;
  background: linear-gradient(135deg, #f5e4b9, #ca9238);
  color: #0b2748;
}
.final-cta h2 { color: #0b2748; }
.final-cta .eyebrow { color: #704c17; }
.final-copy { color: #4f4b43; }
.final-cta .final-button { background: linear-gradient(135deg, #1265be, #073b73); color: #fff; }
.final-cta::after { border: 1px solid rgba(7,59,115,.15); border-radius: 50%; }

.site-footer {
  border: 0;
  border-top: 1px solid rgba(244,223,170,.16);
  background: #06182f;
  color: #fff;
}
.footer-logo { width: min(320px, 78vw); height: 190px; }
.footer-identity > p,
.footer-contact a,
.footer-links a,
.footer-notice,
.site-footer .copyright { color: rgba(255,255,255,.62); }
.footer-contact a, .footer-links a {
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 18px;
  background: #0b2b50;
  font-family: inherit;
}
.footer-contact svg { color: #d3a750; }
.footer-contact a:hover, .footer-links a:hover {
  border-color: rgba(244,223,170,.28);
  background: #103b6d;
  color: #fff;
}
.footer-links a.active { color: #f4dfaa; background: #103b6d; }
.footer-notice { border-top-color: rgba(255,255,255,.1); }

.subpage { background: #f6f8fb; color: #10233f; }
.subpage-hero {
  min-height: 650px;
  padding-top: 165px;
  align-items: center;
  color: #fff;
  text-align: center;
  border: 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(50,137,230,.46), transparent 36%),
    linear-gradient(180deg, rgba(5,28,57,.68), rgba(5,28,57,.94)),
    url('mosque-hero.png') center 42% / cover no-repeat;
}
.subpage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image:
    linear-gradient(rgba(244,223,170,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,223,170,.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 72%);
}
.subpage-hero::after {
  width: 500px;
  height: 160px;
  right: 50%;
  bottom: -115px;
  border: 1px solid rgba(244,223,170,.25);
  border-radius: 50%;
  transform: translateX(50%);
}
.subpage-hero .eyebrow { justify-content: center; }
.subpage-hero h1 {
  max-width: 1050px;
  margin-inline: auto;
  color: #fff;
  background: none;
  font-size: clamp(4.3rem,7.5vw,8rem);
  font-weight: 500;
  text-shadow: 0 16px 45px rgba(2,18,38,.3);
}
.subpage-hero > p:last-child { margin-inline: auto; color: rgba(255,255,255,.7); }

.contact-layout { grid-template-columns: .82fr 1.18fr; max-width: 1320px; margin-inline: auto; background: #f6f8fb; }
.contact-details { text-align: left; }
.contact-details h2 { color: #10233f; }
.contact-details h2::after { margin-inline: 0; }
.contact-lead { margin-inline: 0; color: #66758a; }
.contact-cards { max-width: none; margin-inline: 0; }
.contact-card,
.next-prayer,
.prayer-card,
.crowdfunder-panel,
.paypal-panel,
.bank-transfer-panel,
.islam-contents a,
.documents-panel,
.attendance-panel,
.important-panel,
.service-hero-facts span { border-radius: 28px; }
.contact-card {
  border: 1px solid rgba(16,35,63,.08);
  background: #fff;
  color: #10233f;
  box-shadow: 0 15px 40px rgba(9,49,91,.06);
  text-align: left;
}
.contact-card p, .contact-card a { color: #66758a; }
.contact-card > svg,
.form-icon,
.next-prayer > svg,
.prayer-icon,
.crowdfunder-copy > svg,
.donate-panel-head > svg,
.process-icon,
.detail-panel-heading > svg,
.service-final-cta > svg { border-radius: 16px; }
.contact-card > svg, .donate-panel-head > svg, .detail-panel-heading > svg {
  background: linear-gradient(135deg, #1265be, #073b73);
  color: #f4dfaa;
}
.contact-form {
  border: 1px solid rgba(16,35,63,.09);
  border-radius: 36px;
  outline: 0;
  background: #fff;
  color: #10233f;
  box-shadow: 0 32px 85px rgba(9,49,91,.11);
}
.form-heading small { color: #9c6f21; }
.form-heading h2 { color: #10233f; font-weight: 500; }
.form-field label { color: #66758a; }
.form-field input, .form-field textarea {
  border-color: rgba(16,35,63,.08);
  border-radius: 16px;
  background: #eef5fc;
  color: #10233f;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: #8793a4; }
.form-submit-row > p { color: #66758a; }
.form-submit-row > p a { color: #0a4d95; }
.form-status { color: #0a4d95; }
.contact-form .contact-submit {
  border-radius: 999px;
  background: linear-gradient(135deg, #1265be, #073b73);
  color: #fff;
}

.prayer-board { background: #eef5fc; color: #10233f; }
.prayer-board-head h2 { color: #10233f; }
.prayer-board-head p, .prayer-date-row { color: #66758a; }
.prayer-card {
  border: 1px solid rgba(16,35,63,.08);
  background: #fff;
  color: #10233f;
  box-shadow: 0 15px 40px rgba(9,49,91,.06);
}
.prayer-card p, .prayer-card small { color: #66758a; }
.prayer-card.next, .next-prayer {
  border: 0;
  background: linear-gradient(145deg, #0d65bd, #073b73);
  color: #fff;
}
.prayer-card.next p, .prayer-card.next small,
.next-prayer p, .next-prayer small { color: rgba(255,255,255,.68); }
.prayer-date-row,
.prayer-disclaimer,
.donation-legacy-message,
.donation-impact,
.guidance-copy p,
.confirmation-note { border-color: rgba(211,167,80,.4); }

.donate-page-content {
  background: radial-gradient(circle at 90% 7%, rgba(18,101,190,.1), transparent 30%), #eef5fc;
  color: #10233f;
}
.donate-intro { grid-template-columns: 1fr; text-align: center; }
.donate-intro h2 { color: #10233f; }
.donate-intro h2::after { margin-inline: auto; }
.donate-intro > p { max-width: 800px; margin-inline: auto; color: #66758a; }
.donation-legacy-message {
  border: 1px solid rgba(211,167,80,.32);
  border-left: 5px solid #d3a750;
  border-radius: 28px;
  background: rgba(255,255,255,.8);
  box-shadow: 0 18px 50px rgba(9,49,91,.06);
}
.donate-methods {
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1.2rem;
  max-width: none;
  justify-content: stretch;
  margin-inline: 0;
}
.crowdfunder-panel {
  border: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(244,223,170,.2), transparent 30%),
    linear-gradient(135deg, #061c38, #0a4d95);
  color: #fff;
  box-shadow: 0 28px 75px rgba(9,49,91,.2);
}
.crowdfunder-panel p { color: rgba(255,255,255,.68); }
.paypal-panel,
.bank-transfer-panel {
  width: 100%;
  min-height: 100%;
  padding: clamp(1.6rem, 3vw, 2.7rem);
  border: 1px solid rgba(16,35,63,.09);
  border-radius: 30px;
  background: rgba(255,255,255,.93);
  color: #10233f;
  box-shadow: 0 22px 60px rgba(9,49,91,.09);
}
.paypal-panel p,
.paypal-panel small,
.bank-transfer-panel > p { color: #66758a; }
.paypal-panel .paypal-donate-button { background: linear-gradient(135deg, #1265be, #073b73); color: #fff; }
.bank-transfer-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #fffdf7 0%, #fff 60%, #eef5fc 100%);
}
.bank-transfer-panel::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -105px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(211,167,80,.22);
  border-radius: 50%;
  box-shadow: 0 0 0 36px rgba(211,167,80,.04);
  pointer-events: none;
}
.bank-details {
  position: relative;
  z-index: 1;
  display: grid;
  gap: .75rem;
  margin: 1.5rem 0;
}
.bank-details > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .95rem 1.05rem;
  border: 1px solid rgba(16,35,63,.08);
  border-radius: 16px;
  background: #eef5fc;
}
.bank-details dt {
  color: #66758a;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.bank-details dd {
  margin: 0;
  color: #073b73;
  font-size: 1.38rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.bank-transfer-note {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(16,35,63,.1);
  color: #66758a;
  font-size: .7rem;
  line-height: 1.6;
}
.bank-transfer-note svg { width: 16px; color: #0a4d95; flex: 0 0 auto; }
.donation-impact {
  border-radius: 22px;
  background: linear-gradient(90deg, #f5dfaa, #e8bf6d);
  color: #10233f;
}

.islam-content { background: #fff; color: #10233f; }
.islam-contents { gap: 1rem; border: 0; background: #eef5fc; }
.islam-contents a {
  border: 1px solid rgba(16,35,63,.08);
  background: #fff;
  color: #10233f;
  box-shadow: 0 12px 34px rgba(9,49,91,.05);
}
.islam-contents a:hover { border-color: rgba(18,101,190,.3); background: #f7fbff; }
.islam-section { background: #fff; color: #10233f; }
.islam-section p, .pillar-copy p, .belief-copy p { color: #66758a; }
.pillar-list, .belief-list { border-color: rgba(16,35,63,.1); }
.pillar-number, .belief-number, .belief-item > span { color: #0a4d95; }
.guidance-section { background: #fbf7ee; color: #10233f; }
.guidance-section .islam-section-heading h2 { color: #10233f; }
.guidance-section p, .guidance-copy p { color: #66758a; }
.dark-section, .marriage-process, .service-final-cta {
  background:
    radial-gradient(circle at 84% 10%, rgba(38,119,207,.3), transparent 28%),
    linear-gradient(145deg, #061c38, #073b73);
}
.dark-section .islam-section-heading h2,
.marriage-process .services-section-heading h2,
.service-final-cta h2 { color: #fff; }

.services-intro { background: #fff; color: #10233f; }
.services-intro h2 { color: #10233f; }
.services-intro p { color: #66758a; }
.services-intro .eyebrow { color: #9c6f21; }
.process-grid { grid-template-columns: repeat(2, 1fr); }
.process-card {
  min-height: 315px;
  border: 1px solid rgba(244,223,170,.18);
  border-radius: 30px;
  background: rgba(255,255,255,.08);
  color: #fff;
}
.process-card p { color: rgba(255,255,255,.63); }
.ceremony-details {
  grid-template-columns: 1.15fr .85fr;
  background: #eef5fc;
  color: #10233f;
}
.documents-panel {
  border: 1px solid rgba(16,35,63,.08);
  background: #fff;
  color: #10233f;
  box-shadow: 0 22px 60px rgba(9,49,91,.08);
}
.documents-panel li {
  border: 0;
  border-radius: 15px;
  background: #eef5fc;
  color: #4e5d70;
}
.attendance-panel { background: linear-gradient(145deg, #f5dfaa, #d4a550); color: #10233f; }
.important-panel { border: 0; background: linear-gradient(145deg, #061c38, #073b73); color: #fff; }
.important-panel li::before { background: #d3a750; }
.service-hero-facts span {
  border-color: rgba(244,223,170,.2);
  background: rgba(8,43,80,.68);
  color: #fff;
}
.service-hero-facts strong { color: #f4dfaa; }
.service-hero-facts small { color: rgba(255,255,255,.62); }
.legal-content { background: #fbf7ee; color: #10233f; }
.legal-content section { border-bottom-color: rgba(16,35,63,.1); }
.legal-content p, .legal-content li { color: #66758a; }

@media (max-width: 1050px) {
  .hero-shell { min-height: 1080px; }
  .plan-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .future-pillars { gap: .8rem; }
}

@media (max-width: 900px) {
  .site-header { height: 82px; }
  .header-logo { width: 168px; height: 80px; }
  .hero-shell { min-height: auto; padding-top: 132px; padding-bottom: 88px; }
  .appeal-section, .vision-intro, .contact-layout, .donate-intro, .ceremony-details { grid-template-columns: 1fr; }
  .plan-heading { align-items: flex-start; flex-direction: column; }
  .subpage-hero { min-height: 540px; padding-top: 132px; }
  .donate-methods { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero-copy h1 { font-size: 4rem; }
  .subpage-hero h1 { font-size: 3.8rem; }
  .hero-shell { gap: 2.5rem; }
  .donation-card { border-radius: 28px; padding: 1.55rem; }
  .section-pad { padding-block: 5.25rem; }
  .plan-grid, .process-grid { grid-template-columns: 1fr; }
  .vision-viewport { height: 440px; border-radius: 27px 27px 0 0; }
  .vision-controls { border-radius: 0 0 27px 27px; overflow-x: auto; }
  .future-pillars { gap: .75rem; }
  .bank-details > div { align-items: flex-start; flex-direction: column; gap: .25rem; }
}

/* Personal donation reflection */
.donation-reflection {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: clamp(1.7rem, 3vw, 2.8rem);
  border: 1px solid rgba(239, 212, 167, .24);
  border-top: 6px solid #c88b4b;
  background: #2d151c;
  color: #fff8ec;
}
.donation-reflection::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -100px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(239, 212, 167, .13);
  transform: rotate(45deg);
  pointer-events: none;
}
.reflection-kicker {
  margin: 0 0 1.3rem;
  color: #efd4a7;
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.reflection-amount {
  margin-bottom: .45rem;
  color: #efd4a7;
  font-family: var(--serif), Georgia, serif;
  font-size: clamp(3.6rem, 7vw, 6.4rem);
  line-height: .9;
  letter-spacing: -.055em;
}
.donation-reflection h3 {
  margin: 1rem 0 .8rem;
  color: #fff8ec;
  font-family: var(--serif), Georgia, serif;
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
}
.reflection-message {
  position: relative;
  max-width: 640px;
  margin: 0;
  color: rgba(255, 248, 236, .78);
  font-size: 1rem;
  line-height: 1.75;
}
.islamic-meaning {
  position: relative;
  margin: 1.5rem 0;
  padding: 1.2rem 1.3rem;
  border-left: 4px solid #c88b4b;
  background: #163a31;
}
.islamic-meaning strong { display: block; margin-bottom: .45rem; color: #efd4a7; }
.islamic-meaning p { margin: .42rem 0 0; color: rgba(255, 248, 236, .74); font-size: .9rem; line-height: 1.65; }
.reflection-listen-button {
  position: relative;
  gap: .55rem;
  border: 1px solid #c88b4b;
  border-radius: 0;
  background: #efd4a7;
  color: #2d151c;
}
.reflection-listen-button:hover { background: #fff8ec; color: #2d151c; }

@media (max-width: 560px) {
  .reflection-amount { font-size: 4.2rem; }
  .donation-reflection { padding: 1.5rem; }
}
/* Architectural editorial redesign */
:root {
  --ink: #261c1c;
  --forest: #214b3f;
  --forest-2: #12352d;
  --moss: #6e8071;
  --gold: #c88b4b;
  --gold-deep: #8f552f;
  --gold-soft: #efd4a7;
  --cream: #e7ddcc;
  --paper: #f3efe7;
  --line: rgba(38, 28, 28, .15);
  --muted: #6c6260;
  --accent: #a84634;
  --accent-dark: #6e2830;
  --charcoal: #1a1516;
  --surface: #e7e0d4;
  --radius: .35rem;
}

html { background: #171314; }
body {
  background: #f3efe7;
  color: #261c1c;
  font-family: "Gill Sans", "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3,
.hero-copy h1,
.section-heading h2,
.vision-intro h2,
.plan-heading h2,
.final-cta h2,
.subpage-hero h1,
.contact-details h2,
.prayer-board-head h2,
.donate-intro h2,
.islam-section-heading h2,
.services-intro h2,
.services-section-heading h2,
.donation-card h2,
.plan-card h3,
.form-heading h2,
.donate-panel-head h3,
.crowdfunder-copy h3,
.prayer-card h3,
.prayer-card time,
.bank-details dd,
.story-intro h2,
.story-grid h3 {
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif !important;
  letter-spacing: -.035em;
}

.site-header {
  height: 96px;
  padding-inline: clamp(1rem, 4.5vw, 5.5rem);
  color: #fff;
  border: 0;
  border-bottom: 1px solid rgba(239,212,167,.22);
  background: rgba(25,20,21,.9);
  box-shadow: 0 14px 42px rgba(24,14,15,.2);
  backdrop-filter: blur(20px);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: #a84634;
}
.site-header::after {
  content: "";
  position: absolute;
  inset: auto 6vw 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,139,75,.65), transparent);
}
.header-logo {
  width: 194px;
  height: 92px;
  filter: drop-shadow(0 7px 18px rgba(0,0,0,.34));
}
.site-header nav {
  gap: clamp(.9rem, 1.9vw, 2rem);
  color: #fff;
  font-size: .83rem;
  font-weight: 650;
  letter-spacing: .01em;
  text-transform: none;
}
.site-header nav a { position: relative; color: #fff; opacity: .68; }
.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -.7rem;
  height: 2px;
  background: #c88b4b;
  transition: right .2s ease;
}
.site-header nav a:hover::after,
.site-header nav a:focus-visible::after { right: 0; }
.site-header nav a:hover,
.site-header nav a.active { color: #fff; opacity: 1; }
.header-donate {
  min-height: 44px;
  padding-inline: 1.4rem;
  border: 1px solid rgba(239,212,167,.34);
  border-radius: 0;
  background: #a84634;
  color: #fff8ec;
  box-shadow: none;
  font-size: .82rem;
  font-weight: 800;
}
.site-header .menu-toggle {
  border-color: rgba(239,212,167,.32);
  border-radius: 0;
  background: #35272a;
  color: #efd4a7;
}

.hero-shell {
  min-height: 940px;
  padding: 148px clamp(1.2rem, 6vw, 6.5rem) 80px;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .72fr);
  justify-items: stretch;
  align-items: center;
  align-content: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  color: #261c1c;
  text-align: left;
  border-bottom: 8px solid #a84634;
  background:
    linear-gradient(90deg, #eee9df 0%, #eee9df 47%, rgba(238,233,223,.82) 55%, rgba(28,18,19,.16) 100%),
    url('mosque-hero.png') 100% 38% / 62% 100% no-repeat,
    #eee9df;
}
.hero-shell::before {
  opacity: .34;
  background-image: linear-gradient(90deg, rgba(168,70,52,.16) 1px, transparent 1px);
  background-size: 72px 100%;
  mask-image: linear-gradient(90deg, black, transparent 58%);
}
.hero-shell::after {
  width: 160px;
  height: 7px;
  left: clamp(1.2rem, 6vw, 6.5rem);
  bottom: 72px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, #a84634 0 60%, #c88b4b 60%);
  box-shadow: none;
  transform: none;
}
.hero-copy { max-width: 780px; }
.eyebrow {
  justify-content: flex-start;
  color: #8f552f;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
}
.eyebrow span { width: 42px; border-radius: 0; background: #a84634; }
.eyebrow.dark { color: #8f552f; }
.eyebrow.light { color: #efd4a7; }
.hero-copy h1 {
  max-width: 760px;
  margin-inline: 0;
  color: #2b1d1e;
  background: none;
  font-size: clamp(4rem, 6.6vw, 7.2rem);
  font-weight: 500;
  line-height: .93;
  letter-spacing: -.055em;
  text-shadow: none;
}
.hero-intro {
  max-width: 660px;
  margin-inline: 0;
  padding: 1.15rem 0 0;
  border: 0;
  border-top: 1px solid rgba(38,28,28,.18);
  color: #625957;
  font-size: clamp(1.08rem,1.45vw,1.25rem);
  line-height: 1.75;
}
.hero-intro strong { color: #842f2f; }
.hero-actions, .hero-proof { justify-content: flex-start; }
.primary-cta,
.vision-button,
.service-enquiry-button,
.crowdfunder-button,
.contact-submit,
.final-button,
.story-button {
  min-height: 52px;
  border: 0;
  border-radius: 0;
  background: #a84634;
  color: #fff;
  box-shadow: none;
  padding-inline: 1.7rem;
  font-family: inherit;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .01em;
}
.primary-cta:hover,
.vision-button:hover,
.service-enquiry-button:hover,
.crowdfunder-button:hover,
.contact-submit:hover,
.final-button:hover,
.story-button:hover { background: #772d31; color: #fff; }
.text-link {
  color: #6e2830;
  border-bottom-color: rgba(110,40,48,.42);
  font-family: inherit;
}
.hero-proof {
  max-width: 700px;
  margin-inline: 0;
  border-top-color: rgba(38,28,28,.16);
}
.hero-proof strong { color: #261c1c; }
.hero-proof small { color: #6c6260; }

.donation-card {
  width: min(485px, 100%);
  justify-self: end;
  overflow: hidden;
  padding: clamp(2rem, 3.4vw, 3rem);
  border: 1px solid rgba(239,212,167,.38);
  border-radius: 0;
  outline: 8px solid rgba(35,20,23,.22);
  background: rgba(45,21,28,.94);
  box-shadow: 0 35px 90px rgba(24,14,15,.36);
  backdrop-filter: blur(18px);
  color: #fff8ec;
  text-align: left;
}
.donation-card::before {
  content: "";
  display: block;
  width: 100%;
  height: 5px;
  margin: 0 0 1.5rem;
  border-radius: 0;
  background: linear-gradient(90deg, #c88b4b 0 35%, #a84634 35%);
}
.card-kicker { justify-content: flex-start; color: #efd4a7; }
.donation-card h2 {
  color: #fff8ec;
  font-size: 2.55rem;
  font-weight: 500;
  text-align: left;
}
.donation-card > p {
  max-width: 100%;
  margin-inline: 0;
  color: rgba(255,248,236,.7);
  font-size: 1rem;
  text-align: left;
}
.amount-grid { max-width: none; margin-inline: 0; gap: .5rem; }
.amount, .donate-amount {
  border-radius: 0;
  border-color: rgba(239,212,167,.2);
  background: rgba(255,255,255,.07);
  color: #fff8ec;
}
.amount:hover, .donate-amount:hover { border-color: #c88b4b; background: rgba(200,139,75,.15); }
.amount.active, .donate-amount.selected {
  border-color: #c88b4b;
  background: #c88b4b;
  color: #24171a;
}
.custom-amount { max-width: none; margin-inline: 0; text-align: left; }
.currency-input { border-color: rgba(239,212,167,.2); border-radius: 0; background: rgba(255,255,255,.08); }
.currency-input b { color: #efd4a7; }
.currency-input input { border-radius: 0; color: #fff; background: transparent; }
.amount-help, .donation-card .secure-note { color: rgba(255,248,236,.58); }
.paypal-button, .paypal-donate-button {
  border: 1px solid #c88b4b;
  border-radius: 0;
  background: #efd4a7;
  color: #2d151c;
  box-shadow: none;
  font-family: inherit;
}
.paypal-button:hover, .paypal-donate-button:hover { background: #fff1d7; color: #2d151c; }

.section-pad { padding-block: clamp(6.5rem, 10vw, 10rem); }
.appeal-section {
  grid-template-columns: minmax(300px,.78fr) minmax(0,1.22fr);
  gap: clamp(3rem, 8vw, 8rem);
  background: #f3efe7;
  color: #261c1c;
  text-align: left;
}
.section-heading { max-width: 680px; margin-inline: 0; }
.section-heading h2,
.vision-intro h2,
.contact-details h2,
.prayer-board-head h2,
.islam-section-heading h2,
.services-section-heading h2 { color: #261c1c; }
.section-heading h2,
.vision-intro h2,
.plan-heading h2,
.contact-details h2,
.prayer-board-head h2,
.donate-intro h2,
.islam-section-heading h2,
.services-intro h2,
.services-section-heading h2 { font-weight: 500; }
.section-heading h2::after,
.vision-intro h2::after,
.contact-details h2::after,
.prayer-board-head h2::after,
.donate-intro h2::after,
.services-intro h2::after {
  content: "";
  display: block;
  width: 94px;
  height: 4px;
  margin: 1.3rem 0 0;
  border-radius: 0;
  background: linear-gradient(90deg, #a84634 0 62%, #c88b4b 62%);
}
.appeal-copy { max-width: 860px; margin-inline: 0; }
.appeal-copy .lead {
  padding: 0 0 0 1.3rem;
  border: 0;
  border-left: 4px solid #a84634;
  color: #261c1c;
  font-family: "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.62rem;
  font-weight: 500;
}
.appeal-copy p { color: #6c6260; font-size: 1rem; line-height: 1.85; }
.quote-strip {
  justify-content: flex-start;
  border: 1px solid rgba(38,28,28,.12);
  border-radius: 0;
  background: #e7ddcc;
  color: #261c1c;
  box-shadow: none;
  text-align: left;
}
.quote-strip p, .quote-strip strong { color: #261c1c; }
.quote-strip small { color: #6c6260; }

.legacy-story {
  position: relative;
  overflow: hidden;
  background: #2d151c;
  color: #fff8ec;
}
.legacy-story::before {
  content: "LEGACY";
  position: absolute;
  right: -2rem;
  top: 3rem;
  color: rgba(239,212,167,.045);
  font-family: "Palatino Linotype", Palatino, serif;
  font-size: clamp(7rem, 18vw, 18rem);
  line-height: 1;
  letter-spacing: -.06em;
  pointer-events: none;
}
.story-intro {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(300px,.65fr);
  gap: clamp(2rem,7vw,7rem);
  align-items: end;
}
.story-intro .eyebrow { grid-column: 1 / -1; margin-bottom: -1rem; }
.story-intro h2 {
  margin: 0;
  max-width: 820px;
  color: #fff8ec;
  font-size: clamp(3.2rem, 5.4vw, 6rem);
  font-weight: 500;
  line-height: .98;
}
.story-intro > p:last-child {
  margin: 0;
  color: rgba(255,248,236,.68);
  font-size: 1.05rem;
  line-height: 1.8;
}
.story-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  margin-top: clamp(3rem,6vw,6rem);
  border-top: 1px solid rgba(239,212,167,.22);
  border-bottom: 1px solid rgba(239,212,167,.22);
}
.story-grid article {
  min-height: 335px;
  padding: 2rem;
  border-right: 1px solid rgba(239,212,167,.22);
}
.story-grid article:last-child { border-right: 0; }
.story-grid article > span {
  display: block;
  color: #c88b4b;
  font-family: "Palatino Linotype", Palatino, serif;
  font-size: 1.25rem;
}
.story-grid h3 {
  margin: 4rem 0 1rem;
  color: #efd4a7;
  font-size: 1.8rem;
  font-weight: 500;
}
.story-grid p {
  margin: 0;
  color: rgba(255,248,236,.64);
  font-size: 1rem;
  line-height: 1.75;
}
.story-promise {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .75fr 1fr auto;
  gap: 2rem;
  align-items: center;
  margin-top: 3rem;
  padding: 2rem;
  border-left: 6px solid #c88b4b;
  background: rgba(255,255,255,.055);
}
.story-promise strong {
  color: #efd4a7;
  font-family: "Palatino Linotype", Palatino, serif;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.35;
}
.story-promise p { margin: 0; color: rgba(255,248,236,.68); font-size: 1rem; line-height: 1.7; }
.story-button { flex: 0 0 auto; background: #c88b4b; color: #24171a; }
.story-button:hover { background: #efd4a7; color: #24171a; }

.vision-section {
  background: #e7e0d4;
  color: #261c1c;
}
.vision-intro {
  grid-template-columns: minmax(0,1fr) minmax(330px,.72fr);
  gap: clamp(2rem,7vw,7rem);
  text-align: left;
}
.vision-pitch { max-width: 650px; margin-inline: 0; }
.vision-pitch p { color: #6c6260; font-size: 1rem; line-height: 1.8; }
.vision-actions { justify-content: flex-start; }
.vision-carousel {
  grid-template-columns: minmax(0,1fr) 88px;
  gap: 0;
  padding: 0;
  border: 8px solid #f3efe7;
  border-radius: 0;
  background: #1a1516;
  box-shadow: 0 30px 80px rgba(36,23,24,.17);
  overflow: hidden;
}
.vision-viewport {
  height: clamp(580px, 58vw, 800px);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.vision-slide::after { background: linear-gradient(180deg, transparent 55%, rgba(26,21,22,.9)); }
.vision-slide figcaption { padding: clamp(1.7rem,3vw,2.7rem); color: #fff8ec; }
.vision-controls {
  min-height: 0;
  flex-direction: column;
  border: 0;
  border-left: 1px solid rgba(239,212,167,.16);
  border-radius: 0;
  background: #24191b;
}
.vision-controls > button,
.vision-dots button { border-radius: 0; }
.vision-controls > button {
  border-color: rgba(239,212,167,.2);
  background: rgba(255,255,255,.05);
  color: #efd4a7;
}
.vision-dots { flex-direction: column; }
.vision-dots button {
  width: 42px;
  height: 42px;
  border-color: transparent;
  color: rgba(255,248,236,.45);
}
.vision-dots button.active {
  border-color: #c88b4b;
  outline: 0;
  background: #c88b4b;
  color: #24171a;
}
.future-pillars { gap: 0; margin-top: 1.5rem; border: 1px solid rgba(38,28,28,.12); background: #f3efe7; }
.future-pillars > div {
  min-height: 155px;
  padding: 1.7rem;
  border: 0;
  border-right: 1px solid rgba(38,28,28,.12);
  border-radius: 0;
  background: transparent;
  color: #261c1c;
  box-shadow: none;
}
.future-pillars > div:last-child { border-right: 0; }
.future-pillars p, .future-pillars small { color: #6c6260; }
.future-pillars svg { color: #a84634; }

.plan-section {
  border: 0;
  background: #163a31;
  color: #fff8ec;
}
.plan-heading { align-items: flex-end; flex-direction: row; text-align: left; }
.plan-heading h2 { color: #fff8ec; }
.plan-heading > p { max-width: 650px; color: rgba(255,248,236,.65); font-size: 1rem; line-height: 1.8; }
.plan-grid { grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 3.5rem; border: 1px solid rgba(239,212,167,.2); }
.plan-card {
  min-height: 370px;
  border: 0;
  border-right: 1px solid rgba(239,212,167,.2);
  border-radius: 0;
  background: transparent;
  color: #fff8ec;
  box-shadow: none;
}
.plan-card:last-child { border-right: 0; }
.plan-card:nth-child(1), .plan-card:nth-child(4) {
  background: #efd4a7;
  color: #1a332c;
}
.plan-card:hover { transform: none; background: rgba(255,255,255,.06); box-shadow: none; }
.plan-card:nth-child(1):hover, .plan-card:nth-child(4):hover { background: #f6e4c3; }
.plan-card h3 { color: inherit; font-weight: 500; }
.plan-card strong { color: #efd4a7; }
.plan-card:nth-child(1) strong, .plan-card:nth-child(4) strong { color: #8f552f; }
.plan-card p { color: rgba(255,248,236,.62); font-size: .98rem; line-height: 1.75; }
.plan-card:nth-child(1) p, .plan-card:nth-child(4) p { color: #5e5950; }
.plan-card > svg, .plan-number { color: #c88b4b; }

.final-cta {
  border: 0;
  background: #a84634;
  color: #fff8ec;
}
.final-cta h2 { color: #fff8ec; }
.final-cta .eyebrow { color: #efd4a7; }
.final-copy { color: rgba(255,248,236,.72); font-size: 1.05rem; }
.final-cta .final-button { border: 1px solid #efd4a7; background: #2d151c; color: #fff8ec; }
.final-cta::after { border: 1px solid rgba(239,212,167,.2); border-radius: 0; }

.site-footer {
  border: 0;
  border-top: 1px solid rgba(239,212,167,.15);
  background: #171314;
  color: #fff8ec;
}
.footer-logo { width: min(320px,78vw); height: 190px; }
.footer-identity > p,
.footer-contact a,
.footer-links a,
.footer-notice,
.site-footer .copyright { color: rgba(255,248,236,.62); }
.footer-contact a, .footer-links a {
  border: 1px solid rgba(239,212,167,.09);
  border-radius: 0;
  background: #261d1f;
  font-family: inherit;
}
.footer-contact svg { color: #c88b4b; }
.footer-contact a:hover, .footer-links a:hover { border-color: rgba(239,212,167,.28); background: #35272a; color: #fff; }
.footer-links a.active { color: #efd4a7; background: #35272a; }
.footer-notice { border-top-color: rgba(239,212,167,.1); }

.subpage { background: #f3efe7; color: #261c1c; }
.subpage-hero {
  min-height: 620px;
  padding-top: 160px;
  align-items: center;
  color: #fff8ec;
  text-align: left;
  border: 0;
  border-bottom: 8px solid #a84634;
  background:
    linear-gradient(90deg, rgba(32,17,21,.94), rgba(32,17,21,.6)),
    url('mosque-hero.png') center 42% / cover no-repeat;
}
.subpage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .26;
  background-image: linear-gradient(90deg, rgba(239,212,167,.16) 1px, transparent 1px);
  background-size: 72px 100%;
  mask-image: linear-gradient(90deg, black, transparent 70%);
}
.subpage-hero::after {
  width: 140px;
  height: 6px;
  right: auto;
  left: clamp(1.2rem,8vw,8.5rem);
  bottom: 70px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg,#a84634 0 60%,#c88b4b 60%);
  transform: none;
}
.subpage-hero .eyebrow { justify-content: flex-start; }
.subpage-hero h1 {
  max-width: 980px;
  margin-inline: 0;
  color: #fff8ec;
  background: none;
  font-size: clamp(4rem,7vw,7.2rem);
  font-weight: 500;
  text-shadow: none;
}
.subpage-hero > p:last-child { margin-inline: 0; color: rgba(255,248,236,.7); font-size: 1.1rem; }

.contact-layout { grid-template-columns: .84fr 1.16fr; max-width: 1320px; margin-inline: auto; background: #f3efe7; }
.contact-details { text-align: left; }
.contact-details h2 { color: #261c1c; }
.contact-details h2::after { margin-inline: 0; }
.contact-lead { margin-inline: 0; color: #6c6260; font-size: 1rem; line-height: 1.75; }
.contact-cards { max-width: none; margin-inline: 0; }
.contact-card,
.next-prayer,
.prayer-card,
.crowdfunder-panel,
.paypal-panel,
.bank-transfer-panel,
.islam-contents a,
.documents-panel,
.attendance-panel,
.important-panel,
.service-hero-facts span { border-radius: 0; }
.contact-card {
  border: 1px solid rgba(38,28,28,.12);
  background: #e7e0d4;
  color: #261c1c;
  box-shadow: none;
  text-align: left;
}
.contact-card p, .contact-card a { color: #6c6260; }
.contact-card > svg,
.form-icon,
.next-prayer > svg,
.prayer-icon,
.crowdfunder-copy > svg,
.donate-panel-head > svg,
.process-icon,
.detail-panel-heading > svg,
.service-final-cta > svg { border-radius: 0; }
.contact-card > svg, .donate-panel-head > svg, .detail-panel-heading > svg { background: #163a31; color: #efd4a7; }
.contact-form {
  border: 1px solid rgba(38,28,28,.12);
  border-radius: 0;
  outline: 8px solid #e7e0d4;
  background: #fffdf8;
  color: #261c1c;
  box-shadow: none;
}
.form-heading small { color: #8f552f; }
.form-heading h2 { color: #261c1c; font-weight: 500; }
.form-field label { color: #6c6260; font-size: .9rem; }
.form-field input, .form-field textarea {
  border-color: rgba(38,28,28,.12);
  border-radius: 0;
  background: #f3efe7;
  color: #261c1c;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: #8d8280; }
.form-submit-row > p { color: #6c6260; }
.form-submit-row > p a { color: #6e2830; }
.form-status { color: #214b3f; }
.contact-form .contact-submit { border-radius: 0; background: #a84634; color: #fff; }

.prayer-board { background: #e7e0d4; color: #261c1c; }
.prayer-board-head h2 { color: #261c1c; }
.prayer-board-head p, .prayer-date-row { color: #6c6260; }
.prayer-card {
  border: 1px solid rgba(38,28,28,.12);
  background: #f3efe7;
  color: #261c1c;
  box-shadow: none;
}
.prayer-card p, .prayer-card small { color: #6c6260; }
.prayer-card.next, .next-prayer { border: 0; background: #2d151c; color: #fff8ec; }
.prayer-card.next p, .prayer-card.next small,
.next-prayer p, .next-prayer small { color: rgba(255,248,236,.68); }
.prayer-date-row,
.prayer-disclaimer,
.donation-legacy-message,
.donation-impact,
.guidance-copy p,
.confirmation-note { border-color: rgba(168,70,52,.38); }

.donate-page-content { background: #e7e0d4; color: #261c1c; }
.donate-intro { grid-template-columns: minmax(0,1fr) minmax(320px,.72fr); text-align: left; }
.donate-intro h2 { color: #261c1c; }
.donate-intro h2::after { margin-inline: 0; }
.donate-intro > p { max-width: 720px; margin-inline: 0; color: #6c6260; font-size: 1rem; line-height: 1.8; }
.donation-legacy-message {
  border: 1px solid rgba(38,28,28,.12);
  border-left: 7px solid #a84634;
  border-radius: 0;
  background: #f3efe7;
  box-shadow: none;
}
.donate-methods { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; max-width: none; justify-content: stretch; margin-inline: 0; }
.crowdfunder-panel {
  border: 0;
  border-radius: 0;
  background: #163a31;
  color: #fff8ec;
  box-shadow: none;
}
.crowdfunder-panel p { color: rgba(255,248,236,.68); }
.paypal-panel,
.bank-transfer-panel {
  width: 100%;
  min-height: 100%;
  padding: clamp(1.6rem,3vw,2.7rem);
  border: 1px solid rgba(38,28,28,.12);
  border-radius: 0;
  background: #f3efe7;
  color: #261c1c;
  box-shadow: none;
}
.paypal-panel p,
.paypal-panel small,
.bank-transfer-panel > p { color: #6c6260; }
.paypal-panel .paypal-donate-button { background: #2d151c; color: #fff8ec; }
.bank-transfer-panel { position: relative; overflow: hidden; background: #fffdf8; }
.bank-transfer-panel::after {
  content: "";
  position: absolute;
  right: -105px;
  bottom: -115px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(168,70,52,.2);
  border-radius: 0;
  transform: rotate(45deg);
  box-shadow: none;
  pointer-events: none;
}
.bank-details > div {
  border: 1px solid rgba(38,28,28,.1);
  border-radius: 0;
  background: #e7e0d4;
}
.bank-details dt { color: #6c6260; font-size: .78rem; }
.bank-details dd { color: #6e2830; }
.bank-transfer-note { border-top-color: rgba(38,28,28,.12); color: #6c6260; font-size: .8rem; }
.bank-transfer-note svg { color: #214b3f; }
.donation-impact { border-radius: 0; background: #efd4a7; color: #261c1c; }

.islam-content { background: #f3efe7; color: #261c1c; }
.islam-contents { gap: 0; border: 0; background: #e7e0d4; }
.islam-contents a {
  border: 1px solid rgba(38,28,28,.1);
  border-radius: 0;
  background: #f3efe7;
  color: #261c1c;
  box-shadow: none;
}
.islam-contents a:hover { border-color: rgba(168,70,52,.35); background: #fffdf8; }
.islam-section { background: #f3efe7; color: #261c1c; }
.islam-section p, .pillar-copy p, .belief-copy p { color: #6c6260; font-size: 1rem; line-height: 1.8; }
.pillar-list, .belief-list { border-color: rgba(38,28,28,.12); }
.pillar-number, .belief-number, .belief-item > span { color: #a84634; }
.guidance-section { background: #e7e0d4; color: #261c1c; }
.guidance-section .islam-section-heading h2 { color: #261c1c; }
.guidance-section p, .guidance-copy p { color: #6c6260; }
.dark-section, .marriage-process, .service-final-cta { background: #2d151c; }
.dark-section .islam-section-heading h2,
.marriage-process .services-section-heading h2,
.service-final-cta h2 { color: #fff8ec; }

.services-intro { background: #f3efe7; color: #261c1c; }
.services-intro h2 { color: #261c1c; }
.services-intro p { color: #6c6260; font-size: 1rem; line-height: 1.8; }
.services-intro .eyebrow { color: #8f552f; }
.process-grid { grid-template-columns: repeat(4,1fr); gap: 0; border: 1px solid rgba(239,212,167,.18); }
.process-card {
  min-height: 370px;
  border: 0;
  border-right: 1px solid rgba(239,212,167,.18);
  border-radius: 0;
  background: transparent;
  color: #fff8ec;
}
.process-card:last-child { border-right: 0; }
.process-card p { color: rgba(255,248,236,.63); font-size: .95rem; line-height: 1.75; }
.ceremony-details { grid-template-columns: 1.15fr .85fr; background: #e7e0d4; color: #261c1c; }
.documents-panel {
  border: 1px solid rgba(38,28,28,.12);
  border-radius: 0;
  background: #f3efe7;
  color: #261c1c;
  box-shadow: none;
}
.documents-panel li { border: 0; border-radius: 0; background: #e7e0d4; color: #554c4b; }
.attendance-panel { background: #efd4a7; color: #261c1c; }
.important-panel { border: 0; background: #163a31; color: #fff8ec; }
.important-panel li::before { background: #c88b4b; }
.service-hero-facts span {
  border-color: rgba(239,212,167,.2);
  border-radius: 0;
  background: rgba(45,21,28,.76);
  color: #fff8ec;
}
.service-hero-facts strong { color: #efd4a7; }
.service-hero-facts small { color: rgba(255,248,236,.62); }
.legal-content { background: #f3efe7; color: #261c1c; }
.legal-content section { border-bottom-color: rgba(38,28,28,.12); }
.legal-content p, .legal-content li { color: #6c6260; font-size: 1rem; line-height: 1.8; }

@media (max-width: 1180px) {
  .hero-shell { grid-template-columns: minmax(0,1fr) minmax(350px,.68fr); gap: 3rem; }
  .plan-grid, .process-grid { grid-template-columns: repeat(2,1fr); }
  .plan-card:nth-child(2), .process-card:nth-child(2) { border-right: 0; }
  .plan-card:nth-child(-n+2), .process-card:nth-child(-n+2) { border-bottom: 1px solid rgba(239,212,167,.18); }
}

@media (max-width: 900px) {
  .site-header { height: 82px; }
  .header-logo { width: 168px; height: 80px; }
  .hero-shell {
    min-height: auto;
    padding-top: 128px;
    padding-bottom: 92px;
    grid-template-columns: 1fr;
    background:
      linear-gradient(180deg, rgba(238,233,223,.88), rgba(238,233,223,.97)),
      url('mosque-hero.png') center 34% / cover no-repeat;
  }
  .donation-card { justify-self: start; width: min(620px,100%); }
  .appeal-section, .vision-intro, .story-intro, .contact-layout, .donate-intro, .ceremony-details { grid-template-columns: 1fr; }
  .story-intro .eyebrow { margin-bottom: 0; }
  .story-grid { grid-template-columns: 1fr; }
  .story-grid article { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(239,212,167,.2); }
  .story-grid article:last-child { border-bottom: 0; }
  .story-grid h3 { margin-top: 2rem; }
  .story-promise { grid-template-columns: 1fr; }
  .vision-carousel { grid-template-columns: 1fr; }
  .vision-controls {
    min-height: 82px;
    flex-direction: row;
    border-left: 0;
    border-top: 1px solid rgba(239,212,167,.16);
  }
  .vision-dots { flex-direction: row; }
  .plan-heading { align-items: flex-start; flex-direction: column; }
  .subpage-hero { min-height: 530px; padding-top: 130px; }
  .donate-methods { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero-copy h1 { font-size: 3.7rem; }
  .subpage-hero h1 { font-size: 3.7rem; }
  .hero-shell { gap: 2.5rem; }
  .donation-card { padding: 1.55rem; outline-width: 4px; }
  .section-pad { padding-block: 5.2rem; }
  .plan-grid, .process-grid { grid-template-columns: 1fr; }
  .plan-card, .process-card { border-right: 0; border-bottom: 1px solid rgba(239,212,167,.18); }
  .vision-viewport { height: 440px; }
  .vision-controls { overflow-x: auto; }
  .future-pillars { gap: 0; }
  .bank-details > div { align-items: flex-start; flex-direction: column; gap: .25rem; }
}
