/* UMAH Trust website: colours, fonts, layout and animations.
   All colours live here at the top, so changing the look means changing a few lines. */
:root {
  --blue-950: #081436;
  --blue-900: #0e1f4d;
  --blue-800: #16306e;
  --blue-700: #264796;
  --blue-600: #2f56b0;
  --blue-100: #e6ecf8;
  --saffron: #ef7f1a;
  --saffron-light: #f5953f;
  --saffron-deep: #b85a05;
  --green: #009846;
  --green-dark: #00703a;
  --red: #d62828;
  --red-deep: #8f1414;
  --yellow: #f7c51e;
  --yellow-deep: #d99a00;
  --yellow-ink: #2a2100;
  --cream: #faf6ee;
  --sand: #eef1f7;
  --ink: #142019;
  --ink-soft: #4a5a51;
  --white: #ffffff;
  --line: rgba(20, 32, 25, 0.12);

  --font: "Figtree", system-ui, sans-serif;
  --font-head: "Bricolage Grotesque", system-ui, sans-serif;
  --font-arabic: "Amiri", Georgia, serif;

  --wrap: 1240px;
  --radius: 24px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.35);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-padding-top: 80px; }
html:not(.has-lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--font-head); line-height: 1.08; letter-spacing: -0.025em; overflow-wrap: break-word; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); font-weight: 800; }
p { margin: 0; }
figure { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 8px 16px; background: var(--ink); color: var(--white); border-radius: 8px; }
.skip:focus-visible { top: 16px; }

.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--blue-600); font-size: 0.95rem; font-weight: 700; }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--saffron); }
.kicker--light { color: var(--saffron-light); }
.section-head { margin-bottom: 56px; }
.section-head--center { text-align: center; }
.section-head--center .kicker { justify-content: center; }
.section-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-lead { max-width: 56ch; margin-top: 18px; color: var(--ink-soft); font-size: 1.1rem; }

/* Split headings: each word slides up from behind a mask */
.word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.word > span { display: inline-block; will-change: transform; }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0; font: 700 1rem/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 0.25s, color 0.25s, box-shadow 0.25s; }
.btn--sm { min-height: 44px; padding: 0 22px; }
.btn--lg { min-height: 60px; padding: 0 34px; font-size: 1.08rem; }
.btn--gold { background: var(--saffron); color: var(--blue-950); box-shadow: 0 10px 20px -12px rgba(0, 0, 0, 0.45); }
.btn--gold:hover { background: var(--saffron-light); }
.btn--glass { background: rgba(255, 255, 255, 0.1); color: var(--white); border: 1px solid rgba(255, 255, 255, 0.4); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.2); }
.btn--blue { background: var(--blue-700); color: var(--white); }
.btn--blue:hover { background: var(--blue-600); }
.btn--green { background: var(--green-dark); color: var(--white); }
.btn--green:hover { background: #048a43; }
.btn--white { background: var(--white); color: var(--blue-900); }
.btn--white:hover { background: var(--cream); }
.btn--outline { border: 2px solid var(--blue-700); color: var(--blue-700); background: transparent; }
.btn--outline:hover { background: var(--blue-100); }
.btn:active { transform: scale(0.97); }

/* The five service colours, taken from the logo and visiting cards */
.tone-blue { --c: #2f56b0; --c-deep: #13296a; --c-fg: #ffffff; --c-soft: #e6ecf8; }
.tone-yellow { --c: #f7c51e; --c-deep: #e0a200; --c-fg: #2a2100; --c-soft: #fff6d6; }
.tone-red { --c: #d62828; --c-deep: #8f1414; --c-fg: #ffffff; --c-soft: #fde7e7; }
.tone-green { --c: #049a49; --c-deep: #00532b; --c-fg: #ffffff; --c-soft: #e1f5ea; }
.tone-orange { --c: #ef7f1a; --c-deep: #a14a06; --c-fg: #ffffff; --c-soft: #fdeedd; }
.tone-grey { --c: #5b6470; --c-deep: #333a44; --c-fg: #ffffff; --c-soft: #eef0f3; }
.tag { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; background: color-mix(in srgb, var(--c) 18%, transparent); border: 1px solid color-mix(in srgb, var(--c) 60%, transparent); color: var(--white); font-size: 0.9rem; font-weight: 700; text-decoration: none; transition: background-color 0.25s; }
.tag::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.tag:hover { background: color-mix(in srgb, var(--c) 35%, transparent); }
.hero__tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 0; padding: 0; list-style: none; max-width: 640px; }

/* Opening screen */
.loader { display: none; }
.js .loader { position: fixed; inset: 0; z-index: 150; display: grid; place-content: center; justify-items: center; gap: 22px; background: var(--blue-950); color: var(--white); perspective: 900px; }
.loader__coin { position: relative; width: 150px; height: 150px; transform-style: preserve-3d; animation: coin 2.4s var(--ease) infinite; }
.loader__face { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; backface-visibility: hidden; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08); }
.loader__face--back { transform: rotateY(180deg); }
@keyframes coin { 0% { transform: rotateY(0); } 60%, 100% { transform: rotateY(360deg); } }
.loader__text { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.85); }
.loader__bar { width: 180px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.15); overflow: hidden; }
.loader__bar span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--saffron), var(--white), var(--green)); transform: scaleX(0); transform-origin: left; }

/* Scroll progress */
.progress { position: fixed; inset: 0 0 auto; z-index: 60; height: 3px; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--saffron), var(--white) 50%, var(--green)); transform: scaleX(0); transform-origin: left; }

