/* A calm, welcoming home, separate from the full donation flow. */
.home-page .hero-shell-home { padding: 64px 0 24px; background: radial-gradient(ellipse at 50% 35%, #fff 0%, #edfafd 45%, #d9f3fa 85%); }
.home-page .hero-shell-home .hero { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.home-page .home-action-panel { width: 100%; max-width: 650px; margin: 0; align-self: center; position: relative; top: auto; }
.home-page .quick-donation { width: 100%; padding: 32px 40px 22px; border: 1px solid #c4e3ec; border-radius: 26px; background: #fff; box-shadow: 0 22px 65px -24px #286b8a55; gap: 18px; }
.home-page .quick-donation-heading { text-align: center; }
.home-page .quick-donation-kicker { color: #277f8b; font-size: 10px; letter-spacing: .15em; }
.home-page .quick-donation-heading h1 { width: 100%; max-width: none; margin: 0; font-size: clamp(24px, 3vw, 31px); text-align: center; }
.home-page .quick-donation-subtitle { display: block; max-width: none; text-align: center; font-size: 13px; }
.welcome-amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.welcome-amounts button { min-height: 52px; border: 1px solid #c9e0e8; border-radius: 12px; background: #f5fbfd; color: #174a6d; font: 800 18px 'Manrope', sans-serif; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.welcome-amounts button:hover { transform: translateY(-3px); background: #e2f5f8; }
.welcome-amounts button[aria-pressed="true"] { color: white; background: #175b7c; border-color: #175b7c; box-shadow: 0 5px 12px #175b7c25; }
.home-page .quick-custom-input-wrap { border-radius: 12px; box-shadow: none; }
.home-page .quick-custom-input-wrap input { font-size: 24px; }
.home-page .quick-donation-button { min-height: 60px; border-radius: 13px; font-family: var(--header-sans); font-size: 17px; transition: transform .2s, box-shadow .2s, background .2s; }
.home-page .quick-donation-button:hover { transform: translateY(-2px); }
.home-page .quick-donation-trust { justify-content: center; border: 0; padding: 0; font-size: 11px; }
.home-page .quick-donation-identity { justify-content: center; margin: -10px auto 0; font-size: 10px; min-height: 30px; }
.home-page .quick-donation-status:empty { display: none; }
.welcome-impact { position: relative; display: grid; grid-template-columns: 1.25fr 1fr 1.2fr auto; align-items: center; gap: 28px; padding: 28px 32px; margin-top: 48px; border: 1px solid #bcdde7; border-radius: 18px; background: #ffffffa8; overflow: hidden; }
.welcome-impact-intro { display: flex; align-items: center; gap: 14px; }
.welcome-impact-dot { width: 10px; height: 10px; flex-shrink: 0; border-radius: 50%; background: #258b86; box-shadow: 0 0 0 6px #258b8615; }
.welcome-impact-intro p { margin: 0; color: #174a6d; font-weight: 800; font-size: 14px; }
.welcome-impact-intro span, .welcome-stat span { color: #496779; font-size: 11px; }
.welcome-stat { display: flex; align-items: center; gap: 12px; }
.welcome-stat strong { font-size: 38px; font-weight: 600; line-height: 1; color: #175b7c; font-variant-numeric: tabular-nums; }
.welcome-stat span { max-width: 110px; }
.welcome-impact > a { font-size: 12px; font-weight: 800; color: #175b7c; padding-block: 10px; }
.welcome-impact-line { position: absolute; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, #74ced5, #2685a1, #a8dfd3); transform-origin: left; }
.welcome-impact.is-visible .welcome-impact-line { animation: impact-grow 1.4s ease-out both; }
.welcome-count-note { padding: 12px 6px 0; color: #496779; font-size: 11px; }
.welcome-count-note summary { cursor: pointer; width: fit-content; margin: auto; padding: 8px; }
.welcome-count-note p { max-width: 650px; margin: 10px auto; }
.welcome-count-note a { text-decoration: underline; }
/* Shortcuts are a single generous target with one clear label. */
.home-page .home-action-hub {
  padding: 48px 0 64px;
}
.home-page .home-action-hub-heading h2 {
  max-width: none;
  font-size: clamp(28px, 3.6vw, 42px);
}
.home-page .home-action-hub .home-action-card {
  --shortcut-accent: #237b9a;
  --shortcut-tint: #e1f3fa;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 208px;
  padding: 28px 16px;
  border: 1px solid #c0dfe9;
  border-radius: 24px;
  color: #174a6d;
  background: #f9fdff;
  box-shadow: 0 6px 0 #c3e3eb70;
  text-align: center;
  transform: none;
  transition: transform 240ms cubic-bezier(.2,.8,.2,1), box-shadow 240ms ease, border-color 240ms ease;
}
.home-page .home-action-hub .home-action-card-share {
  --shortcut-accent: #247c74;
  --shortcut-tint: #e0f3ec;
}
.home-page .home-action-hub .home-action-card-zakat {
  --shortcut-accent: #946820;
  --shortcut-tint: #fff0cd;
}
.home-page .home-action-hub .home-action-card-supporters {
  --shortcut-accent: #6864a1;
  --shortcut-tint: #eeebfa;
}
.home-page .home-action-hub .home-action-card-icon {
  width: 76px;
  height: 76px;
  margin: 0;
  border: 0;
  border-radius: 24px;
  color: var(--shortcut-accent);
  background: var(--shortcut-tint);
  box-shadow: none;
  transform-origin: center bottom;
}
.home-page .home-action-hub .home-action-card-icon svg {
  width: 40px;
  height: 40px;
  stroke-width: 1.8;
}
.home-page .home-action-hub .home-action-card h3 {
  margin: 0;
  max-width: none;
  font-family: var(--header-sans);
  font-size: clamp(16px, 1.65vw, 20px);
  line-height: 1.3;
  letter-spacing: -.025em;
}
.home-shortcut-arrow {
  position: absolute;
  top: 16px;
  right: 19px;
  font-size: 21px;
  color: #648697;
  transition: transform 240ms ease, color 240ms ease;
}
.home-page .home-action-hub .home-action-card:focus-visible {
  outline: 3px solid var(--shortcut-accent);
  outline-offset: 5px;
  transform: translateY(-6px);
  box-shadow: 0 14px 28px -14px #175b7c60;
}
.home-page .home-action-hub .home-action-card:focus-visible .home-action-card-icon {
  animation: shortcut-bounce 650ms ease both;
}
@media (hover: hover) and (pointer: fine) {
  .home-page .home-action-hub .home-action-card:hover {
    transform: translateY(-7px);
    border-color: var(--shortcut-accent);
    box-shadow: 0 18px 30px -16px #175b7c60;
  }
  .home-page .home-action-hub .home-action-card:hover .home-action-card-icon {
    animation: shortcut-bounce 650ms ease both;
  }
  .home-action-card:hover .home-shortcut-arrow {
    color: var(--shortcut-accent);
    transform: translate(3px, -3px);
  }
}
.home-page .home-action-hub .home-action-card:active {
  transform: translateY(2px) scale(.97);
  box-shadow: 0 2px 0 #c3e3eb70;
}
@keyframes shortcut-bounce {
  0%, 100% { transform: translateY(0) rotate(0); }
  25% { transform: translateY(-12px) rotate(-7deg); }
  48% { transform: translateY(1px) rotate(4deg) scale(1.05, .95); }
  70% { transform: translateY(-5px) rotate(-2deg); }
}
@media (max-width: 720px) {
  .home-page .home-action-hub { padding: 32px 0 44px; }
  .home-page .home-action-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .home-page .home-action-hub .home-action-card { min-height: 174px; gap: 16px; padding: 24px 8px 20px; border-radius: 20px; }
  .home-page .home-action-hub .home-action-card-icon { width: 60px; height: 60px; border-radius: 20px; }
  .home-page .home-action-hub .home-action-card-icon svg { width: 34px; height: 34px; }
  .home-page .home-action-hub .home-action-card h3 { font-size: 14px; }
  .home-shortcut-arrow { top: 9px; right: 13px; font-size: 17px; }
}
.welcome-amounts button:focus-visible, .welcome-project-link:focus-visible, .welcome-impact a:focus-visible { outline: 3px solid #23849b; outline-offset: 4px; }
@keyframes impact-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 760px) {
  .home-page .hero-shell-home { padding-top: 36px; }
  .home-page .hero-shell-home .hero { gap: 24px; }
  .home-page .quick-donation { padding: 25px 20px 18px; border-radius: 22px; }
  .welcome-impact { grid-template-columns: 1fr 1fr; gap: 24px 16px; padding: 24px; margin-top: 32px; }
  .welcome-impact-intro { grid-column: 1 / -1; }
  .welcome-impact > a { grid-column: 1 / -1; border-top: 1px solid #c4e3ec; padding-top: 16px; }
}
@media (max-width: 380px) { .welcome-amounts { gap: 6px; } .welcome-amounts button { font-size: 16px; } .welcome-stat { gap: 8px; } }
@media (prefers-reduced-motion: reduce) { .welcome-impact.is-visible .welcome-impact-line { animation: none; } .home-page *, .home-page *::before, .home-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

@media (prefers-reduced-motion: reduce) {
  .home-page .home-action-hub .home-action-card:is(:hover, :focus-visible, :active),
  .home-page .home-action-hub .home-shortcut-arrow { transform: none; }
}

/* Restored project rotation and field video, without promotional quotes. */
.home-media-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.home-media-heading h2 { margin: 0; font-size: clamp(25px, 3vw, 36px); }
.case-flow-toggle {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #9bcbdc;
  border-radius: 12px;
  background: #f9fdff;
  color: #175b7c;
  font: 700 12px 'Manrope', sans-serif;
  cursor: pointer;
}
.case-flow-toggle:focus-visible, .home-video-caption:focus-visible { outline: 3px solid #23849b; outline-offset: 4px; }
.home-page .home-case-flow.is-paused .case-flow-track,
.home-page .case-flow-shell:hover .case-flow-track,
.home-page .case-flow-shell:focus-within .case-flow-track { animation-play-state: paused; }
.home-page .faith-video-section {
  display: block;
  min-height: 0;
  background: #102f43;
  contain-intrinsic-size: auto 650px;
}
.home-page .faith-video-bg {
  display: block;
  position: relative;
  width: 100%;
  height: clamp(320px, 52vw, 650px);
  object-fit: contain;
  transform: none;
  background: #102f43;
}
.home-video-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 14px 20px;
  color: #e4f4fb;
  font-size: 13px;
}
@media (max-width: 720px) {
  .home-page .faith-video-bg { height: auto; aspect-ratio: 16 / 9; }
  .home-video-caption { font-size: 11px; }
  .case-flow-toggle { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .case-flow-toggle { display: none; }
  .home-page .case-flow-card { opacity: 1; }
}
