:root {
  --cream: #fff6ee;
  --ink: #1a120e;
  --muted: #6d564c;
  --orange: #c4321a;
  --rose: #8f2d22;
  --pink: #f8d7c4;
  --gold: #e2a31a;
  --line: rgba(28, 20, 15, 0.12);
  --glass: rgba(255, 255, 255, 0.46);
  --glass-line: rgba(255, 255, 255, 0.72);
  --sans: "Kohinoor Devanagari", "Kohinoor", "Noto Sans Devanagari", "Nirmala UI", sans-serif;
  --serif: "Noto Serif Devanagari", "Kohinoor Devanagari", "Nirmala UI", serif;
  --ink-deep: #1a120e;
  --gold-soft: #f0c14a;
}

@font-face {
  font-family: "Kohinoor Devanagari";
  src: local("Kohinoor Devanagari"), local("Kohinoor Devanagari Regular"), local("KohinoorDevanagari-Regular");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kohinoor Devanagari";
  src: local("Kohinoor Devanagari Medium"), local("KohinoorDevanagari-Medium");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kohinoor Devanagari";
  src: local("Kohinoor Devanagari Semibold"), local("KohinoorDevanagari-Semibold");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kohinoor Devanagari";
  src: local("Kohinoor Devanagari Bold"), local("KohinoorDevanagari-Bold");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
body.home {
  padding-right: 0;
  background:
    radial-gradient(ellipse at 8% 0%, #ffe7c2 0%, transparent 36%),
    radial-gradient(ellipse at 96% 8%, #ffd4c8 0%, transparent 34%),
    #fff6ee;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font-family: inherit; }
::selection { background: var(--pink); color: var(--ink); }

.wash {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.wash i {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
}
.wash .a { width: 380px; height: 380px; background: #ffd0c2; opacity: 0.75; top: -120px; left: 18%; }
.wash .b { width: 300px; height: 300px; background: #ffe3a3; opacity: 0.6; bottom: 8%; left: -80px; }
.wash .c { width: 260px; height: 260px; background: #f4b4a4; opacity: 0.45; top: 38%; right: 8%; }

.rail {
  position: fixed;
  inset: 0 0 0 auto;
  width: 76px;
  display: flex;
  flex-direction: column;
  z-index: 6;
}
.rail span { flex: 1; }
.rail span:nth-child(1) { background: #e43d12; }
.rail span:nth-child(2) { background: #d6536d; }
.rail span:nth-child(3) { background: #ffa2b6; }
.rail span:nth-child(4) { background: #efb11d; }
.rail span:nth-child(5) { background: #ebe9e1; box-shadow: inset 1px 0 0 rgba(28, 20, 15, 0.08); }

.wrap {
  width: min(1120px, calc(100% - 56px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: sticky;
  top: 16px;
  z-index: 40;
  margin-top: 16px;
  padding: 10px 12px 10px 16px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 40px rgba(27, 40, 54, 0.08);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
}
.wash i { animation: drift 22s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(28px, -20px, 0); } }
.bar-end { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.bar-tools { display: flex; align-items: center; gap: 10px; }
.links { display: flex; align-items: center; gap: 22px; }
.links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}
.links a[aria-current="page"],
.links a:hover { color: var(--orange); }
.links .go, .bar-tools .go {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(110deg, #8e160f 0%, #e23b2f 42%, #f0c14a 78%, #c4321a 100%);
  background-size: 220% 100%;
  color: #fff !important;
  text-decoration: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(196, 50, 26, 0.35);
  animation: donate-glow 2.6s ease-in-out infinite;
}
.links .go::after, .bar-tools .go::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.72) 50%, transparent 68%);
  transform: translateX(-130%);
  animation: donate-shine 2.6s ease-in-out infinite;
}
.links .go > *, .bar-tools .go > * { position: relative; z-index: 1; }
@keyframes donate-shine {
  0%, 48% { transform: translateX(-130%); }
  100% { transform: translateX(130%); }
}
@keyframes donate-glow {
  0%, 100% { box-shadow: 0 8px 18px rgba(196, 50, 26, 0.28); }
  50% { box-shadow: 0 0 22px 4px rgba(240, 193, 74, 0.72); }
}

.cols {
  display: grid;
  grid-template-columns: 1fr 1.15fr 0.9fr;
  gap: 28px;
  padding: 54px 0 10px;
  align-items: start;
}
.cols p { margin: 0; max-width: 28ch; }
.cols .mark { color: var(--orange); font-weight: 600; }
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-block;
  margin-bottom: 14px;
}

.display {
  margin: 0;
  text-align: center;
  font-weight: 800;
  font-size: clamp(5.4rem, 18vw, 13.5rem);
  line-height: 1;
  color: var(--orange);
}
.hero-photo {
  width: min(640px, 88%);
  margin: -1.6rem auto 0;
  position: relative;
  z-index: 2;
}
.hero-photo img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}
.caption {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin: 10px 0 0;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  box-shadow: 0 18px 50px rgba(80, 30, 10, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.motto {
  margin: 34px auto 10px;
  width: min(760px, 100%);
  border-radius: 22px;
  padding: 22px 28px;
  text-align: center;
  font-weight: 600;
  font-size: 1.15rem;
}

.section { padding: 72px 0; }
.kicker {
  margin: 0 0 12px;
  color: var(--orange);
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.35;
  display: flex;
  align-items: center;
  gap: 8px;
}
.kicker::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 21c-4.5-3.2-7-6.4-7-9.2C5 9 6.6 7.4 8.4 7.4c1 0 1.9.5 2.5 1.3C11.4 7.6 12 5.2 12 3c0 2.2.6 4.6 1.1 5.7.6-.8 1.5-1.3 2.5-1.3 1.8 0 3.4 1.6 3.4 4.4 0 2.8-2.5 6-7 9.2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 21c-4.5-3.2-7-6.4-7-9.2C5 9 6.6 7.4 8.4 7.4c1 0 1.9.5 2.5 1.3C11.4 7.6 12 5.2 12 3c0 2.2.6 4.6 1.1 5.7.6-.8 1.5-1.3 2.5-1.3 1.8 0 3.4 1.6 3.4 4.4 0 2.8-2.5 6-7 9.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
h1, h2, h3 { font-weight: 800; letter-spacing: 0; }
h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.15;
  margin: 0 0 16px;
}
h3 { margin: 0 0 8px; font-size: 1.35rem; line-height: 1.3; }
.lede { font-size: 1.15rem; max-width: 40rem; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.shot {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
}
.shot img { width: 100%; height: auto; object-fit: contain; }
.shot figcaption { color: var(--muted); font-size: 14px; padding-top: 8px; }

.words {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
  font-weight: 700;
  font-size: 1.35rem;
}
.words li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-2px);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  border-radius: 22px;
  padding: 14px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  margin-bottom: 14px;
  background: #f7f5f1;
}
.card p { margin: 0; color: var(--muted); }
.card:hover h3 { color: var(--orange); }

.link {
  color: var(--orange);
  font-weight: 700;
  text-decoration: none;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: white;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  cursor: pointer;
}
.btn.quiet {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(28, 20, 15, 0.2);
}
.btn:hover { filter: brightness(1.05); }

.page-hero { padding: 56px 0 10px; }
.page-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 1.02;
  margin: 0 0 12px;
  max-width: 12ch;
}
.page-hero h1 em {
  font-style: normal;
  color: var(--orange);
}

.timeline { list-style: none; margin: 10px 0 0; padding: 0; }
.timeline li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.timeline b { color: var(--orange); font-size: 1.2rem; }

.people {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.people figure { margin: 0; }
.people img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  background: #f7f5f1;
}
.people figcaption { font-size: 14px; padding-top: 8px; }
.people small { display: block; color: var(--muted); }

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.stat {
  border-radius: 20px;
  padding: 20px;
}
.stat strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
  color: var(--orange);
}
.works { list-style: none; padding: 0; margin: 0; }
.works li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.service.reverse { grid-template-columns: 1.1fr 0.9fr; }
.service.reverse .shot { order: 2; }
.docs { margin: 8px 0 0; padding-left: 1.1em; }
.docs li { margin: 4px 0; }

.doctors {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.doctors th {
  text-align: left;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  padding: 8px 8px 8px 0;
}
.doctors td {
  padding: 8px 8px 8px 0;
  border-top: 1px solid var(--line);
  vertical-align: top;
}

.donate {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
  padding-top: 48px;
  padding-bottom: 70px;
}
.choices, .amounts { display: flex; flex-wrap: wrap; gap: 8px; }
.choices button, .amounts button, .pay-box {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
  border-radius: 14px;
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
}
.choices button { flex: 1 1 46%; }
.choices button small, .amounts button small { display: block; color: var(--muted); font-weight: 500; }
.choices button.on, .amounts button.on {
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--orange);
}
.amounts button { min-width: 108px; font-weight: 700; }
.field { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.field span { font-size: 14px; font-weight: 600; }
.field input, .field textarea, .field select {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
  color: var(--ink);
}
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form {
  border-radius: 28px;
  padding: 22px;
}
.slip-head {
  margin: 0 0 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(196, 50, 26, 0.16);
}
.slip-head h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 0 0 14px; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(226, 163, 26, 0.55);
  border-radius: 14px;
  padding: 10px 12px;
  color: var(--ink);
  font-weight: 700;
}
.steps .n {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: #1a120e;
  color: var(--gold-soft);
  font-size: 0.95rem;
}
.slip-block { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.slip-block h3 { margin: 0 0 10px; font-size: 1.15rem; color: var(--orange); }
.err { color: var(--orange); min-height: 1.4em; font-weight: 600; }
.hidden { display: none !important; }
.receipt h3 { margin-top: 0; }
.pay-note {
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
}
.wide { margin-top: 16px; }
.copybar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.copy-note { margin: 0; color: var(--orange); font-weight: 700; }
.copy-one { background: none; border: 0; cursor: pointer; padding: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.bear { list-style: none; padding: 0; margin: 0; }
.bear li { padding: 8px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; }
.bear b { font-weight: 600; }

.foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  margin-top: 20px;
}
.foot p { margin: 4px 0 0; color: var(--muted); }
.foot a { text-decoration: none; font-weight: 700; }
.phones { display: flex; flex-direction: column; gap: 4px; }

table.plain { width: 100%; border-collapse: collapse; }
table.plain td { border-top: 1px solid var(--line); padding: 8px 8px 8px 0; font-size: 15px; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

@media (max-width: 860px) {
  body.home { padding-right: 0; }
  .rail { display: none; }
  .hero-grid, .story-grid, .year-grid, .svc-grid, .give-grid, .give-note { grid-template-columns: 1fr; }
  .hero-grid .photo, .story-grid .photo { min-height: 0; aspect-ratio: auto; }
  .wrap { width: min(100% - 32px, 1120px); }
  .cols, .split, .cards, .service, .service.reverse, .donate, .contact-grid, .people, .stats, .row2 {
    grid-template-columns: 1fr;
  }
  .service.reverse .shot { order: 0; }
  .bar { align-items: flex-start; flex-direction: column; }
  .links { flex-wrap: wrap; gap: 12px 16px; }
  .display { font-size: 28vw; }
  .hero-photo { margin-top: 12px; }
  .page-hero h1 { max-width: none; }
  .foot { flex-direction: column; align-items: flex-start; }
  .timeline li { grid-template-columns: 72px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media print {
  .wash, .rail, .bar, .foot, .btn { display: none !important; }
  body { background: white; }
}

body.home .rail,
body.home .wash { display: none; }
body.home .wrap { width: min(1080px, calc(100% - 48px)); }
body.home .top {
  background: #f7f4ee;
  border-bottom: 1px solid rgba(28, 20, 15, 0.08);
}
body.home .top .bar { padding: 18px 0; }

.band { padding: 64px 0; }
.band h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  max-width: 16ch;
}
.hero-grid, .story-grid, .give-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}
.band-hero {
  background: linear-gradient(180deg, #fff8f2 0%, #fff1e2 100%);
  padding-top: 72px;
}
.band-years { background: #fff3e4; }
.band-story { background: linear-gradient(180deg, #fff6ea 0%, #ffe8cc 100%); }
.band-work { background: linear-gradient(180deg, #fff8f2 0%, #ffd9cc 100%); }
.band-give { background: linear-gradient(180deg, #fff4e0 0%, #ffe0b0 100%); }
.band-foot { background: #eef2f1; padding: 8px 0 0; }
.band-foot .foot { border-top: 0; margin-top: 0; }

.photo {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #eef3f2;
}
.photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.hero-grid .photo,
.story-grid .photo,
.svc .photo { aspect-ratio: auto; min-height: 0; max-height: none; }
.photo figcaption {
  padding: 10px 2px 0;
  color: var(--muted);
  font-size: 14px;
  background: transparent;
}

.year-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.year-grid article {
  background: rgba(255, 255, 255, 0.55);
  border-radius: 16px;
  padding: 18px 16px 14px;
  min-height: 100%;
}
.year-grid b {
  display: block;
  color: var(--orange);
  font-size: 1.7rem;
  line-height: 1.1;
  margin-bottom: 8px;
}
.year-grid p { margin: 0; font-size: 15px; }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.svc {
  background: #fffaf4;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.svc .photo { border-radius: 0; aspect-ratio: auto; min-height: 0; background: #f7f5f1; }
.svc div { padding: 16px 16px 18px; }
.svc h3 { margin-bottom: 6px; }
.svc p { margin: 0; color: var(--muted); font-size: 15px; }
.svc:hover h3 { color: var(--orange); }

.give-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0;
}
.give-note > span,
.give-note article {
  background: #fff;
  border-radius: 16px;
  padding: 18px 16px 16px;
  border: 1px solid rgba(196, 50, 26, 0.14);
}
.give-note strong {
  display: block;
  color: var(--orange);
  font-size: 1.65rem;
  line-height: 1.25;
  margin-bottom: 6px;
}
.give-note p { margin: 0; color: var(--ink); font-weight: 500; }

body.home .top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: transparent;
  border: 0;
}
body.home .top .bar { margin-top: 14px; }

.lang {
  display: flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(27, 40, 54, 0.08);
}
.lang button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}
html[data-lang="hi"] .lang [data-lang-btn="hi"],
html[data-lang="en"] .lang [data-lang-btn="en"] {
  background: var(--orange);
  color: #fff;
}
html[data-lang="hi"] .en { display: none !important; }
html[data-lang="en"] .hi { display: none !important; }

.btn { transition: transform .25s ease, filter .25s ease; }
.btn:hover { transform: translateY(-2px); }
.photo, .shot, .svc, .card, .stat {
  transition: transform .45s ease, box-shadow .45s ease;
}
.svc:hover, .card:hover { transform: translateY(-4px); }

[data-anim] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1);
}
[data-anim].shown { opacity: 1; transform: none; }
[data-anim].d2 { transition-delay: .08s; }
[data-anim].d3 { transition-delay: .16s; }

.btn.shine, a.btn[href="dan.html"] {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(110deg, #8e160f 0%, #e23b2f 42%, #f0c14a 78%, #c4321a 100%);
  background-size: 220% 100%;
  animation: donate-glow 2.6s ease-in-out infinite;
}
.btn.shine::after, a.btn[href="dan.html"]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.7) 50%, transparent 68%);
  transform: translateX(-130%);
  animation: donate-shine 2.6s ease-in-out infinite;
}
.btn.shine > *, a.btn[href="dan.html"] > * { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  [data-anim] { opacity: 1; transform: none; transition: none; }
  .btn:hover, .svc:hover, .card:hover { transform: none; }
  .wash i { animation: none; }
  .links .go, .bar-tools .go, .links .go::after, .bar-tools .go::after,
  .btn.shine, .btn.shine::after, a.btn[href="dan.html"], a.btn[href="dan.html"]::after { animation: none; }
}

@media (max-width: 860px) {
  .hero-grid, .story-grid, .year-grid, .svc-grid, .give-grid, .give-note {
    grid-template-columns: 1fr;
  }
  .links { gap: 10px 14px; }
  .links a { font-size: 14px; }
}

.ico {
  width: 1.05em;
  height: 1.05em;
  flex: none;
  display: inline-block;
  vertical-align: -0.15em;
  fill: currentColor;
}
.links .ico { width: 15px; height: 15px; }

a[href^="tel:"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  padding: 7px 12px 7px 10px;
  border-radius: 999px;
  background: rgba(196, 50, 26, 0.08);
  color: var(--ink);
}
a[href^="tel:"]::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8a15 15 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1 11.4 11.4 0 0 0 .57 3.6 1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8a15 15 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1 11.4 11.4 0 0 0 .57 3.6 1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.doctors a[href^="tel:"] {
  background: transparent;
  padding: 0;
  border-radius: 0;
  color: var(--orange);
  font-size: 1rem;
}
.doctors th { font-size: 1rem; }
.phones, .tels { display: flex; flex-wrap: wrap; gap: 8px; }
.addr { display: flex; align-items: flex-start; gap: 8px; }
.addr > span { min-width: 0; }
.addr .ico { margin-top: 0.35em; color: var(--orange); }
.phones a { color: inherit; }

.photo,
.shot,
.people figure,
.card,
.hero-grid .photo,
.story-grid .photo,
.svc .photo {
  background: transparent;
  color: inherit;
  padding: 0;
  min-height: 0;
  border: 0;
  box-shadow: none;
}
.photo img,
.shot img,
.people img,
.card img,
.svc .photo img,
.hero-grid .photo img,
.story-grid .photo img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  background: transparent;
  border-radius: 16px;
}
.svc .photo,
.svc .photo img { border-radius: 0; height: auto; }
.card img { margin-bottom: 12px; }
.card h3 { color: var(--ink); }
.card p { color: var(--muted); }
a[href*="wa.me"]::before {
  content: "";
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 4h14a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H9l-4 3.2V6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 4h14a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H9l-4 3.2V6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
figcaption,
.people figcaption,
.shot figcaption,
.photo figcaption {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--muted);
  padding: 12px 2px 0;
  text-align: start;
  background: transparent;
}
.people figcaption { font-weight: 600; }
.people small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
}
.year-grid b,
.stat strong,
.give-note strong {
  font-family: var(--serif);
}

.band-years {
  background:
    radial-gradient(ellipse at 50% 0, rgba(228, 196, 138, 0.16), transparent 42%),
    var(--ink-deep);
  color: #f6f3ee;
}
.band-years .kicker { color: var(--gold-soft); }
.band-years h2 { color: #fff; }
.band-years .year-grid article {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(228, 196, 138, 0.28);
}
.band-years .year-grid b { color: var(--gold-soft); font-size: 2rem; }
.band-years .year-grid p { color: #f6e7d4; font-size: 1rem; }
.band-years .wrap { position: relative; }
.band-years .wrap::before {
  content: "";
  display: block;
  width: 72px;
  height: 28px;
  margin: 0 auto 18px;
  background: var(--gold-soft);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 21c-4.5-3.2-7-6.4-7-9.2C5 9 6.6 7.4 8.4 7.4c1 0 1.9.5 2.5 1.3C11.4 7.6 12 5.2 12 3c0 2.2.6 4.6 1.1 5.7.6-.8 1.5-1.3 2.5-1.3 1.8 0 3.4 1.6 3.4 4.4 0 2.8-2.5 6-7 9.2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 21c-4.5-3.2-7-6.4-7-9.2C5 9 6.6 7.4 8.4 7.4c1 0 1.9.5 2.5 1.3C11.4 7.6 12 5.2 12 3c0 2.2.6 4.6 1.1 5.7.6-.8 1.5-1.3 2.5-1.3 1.8 0 3.4 1.6 3.4 4.4 0 2.8-2.5 6-7 9.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.band-give {
  background: linear-gradient(165deg, #fff6e8 0%, #ffe0b8 48%, #ffd0c4 100%);
  overflow: visible;
}
.band-give h2 { max-width: 12em; }
.band-foot {
  background: var(--ink-deep);
  color: #f6f3ee;
}
.band-foot .foot p,
.band-foot a { color: #e7efe9; }
.band-foot a[href^="tel:"] {
  background: rgba(255, 255, 255, 0.08);
  color: #f6f3ee;
}
.foot {
  background: var(--ink-deep);
  color: #f6f3ee;
  border-radius: 28px;
  padding: 26px 28px;
  margin-top: 12px;
  border-top: 0;
}
.foot p, .foot a { color: #e4eeea; }
.foot a[href^="tel:"] {
  background: rgba(255, 255, 255, 0.08);
  color: #f6f3ee;
}
.band-foot .foot {
  background: transparent;
  border-radius: 0;
  padding: 18px 0 32px;
}

.svc h3,
.card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}
.svc:nth-child(1) h3::before,
.svc:nth-child(2) h3::before,
.svc:nth-child(3) h3::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  background: var(--orange);
  -webkit-mask: var(--mark) center / contain no-repeat;
  mask: var(--mark) center / contain no-repeat;
}
.svc:nth-child(1) h3 { --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 3h12a2 2 0 0 1 2 2v16l-8-3-8 3V5a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); }
.svc:nth-child(2) h3 { --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2l2.4 5.6L20 8.2l-4 3.8.9 5.8L12 15.2 7.1 17.8 8 12 4 8.2l5.6-.6z'/%3E%3C/svg%3E"); }
.svc:nth-child(3) h3 { --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 21s-7-4.4-7-9.2C5 8.6 6.8 7 9 7c1.2 0 2.3.5 3 1.4C12.7 7.5 13.8 7 15 7c2.2 0 4 1.6 4 4.8C19 16.6 12 21 12 21z'/%3E%3C/svg%3E"); }

.page-hero { position: relative; }
.page-hero::after {
  content: "";
  display: block;
  width: 64px;
  height: 8px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-soft), transparent);
}

body.home .top .bar { padding: 10px 12px 10px 16px; }

@media (max-width: 860px) {
  .hero-grid .photo,
  .story-grid .photo { min-height: 0; }
  .hero-grid .photo img,
  .story-grid .photo img,
  .shot img,
  .service .shot img,
  .people img,
  .card img,
  .svc .photo img { height: auto; }
  a[href^="tel:"] { white-space: normal; }

  .wrap, body.home .wrap { width: min(100% - 28px, 1120px); }
  .bar {
    top: 8px;
    margin-top: 8px;
    padding: 8px 10px 8px 12px;
    border-radius: 22px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
  }
  body.home .top .bar { padding: 8px 10px 8px 12px; }
  .brand { flex: 1 1 auto; min-width: 0; font-size: 0.98rem; }
  .brand img { width: 36px; height: 36px; }
  .bar-end { display: contents; }
  .bar-tools { order: 2; gap: 8px; }
  .links {
    order: 3;
    flex: 1 1 100%;
    flex-wrap: nowrap;
    gap: 14px;
    margin: 0;
    overflow-x: auto;
    padding: 2px 2px 4px;
    scrollbar-width: none;
  }
  .links::-webkit-scrollbar { display: none; }
  .links a { font-size: 15px; white-space: nowrap; flex: none; }
  .links .go, .bar-tools .go { padding: 8px 14px; }
  .lang button { min-height: 36px; padding: 8px 11px; }

  .donate { grid-template-columns: 1fr; gap: 16px; padding-bottom: 28px; }
  .band-give h2, .donate h2 { max-width: none; }
  .give-note { grid-template-columns: 1fr 1fr; }
  .form { padding: 16px; border-radius: 22px; }
  .steps li { padding: 8px; }
  .choices { display: grid; grid-template-columns: 1fr 1fr; }
  .choices button { min-width: 0; min-height: 76px; }
  .amounts { display: grid; grid-template-columns: repeat(3, 1fr); }
  .amounts button { min-width: 0; text-align: center; padding: 12px 4px; min-height: 48px; }
  .row2 { grid-template-columns: 1fr; }
  .field input, .field textarea, .field select { width: 100%; font-size: 16px; }
  .wide { width: 100%; }
  .tels { flex-direction: column; align-items: stretch; }
  .tels a { justify-content: flex-start; }
  .band { padding: 40px 0; scroll-margin-top: 112px; }
  .donate, .page-hero { scroll-margin-top: 112px; }
  .foot { align-items: flex-start; }
}