/* Top bar */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color 0.35s, box-shadow 0.35s, transform 0.45s var(--ease); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.nav__links { display: flex; gap: 26px; margin-inline-start: auto; }
.nav__links a { position: relative; color: rgba(255, 255, 255, 0.9); font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--saffron); transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav.is-solid { background: rgba(250, 246, 238, 0.92); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.is-solid .nav__links a, .nav.is-solid .brand { color: var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; }
.brand__logo { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.35); transition: transform 0.6s var(--ease); }
.brand:hover .brand__logo { transform: rotate(360deg); }
.brand__logo--big { width: 88px; height: 88px; }
.brand__text { font-family: var(--font-head); font-size: 1.3rem; font-weight: 500; letter-spacing: -0.02em; }
.brand__text b { font-weight: 800; }
.brand--light { color: var(--white); }

/* Hero with the 3D globe */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; color: var(--white); background: radial-gradient(120% 90% at 75% 40%, var(--blue-800) 0%, var(--blue-900) 45%, var(--blue-950) 100%); }
.hero__globe { position: absolute; top: 50%; right: -6%; width: min(62vw, 900px); height: min(62vw, 900px); transform: translateY(-50%); }
.hero__glow { position: absolute; right: 8%; top: 50%; width: 40vw; height: 40vw; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(239, 127, 26, 0.18), rgba(0, 152, 70, 0.08) 45%, transparent 70%); filter: blur(30px); pointer-events: none; }
.hero__content { position: relative; padding-top: 110px; padding-bottom: 110px; }
.hero__tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; padding: 9px 18px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px; background: rgba(255, 255, 255, 0.06); font-size: 0.9rem; font-weight: 600; backdrop-filter: blur(6px); }
.hero__title { max-width: 11ch; font-size: clamp(3rem, 8vw, 7rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.hero__lead { max-width: 46ch; margin-top: 28px; font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: rgba(255, 255, 255, 0.85); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, 0.5); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--white); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* Moving ribbon */
.ribbon { overflow: hidden; padding: 22px 0; background: var(--saffron); color: var(--blue-950); transform: rotate(-1.5deg) scale(1.04); margin-top: -18px; position: relative; z-index: 2; }
.ribbon__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 38s linear infinite; font-family: var(--font-head); font-size: clamp(1.2rem, 2vw, 1.7rem); font-weight: 800; white-space: nowrap; }
.ribbon__track i { width: 14px; height: 14px; border-radius: 50%; background: var(--blue-900); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5); }
.ribbon__track i:nth-of-type(5n+1) { background: #2f56b0; }
.ribbon__track i:nth-of-type(5n+2) { background: var(--yellow); }
.ribbon__track i:nth-of-type(5n+3) { background: var(--red); }
.ribbon__track i:nth-of-type(5n+4) { background: var(--green); }
.ribbon__track i:nth-of-type(5n) { background: var(--white); }
@keyframes marquee { to { transform: translateX(-50%); } }
.ribbon:hover .ribbon__track { animation-play-state: paused; }

/* About */
.about { padding: 150px 0 140px; }
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 90px; align-items: center; }
.about__text h2 { margin-bottom: 26px; }
.about__text > p:not(.kicker) { color: var(--ink-soft); font-size: 1.1rem; max-width: 54ch; }
.about__text > p + p { margin-top: 16px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 36px 0 0; padding: 0; list-style: none; }
.facts li { padding: 20px; border-radius: 18px; background: var(--white); box-shadow: 0 14px 30px -24px rgba(0, 0, 0, 0.5); }
.facts b { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--blue-700); line-height: 1.1; }
.facts span { color: var(--ink-soft); font-size: 0.9rem; font-weight: 600; }
.about__photos { position: relative; min-height: 600px; }
.about__big { position: absolute; right: 0; top: 0; width: 78%; }
.about__big img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__small { position: absolute; left: 0; bottom: -30px; width: 46%; }
.about__small img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); border: 8px solid var(--cream); box-shadow: var(--shadow); }
.about__coin { position: absolute; left: 6%; top: 4%; width: 130px; height: 130px; border-radius: 50%; box-shadow: var(--shadow); }
.about__coin img { width: 100%; height: 100%; border-radius: 50%; border: 5px solid var(--cream); }

