/* Soft ivory, royal blue and warm gold, drawn from the supplied Next Generation logo. */
:root {
  --ink: #122c45;
  --forest: #143e8b;
  --forest-2: #10265c;
  --moss: #295bb0;
  --charcoal: #102b43;
  --gold: #d2ad59;
  --gold-deep: #9a793b;
  --gold-soft: #f1dfb3;
  --cream: #f6f3ea;
  --paper: #fffdf8;
  --muted: #5a6b73;
  --line: rgba(18,44,69,.14);
}
body { background: var(--paper); color: var(--ink); }
.site-header { background: #faf7ef; color: var(--ink); border-bottom: 1px solid #e3dccb; box-shadow: 0 6px 22px rgba(17,43,65,.08); }
.site-header .brand { padding: 0; border: 0; background: transparent; }
.site-header .header-logo { width: 190px; height: 78px; object-fit: contain; filter: none; }
.site-header nav a { color: #183a51; opacity: 1; font-weight: 700; }
.site-header nav a:hover, .site-header nav a.active { color: #0b695a; }
.menu-toggle { color: #12324b; border: 1px solid #d6ceb9; background: #fffdf8; }
.header-donate, .primary-cta, .vision-button, .service-enquiry-button, .contact-submit {
  border: 1px solid #143e8b; border-radius: 12px; background: #143e8b; color: #fff;
  box-shadow: 0 8px 20px rgba(14,85,75,.12);
}
.header-donate:hover, .primary-cta:hover, .vision-button:hover, .service-enquiry-button:hover, .contact-submit:hover { background: #10316e; color: #fff; }
.hero-shell, body[data-page="home"] .hero-shell, body[data-page="home"] .hero-reference {
  border-bottom: 5px solid #d2ad59;
  background: linear-gradient(90deg,rgba(12,39,60,.95),rgba(13,53,65,.78) 48%,rgba(12,39,60,.18)),url('mosque-hero.webp') center / cover no-repeat;
}
body[data-page="home"] .hero-reference h1.hero-message-title { font-size: 35px; }
body[data-page="home"] .hero-reference .hero-vision-line { color: #f4dfae; }
body[data-page="home"] .hero-reference .hero-secondary-cta { border-radius: 12px; }
.eyebrow, .eyebrow.light { color: #f1dfb3; }
.eyebrow.dark, .donation-kicker { color: #846426; }
.eyebrow span, .donation-kicker::before { background: #d2ad59; }
.future-bridge, .vision-section, .prayer-board, .ceremony-details, .contact-section { background: #f2f4fa; }
.appeal-section, .islam-section, .services-intro { background: #fffdf8; }
.future-bridge-heading h2, .future-bridge-steps h3, .section-heading h2, .vision-intro h2, .plan-heading h2, .contact-details h2, .prayer-board-head h2, .islam-section-heading h2, .services-intro h2, .services-section-heading h2 { color: #122f49; }
.future-bridge-steps { border-color: #d5dced; }
.future-bridge-steps article { border-color: #d5dced; }
.bridge-donate { border-radius: 12px; background: #143e8b; }
.bridge-donate:hover { background: #10316e; }
.quote-strip, .future-pillars > div, .contact-card, .prayer-card, .documents-panel, .islam-contents a { border-color: #dfe5f1; background: #fff; border-radius: 14px; }
.quote-strip { border-left-color: #d2ad59; }
.section-heading h2::after, .vision-intro h2::after, .contact-details h2::after, .prayer-board-head h2::after, .services-intro h2::after { border-bottom-color: #d2ad59; }
.vision-carousel { border-color: #dfe5f1; border-radius: 18px; overflow: hidden; }
.vision-controls { background: #122f49; }
.plan-section, .dark-section, .marriage-process, .service-final-cta { background: linear-gradient(125deg,#102d47,#143e8b); border-color: #d2ad59; }
.plan-section .plan-heading h2, .dark-section .islam-section-heading h2, .marriage-process .services-section-heading h2, .service-final-cta h2 { color: #fff; }
.final-cta { background: #eee7d5; color: #122f49; }
.final-cta h2 { color: #122f49; }
.final-cta .final-button { border-radius: 12px; background: #143e8b; color: #fff; }
.subpage-hero { border-bottom-color: #d2ad59; background: linear-gradient(90deg,rgba(12,39,60,.94),rgba(13,73,73,.72)),url('mosque-hero.webp') center 42% / cover no-repeat; }
.contact-form, .important-panel, .next-prayer, .prayer-card.next { background: #12364f; border-color: #d2ad59; }
body[data-page="home"] .kindness-statement { background: #103c4b; }
body[data-page="donate"] .compact-donation-page { background: #f2f4fa; }
body[data-page="donate"] .compact-donate-intro h1, body[data-page="donate"] .donation-legacy h2 { color: #122f49; }
body[data-page="donate"] .compact-donate-intro h1::after { background: linear-gradient(90deg,#143e8b 50%,#d2ad59 50%); }
body[data-page="donate"] .donation-legacy { border-left-color: #d2ad59; border-radius: 14px; }
.donation-callout { background: #e9edf7; border-radius: 14px; }
.donation-callout strong { color: #173a75; }
body[data-page="donate"] .donation-primary-grid { background: #e9edf7; border-radius: 18px; }
body[data-page="donate"] .compact-paypal-panel { border-top: 5px solid #d2ad59; border-radius: 16px; background: linear-gradient(145deg,#164a61,#103b52); }
body[data-page="donate"] .donation-video-panel { border-top: 5px solid #d2ad59; border-radius: 16px; background: #143e8b; }
body[data-page="donate"] .compact-paypal-panel .donate-amount.selected { border-color: #e0bd70; background: #e0bd70; color: #17386d; }
body[data-page="donate"] .compact-paypal-panel .paypal-donate-button { border-radius: 10px; background: #2459ac; color: #fff; }
body[data-page="donate"] .compact-paypal-panel .paypal-donate-button:hover { background: #164683; }
body[data-page="donate"] .donation-goal-strip { border-radius: 14px; background: #efe5cd; }
.donation-meaning-panel, .donation-slider-panel, .donation-progress-panel { border-top-color: #d2ad59; border-radius: 16px; background: linear-gradient(125deg,#12364f,#143e8b); }
.site-footer { border-top: 5px solid #d2ad59; background: #faf7ef; color: #122f49; }
.footer-logo { width: min(330px, 85vw); height: auto; max-height: 230px; object-fit: contain; }
.footer-identity > p, .footer-contact a, .footer-links a, .footer-notice, .site-footer .copyright { color: #566a72; }
.footer-contact a, .footer-links a, .footer-donate-slot { border-color: #dfe5f1; background: #fffdf8; border-radius: 10px; }
.footer-contact .footer-donate-flash { border-color: #143e8b; background: #143e8b; color: #fff; }
.footer-contact .footer-donate-flash:hover { background: #10316e; color: #fff; }
@keyframes footer-donate-flash {
  0%,56%,100% { background: #143e8b; box-shadow: none; transform: scale(1); }
  68% { background: #315fbd; box-shadow: 0 0 0 4px rgba(49,95,189,.15); transform: scale(1.025); }
  80% { background: #143e8b; box-shadow: none; transform: scale(1); }
}
@media (max-width: 760px) {
  .site-header .header-logo { width: 130px; height: 65px; }
  .site-header nav { background: #faf7ef; border: 1px solid #e3dccb; }
  .site-header nav a { color: #183a51; }
}

/* The supplied square mark remains legible beside a simple text wordmark. */
.site-header .brand { display: flex; gap: .55rem; align-items: center; min-width: 0; }
.site-header .header-logo { width: 73px; height: 73px; flex: 0 0 73px; }
.site-header .brand-wordmark { display: flex; flex-direction: column; gap: .15rem; white-space: nowrap; }
.site-header .brand-wordmark strong { color: #112d67; font: 700 1.04rem/1.1 Georgia,serif; letter-spacing: -.02em; }
.site-header .brand-wordmark small { color: #936c27; font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: 1; }
.site-header { border-bottom-color: #e4d7b7; }
.header-donate, .primary-cta, .vision-button, .service-enquiry-button, .contact-submit { background: #143e8b; border-color: #143e8b; }
.header-donate:hover, .primary-cta:hover, .vision-button:hover, .service-enquiry-button:hover, .contact-submit:hover { background: #10316e; }
body[data-page="home"] .hero-reference, .hero-shell, body[data-page="home"] .hero-shell {
  background: linear-gradient(90deg,rgba(13,34,82,.95),rgba(19,58,121,.78) 48%,rgba(20,62,139,.17)),url('mosque-hero.webp') center / cover no-repeat;
}
.subpage-hero { background: linear-gradient(90deg,rgba(13,34,82,.94),rgba(20,62,139,.7)),url('mosque-hero.webp') center 42% / cover no-repeat; }
body[data-page="donate"] .compact-paypal-panel { background: linear-gradient(145deg,#194b9c,#102f70); }
body[data-page="donate"] .donation-video-panel { background: #17386d; }
body[data-page="donate"] .compact-paypal-panel .paypal-donate-button { background: #2459ac; }
body[data-page="donate"] .compact-paypal-panel .paypal-donate-button:hover { background: #164683; }
.donation-meaning-panel, .donation-slider-panel, .donation-progress-panel { background: linear-gradient(125deg,#10265c,#194b9c); }
.footer-logo { width: min(285px,75vw); max-height: 290px; }
@media (max-width: 760px) {
  .site-header .header-logo { width: 54px; height: 54px; flex-basis: 54px; }
  .site-header .brand-wordmark strong { font-size: .85rem; }
  .site-header .brand-wordmark small { font-size: .5rem; letter-spacing: .08em; }
}
@media (max-width: 420px) {
  .site-header .brand-wordmark { display: none; }
}
.site-header nav a:hover, .site-header nav a.active { color: #174ca4; }
.site-header .menu-toggle { border-color: #d9c99f; background: #fffdf8; color: #112d67; }
.bridge-donate, .final-cta .final-button { background: #143e8b; }
.bridge-donate:hover, .final-cta .final-button:hover { background: #10316e; }
.plan-section, .dark-section, .marriage-process, .service-final-cta { background: linear-gradient(125deg,#10265c,#194b9c); }
.contact-form, .important-panel, .next-prayer, .prayer-card.next { background: #17386d; }
body[data-page="home"] .kindness-statement { background: #102f70; }

/* Front-page campaign updates. */
.home-updates { background: #f8f6ef; padding-top: 28px; padding-bottom: 28px; }
.home-updates-grid { max-width: 1240px; margin: auto; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.home-update-card { min-width: 0; padding: 24px; background: #fff; border: 1px solid #dfe5f1; border-radius: 18px; box-shadow: 0 8px 22px rgba(18,44,69,.05); }
.home-update-label { display: block; color: #846426; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.home-update-card h2 { margin: 8px 0 14px; font-size: clamp(1.35rem,2vw,1.7rem); color: #122f49; }
.home-update-card h3 { margin: 5px 0; font-size: 1.05rem; color: #122f49; }
.home-update-card p { margin: 0 0 12px; color: #455c6b; line-height: 1.55; }
.home-update-card .home-update-date { color: #846426; font-size: .82rem; font-weight: 700; }
.home-update-card a { color: #143e8b; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.home-verse-card { background: #102d47; border-color: #102d47; }
.home-verse-card h2, .home-verse-card p { color: #fff; }
.home-verse-card .home-update-label, .home-verse-card .home-update-date, .home-verse-card a { color: #f1dfb3; }
@media (max-width: 760px) { .home-updates-grid { grid-template-columns: 1fr; } .home-update-card { padding: 20px; } }

/* Emerald and antique gold redesign inspired by the supplied mosque emblem. */
:root { --ink:#102d24; --forest:#07583d; --forest-2:#073e31; --moss:#187b57; --charcoal:#092c25; --gold:#bd9440; --gold-deep:#8d6725; --gold-soft:#f1dfab; --cream:#f6f2e6; --paper:#fffdf7; --muted:#5b6e63; --line:rgba(7,70,48,.16); }
body { background:#fffdf7; color:#102d24; }
.site-header { background:#fffdf7; border-bottom:1px solid #e2d5b6; box-shadow:0 8px 25px rgba(7,47,31,.08); }
.site-header nav a { color:#153d30; }
.site-header nav a:hover,.site-header nav a.active { color:#08704c; }
.site-header .header-logo { width:84px; height:68px; flex:0 0 84px; object-fit:contain; }
.site-header .brand-wordmark strong { color:#093e2b; }
.site-header .brand-wordmark small { color:#8d6725; letter-spacing:.04em; text-transform:none; }
.header-donate,.primary-cta,.vision-button,.service-enquiry-button,.contact-submit,.bridge-donate { background:#086346; border-color:#086346; color:#fff; border-radius:999px; }
.header-donate:hover,.primary-cta:hover,.vision-button:hover,.service-enquiry-button:hover,.contact-submit:hover,.bridge-donate:hover { background:#074c38; color:#fff; }
body[data-page="home"] .hero-reference,.hero-shell,body[data-page="home"] .hero-shell { background:linear-gradient(95deg,rgba(4,48,36,.96) 0%,rgba(7,65,47,.88) 48%,rgba(6,55,43,.27) 100%),url('mosque-hero.webp') center / cover no-repeat; border-bottom:4px solid #caa657; }
body[data-page="home"] .hero-reference h1.hero-message-title { font-family:Georgia,serif; font-size:clamp(2rem,3.2vw,3.6rem); line-height:1.18; letter-spacing:-.025em; }
body[data-page="home"] .hero-reference .hero-copy { max-width:900px; }
body[data-page="home"] .hero-reference .hero-vision-line { color:#f2d89b; }
.hero-shell::before { opacity:.045; }
.hero-shell::after { display:none; }
.home-updates { background:#f5f2e8; }
.home-update-card { border-color:#e7ddc7; border-radius:22px; box-shadow:0 12px 28px rgba(5,54,37,.06); }
.home-update-label,.home-update-card .home-update-date { color:#87621c; }
.home-update-card h2,.home-update-card h3 { color:#103d2d; }
.home-update-card a { color:#076549; }
.home-verse-card { background:linear-gradient(145deg,#07563b,#073729); border-color:#07563b; }
.home-verse-card h2,.home-verse-card p { color:#fff; }
.home-verse-card .home-update-label,.home-verse-card .home-update-date,.home-verse-card a { color:#f2d89b; }
.future-bridge,.vision-section,.prayer-board,.ceremony-details,.contact-section { background:#f7f5ec; }
.appeal-section,.islam-section,.services-intro { background:#fffdf7; }
.future-bridge-heading h2,.future-bridge-steps h3,.section-heading h2,.vision-intro h2,.plan-heading h2,.contact-details h2,.prayer-board-head h2,.islam-section-heading h2,.services-intro h2,.services-section-heading h2 { color:#103d2d; }
.quote-strip,.future-pillars > div,.contact-card,.prayer-card,.documents-panel,.islam-contents a { border-color:#e6ddc8; border-radius:20px; }
.plan-section,.dark-section,.marriage-process,.service-final-cta { background:linear-gradient(125deg,#063b2b,#08704c); }
.final-cta { background:#e9e0c8; }
.final-cta h2 { color:#103d2d; }
.final-cta .final-button { background:#086346; border-radius:999px; }
.subpage-hero { background:linear-gradient(90deg,rgba(4,48,36,.94),rgba(9,84,57,.72)),url('mosque-hero.webp') center / cover no-repeat; border-bottom-color:#caa657; }
body[data-page="donate"] .compact-paypal-panel { background:linear-gradient(145deg,#086c4b,#06412f); }
body[data-page="donate"] .donation-video-panel { background:#0b4c39; }
body[data-page="donate"] .compact-paypal-panel .paypal-donate-button { background:#107b53; }
body[data-page="donate"] .compact-paypal-panel .paypal-donate-button:hover { background:#075c40; }
.donation-meaning-panel,.donation-slider-panel,.donation-progress-panel { background:linear-gradient(125deg,#073e31,#086c4b); }
.site-footer { background:#062f24; }
.footer-logo { width:min(350px,85vw); height:auto; max-height:265px; }
@media(max-width:760px) { .site-header .header-logo { width:60px; height:54px; flex-basis:60px; } body[data-page="home"] .hero-reference h1.hero-message-title { font-size:clamp(1.8rem,6vw,2.5rem); } }
.london-news-list { list-style:none; padding:0; margin:0 0 14px; }
.london-news-list li { padding:9px 0; border-bottom:1px solid #e6ddc8; }
.london-news-list li:first-child { padding-top:0; }
.london-news-list a { font-size:.92rem; line-height:1.4; display:block; }
.london-news-list small { display:block; margin-top:4px; color:#66756c; font-size:.72rem; }

/* Compact the two home-page appeal rows shown in the reference. */
body[data-page="home"] .appeal-section {
  padding: 28px clamp(1.2rem,5vw,5rem);
  grid-template-columns: minmax(0,.85fr) minmax(0,1.35fr);
  gap: clamp(24px,4vw,48px);
  align-items: start;
  border-bottom: 1px solid #dbc48e;
}
body[data-page="home"] .appeal-section .section-heading .eyebrow { margin:0 0 8px; font-size:.7rem; }
body[data-page="home"] .appeal-section .section-heading h2 {
  margin:0; font-family:Georgia,serif; font-size:clamp(1.8rem,3vw,2.5rem); line-height:1.12; letter-spacing:-.03em;
}
body[data-page="home"] .appeal-section .section-heading h2::after { margin-top:12px; width:44px; }
body[data-page="home"] .appeal-section .appeal-copy { max-width:none; }
body[data-page="home"] .appeal-section .appeal-copy > p { margin:0 0 10px; font-size:.86rem; line-height:1.55; }
body[data-page="home"] .appeal-section .appeal-copy > p:last-child { margin-bottom:0; }
body[data-page="home"] .appeal-section .appeal-copy .lead { font-size:1.15rem; line-height:1.4; padding-bottom:10px; margin-bottom:10px; border-bottom:1px solid #dbc48e; }
body[data-page="home"] .appeal-section .quote-strip { margin-top:12px; padding:12px 16px; gap:10px; border-radius:14px; }
body[data-page="home"] .appeal-section .quote-strip p { margin:0; font-size:.9rem; line-height:1.4; }
body[data-page="home"] .appeal-section .quote-strip small { margin-top:5px; font-size:.68rem; }
@media(max-width:760px) {
  body[data-page="home"] .appeal-section { grid-template-columns:1fr; gap:16px; padding:24px 20px; }
  body[data-page="home"] .appeal-section .section-heading h2 { font-size:1.8rem; }
}
