:root {
  --cream: #faf9f5;
  --paper: #fffefa;
  --green: #294f43;
  --green-dark: #1d3d33;
  --sage: #e9eee6;
  --ink: #293a32;
  --muted: #737a70;
  --border: #e3e6dd;
  --serif: "Libre Caslon Display", Georgia, serif;
  --sans: "DM Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  margin: 0;
  font-size: 16px;
}

button, a, input, select, summary {
  -webkit-tap-highlight-color: transparent;
}

button, select {
  font: inherit;
}

button, a {
  touch-action: manipulation;
}

button {
  cursor: pointer;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

button:focus-visible,
a:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline-offset: 5px;
  outline: 2px solid #9d8752;
}

::selection {
  background: #d2ddc7;
}

img, svg {
  vertical-align: middle;
  display: block;
  max-width: 100%;
}

.container {
  width: min(1216px, 100% - 100px);
  margin-inline: auto;
}

.skip-link {
  background: var(--green);
  color: #fff;
  z-index: 20;
  padding: 14px;
  position: fixed;
  top: -70px;
  left: 20px;
}

.skip-link:focus {
  top: 10px;
}

/* Welcome bar */
.welcome-bar {
  background: var(--green);
  color: #f3f4ed;
  letter-spacing: 0.2px;
  font-size: 14px;
}

.welcome-inner {
  justify-content: space-between;
  align-items: center;
  height: 34px;
  display: flex;
}

.welcome-secondary {
  color: #c5d2c8;
  margin-left: 5px;
}

.welcome-inner a {
  align-items: center;
  gap: 7px;
  display: flex;
}

/* Header */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  z-index: 5;
  position: relative;
}

.nav-inner {
  align-items: center;
  gap: 30px;
  height: 98px;
  display: flex;
}

.brand {
  color: var(--green);
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
  display: flex;
}

.brand > span {
  font-family: var(--serif);
  letter-spacing: -0.5px;
  font-size: 30px;
  line-height: 1.1;
}

.brand small {
  font-family: var(--sans);
  letter-spacing: 1.5px;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 550;
  display: block;
}

.main-nav {
  white-space: nowrap;
  align-items: center;
  gap: 25px;
  margin-left: auto;
  font-size: 15px;
  display: flex;
}

.main-nav a {
  color: #626d62;
  padding-block: 12px;
  transition: color 0.2s;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--green);
}

.main-nav a.active:after {
  content: "";
  background: var(--green);
  width: 12px;
  height: 2px;
  position: absolute;
  bottom: 3px;
  left: calc(50% - 6px);
}

.button {
  background: var(--green);
  border: 1px solid var(--green);
  color: #fffefa;
  white-space: nowrap;
  border-radius: 5px;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 16px 23px;
  font-size: 15px;
  font-weight: 550;
  line-height: 1.3;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
}

.button:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(41, 79, 67, 0.08);
}

.button:active {
  transform: translateY(0);
}

.nav-donate {
  gap: 8px;
  padding: 12px 18px;
}

.icon-button {
  background: transparent;
  border: none;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  display: inline-flex;
}

.icon-button:hover:not(:disabled) {
  background: var(--sage);
}

.menu-toggle {
  display: none;
}

/* Hero */
.hero {
  grid-template-columns: 1.14fr 1fr;
  align-items: center;
  gap: 70px;
  min-height: 584px;
  padding-top: 53px;
  padding-bottom: 54px;
  display: grid;
}

.hero-copy {
  padding-bottom: 9px;
  animation: 0.7s both appear;
}

.eyebrow {
  letter-spacing: 2px;
  color: var(--green);
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.7;
  display: flex;
}

.small-rule {
  background: var(--green);
  width: 23px;
  height: 1px;
  flex-shrink: 0;
}

h1, h2, h3, p {
  margin: 0;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
}

h1 {
  letter-spacing: -2px;
  margin: 23px 0;
  font-size: clamp(64px, 6vw, 88px);
  line-height: 1.06;
}

em {
  color: #6f8066;
  font-style: italic;
  font-weight: 400;
}