/* How we help */
.help { padding: 130px 0 150px; background: var(--sand); }
.help__layout { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 60px; align-items: start; }
.help__menu { position: sticky; top: 110px; display: grid; gap: 6px; }
.help__menu a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; color: var(--ink-soft); font-weight: 700; text-decoration: none; transition: background-color 0.3s, color 0.3s, transform 0.3s var(--ease); }
.help__menu a span { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--white); color: var(--blue-700); font-size: 0.85rem; transition: background-color 0.3s, color 0.3s; }
.help__menu a:hover { color: var(--ink); }
.help__menu a.is-active { background: var(--white); color: var(--ink); transform: translateX(8px); box-shadow: 0 14px 30px -24px rgba(0, 0, 0, 0.6); }
.help__menu a span { box-shadow: inset 0 0 0 2px var(--c); }
.help__menu a.is-active span { background: var(--c); color: var(--c-fg); }
.help__menu a.is-active { box-shadow: inset 4px 0 0 var(--c), 0 14px 30px -24px rgba(0, 0, 0, 0.6); }
.help__panels { display: grid; gap: 32px; perspective: 1400px; }
.svc { position: relative; overflow: hidden; padding: 48px; border-radius: 28px; color: var(--c-fg); background: linear-gradient(140deg, var(--c), var(--c-deep)); box-shadow: var(--shadow); transform-style: preserve-3d; }
.svc__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.22; filter: grayscale(1) contrast(1.1); mix-blend-mode: luminosity; }
.svc--photo::before { content: none; }
.tone-yellow .svc__bg { opacity: 0.16; mix-blend-mode: multiply; }
.svc > :not(.svc__bg) { position: relative; }
.svc::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid color-mix(in srgb, var(--c-fg) 7%, transparent); pointer-events: none; }
.svc__icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 22px; border-radius: 18px; background: color-mix(in srgb, var(--c-fg) 15%, transparent); transform: translateZ(40px); }
.svc__icon svg { width: 32px; height: 32px; fill: none; stroke: var(--c-fg); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc__num { position: absolute; right: 44px; top: 36px; font-family: var(--font-head); font-size: 4.5rem; font-weight: 800; line-height: 1; color: color-mix(in srgb, var(--c-fg) 14%, transparent); }
.svc h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 800; transform: translateZ(30px); }
.svc__lead { margin-top: 10px; font-size: 1.15rem; color: color-mix(in srgb, var(--c-fg) 88%, transparent); }
.svc__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin: 28px 0; padding: 0; list-style: none; }
.svc__list li { position: relative; padding-inline-start: 30px; color: color-mix(in srgb, var(--c-fg) 94%, transparent); }
.svc__list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.45em; width: 18px; height: 18px; border-radius: 50%; background: color-mix(in srgb, var(--c-fg) 20%, transparent); }
.svc__list li::after { content: ""; position: absolute; inset-inline-start: 6px; top: calc(0.45em + 4px); width: 5px; height: 9px; border: solid var(--c-fg); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.svc > .svc__num { position: absolute; }
.svc__who { margin-bottom: 26px; padding: 14px 18px; border-radius: 14px; background: color-mix(in srgb, var(--c-fg) 11%, transparent); color: color-mix(in srgb, var(--c-fg) 92%, transparent); }
.svc .btn--white { background: var(--white); color: var(--c-deep); }
.tone-yellow .btn--white { color: var(--yellow-ink); }


/* Get help */
.gethelp { position: relative; padding: 140px 0; overflow: hidden; color: var(--white); background: var(--blue-900); }
.gethelp::before { content: ""; position: absolute; left: -10%; top: -30%; width: 60%; height: 120%; background: radial-gradient(circle, rgba(239, 127, 26, 0.15), transparent 60%); pointer-events: none; }
.gethelp .wrap { position: relative; }
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.flow__step { position: relative; padding: 40px 32px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }
.flow__n { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px; border-radius: 50%; background: var(--saffron); color: var(--blue-950); font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; }
.flow__step h3 { font-size: 1.5rem; margin-bottom: 10px; }
.flow__step p { color: rgba(255, 255, 255, 0.8); }
.gethelp__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 56px; }
.sos { margin-top: 64px; padding: 32px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.95); color: var(--ink); text-align: center; }
.sos__title { font-weight: 700; margin-bottom: 20px; }
.sos__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin: 0; padding: 0; list-style: none; }
.sos__list a { display: grid; min-width: 170px; padding: 16px 24px; border-radius: 16px; background: var(--sand); text-decoration: none; transition: background-color 0.25s; }
.sos__list a:hover { background: var(--blue-100); }
.sos__list b { font-family: var(--font-head); font-size: 2rem; color: #b42318; line-height: 1.1; }
.sos__list span { color: var(--ink-soft); font-weight: 600; font-size: 0.9rem; }

/* Request help form */
.request { padding: 140px 0; background: var(--cream); }
.request__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 72px; align-items: start; }
.request__info { position: sticky; top: 120px; }
.request__info h2 { margin-bottom: 22px; }
.request__info > p:not(.kicker) { color: var(--ink-soft); font-size: 1.1rem; max-width: 46ch; }
.request__points { display: grid; gap: 12px; margin: 30px 0; padding: 0; list-style: none; }
.request__points li { position: relative; padding-inline-start: 34px; font-weight: 600; }
.request__points li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.25em; width: 22px; height: 22px; border-radius: 50%; background: var(--green); }
.request__points li::after { content: ""; position: absolute; inset-inline-start: 8px; top: calc(0.25em + 5px); width: 5px; height: 10px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.request__sos { display: inline-block; padding: 12px 18px; border-radius: 14px; background: #fde7e7; color: #8f1414; }
.rform { display: grid; gap: 20px; padding: 40px; border-radius: 28px; background: var(--white); box-shadow: var(--shadow); }
.rform__need { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; border: 0; }
.rform__need legend { margin-bottom: 14px; font-weight: 800; font-size: 1.1rem; }
.rform__need label { position: relative; cursor: pointer; }
.rform__need input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rform__need span { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 10px 14px; border: 2px solid var(--line); border-radius: 14px; background: var(--white); font-weight: 700; font-size: 0.95rem; line-height: 1.3; transition: border-color 0.2s, background-color 0.2s; }
.rform__need span::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--c); }
.rform__need label:hover span { border-color: var(--c); }
.rform__need input:checked + span { border-color: var(--c); background: var(--c-soft); box-shadow: inset 0 0 0 1px var(--c); }
.rform__need input:focus-visible + span { outline: 3px solid var(--saffron); outline-offset: 2px; }
.rform__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rform__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 0.95rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid #b9c2cc; border-radius: 12px; background: var(--cream); color: var(--ink); font: 500 1rem/1.4 var(--font); outline: 3px solid transparent; outline-offset: 1px; transition: border-color 0.2s, background-color 0.2s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-color: var(--saffron); background: var(--white); }
.field .is-invalid, .rform__need.is-invalid span, .rform__consent.is-invalid span { border-color: #d62828; }
.rform__need.is-invalid legend, .rform__consent.is-invalid span { color: #b42318; }
.rform__consent { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.rform__consent input { flex: none; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--green-dark); }
.rform__error { padding: 12px 16px; border-radius: 12px; background: #fde7e7; color: #8f1414; font-weight: 700; }
.rform__send { justify-self: start; }
.rform__done { display: grid; gap: 12px; padding: 24px; border-radius: 18px; background: #e1f5ea; }
.rform__done[hidden], .rform__error[hidden] { display: none; }
.rform__done-title { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: var(--green-dark); }
.rform__done .btn { justify-self: start; }

/* On the streets: sideways photo strip */
.stories { background: var(--blue-950); color: var(--white); overflow: hidden; }
.stories__pin { display: flex; align-items: center; min-height: 100svh; padding: 120px 0; overflow: hidden; }
.stories__row { display: flex; align-items: center; gap: 60px; padding-left: max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); will-change: transform; }
.stories__intro { flex: none; width: min(420px, 80vw); }
.stories__intro h2 { margin-bottom: 20px; }
.stories__intro p:not(.kicker) { color: rgba(255, 255, 255, 0.75); font-size: 1.1rem; }
.stories__intro .kicker { color: var(--saffron-light); }
.stories__track { display: flex; gap: 28px; padding-right: 10vw; perspective: 1400px; }
.story { position: relative; flex: none; width: min(380px, 78vw); margin: 0; }
.story img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.story figcaption { margin-top: 14px; color: rgba(255, 255, 255, 0.8); font-weight: 600; }
.story--yt { display: grid; place-content: center; justify-items: center; gap: 10px; aspect-ratio: 3 / 4; border-radius: var(--radius); background: linear-gradient(150deg, var(--saffron), #b0360b); color: var(--white); text-decoration: none; text-align: center; padding: 30px; align-self: start; }
.story--yt b { font-family: var(--font-head); font-size: 1.7rem; line-height: 1.15; }
.story--yt span:last-child { opacity: 0.85; }
.story__play { position: relative; width: 84px; height: 84px; margin-bottom: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); transition: transform 0.4s var(--ease); }
.story__play::after { content: ""; position: absolute; left: 33px; top: 26px; width: 26px; height: 32px; background: var(--white); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.story--yt:hover .story__play { transform: scale(1.12); }
/* Without the scroll animation, the strip simply scrolls sideways */
html:not(.has-pin) .stories__row { flex-wrap: wrap; padding-right: 24px; }
html:not(.has-pin) .stories__track { width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; max-width: 100%; }
html:not(.has-pin) .story { scroll-snap-align: start; }
html:not(.has-pin) .stories__pin { min-height: 0; }

/* Videos */
.videos { padding: 130px 0; }
.videos__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.video a { position: relative; display: grid; gap: 4px; text-decoration: none; color: var(--ink); }
.video img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 10px; box-shadow: 0 12px 30px -20px rgba(0, 0, 0, 0.5); transition: transform 0.5s var(--ease); }
.video a:hover img { transform: translateY(-6px); }
.video__play { position: absolute; left: 50%; top: 0; width: 52px; height: 52px; margin: calc((100% * 9 / 16) / 2 - 26px) 0 0 -26px; border-radius: 50%; background: rgba(14, 31, 77, 0.8); }
.video__play::after { content: ""; position: absolute; left: 20px; top: 15px; width: 17px; height: 22px; background: var(--white); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.video a:hover b { color: var(--blue-700); }
.video time { color: var(--ink-soft); font-size: 0.9rem; }

/* Quran verse */
.verse { position: relative; padding: 190px 0; color: var(--white); text-align: center; overflow: hidden; background: var(--blue-950); }
.verse__img { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; object-position: 50% 30%; }
.verse__shade { position: absolute; inset: 0; background: rgba(8, 20, 54, 0.86); }
.verse__content { position: relative; max-width: 960px; }
.verse blockquote { margin: 0; }
.verse blockquote p { font-family: var(--font-arabic); font-style: italic; font-size: clamp(1.7rem, 3.4vw, 2.8rem); line-height: 1.4; }
.verse .w { opacity: 0.18; transition: opacity 0.2s; }
.verse .w.is-lit { opacity: 1; }
html:not(.has-words) .verse .w { opacity: 1; }
.verse figcaption { margin-top: 30px; color: var(--saffron-light); font-weight: 700; }

/* Donate */
.donate { padding: 140px 0; background: var(--blue-800); color: var(--white); }
.donate__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: center; }
.donate__text h2 { margin-bottom: 20px; }
.donate__text > p { color: rgba(255, 255, 255, 0.82); max-width: 48ch; }
.ways { margin: 32px 0; padding: 0; list-style: none; }
.ways li { display: grid; gap: 2px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.ways b { color: var(--saffron-light); }
.ways span { color: rgba(255, 255, 255, 0.8); }
.ways a { color: var(--saffron-light); font-weight: 600; }
.ways a:hover { color: var(--white); }
.note { padding: 14px 18px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.08); font-size: 0.95rem; color: rgba(255, 255, 255, 0.85); }
.slip { padding: 36px; border-radius: 28px; background: var(--cream); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5); }
.causes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 28px; padding: 0; border: 0; }
.causes legend, .slip__step { margin-bottom: 14px; font-weight: 800; font-size: 1.05rem; }
.causes label { position: relative; cursor: pointer; }
.causes input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.causes span { display: flex; align-items: center; min-height: 52px; padding: 0 16px; border: 2px solid var(--line); border-radius: var(--radius-sm); background: var(--white); font-weight: 600; font-size: 0.95rem; transition: border-color 0.2s, background-color 0.2s; }
.causes label:hover span { border-color: var(--blue-600); }
.causes input:checked + span { border-color: var(--blue-600); background: var(--blue-100); color: var(--blue-800); }
.causes input:focus-visible + span { outline: 3px solid var(--saffron); outline-offset: 2px; }
.slip__pay { padding-top: 24px; border-top: 2px dashed var(--line); }
.slip__row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: center; }
.qr { width: 100%; height: auto; aspect-ratio: 1; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.slip__details { display: grid; gap: 12px; margin: 0; }
.slip__details dt { font-size: 0.85rem; color: var(--ink-soft); }
.slip__details dd { margin: 0; font-weight: 700; }
.slip__note { color: var(--green-dark); }
.slip__upi { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.copy { min-height: 32px; padding: 0 12px; border: 1px solid var(--blue-700); border-radius: 999px; background: transparent; color: var(--blue-700); font: 700 0.8rem/1 var(--font); cursor: pointer; }
.copy:hover { background: var(--blue-100); }
.slip__how { margin-top: 18px; color: var(--ink-soft); font-size: 0.95rem; }
.slip__app { width: 100%; margin-top: 12px; }
.slip__thanks { margin-top: 24px; text-align: center; color: var(--ink-soft); font-size: 0.95rem; }

/* Volunteer */
.volunteer { padding: 140px 0; }
.volunteer__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.volunteer__photo { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.volunteer__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transform: scale(1.12); }
.volunteer__text h2 { margin-bottom: 32px; }
.steps { margin: 0 0 36px; padding: 0; list-style: none; counter-reset: s; }
.steps li { position: relative; display: grid; gap: 2px; padding: 0 0 24px; padding-inline-start: 64px; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue-100); color: var(--blue-700); font-weight: 800; }
.steps li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 21px; top: 50px; bottom: 6px; width: 2px; background: var(--blue-100); }
.steps b { font-size: 1.1rem; }
.steps span { color: var(--ink-soft); }
.volunteer__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Team */
.team { padding: 120px 0 150px; background: var(--sand); }
.team__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; perspective: 1000px; }
.member { display: grid; justify-items: center; gap: 6px; padding: 48px 24px; border-radius: var(--radius); background: var(--white); text-align: center; box-shadow: 0 16px 40px -28px rgba(0, 0, 0, 0.35); transform-style: preserve-3d; }
.member__initials { display: grid; place-items: center; width: 100px; height: 100px; margin-bottom: 14px; border-radius: 50%; color: var(--white); font: 800 1.9rem/1 var(--font-head); transform: translateZ(40px); }
.member__initials--green { background: var(--green-dark); }
.member__initials--blue { background: var(--blue-700); }
.member__initials--saffron { background: var(--saffron-deep); }
.member h3 { font-size: 1.35rem; font-weight: 800; transform: translateZ(20px); }
.member p { color: var(--ink-soft); font-weight: 600; }

