:root {
  color-scheme: light;
  --ink: #313135;
  --muted: #606970;
  --teal: #0b838b;
  --teal-bright: #64b7be;
  --pale: #f1f8ff;
  --surface: #ffffff;
  --surface-soft: #f8f8f8;
  --line: #e4e9e9;
  --shadow: 0 18px 55px rgba(31, 55, 59, .1);
  --radius: 1rem;
  --shell: 74rem;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font-size: 1rem; line-height: 1.65; }
a { color: var(--teal); text-underline-offset: .2em; }
a:hover { color: #075d63; }
button, input, textarea { font: inherit; }
img { max-width: 100%; }
.container { width: min(var(--shell), calc(100% - 2.5rem)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 30; top: .5rem; left: .5rem; padding: .7rem 1rem; background: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.prayer-region { position: sticky; top: 0; z-index: 20; color: #fff; background: #163f43; box-shadow: 0 5px 18px rgba(14, 39, 42, .18); }
.prayer-region-inner { display: flex; min-height: 3.8rem; align-items: center; gap: .75rem; }
.prayer-date { display: flex; flex: 0 0 auto; flex-direction: column; font-size: .73rem; line-height: 1.25; color: #d3e8e8; }
.prayer-date time { color: #fff; font-weight: 750; }
.prayer-pills { display: flex; flex: 1 1 auto; min-width: 0; align-items: center; gap: .3rem; margin: 0; padding: 0; overflow-x: auto; list-style: none; scrollbar-width: none; }
.prayer-pills::-webkit-scrollbar { display: none; }
.prayer-pill { display: flex; flex: 0 0 auto; align-items: baseline; gap: .35rem; padding: .42rem .55rem; border-radius: .45rem; color: #d3e8e8; font-size: .72rem; line-height: 1.2; white-space: nowrap; }
.prayer-pill time { color: #fff; font-size: .82rem; font-variant-numeric: tabular-nums; font-weight: 750; }
.prayer-pill.is-next { background: #0b838b; color: #fff; }
.prayer-meta { display: flex; flex: 0 0 auto; align-items: center; gap: .65rem; font-size: .73rem; }
.prayer-city { color: #fff; font-weight: 800; letter-spacing: .04em; text-decoration: none; }
.prayer-clock { font-variant-numeric: tabular-nums; color: #d3e8e8; }
.prayer-next { color: #fff; white-space: nowrap; }
.prayer-warning:not([hidden]) { max-width: 11rem; color: #ffe2a8; font-size: .68rem; line-height: 1.25; }
.prayer-source { color: #c4e7e8; white-space: nowrap; text-decoration: none; }
.prayer-source:hover, .prayer-city:hover { color: #fff; text-decoration: underline; }

.site-header { position: relative; z-index: 10; background: var(--surface); }
.header-top { border-bottom: 1px solid var(--line); }
.header-top-inner, .nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header-top-inner { min-height: 5.2rem; }
.header-top-inner > *, .header-tools > * { min-width: 0; }
.wordmark { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; line-height: 1.12; }
.wordmark-image { display: block; width: clamp(19rem, 39vw, 31rem); }
.wordmark-image img { display: block; width: 100%; height: auto; }
.header-tools { display: flex; align-items: center; gap: 1.2rem; }
.quick-search { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.quick-search input { width: 11rem; padding: .42rem .8rem; border: 0; outline: none; }
.quick-search button { width: 2.4rem; height: 2.4rem; border: 0; background: var(--pale); color: var(--teal); cursor: pointer; font-size: 1.35rem; }
.language-nav { display: flex; gap: .3rem; }
.language-nav a { min-width: 2.5rem; padding: .38rem .55rem; text-align: center; border-radius: .6rem; color: var(--ink); text-decoration: none; font-size: .78rem; font-weight: 700; }
.language-nav a[aria-current="page"] { background: var(--teal); color: white; }
.mobile-nav-tools, .mobile-language-nav { display: none; }
.nav-wrap { border-bottom: 1px solid var(--line); background: var(--surface); }
.nav-inner { min-height: 3.65rem; }
.primary-nav { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem; }
.primary-nav a { padding: .62rem .85rem; border-radius: .6rem; color: var(--ink); text-decoration: none; font-weight: 650; font-size: .94rem; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { background: var(--pale); color: var(--teal); }
.menu-toggle { display: none; border: 1px solid var(--line); background: #fff; color: var(--teal); padding: .55rem .75rem; border-radius: .65rem; }

.hero { position: relative; display: grid; min-height: min(40rem, 68vh); align-items: center; overflow: hidden; background: #23383b; color: #fff; }
.hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; opacity: .58; }
.hero-overlay { background: linear-gradient(90deg, rgba(17, 37, 41, .82), rgba(17, 37, 41, .28)); }
.hero-content { position: relative; z-index: 1; padding-block: 5rem; }
.hero-content h1 { max-width: 54rem; margin: .2rem 0 1rem; color: #fff; font-family: Poppins, "Segoe UI", sans-serif; font-weight: 700; font-size: clamp(2.5rem, 6vw, 5.4rem); line-height: 1.02; letter-spacing: .04em; text-transform: uppercase; }
.hero-intro { max-width: 39rem; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.eyebrow { margin: 0 0 .65rem; color: var(--teal); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero .eyebrow { color: #b9eff1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.button { display: inline-flex; min-height: 2.85rem; align-items: center; justify-content: center; gap: .4rem; padding: .65rem 1.1rem; border: 1px solid transparent; border-radius: .65rem; text-decoration: none; font-weight: 750; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--teal); color: #fff; }
.button-primary:hover { background: #08686f; color: #fff; }
.button-light { background: #fff; color: var(--teal); }
.button-outline { border-color: rgba(255,255,255,.75); color: #fff; background: transparent; }
.button-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.page-heading { padding-block: 3.6rem 2.1rem; background: var(--pale); }
.page-heading h1 { margin: 0; font-family: Poppins, "Segoe UI", sans-serif; font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.1; letter-spacing: -.025em; }
.page-intro { max-width: 54rem; color: var(--muted); font-size: 1.12rem; }

.page-grid { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: 3.3rem; padding-block: 3.5rem 5rem; }
.page-grid.page-grid--with-embedded-frame { padding-bottom: 0; }
.content-column-home { grid-column: 1 / -1; }
.side-nav { display: flex; flex-direction: column; align-self: start; gap: .28rem; position: sticky; top: 1.5rem; max-height: 70vh; overflow: auto; }
.side-nav-title { padding: .4rem .75rem .6rem; color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.side-nav a { padding: .5rem .75rem; border-radius: .55rem; color: var(--ink); text-decoration: none; }
.side-nav a:hover, .side-nav a[aria-current="page"] { background: var(--pale); color: var(--teal); }
.content-section { margin: 0 0 2.8rem; }
.content-section h2, .welcome-panel h2 { margin: 0 0 .9rem; font-family: Poppins, "Segoe UI", sans-serif; font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.22; }
.content-section p { max-width: 60rem; color: #454b4e; }
.content-section li { margin: .45rem 0; }
.embedded-frame-section { width: 100%; margin: 0; }
.embedded-frame-disclosure > summary { padding: 1rem max(1.25rem, calc((100% - var(--shell)) / 2)); background: var(--pale); color: var(--teal); cursor: pointer; font-weight: 750; }
.embedded-frame-disclosure > summary:focus-visible { outline: 3px solid rgba(11,131,139,.45); outline-offset: -3px; }
.embedded-frame { display: block; width: 100%; height: 800px; border: 0; background: #fff; }
.embedded-frame-source { margin-top: .75rem; }
.welcome-panel { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; padding: 2rem; border-radius: var(--radius); background: var(--pale); }
.callout { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.6rem; border-radius: var(--radius); background: var(--teal); color: #fff; }
.callout .eyebrow, .callout p { color: #fff; }
.callout p { margin: .2rem 0 0; }
.welcome-panel p:last-child { margin-bottom: 0; color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.feature-card { position: relative; display: flex; min-height: 12rem; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 1.4rem; border-radius: .85rem; background: linear-gradient(145deg, #e2f4f4, #f2f8ff 65%, #e0eeee); color: var(--ink); text-decoration: none; box-shadow: 0 8px 30px rgba(25, 75, 80, .07); transition: transform .2s ease, box-shadow .2s ease; }
.feature-card::before { position: absolute; inset: 0; content: ""; background: radial-gradient(circle at 90% 10%, rgba(11,131,139,.16), transparent 45%); }
.feature-card > * { position: relative; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature-card h3 { margin: .5rem 0; font-size: 1.15rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.card-arrow { align-self: flex-end; color: var(--teal); font-size: 1.3rem; }
.people-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .9rem; }
.mosque-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.mosque-gallery-grid figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: .85rem; background: var(--surface); }
.mosque-gallery-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mosque-gallery-grid figcaption { padding: .7rem .85rem; color: var(--muted); font-size: .9rem; }
.person-card { display: flex; align-items: center; gap: 1rem; padding: 1.15rem; border: 1px solid var(--line); border-radius: .85rem; background: var(--surface); }
.person-role { margin: 0 0 .15rem; color: var(--teal); font-size: .8rem; font-weight: 750; }
.person-card h2 { margin: 0; font-size: 1.05rem; }
.empty-state { display: flex; align-items: center; gap: 1rem; padding: 1.35rem; border-radius: .8rem; background: var(--surface-soft); color: var(--muted); }
.empty-state span { color: var(--teal); font-size: 1.7rem; }
.empty-state p { margin: 0; }
.notice { margin-bottom: 1rem; padding: 1rem; border-left: 4px solid var(--teal-bright); background: var(--pale); }
.event-list { display: grid; gap: .8rem; }
.event-card { padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: .75rem; }
.event-card time { color: var(--teal); font-weight: 800; }
.event-calendar-date { display: block; line-height: 1.45; }
.event-card h3 { margin: .2rem 0; }
.event-card p { margin: .2rem 0; }
.search-form label, .contact-form label { display: grid; gap: .4rem; font-weight: 700; }
.search-control { display: flex; gap: .65rem; }
.search-control input, .contact-form input:not([type="checkbox"]), .contact-form textarea { width: 100%; border: 1px solid #cdd6d8; border-radius: .55rem; padding: .75rem .8rem; color: var(--ink); background: #fff; }
.search-control input:focus, .contact-form input:focus, .contact-form textarea:focus { outline: 3px solid rgba(100,183,190,.3); border-color: var(--teal); }
.search-results { display: grid; gap: .6rem; padding: 0; list-style: none; }
.search-results a { display: grid; gap: .2rem; padding: .9rem; border: 1px solid var(--line); border-radius: .65rem; text-decoration: none; }
.search-results span { color: var(--muted); }
.sitemap-list { columns: 2; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-wide { grid-column: 1 / -1; }
.contact-form textarea { resize: vertical; }
.turnstile-widget { min-height: 65px; }
.turnstile-status { min-height: 1.4em; margin: 0; color: var(--muted); font-size: .9rem; }
.consent { display: flex !important; align-items: flex-start; flex-direction: row !important; font-weight: 400 !important; }
.consent input { margin-top: .4rem; }
.consent span { display: inline; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form button { margin-top: 1rem; }
.site-footer { background: #20272b; color: #f5f8f8; padding-top: 3.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.7rem; }
.footer-grid h2 { margin: 0 0 .8rem; color: #fff; font-size: 1rem; }
.footer-grid address { font-style: normal; white-space: pre-line; }
.footer-grid a { color: #cae9ea; }
.wordmark-footer { max-width: 100%; }
.wordmark-footer .wordmark-image { width: min(100%, 26rem); }
.footer-brand p { color: #d0dcde; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: .32rem 0; }
.footer-map { display: inline-block; margin-top: .5rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1rem; border-top: 1px solid rgba(255,255,255,.16); color: #d0dcde; font-size: .85rem; }
.scroll-top { position: fixed; right: 1.2rem; bottom: calc(1.2rem + 30px); display: none; width: 2.8rem; height: 2.8rem; border: 0; border-radius: 50%; background: var(--teal); color: #fff; box-shadow: var(--shadow); cursor: pointer; font-size: 1.3rem; }
.scroll-top.is-visible { display: block; }

@media (max-width: 960px) {
  .container { width: min(var(--shell), calc(100% - 2rem)); }
  .page-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .side-nav { position: static; display: flex; flex-flow: row wrap; max-height: none; }
  .side-nav-title { flex-basis: 100%; }
  .card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 767px) {
  :root { --mobile-prayer-height: 3.2rem; }
  .prayer-region-inner { min-height: var(--mobile-prayer-height); gap: .25rem; }
  .prayer-date { display: none; }
  .prayer-pills { gap: .12rem; }
  .prayer-pill { flex-direction: column; align-items: center; gap: .1rem; padding: .35rem .35rem; font-size: .58rem; }
  .prayer-pill time { font-size: .76rem; }
  .prayer-meta { gap: .35rem; font-size: .65rem; }
  .prayer-next, .prayer-source { display: none; }
  .prayer-warning:not([hidden]) { max-width: 5.5rem; font-size: .58rem; }
  .site-header { position: relative; }
  .nav-wrap { position: sticky; top: var(--mobile-prayer-height); z-index: 19; }
  .header-top-inner { min-height: 4.5rem; }
  .header-top-inner { gap: .45rem; }
  .wordmark-image { width: min(48vw, 16rem); }
  .wordmark-footer .wordmark-image { width: min(100%, 20rem); }
  .header-tools { flex: 0 1 auto; gap: .35rem; }
  .quick-search { display: none; }
  .quick-search input { width: 6rem; }
  .quick-search button { width: 2.1rem; height: 2.1rem; }
  .header-tools .language-nav { display: none; }
  .nav-inner { min-height: 3.25rem; align-items: stretch; flex-direction: column; gap: 0; }
  .mobile-nav-tools { display: flex; min-height: 3.25rem; align-items: center; justify-content: space-between; }
  .mobile-language-nav { display: flex; }
  .language-nav a { min-width: 2rem; padding-inline: .35rem; }
  .menu-toggle { display: inline-flex; align-items: center; gap: .5rem; margin-block: .4rem; }
  .primary-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: .65rem; }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { width: 100%; }
  .side-nav { display: none; }
  .hero { min-height: 50vh; }
  .hero-content { padding-block: 3.6rem; }
  .hero-content h1 { font-family: Montserrat, Inter, "Segoe UI", sans-serif; font-size: clamp(2.1rem, 11vw, 3.5rem); }
  .page-heading { padding-block: 2.4rem 1.3rem; }
  .page-grid { padding-block: 2rem 3.5rem; }
  .welcome-panel { align-items: flex-start; flex-direction: column; padding: 1.3rem; }
  .callout { align-items: flex-start; flex-direction: column; }
  .embedded-frame { height: min(70vh, 800px); height: min(70dvh, 800px); }
  .embedded-frame-disclosure > summary { padding-inline: 1rem; }
  .card-grid, .people-grid, .mosque-gallery-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .form-wide { grid-column: auto; }
  .search-control { flex-direction: column; }
  .sitemap-list { columns: 1; }
  .footer-grid { gap: 1.4rem; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