.hero-copy > p {
  color: #6c756b;
  max-width: 450px;
  font-size: 16px;
  line-height: 1.9;
}

.hero-actions {
  align-items: center;
  gap: 25px;
  margin-top: 29px;
  display: flex;
}

.text-link {
  color: var(--green);
  background: transparent;
  border: 0;
  align-items: center;
  gap: 12px;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  transition: gap 0.2s;
  display: inline-flex;
}

.text-link:hover {
  gap: 17px;
}

.hero-location {
  color: #626e62;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  font-size: 13px;
  display: flex;
}

.location-icon {
  width: 36px;
  height: 36px;
  color: var(--green);
  border: 1px solid #dde3d5;
  border-radius: 50%;
  place-items: center;
  display: grid;
  flex-shrink: 0;
}

.hero-location a {
  color: #848a7e;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
  font-size: 12px;
  display: flex;
}

.hero-art {
  isolation: isolate;
  padding: 0 15px 23px 24px;
  animation: 1s 0.12s both appear;
  position: relative;
}

.hero-art:before {
  content: "";
  z-index: -1;
  border: 1px solid #d9ddce;
  border-radius: 210px 210px 8px 8px;
  position: absolute;
  inset: 30px -4px 9px 47px;
  transform: rotate(4deg);
}

.hero-arch {
  background: #dfe2d1;
  border-radius: 220px 220px 7px 7px;
  height: 438px;
  overflow: hidden;
  position: relative;
}

.hero-arch img {
  object-fit: cover;
  object-position: center 38%;
  width: 100%;
  height: 100%;
  display: block;
  filter: saturate(0.9) contrast(1.02);
}

.hero-arch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(41, 79, 67, 0.16) 0%, rgba(41, 79, 67, 0) 40%, rgba(41, 79, 67, 0.32) 100%);
  pointer-events: none;
}

.hero-stamp {
  background: var(--paper);
  color: var(--green);
  border: 1px solid #e6e8dd;
  border-radius: 6px;
  align-items: center;
  gap: 11px;
  padding: 14px 17px;
  display: flex;
  position: absolute;
  top: 34px;
  right: -8px;
  box-shadow: 0 5px 24px rgba(51, 69, 50, 0.04);
}

.hero-stamp span {
  color: #6c756b;
  font-size: 12px;
  line-height: 1.7;
}

.hero-stamp strong {
  color: var(--green);
  font-weight: 500;
}

.verse-card {
  background: var(--paper);
  border: 1px solid #e6e8dd;
  border-radius: 6px;
  padding: 22px 25px 17px;
  position: absolute;
  bottom: 3px;
  left: -29px;
  box-shadow: 0 8px 30px rgba(34, 49, 34, 0.03);
}

.quote-mark {
  font-family: var(--serif);
  color: #adb69b;
  font-size: 47px;
  line-height: 1;
  position: absolute;
  top: 10px;
  left: 15px;
}

.verse-card p {
  font-family: var(--serif);
  color: #445a43;
  padding: 0 0 0 13px;
  font-size: 22px;
  line-height: 1.35;
  position: relative;
}

.verse-reference {
  letter-spacing: 1.7px;
  color: #838c7b;
  margin-top: 11px;
  margin-left: 13px;
  font-size: 11px;
  display: block;
}

.image-caption {
  color: #82897b;
  letter-spacing: 0.1px;
  font-size: 11px;
  position: absolute;
  bottom: -19px;
  right: 15px;
}

/* Prayer times */
.prayer-section {
  padding-top: 14px;
}

.prayer-panel {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 7px 30px rgba(51, 69, 50, 0.03);
}

.prayer-header {
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 25px 29px 24px;
  display: flex;
}

.prayer-header .eyebrow {
  letter-spacing: 1.7px;
  margin-bottom: 5px;
  font-size: 11px;
}

.prayer-header h2 {
  letter-spacing: -0.3px;
  font-size: 30px;
}

.prayer-date {
  color: #75806d;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  display: flex;
}