/* Footer */
.footer { position: relative; padding: 0 0 32px; background: var(--blue-950); color: rgba(255, 255, 255, 0.82); }
.footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--saffron) 0 33.3%, var(--white) 33.3% 66.6%, var(--green) 66.6% 100%); }
.footer__big { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-top: 110px; padding-bottom: 80px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.footer__big p { max-width: 14ch; font-family: var(--font-head); font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 800; line-height: 1.02; color: var(--white); letter-spacing: -0.03em; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-top: 64px; padding-bottom: 56px; }
.footer h3 { margin-bottom: 16px; color: var(--white); font-size: 1.05rem; letter-spacing: 0; }
.footer p { margin-bottom: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--saffron-light); }
.footer__about { max-width: 34ch; margin-top: 18px; }
.footer__bottom { display: grid; gap: 10px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }
.credits a { text-decoration: underline; }

/* Language switch */
.lang { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2); }
.lang a { display: grid; place-items: center; min-height: 34px; padding: 0 12px; border-radius: 999px; color: rgba(255, 255, 255, 0.85); font-size: 0.85rem; font-weight: 700; text-decoration: none; line-height: 1; }
.lang a[lang="ur"] { font-family: "Noto Nastaliq Urdu", var(--font); font-size: 0.95rem; }
.lang a[lang="kn"] { font-family: "Noto Sans Kannada", var(--font); }
.lang a:hover { background: rgba(255, 255, 255, 0.12); }
.lang a[aria-current="page"] { background: var(--white); color: var(--blue-900); }
.nav.is-solid .lang { background: var(--sand); border-color: var(--line); }
.nav.is-solid .lang a { color: var(--ink-soft); }
.nav.is-solid .lang a[aria-current="page"] { background: var(--blue-700); color: var(--white); }