.date-navigation {
  align-items: center;
  gap: 5px;
  margin-left: 9px;
  display: flex;
}

.date-navigation .icon-button {
  border: 1px solid #e3e6dd;
  width: 25px;
  height: 25px;
}

.prayer-grid {
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  padding: 0 20px 20px;
  display: grid;
}

.prayer-card {
  background: #f5f6f0;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 17px 14px 16px;
}

.prayer-card.next-prayer {
  background: #eaf0e1;
  border-color: #d0dac2;
}

.prayer-card.jumuah-card {
  grid-column: 1 / -1;
  background: #eaf0e1;
  border-color: #cfdac2;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 20px 24px;
  display: flex;
}

.jumuah-times {
  align-items: baseline;
  gap: 40px;
  display: flex;
}

.jumuah-time {
  align-items: baseline;
  gap: 10px;
  display: flex;
}

.jumuah-time strong {
  font-family: var(--serif);
  color: var(--green);
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
}

.jumuah-time span {
  color: #728069;
  letter-spacing: 1px;
  font-size: 12px;
}

.prayer-label {
  color: #65765c;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 550;
  display: flex;
}

.prayer-time {
  font-family: var(--serif);
  color: var(--green);
  white-space: nowrap;
  min-height: 37px;
  margin: 13px 0 9px;
  font-size: 36px;
  line-height: 1.1;
}

.prayer-time > span {
  font-family: var(--sans);
  color: #728069;
  margin-left: 5px;
  font-size: 12px;
}

.iqama {
  color: #858b7e;
  white-space: nowrap;
  font-size: 12px;
}

.prayer-footer {
  border-top: 1px solid var(--border);
  color: #7a8273;
  align-items: center;
  gap: 16px;
  padding: 14px 29px;
  font-size: 12px;
  display: flex;
}

.prayer-source {
  color: #8b9085;
  margin-left: auto;
  font-size: 12px;
}

.prayer-footer .text-link {
  font-size: 12px;
}

.skeleton {
  background: linear-gradient(100deg, #e6e9de 30%, #f0f2e9, #e6e9de 60%) 0 0 / 300% 100%;
  border-radius: 4px;
  width: 85px;
  animation: 1.8s infinite shimmer;
}

/* Sections */
.section-space {
  padding-top: 91px;
  padding-bottom: 91px;
}

.about-section {
  grid-template-columns: 0.94fr 1fr;
  align-items: center;
  gap: 84px;
  display: grid;
}

.about-image {
  background: var(--sage);
  border-radius: 6px;
  height: 355px;
  position: relative;
  overflow: hidden;
}

.about-image svg,
.about-image .about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s;
}

.about-image:hover svg,
.about-image:hover .about-photo {
  transform: scale(1.03);
}

.photo-label {
  color: var(--green);
  background: var(--paper);
  letter-spacing: 1.1px;
  border-radius: 4px;
  align-items: center;
  gap: 8px;
  padding: 12px 15px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  position: absolute;
  bottom: 30px;
  right: 22px;
}

h2 {
  letter-spacing: -0.8px;
  font-size: 47px;
  line-height: 1.14;
}

.about-copy h2 {
  margin: 16px 0 20px;
}

.about-copy > p {
  color: #777d70;
  max-width: 440px;
  margin-top: 13px;
  font-size: 16px;
  line-height: 1.9;
}

.about-values {
  border-top: 1px solid var(--border);
  gap: 25px;
  margin-top: 22px;
  margin-bottom: 23px;
  padding-top: 20px;
  display: flex;
}

.about-values span {
  color: #596d51;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  display: flex;
}

.check {
  width: 18px;
  height: 18px;
  border: 1px solid #c9d5bc;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.check:after {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 4px;
  height: 8px;
  border: solid var(--green);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Programs */
.programs-section {
  background: #f0f2ea;
  border-block: 1px solid #e7eadf;
}

.programs-section .section-space {
  padding-top: 70px;
  padding-bottom: 72px;
}

.section-heading {
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 33px;
  display: flex;
}

.section-heading h2 {
  margin-top: 14px;
  font-size: 45px;
}

.section-heading > p {
  color: #7a8271;
  margin-bottom: 5px;
  font-size: 14px;
  line-height: 1.9;
}

.feature-image {
  border: 1px solid #dfe4d6;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 33px;
}

.feature-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center 55%;
  display: block;
}

.program-grid {
  grid-template-columns: 1.12fr 1fr;
  gap: 16px;
  display: grid;
}

.program-card {
  text-align: left;
  background: #fafbf6;
  border: 1px solid #dfe4d6;
  border-radius: 6px;
  align-items: center;
  gap: 20px;
  padding: 26px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
}

.program-card:hover {
  border-color: #aabd9a;
  transform: translateY(-3px);
  box-shadow: 0 7px 15px rgba(52, 71, 46, 0.03);
}

.program-card:nth-child(2),
.program-card:nth-child(3) {
  background: #f6f8f0;
}

.program-icon {
  color: #667e53;
  background: #edf1e5;
  border: 1px solid #e3e8d9;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  display: flex;
}

.program-body {
  display: flex;
  flex-direction: column;
}

.program-category {
  letter-spacing: 1.3px;
  color: #829174;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.5;
}

.program-card h3 {
  letter-spacing: -0.3px;
  margin: 7px 0 8px;
  font-size: 28px;
  line-height: 1.1;
}

.program-card p {
  color: #808675;
  font-size: 15px;
  line-height: 1.6;
}

.program-arrow {
  color: #77866b;
  flex-shrink: 0;
  place-items: center;
  width: 28px;
  margin-left: auto;
  display: grid;
}

/* Calendar */
.calendar-section {
  padding-bottom: 0;
}

.calendar-events {
  border-top: 1px solid var(--border);
}

.calendar-event {
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  gap: 22px;
  padding: 25px 0;
  display: flex;
}

.calendar-icon {
  background: var(--sage);
  color: var(--green);
  border-radius: 50%;
  padding: 14px;
  display: flex;
  flex-shrink: 0;
}

.calendar-event h3 {
  font-family: var(--serif);
  margin: 8px 0;
  font-size: 33px;
}

.calendar-event time {
  color: var(--green);
  font-weight: 550;
}

.calendar-event p,
.calendar-note,
.water-section p {
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.9;
}

.calendar-note {
  max-width: 800px;
  margin-top: 20px;
  font-size: 15px;
}

/* Community */
.community-section .section-heading > .text-link {
  margin-bottom: 7px;
}

.notice-grid {
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  display: grid;
}

.notice-card {
  border-top: 1px solid #d9dfcf;
  padding-top: 22px;
}

.notice-top {
  color: #909588;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  display: flex;
}

.tag {
  color: #6a7d5b;
  letter-spacing: 1px;
  background: #eaf0e2;
  border-radius: 2px;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 650;
}

.notice-card h3 {
  margin: 19px 0 10px;
  font-size: 33px;
}

.notice-card p {
  color: #7a8073;
  max-width: 430px;
  font-size: 16px;
  line-height: 1.8;
}

.notice-card .text-link {
  margin-top: 21px;
  font-size: 13px;
}

.community-note {
  border-top: 1px solid var(--border);
  color: #8a9680;
  align-items: center;
  gap: 12px;
  margin-top: 33px;
  padding-top: 21px;
  font-size: 13px;
  line-height: 1.8;
  display: flex;
}

.community-note svg {
  flex-shrink: 0;
}

/* Water for Life */
.water-section {
  background: var(--sage);
  border: 1px solid var(--border);
  border-radius: 6px;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  margin-bottom: 70px;
  padding: 45px;
  display: grid;
}

.water-intro > svg {
  color: var(--green);
  margin-bottom: 20px;
}

.water-intro h2 {
  margin-top: 14px;
}

.water-details .water-note {
  border-top: 1px solid #d9dfcf;
  margin-top: 20px;
  padding-top: 16px;
  font-size: 15px;
}

.water-links {
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
  display: flex;
}