/* Arabic text of the verse */
.verse__ar { margin-bottom: 26px; font-family: var(--font-arabic); font-style: normal !important; font-size: clamp(1.6rem, 3vw, 2.5rem) !important; line-height: 1.9 !important; color: var(--saffron-light); }

/* Urdu page: Nastaliq font, right-to-left */
html[lang="ur"] body { font-family: "Noto Nastaliq Urdu", var(--font); line-height: 2.1; font-size: 16px; }
html[lang="ur"] h1, html[lang="ur"] h2, html[lang="ur"] h3, html[lang="ur"] .loader__text, html[lang="ur"] .ribbon__track, html[lang="ur"] .footer__big p, html[lang="ur"] .facts b, html[lang="ur"] .story--yt b { font-family: "Noto Nastaliq Urdu", var(--font-head); letter-spacing: 0; line-height: 1.9; font-weight: 700; }
html[lang="ur"] .hero__title { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.7; }
html[lang="ur"] h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); }
html[lang="ur"] .btn { font-family: "Noto Nastaliq Urdu", var(--font); line-height: 1; padding-top: 6px; }
html[lang="ur"] .verse blockquote p:not(.verse__ar) { font-family: "Noto Nastaliq Urdu", serif; font-style: normal; line-height: 2.2; font-size: clamp(1.4rem, 2.6vw, 2.1rem); }
html[lang="ur"] .brand__text, html[lang="ur"] .slip__upi, html[lang="ur"] .qr { direction: ltr; }
html[dir="rtl"] .hero__globe { right: auto; left: -6%; }
html[dir="rtl"] .hero__glow { right: auto; left: 8%; }
html[dir="rtl"] .svc > .svc__num { right: auto; left: 44px; }
html[dir="rtl"] .help__menu a.is-active { transform: translateX(-8px); }
html[dir="rtl"] .about__big { right: auto; left: 0; }
html[dir="rtl"] .about__small { left: auto; right: 0; }
html[dir="rtl"] .about__coin { left: auto; right: 6%; }
html[dir="rtl"] .ribbon, html[dir="rtl"] .stories__row { direction: ltr; }
html[dir="rtl"] .stories__intro, html[dir="rtl"] .story figcaption, html[dir="rtl"] .story--yt { direction: rtl; }
html[dir="rtl"] .kicker::before { order: 0; }