/* Donation */
.donation-panel {
  background: var(--green);
  color: #f4f5ea;
  border-radius: 7px;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 54px 60px;
  display: grid;
  position: relative;
  overflow: hidden;
}

.donation-panel .eyebrow {
  color: #bccdae;
  font-size: 12px;
}

.donation-copy,
.donation-action {
  position: relative;
}

.donation-panel h2 {
  color: #fffdf1;
  margin: 15px 0 17px;
  font-size: 50px;
}

.donation-panel h2 em {
  color: #c1cfb1;
}

.donation-panel p {
  color: #cfdbca;
  max-width: 380px;
  font-size: 14px;
  line-height: 1.9;
}

.donation-action {
  flex-direction: column;
  align-items: center;
  gap: 19px;
  display: flex;
}

.donation-action > span:last-child {
  color: #bdd0b5;
  font-size: 12px;
}

.button-light {
  color: var(--green);
  background: #f3f4e9;
  border-color: #f3f4e9;
  padding: 16px 25px;
}

.button-light:hover {
  background: #e1e7d6;
}

.donation-heart {
  color: #c8d7b9;
  border: 1px solid #809675;
  border-radius: 50%;
  place-items: center;
  width: 60px;
  height: 60px;
  display: grid;
}

.donation-pattern {
  border: 1px solid rgba(255, 255, 255, 0.05);
  width: 380px;
  height: 380px;
  position: absolute;
  top: 0;
  right: -65px;
  transform: rotate(45deg);
  box-shadow: 0 0 0 35px rgba(255, 255, 255, 0.02), 0 0 0 70px rgba(255, 255, 255, 0.015), 0 0 0 105px rgba(255, 255, 255, 0.015), 0 0 0 140px rgba(255, 255, 255, 0.01);
}

/* Contact */
.contact-section {
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  display: grid;
}

.contact-copy h2 {
  margin: 15px 0 20px;
}

.contact-copy > p {
  color: #7b8274;
  max-width: 370px;
  font-size: 16px;
  line-height: 1.9;
}

.contact-copy .button {
  margin-top: 23px;
}

.contact-details > a {
  border-bottom: 1px solid var(--border);
  align-items: center;
  gap: 20px;
  padding: 23px 0;
  display: flex;
}

.contact-icon {
  color: #738664;
  border: 1px solid #e2e6d9;
  border-radius: 50%;
  place-items: center;
  width: 50px;
  height: 50px;
  display: grid;
  flex-shrink: 0;
}

.contact-details small {
  letter-spacing: 1.5px;
  color: #8c9582;
  margin-bottom: 8px;
  font-size: 11px;
  display: block;
}

.contact-details strong {
  color: #506348;
  font-size: 16px;
  font-weight: 500;
  display: block;
}

.contact-details a div span {
  color: #8b9182;
  margin-top: 7px;
  font-size: 13px;
  display: block;
}

.contact-details details {
  border-bottom: 1px solid var(--border);
  margin-top: 15px;
}

summary {
  cursor: pointer;
  color: #5d7053;
  justify-content: space-between;
  align-items: center;
  padding: 17px 0;
  font-size: 14px;
  font-weight: 500;
  list-style: none;
  display: flex;
}

summary::-webkit-details-marker {
  display: none;
}

summary svg {
  transition: transform 0.2s;
}

details[open] summary svg {
  transform: rotate(180deg);
}

details p {
  color: #7c8571;
  padding-bottom: 20px;
  font-size: 14px;
  line-height: 1.9;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: #f3f4ed;
}

.footer-main {
  justify-content: space-between;
  align-items: center;
  padding-block: 35px;
  display: flex;
}

.footer-main .brand > span {
  font-size: 27px;
}

.footer-main p {
  font-family: var(--serif);
  color: #76846b;
  font-size: 22px;
  line-height: 1.4;
}

.footer-main .text-link {
  font-size: 13px;
}

.up-arrow {
  transform: rotate(180deg);
}

.footer-bottom {
  color: #8a927f;
  border-top: 1px solid #e0e5d6;
  padding-block: 20px;
  font-size: 12px;
}

.footer-bottom-inner {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

/* Dialog */
.site-dialog {
  border: 1px solid var(--border);
  background: var(--paper);
  color: var(--ink);
  border-radius: 10px;
  width: min(540px, 100% - 32px);
  max-height: 90dvh;
  margin: auto;
  padding: 0;
  overflow: auto;
  box-shadow: 0 20px 90px rgba(29, 61, 51, 0.25);
}

.site-dialog::backdrop {
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background: rgba(24, 53, 39, 0.44);
}

.dialog-close {
  z-index: 1;
  position: absolute;
  top: 15px;
  right: 15px;
}

.dialog-content {
  padding: 43px 35px 35px;
}

.dialog-content h2 {
  margin: 13px 0 20px;
  font-size: 45px;
}

.dialog-content > p {
  color: #76816c;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.9;
}

.dialog-content .eyebrow {
  padding-right: 20px;
  font-size: 12px;
}

.dialog-content .button {
  margin-top: 10px;
}

.field-label {
  margin: 20px 0 9px;
  font-size: 14px;
  font-weight: 550;
  display: block;
}

select {
  width: 100%;
  color: var(--green);
  background: #f7f9f2;
  border: 1px solid #dbe2d1;
  border-radius: 4px;
  padding: 12px;
}

.copy-email {
  background: var(--sage);
  color: var(--green);
  border-radius: 4px;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px;
  font-size: 15px;
  display: flex;
}

.copy-email button {
  background: transparent;
  border: 0;
  padding: 4px;
  display: flex;
}

.copy-status {
  color: #7c8c70;
  margin-top: 8px;
  font-size: 12px;
  display: block;
}

.donation-instructions {
  background: #f7f9f2;
  border: 1px solid #e1e7d7;
  border-radius: 4px;
  margin: 23px 0;
  padding: 18px;
  line-height: 1.8;
}

.donation-instructions strong {
  font-size: 15px;
  font-weight: 550;
}

.donation-instructions p {
  color: #77836b;
  margin-top: 7px;
  font-size: 14px;
}

.dialog-content .small-text {
  font-size: 13px;
  line-height: 1.8;
  color: #77836b;
}

/* Animations */
@keyframes appear {
  0% { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0% { background-position: 100% 0; }
  to { background-position: 0 0; }
}

/* Responsive */
@media (min-width: 1450px) {
  .hero { gap: 110px; min-height: 625px; padding-block: 65px; }
  .hero-arch { height: 470px; }
}

@media (max-width: 1150px) {
  .container { width: calc(100% - 64px); }
  .nav-inner { gap: 18px; }
  .main-nav { gap: 16px; font-size: 14px; }
  .brand > span { font-size: 27px; }
  .brand small { font-size: 10px; }
  .brand svg { width: 36px; }
  .hero { gap: 40px; }
  .hero-actions { gap: 17px; }
  .hero-art { padding-left: 15px; }
  .hero-arch { height: 408px; }
  .verse-card { left: -20px; }
  .verse-card p { font-size: 20px; }
  .hero-stamp { right: -10px; }
  .about-section { gap: 45px; }
  .prayer-card { padding: 15px 10px; }
  .prayer-time { font-size: 32px; }
  .prayer-label { gap: 6px; font-size: 13px; }
  .program-card { gap: 15px; padding: 22px 19px; }
  .program-icon { width: 48px; height: 48px; }
  .program-card h3 { font-size: 26px; }
  .contact-section { gap: 70px; }
}

@media (max-width: 950px) {
  .main-nav { gap: 12px; font-size: 13px; }
  .nav-inner { gap: 13px; height: 85px; }
  .brand > span { font-size: 25px; }
  .brand small { letter-spacing: 1.2px; font-size: 10px; }
  .nav-donate { gap: 7px; padding: 10px 13px; font-size: 13px; }
  .hero { gap: 30px; padding-top: 46px; padding-bottom: 46px; }
  h1 { font-size: 62px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 19px; }
  .hero-arch { height: 400px; }
  .hero-stamp { padding: 11px; font-size: 12px; }
  .hero-art { padding-right: 8px; }
  .verse-card { padding: 20px 16px 15px; left: -22px; }
  .verse-card p { font-size: 19px; }
  .hero-copy > p { font-size: 15px; }
  .hero-location { margin-top: 25px; font-size: 12px; }
  .hero-location a { font-size: 12px; }
  .prayer-grid { gap: 6px; padding-inline: 15px; }
  .prayer-card { padding: 13px 8px; }
  .prayer-time { font-size: 30px; }
  .iqama { font-size: 11px; }
  .prayer-footer { padding-inline: 22px; }
  .prayer-source { display: none; }
  .prayer-footer .text-link { margin-left: auto; }
  .about-section { gap: 35px; }
  h2, .section-heading h2 { font-size: 40px; }
  .about-values { gap: 15px; }
  .about-values span { font-size: 12px; }
  .section-space { padding-block: 70px; }
  .program-card { gap: 13px; padding: 22px 16px; }
  .program-icon { width: 43px; height: 43px; }
  .program-category { font-size: 10px; }
  .program-card h3 { font-size: 25px; }
  .program-card p { font-size: 12px; }
  .program-arrow { width: 17px; }
  .donation-panel { padding: 45px 38px; }
  .donation-panel h2 { font-size: 45px; }
  .contact-section { gap: 50px; }
  .notice-card h3 { font-size: 31px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 25px; }
  .container { width: calc(100% - 40px); }
  .welcome-inner { font-size: 13px; }
  .welcome-secondary { display: none; }
  .welcome-inner a { font-size: 12px; }
  .nav-inner { gap: 16px; height: 80px; }
  .brand > span { font-size: 28px; }
  .brand small { font-size: 10px; }
  .brand svg { width: 36px; }
  .nav-donate { margin-left: auto; padding: 11px 15px; font-size: 14px; }
  .menu-toggle { display: inline-flex; }
  .main-nav {
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 14px 25px 25px;
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    box-shadow: 0 15px 20px rgba(29, 61, 51, 0.05);
  }
  .main-nav.is-open {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    font-size: 16px;
    display: flex;
  }
  .main-nav a { padding-block: 12px; }
  .main-nav a.active:after { display: none; }
  .hero { grid-template-columns: 1fr; gap: 35px; padding-top: 43px; padding-bottom: 45px; }
  .hero-copy { padding-bottom: 0; }
  .eyebrow { letter-spacing: 1.8px; font-size: 12px; }
  h1 { margin-top: 20px; margin-bottom: 19px; font-size: clamp(60px, 10vw, 82px); }
  .hero-copy > p { max-width: 470px; font-size: 16px; }
  .hero-actions { flex-direction: row; align-items: center; gap: 23px; margin-top: 24px; }
  .hero-location { font-size: 13px; }
  .hero-location a { font-size: 12px; }
  .hero-art { width: min(430px, 90%); margin: 5px auto 0; padding-left: 20px; padding-right: 15px; }
  .hero-arch { height: 410px; }
  .hero-stamp { padding: 14px 16px; top: 40px; right: -15px; }
  .hero-stamp span { font-size: 12px; }
  .verse-card { padding: 20px 22px 15px; bottom: 2px; left: -12px; }
  .verse-card p { font-size: 22px; }
  .image-caption { font-size: 10px; bottom: -15px; }
  .prayer-section { padding-top: 10px; }
  .prayer-header { align-items: flex-start; padding: 23px 18px; }
  .prayer-header h2 { font-size: 29px; }
  .prayer-date { flex-wrap: wrap; justify-content: flex-end; gap: 5px; max-width: 160px; font-size: 12px; }
  .date-navigation { margin-left: 0; }
  .prayer-grid { padding-inline: 15px; grid-template-columns: repeat(3, 1fr); gap: 9px; padding-bottom: 16px; }
  .prayer-card { padding: 15px 12px; }
  .prayer-label { gap: 7px; font-size: 14px; }
  .prayer-time { font-size: 37px; }
  .iqama { font-size: 12px; }
  .jumuah-card { justify-content: flex-start; padding: 18px 16px; }
  .jumuah-times { gap: 24px; flex-wrap: wrap; }
  .jumuah-time strong { font-size: 30px; }
  .prayer-footer { flex-wrap: wrap; gap: 15px; padding: 15px 18px; }
  .prayer-footer .text-link { font-size: 12px; }
  .section-space { padding-top: 58px; padding-bottom: 58px; }
  .about-section { grid-template-columns: 1fr; gap: 31px; }
  .about-image { height: 340px; }
  .about-copy { padding-inline: 4px; }
  h2, .section-heading h2 { font-size: 43px; }
  .about-copy > p { max-width: none; font-size: 15px; }
  .about-values { gap: 30px; }
  .about-values span { font-size: 14px; }
  .about-copy .text-link { font-size: 15px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 27px; }
  .section-heading > p { font-size: 15px; }
  .section-heading > p br { display: none; }
  .program-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-image { margin-bottom: 24px; }
  .feature-image img { height: 220px; }
  .program-card { padding: 24px 20px; }
  .program-icon { width: 54px; height: 54px; }
  .program-category { font-size: 10px; }
  .program-card h3 { font-size: 30px; }
  .program-card p { font-size: 14px; }
  .program-arrow { width: 22px; }
  .programs-section .section-space { padding-block: 55px; }
  .notice-grid { grid-template-columns: 1fr; gap: 31px; }
  .notice-card h3 { font-size: 34px; }
  .notice-card p { max-width: none; }
  .notice-card .text-link { font-size: 14px; }
  .notice-top { font-size: 12px; }
  .community-note { align-items: flex-start; font-size: 13px; }
  .donation-panel { grid-template-columns: 1fr; gap: 27px; padding: 35px 30px; }
  .donation-panel h2 { font-size: 46px; }
  .donation-panel p { max-width: none; font-size: 15px; }
  .donation-action { align-items: flex-start; gap: 13px; }
  .donation-heart { display: none; }
  .donation-action > span:last-child { font-size: 12px; }
  .contact-section { grid-template-columns: 1fr; gap: 20px; }
  .contact-copy > p { max-width: none; }
  .contact-details > a { padding: 22px 0; }
  .contact-details small { font-size: 12px; }
  .contact-details strong { font-size: 18px; }
  .footer-main { flex-wrap: wrap; gap: 25px; padding-block: 31px; }
  .footer-main .brand { width: 100%; }
  .footer-main p { font-size: 21px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 12px; font-size: 12px; }
  .dialog-content { padding: 45px 24px 28px; }
  .dialog-content h2 { font-size: 40px; }
  .copy-email { font-size: 14px; }
}

@media (max-width: 390px) {
  .container { width: calc(100% - 32px); }
  .brand > span { font-size: 24px; }
  .brand small { font-size: 10px; }
  .brand { gap: 8px; }
  .brand svg { width: 30px; }
  .nav-inner { gap: 10px; }
  .nav-donate { padding: 10px 12px; font-size: 13px; }
  .hero-actions { gap: 18px; }
  .hero-actions .button { padding: 14px 17px; font-size: 14px; }
  .hero-actions .text-link { gap: 7px; font-size: 12px; }
  h1 { font-size: 55px; }
  .hero-arch { height: 350px; }
  .hero-stamp { padding: 10px; right: -13px; }
  .verse-card p { font-size: 19px; }
  .prayer-header { flex-direction: column; gap: 15px; }
  .prayer-date { justify-content: flex-start; max-width: none; }
  .date-navigation { margin-left: 8px; }
  .prayer-card { padding-inline: 9px; }
  .prayer-time { font-size: 33px; }
  .prayer-label { gap: 4px; font-size: 13px; }
  .iqama { font-size: 11px; }
  .prayer-footer .text-link { margin-left: 0; }
  .program-card { gap: 12px; padding-inline: 15px; }
  .program-icon { width: 45px; height: 45px; }
  .program-card h3 { font-size: 26px; }
  .program-card p { font-size: 13px; }
  .about-image { height: 275px; }
}

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