/* Kannada page */
html[lang="kn"] body { font-family: "Noto Sans Kannada", var(--font); line-height: 1.8; }
html[lang="kn"] h1, html[lang="kn"] h2, html[lang="kn"] h3, html[lang="kn"] .ribbon__track, html[lang="kn"] .footer__big p, html[lang="kn"] .story--yt b, html[lang="kn"] .loader__text { font-family: "Noto Sans Kannada", var(--font-head); letter-spacing: 0; line-height: 1.4; }
html[lang="kn"] .hero__title { font-size: clamp(2.4rem, 5.6vw, 4.8rem); line-height: 1.3; }
html[lang="kn"] h2 { font-size: clamp(1.7rem, 3.2vw, 2.8rem); }
html[lang="kn"] .btn { font-family: "Noto Sans Kannada", var(--font); }
html[lang="kn"] .verse blockquote p:not(.verse__ar) { font-family: "Noto Sans Kannada", serif; font-style: normal; font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.7; }
/* Tall letters in Urdu and Kannada need room inside the word masks */
html[lang="ur"] .word, html[lang="kn"] .word { padding-block: 0.3em; margin-block: -0.3em; }
html[lang="ur"] .hero__title, html[lang="kn"] .hero__title { max-width: 14ch; }

/* Faint background art: dotted world map (from the letterhead idea) and an Islamic star pattern */
.bg-map, .bg-geo { position: relative; isolation: isolate; }
.bg-map::before, .bg-geo::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.bg-map::before { background: url("images/world-dots.svg") center 55% / min(1300px, 96%) auto no-repeat; opacity: 0.1; }
.bg-geo::before { background: url("images/geo-tile.svg") 0 0 / 96px 96px repeat; opacity: 0.06; -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 80% 20%, #000 10%, transparent 70%); }

/* One message, many faiths */
.faiths { padding: 140px 0; background: var(--cream); }
.section-lead--center { margin-inline: auto; }
.faiths__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.faith { display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(4px); border: 1px solid var(--line); box-shadow: 0 16px 40px -30px rgba(0, 0, 0, 0.35); }
.faith__name { align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: var(--c-soft); color: color-mix(in srgb, var(--c-deep) 85%, #000); font-weight: 800; font-size: 0.9rem; }
.faith__name::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-inline-end: 8px; border-radius: 50%; background: var(--c); vertical-align: 1px; }
.faith__orig { font-size: 1.35rem; line-height: 1.8; color: var(--c-deep); font-family: "Amiri", "Noto Sans Devanagari", "Noto Sans Gurmukhi", serif; }
.faith__orig[lang="sa"] { font-family: "Noto Sans Devanagari", serif; }
.faith__orig[lang="pa"] { font-family: "Noto Sans Gurmukhi", serif; }
.tone-yellow .faith__orig { color: #8a6400; }
.faith blockquote { margin: 0; flex: 1; text-align: start; font-family: var(--font-arabic); font-style: italic; font-size: 1.25rem; line-height: 1.55; color: var(--ink); }
.faith__src { padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 0.9rem; font-weight: 600; }
.faiths__note { margin-top: 28px; text-align: center; color: var(--ink-soft); font-size: 0.9rem; }

/* Questions and answers */
.faq { padding: 140px 0; background: var(--cream); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.faq__head { position: sticky; top: 120px; }
.faq__head h2 { margin-bottom: 18px; }
.faq__head a { color: var(--blue-700); font-weight: 700; }
.faq__list { display: grid; gap: 12px; }
.qa { border-radius: 18px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 10px 30px -26px rgba(0, 0, 0, 0.4); }
.qa summary { position: relative; display: block; padding: 22px 64px 22px 24px; font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23264796' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform 0.35s var(--ease), background-color 0.3s; }
.qa[open] summary::after { transform: rotate(135deg); background-color: var(--saffron); }
.qa summary:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; border-radius: 18px; }
.qa p { padding: 0 24px 22px; color: var(--ink-soft); font-size: 1.05rem; }
html[dir="rtl"] .qa summary { padding: 22px 24px 22px 64px; }
html[dir="rtl"] .qa summary::after { right: auto; left: 24px; }

/* Shadow figures of volunteers helping people, very faint, along the bottom of some sections */
.has-walk { position: relative; isolation: isolate; }
.walk { position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; display: flex; justify-content: space-around; align-items: flex-end; gap: 6vw; padding: 0 4vw; pointer-events: none; opacity: 0.07; overflow: hidden; }
.walk img { height: clamp(90px, 11vw, 150px); width: auto; flex: none; }
.walk img:nth-child(even) { height: clamp(80px, 9vw, 125px); }
.walk--big { opacity: 0.07; filter: brightness(0) invert(1); justify-content: space-between; padding: 0 2vw; }
.walk--big img { height: clamp(140px, 20vw, 280px); }
.gethelp { isolation: isolate; }
.gethelp .wrap { z-index: 1; }
@media (max-width: 600px) { .walk img:nth-child(n+3) { display: none; } .walk--big img:nth-child(n+2) { display: none; } }

/* Shadow scene inside each service card, floating gently */
.svc > .svc__art { position: absolute; right: 28px; bottom: 20px; width: min(240px, 34%); height: auto; opacity: 0.16; filter: brightness(0) invert(1); pointer-events: none; animation: float 6s ease-in-out infinite alternate; }
.tone-yellow > .svc__art { filter: brightness(0); opacity: 0.12; }
html[dir="rtl"] .svc > .svc__art { right: auto; left: 28px; }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-10px); } }
/* Shadow figures bob a little, as if walking */
.walk img { animation: bob 2.8s ease-in-out infinite alternate; }
.walk img:nth-child(2) { animation-delay: -0.7s; }
.walk img:nth-child(3) { animation-delay: -1.4s; }
.walk img:nth-child(4) { animation-delay: -2.1s; }
.walk img:nth-child(5) { animation-delay: -0.35s; }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-6px); } }
.walk--help { opacity: 0.09; }
@media (max-width: 600px) { .svc > .svc__art { width: 120px; opacity: 0.12; } }
@media (prefers-reduced-motion: reduce) { .walk img, .svc > .svc__art { animation: none; } }

/* Our work in numbers */
.impact { position: relative; padding: 140px 0; overflow: hidden; color: var(--white); background: radial-gradient(90% 80% at 50% 0%, var(--blue-800), var(--blue-950)); }
.impact__numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.num { display: grid; gap: 10px; padding: 40px 32px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); text-align: center; }
.num b { font-family: var(--font-head); font-size: clamp(2.8rem, 5.5vw, 4.6rem); font-weight: 800; line-height: 1; color: var(--c); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.num.tone-blue b { color: #7fa2ff; }
.num > span { color: rgba(255, 255, 255, 0.85); font-weight: 600; font-size: 1.05rem; }
.impact__also { margin: 64px 0 20px; text-align: center; font-weight: 700; color: rgba(255, 255, 255, 0.8); }
.impact__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.also { display: grid; gap: 6px; align-content: start; padding: 24px 20px; border-radius: 18px; background: rgba(255, 255, 255, 0.05); }
.also::before { content: ""; width: 40px; height: 5px; margin-bottom: 8px; border-radius: 3px; background: var(--c); }
.also__dot { display: none; }
.also b { font-family: var(--font-head); font-size: 1.25rem; color: var(--white); }
.also > span:last-child { color: rgba(255, 255, 255, 0.75); font-size: 0.95rem; }
.impact__note { margin-top: 32px; text-align: center; color: rgba(255, 255, 255, 0.55); font-size: 0.85rem; }
.maps-link { display: inline-flex; margin-top: 4px; color: var(--saffron-light); font-weight: 700; }
@media (max-width: 960px) {
  .impact { padding: 96px 0; }
  .impact__numbers { grid-template-columns: minmax(0, 1fr); }
  .impact__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) { .impact__list { grid-template-columns: minmax(0, 1fr); } }

/* The story of the food, told along a line that draws itself */
.story-line { position: relative; max-width: 820px; margin: 0 auto; padding: 0 0 0 56px; list-style: none; }
.story-line::before { content: ""; position: absolute; left: 14px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); }
.story-line::after { content: ""; position: absolute; left: 14px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: linear-gradient(var(--saffron), var(--white), var(--green)); transform-origin: top; transform: scaleY(var(--line, 1)); }
.chapter { position: relative; padding: 0 0 56px; }
.chapter::before { content: ""; position: absolute; left: -50px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-950); border: 3px solid var(--saffron); }
.chapter:nth-child(2)::before { border-color: var(--white); }
.chapter--now::before { border-color: var(--green); background: var(--green); box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.25); }
.chapter__when { display: inline-block; margin-bottom: 10px; color: var(--saffron-light); font-weight: 800; font-size: 0.95rem; }
.chapter h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 10px; }
.chapter p { color: rgba(255, 255, 255, 0.82); font-size: 1.1rem; max-width: 56ch; }
.chapter--now { padding-bottom: 0; }
.counter { display: grid; gap: 4px; }
.counter b { font-family: var(--font-head); font-size: clamp(3.4rem, 9vw, 7rem); font-weight: 800; line-height: 1; color: #2fd27a; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.counter span { color: var(--white); font-weight: 700; font-size: 1.2rem; }
.counter b.tick { animation: tick 0.5s ease-out; }
@keyframes tick { from { color: var(--white); } to { color: #2fd27a; } }
html[dir="rtl"] .story-line { padding: 0 56px 0 0; }
html[dir="rtl"] .story-line::before, html[dir="rtl"] .story-line::after { left: auto; right: 14px; }
html[dir="rtl"] .chapter::before { left: auto; right: -50px; }
html[dir="rtl"] .counter b { direction: ltr; text-align: right; }

/* What our name means */
.name { padding: 140px 0 130px; background: var(--white); text-align: center; overflow: hidden; }
.name__kicker { justify-content: center; }
.name__words { display: grid; justify-content: center; gap: 6px; margin: 10px 0 40px; }
.name__row { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 3vw, 40px); }
.name__big { margin: 0; font-family: var(--font-head); font-size: clamp(4.5rem, 15vw, 11rem); font-weight: 800; line-height: 0.95; letter-spacing: 0.02em; color: var(--blue-900); direction: ltr; }
.name__row:first-child .name__big { color: transparent; -webkit-text-stroke: 2px var(--blue-700); }
.name__add { display: inline-block; color: var(--saffron); }
.name__meta { display: grid; justify-items: start; text-align: start; }
.name__ar { font-family: var(--font-arabic); font-size: clamp(2rem, 4.5vw, 3.6rem); line-height: 1.3; color: var(--green-dark); }
.name__means { font-weight: 800; font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--ink-soft); }
.name__line { max-width: 24ch; margin: 0 auto; font-family: var(--font-head); font-size: clamp(1.6rem, 3.4vw, 2.8rem); font-weight: 600; line-height: 1.35; color: var(--ink-soft); }
.name__line b { display: block; margin-top: 10px; font-weight: 800; color: var(--blue-900); }
.name__root { max-width: 52ch; margin: 22px auto 0; color: var(--ink-soft); font-size: 1.05rem; }
.umah { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(12px, 2.4vw, 28px); margin: 60px 0 0; direction: ltr; perspective: 800px; }
/* Polished glass tiles: coloured liquid with a moving wave rises inside, the letter turns white under it */
.tile { --fill: 100%; position: relative; display: grid; place-items: center; width: clamp(76px, 15vw, 150px); aspect-ratio: 1; border-radius: 30%; overflow: hidden; isolation: isolate; background: linear-gradient(160deg, var(--white), var(--c-soft)); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 -10px 24px -14px color-mix(in srgb, var(--c) 40%, transparent) inset, 0 24px 40px -22px rgba(0, 0, 0, 0.45), 0 6px 12px -8px rgba(0, 0, 0, 0.2); }
.tile__liquid { position: absolute; left: 0; right: 0; bottom: 0; height: var(--fill); z-index: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 88%, #fff), var(--c-deep)); }
.tile__liquid::before { content: ""; position: absolute; left: 0; bottom: 100%; width: 200%; height: 16px; margin-bottom: -1px; background: color-mix(in srgb, var(--c) 88%, #fff); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 16' preserveAspectRatio='none'%3E%3Cpath d='M0 8 Q15 0 30 8 T60 8 T90 8 T120 8 V16 H0Z'/%3E%3C/svg%3E") 0 0 / 50% 100% repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 16' preserveAspectRatio='none'%3E%3Cpath d='M0 8 Q15 0 30 8 T60 8 T90 8 T120 8 V16 H0Z'/%3E%3C/svg%3E") 0 0 / 50% 100% repeat-x; animation: waveflow 2.6s linear infinite; }
.tile:nth-child(2) .tile__liquid::before { animation-duration: 3.1s; }
.tile:nth-child(3) .tile__liquid::before { animation-duration: 2.3s; }
.tile:nth-child(4) .tile__liquid::before { animation-duration: 2.9s; }
@keyframes waveflow { to { transform: translateX(-50%); } }
.tile__l { grid-area: 1 / 1; position: relative; z-index: 1; font-family: var(--font-head); font-size: clamp(3rem, 9vw, 6rem); font-weight: 800; line-height: 1; color: var(--c); }
.tile__l--top { z-index: 2; color: var(--white); clip-path: inset(calc(100% - var(--fill) + 4%) 0 0 0); text-shadow: 0 2px 6px rgba(0, 0, 0, 0.18); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; background: linear-gradient(170deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.12) 38%, transparent 42%); pointer-events: none; }
.tone-yellow .tile__l--top { color: var(--yellow-ink); }
.name__end { max-width: 48ch; margin: 34px auto 0; font-size: 1.15rem; color: var(--ink); }
html[lang="ur"] .name__line, html[lang="kn"] .name__line { font-family: inherit; }

/* Tablets and phones */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__inner > .lang { margin-inline-start: auto; }
  .nav__inner { gap: 10px; }
  .nav__inner > .btn { padding: 0 16px; }
  .brand__text { display: none; }
  .hero__globe { right: 50%; top: 24%; width: 120vw; height: 120vw; transform: translate(50%, -50%); opacity: 0.5; }
  .hero__glow { display: none; }
  .hero__content { padding-top: 150px; }
  .about__grid, .donate__grid, .volunteer__grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .about__photos { min-height: 520px; }
  .about, .donate, .volunteer, .help, .gethelp, .videos { padding: 96px 0; }
  .help__layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .help__menu { display: none; }
  .svc { padding: 32px 26px; }
  .svc__list { grid-template-columns: minmax(0, 1fr); }
  .svc__num { right: 24px; top: 24px; font-size: 3.2rem; }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .faiths, .faq { padding: 96px 0; }
  .faiths__grid { grid-template-columns: minmax(0, 1fr); }
  .faq__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .faq__head { position: static; }
  .request { padding: 96px 0; }
  .request__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .request__info { position: static; }
  .rform { padding: 26px 20px; }
  .rform__need { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rform__row, .rform__row--3 { grid-template-columns: minmax(0, 1fr); }
  .videos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .volunteer__photo { order: 2; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .about__photos { min-height: 440px; }
  .about__coin { width: 96px; height: 96px; }
  .slip { padding: 24px; }
  .causes { grid-template-columns: minmax(0, 1fr); }
  .slip__row { grid-template-columns: minmax(0, 1fr); }
  .qr { width: 220px; }
  .verse { padding: 120px 0; }
  .stories__row { padding-left: 24px; }
}

/* People who prefer less motion get a calm, still page */
@media (prefers-reduced-motion: reduce) {
  .loader, .js .loader { display: none; }
  .ribbon__track, .hero__scroll span { animation: none; }
  .btn, .video img, .brand__logo { transition: none; }
}

html[dir="rtl"] .faith blockquote { text-align: left; }

/* Name section: keep UMMAH on one line, letters always left-to-right */
.name__big { white-space: nowrap; }
.acro, .name__row { direction: ltr; }
html[lang="ur"] .name__line { line-height: 2; }
html[lang="ur"] .name__line b { margin-top: 18px; }
html[lang="ur"] .name__meta { text-align: center; justify-items: center; }
@media (max-width: 600px) {
  .name__row { flex-direction: column; gap: 0; }
  .name__big { font-size: 22vw; }
  .name__meta { justify-items: center; text-align: center; margin-bottom: 14px; }
}

/* Small phones: keep all four U M A H tiles on one line */
@media (max-width: 600px) {
  .umah { flex-wrap: nowrap; gap: 10px; }
  .tile { width: min(76px, calc((100vw - 48px - 30px) / 4)); }
  .tile__l { font-size: clamp(2rem, 11vw, 3rem); }
}

/* Top menu: words never break onto two lines; long Kannada/Urdu words get a slightly smaller size */
.nav__links a { white-space: nowrap; }
html[lang="kn"] .nav__links, html[lang="ur"] .nav__links { gap: 16px; }
html[lang="kn"] .nav__links a { font-size: 0.82rem; }
@media (max-width: 1365px) {
  html[lang="kn"] .nav__links, html[lang="ur"] .nav__links { display: none; }
  html[lang="kn"] .nav__inner > .lang, html[lang="ur"] .nav__inner > .lang { margin-inline-start: auto; }
}
