:root {
  --page-max: 1180px;
  --content-gap: 18px;
  --card-radius: 8px;
  --bg: oklch(98% 0.004 250) !important;
  --surface: oklch(100% 0 0) !important;
  --surface-2: oklch(95% 0.01 250) !important;
  --fg: oklch(15% 0.02 250) !important;
  --muted: oklch(48% 0.02 250) !important;
  --border: oklch(88% 0.01 250) !important;
  --accent: oklch(52% 0.14 250) !important;
  --accent-2: oklch(78% 0.16 85) !important;
  --ok: oklch(52% 0.14 250) !important;
  --gold: oklch(78% 0.16 85) !important;
}

/* ── Animated gradient border CTA button ── */
@keyframes border-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.btn.accent {
  background: var(--fg) !important;
  color: white !important;
  border: none !important;
  position: relative;
  z-index: 0;
  overflow: visible;
}

.btn.accent::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, oklch(52% 0.14 250), oklch(78% 0.16 85), oklch(52% 0.14 250), oklch(78% 0.16 85));
  background-size: 300% 300%;
  animation: border-shift 3s ease infinite;
  z-index: -1;
  border-radius: 999px;
}

.btn.accent::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--fg);
  border-radius: 999px;
  z-index: -1;
}

/* ── Topbar gradient border ── */
.topbar {
  border-bottom: 2px solid transparent !important;
  border-image: linear-gradient(90deg, oklch(52% 0.14 250), oklch(78% 0.16 85)) 1 !important;
  border-image-slice: 1 !important;
}

/* ── Breadcrumbs ── */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 28px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumbs a {
  background: linear-gradient(135deg, oklch(38% 0.14 250), oklch(55% 0.16 85)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  text-decoration: none;
  font-weight: 700;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span {
  color: var(--muted);
  opacity: .5;
}

/* ── Team photo 3:4 frame ── */
.team-photo {
  aspect-ratio: 3 / 4 !important;
  height: auto !important;
  object-fit: cover !important;
  object-position: center top !important;
}

/* ── Gradient text for links ── */
.read-more,
a.read-more,
.trust-card a,
.fund-card .read-more {
  background: linear-gradient(135deg, oklch(38% 0.14 250), oklch(55% 0.16 85)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-weight: 800 !important;
}

/* ── Trust cards: gradient top border with rounded corners ── */
.trust-card {
  border-top: none !important;
  border-image: none !important;
  position: relative;
  overflow: hidden;
  border-radius: var(--card-radius) !important;
}

.trust-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, oklch(52% 0.14 250), oklch(78% 0.16 85));
  border-radius: var(--card-radius) var(--card-radius) 0 0;
  z-index: 1;
}

/* ── Media card buttons alignment ── */
.media-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.media-card .btn {
  margin-top: auto !important;
  width: 100% !important;
  justify-content: center !important;
}

/* ── Category labels: rounded + black border (not dates) ── */
.meta span:not(:first-child),
.s-cat,
.rc-cat {
  border: 1.5px solid var(--fg) !important;
  border-radius: 999px !important;
  padding: 4px 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  font-size: 11px !important;
  background: white !important;
  color: var(--fg) !important;
}

/* ── Status labels: gradient ── */
.status {
  background: linear-gradient(135deg, oklch(52% 0.14 250), oklch(78% 0.16 85)) !important;
  color: white !important;
  border-radius: 999px !important;
  font-weight: 850 !important;
  padding: 5px 12px !important;
  border: none !important;
}

.status.active {
  background: linear-gradient(135deg, oklch(78% 0.16 85), oklch(52% 0.14 250)) !important;
  color: white !important;
}


/* ── File input styling ── */
input[type="file"] {
  padding: 0 !important;
  border: 1.5px dashed var(--border) !important;
  border-radius: 8px !important;
  background: var(--surface-2) !important;
  cursor: pointer;
}

input[type="file"]::file-selector-button {
  padding: 10px 16px;
  margin-right: 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--fg);
  color: white;
  font-weight: 750;
  font-size: 13px;
  cursor: pointer;
  transition: opacity 120ms;
}

input[type="file"]::file-selector-button:hover {
  opacity: .85;
}

/* ── Complaint form bottom spacing ── */
.intake-card .field-grid {
  padding-bottom: 8px !important;
}

.intake-card .btn.accent {
  margin-top: 8px !important;
}

* {
  letter-spacing: 0;
}

.shell,
.shell-wide {
  width: min(var(--page-max), calc(100% - 32px)) !important;
}

.topbar {
  z-index: 500;
}

.nav {
  min-height: 78px !important;
}

.brand-logo,
.brand img {
  width: 56px !important;
  height: 56px !important;
  border-radius: 14px !important;
  object-fit: contain;
}

.brand strong {
  font-size: 17px !important;
  line-height: 1 !important;
}

.brand small {
  font-size: 12px !important;
}

.links {
  gap: 5px !important;
  align-items: center;
}

.links > a,
/* ── Navigation dropdowns ── */
.has-dropdown {
  position: relative;
}

.has-dropdown > a {
  min-height: 44px;
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
}

.has-dropdown > a::after {
  content: "";
  width: 5px;
  height: 5px;
  border: 1.5px solid currentColor;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-2px);
  flex-shrink: 0;
  opacity: .5;
  transition: transform 140ms;
}

.has-dropdown:hover > a::after {
  transform: rotate(225deg) translateY(2px);
  opacity: .7;
}

.nav-chevron {
  width: 10px;
  height: 10px;
  transition: transform 140ms;
  flex-shrink: 0;
}

.has-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}

.has-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 16px;
}

.dropdown {
  position: absolute;
  top: calc(100% + 6px) !important;
  left: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  min-width: 292px !important;
  padding: 10px !important;
  border-radius: 12px !important;
  box-shadow: 0 18px 46px color-mix(in oklch, var(--fg) 16%, transparent) !important;
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  display: grid;
  gap: 4px;
  transform: translateY(-6px);
  transition: opacity 140ms, transform 140ms;
}

.dropdown-end {
  left: auto;
  right: 0;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown a {
  padding: 12px 14px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  color: var(--muted);
  text-decoration: none;
  display: block;
  white-space: nowrap;
  transition: color 100ms, background 100ms;
}

.dropdown a:hover {
  background: var(--surface-2);
  color: var(--fg);
}

/* ── Nav CTA ── */
.nav-cta {
  flex-shrink: 0;
  display: inline-flex;
}

/* ── Burger ── */
.burger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  color: var(--fg);
}

.burger svg {
  width: 18px;
  height: 18px;
}

/* ── Mobile menu ── */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  inset: 0;
  z-index: 999 !important;
  background: var(--bg);
  padding: 18px 24px 32px;
  overflow-y: auto;
}

.mobile-menu.open {
  display: flex !important;
}

.mobile-close {
  align-self: flex-end;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  font-size: 22px;
  cursor: pointer;
  color: var(--fg);
}

.mobile-menu > a {
  padding: 14px 0;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  color: var(--fg);
  border-bottom: 1px solid var(--border);
}

.mobile-group {
  display: flex;
  flex-direction: column;
}

.mobile-group-label {
  font: 750 11px/1 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--accent);
  padding: 16px 0 8px;
  border-bottom: 1px solid var(--border);
}

.mobile-group a {
  padding: 11px 0 11px 16px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: var(--fg);
  display: block;
  border-bottom: 1px solid color-mix(in oklch, var(--border) 50%, transparent);
}

.mobile-actions {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.btn,
.chip,
.donate-method,
.share-btn {
  min-height: 44px;
}

.btn:focus-visible,
.chip:focus-visible,
.dropdown a:focus-visible,
.links a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
button:focus-visible {
  outline: 3px solid color-mix(in oklch, var(--accent) 34%, transparent);
  outline-offset: 3px;
}

.proof-strip {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.proof {
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: start;
  padding: 16px !important;
}

.proof-check {
  width: 24px !important;
  height: 24px !important;
  margin: 0 !important;
}

.proof b {
  grid-column: 2;
  font-size: 15px !important;
}

.proof span {
  grid-column: 2;
  font-size: 13px !important;
  margin-top: 3px !important;
}

.news-snippet,
.snippet {
  display: block !important;
  margin-top: 10px !important;
  padding: 11px 13px !important;
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0 !important;
  background: linear-gradient(90deg, color-mix(in oklch, var(--accent) 7%, white), color-mix(in oklch, var(--gold) 4%, white)) !important;
  color: var(--muted) !important;
  font-size: 14px !important;
}

.news-snippet b {
  display: none !important;
}

.news-item,
.appeal,
.blog-card,
.story-card,
.report-card,
.activity-card,
.metric,
.panel,
.card,
.item,
.attr,
.fund-attr,
.trust-card,
.value-card,
.doc-card,
.media-card {
  border-radius: var(--card-radius) !important;
}

.report-card,
.blog-card,
.story-card,
.item,
.card {
  box-shadow: none !important;
}

.report-card:hover,
.blog-card:hover,
.story-card:hover,
.item:hover,
.card:hover {
  box-shadow: 0 12px 28px color-mix(in oklch, var(--fg) 7%, transparent) !important;
  transform: translateY(-2px) !important;
}

.reports-grid,
.blog-grid,
.stories-grid,
.values-grid,
.team-grid,
.docs-grid,
.media-grid,
.trust-grid,
.stats,
.attrs,
.metrics,
.activity-grid {
  gap: var(--content-gap) !important;
}

.reports-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.report-card-head {
  background: linear-gradient(135deg, color-mix(in oklch, var(--accent) 8%, white), color-mix(in oklch, var(--gold) 6%, white)) !important;
}

/* ── Section head: description below title, buttons stay right ── */
.section-head {
  flex-wrap: wrap !important;
  align-items: end !important;
}

.section-head > div {
  flex: 1 1 100% !important;
}

.section-head > a,
.section-head > button {
  flex-shrink: 0 !important;
  margin-left: auto !important;
  margin-top: -40px !important;
}

/* ── Blockquote & article-lead global style ── */
blockquote {
  margin: 24px 0 !important;
  padding: 18px 22px !important;
  background: linear-gradient(135deg, color-mix(in oklch, oklch(52% 0.14 250) 6%, white), color-mix(in oklch, oklch(78% 0.16 85) 4%, white)) !important;
  border: none !important;
  border-left: 3px solid transparent !important;
  border-image: linear-gradient(180deg, oklch(52% 0.14 250), oklch(78% 0.16 85)) 1 !important;
  border-radius: 0 8px 8px 0 !important;
  font-style: italic !important;
  color: var(--fg) !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
}

.article-lead {
  padding-left: 18px !important;
  border-left: 3px solid transparent !important;
  border-image: linear-gradient(180deg, oklch(52% 0.14 250), oklch(78% 0.16 85)) 1 !important;
}

.news-snippet,
.snippet {
  border-left: 3px solid transparent !important;
  border-image: linear-gradient(180deg, oklch(52% 0.14 250), oklch(78% 0.16 85)) 1 !important;
}

/* ── Value card icon gradient ── */
.value-card .v-icon {
  background: linear-gradient(135deg, oklch(52% 0.14 250), oklch(15% 0.02 250)) !important;
}

/* ── Stat / metric top bar gradient ── */
.stat::before,
.metric::before {
  background: linear-gradient(90deg, oklch(52% 0.14 250), oklch(78% 0.16 85)) !important;
}

/* ── Progress bar / category fill gradient ── */
.progress-fill,
.fill,
.cat-fill {
  background: linear-gradient(90deg, oklch(52% 0.14 250), oklch(78% 0.16 85)) !important;
}

/* ── Activity numbers gradient text ── */
.activity-num {
  background: linear-gradient(135deg, oklch(52% 0.14 250), oklch(78% 0.16 85)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* ── Metric delta color ── */
.metric .delta {
  color: oklch(52% 0.14 250) !important;
}

/* ── Section label gradient ── */
.section-label {
  background: linear-gradient(135deg, oklch(52% 0.14 250), oklch(78% 0.16 85)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* ── Story category gradient ── */
.story-cat,
.eyebrow-cat {
  background: linear-gradient(135deg, oklch(52% 0.14 250), oklch(78% 0.16 85)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* ── Outcome/result box gradient border ── */
.story-outcome,
.result-box {
  border-left: 3px solid transparent !important;
  border-image: linear-gradient(180deg, oklch(52% 0.14 250), oklch(78% 0.16 85)) 1 !important;
}

/* ── Report table accent ── */
tfoot td:last-child {
  background: linear-gradient(135deg, oklch(52% 0.14 250), oklch(78% 0.16 85)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* ── Intake card top line gradient ── */
.intake-card::before {
  background: linear-gradient(90deg, oklch(52% 0.14 250), oklch(78% 0.16 85)) !important;
}

/* ── Fund badge gradient ── */
.fund-badge {
  background: linear-gradient(135deg, oklch(52% 0.14 250), oklch(78% 0.16 85)) !important;
}

.report-numbers {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px !important;
}

.report-num {
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
}

body:has(.report-header) .shell {
  width: min(var(--page-max), calc(100% - 32px)) !important;
}

body:has(.report-header) .report-header {
  max-width: 780px;
}

body:has(.report-header) .metrics,
body:has(.report-header) .activity-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

body:has(.report-header) .narrative {
  max-width: 760px;
}

body:has(.report-header) .table-wrap,
body:has(.report-header) .download-cta {
  max-width: 100%;
}

footer {
  background: var(--fg) !important;
  color: white !important;
  border-top: 3px solid transparent !important;
  border-image: linear-gradient(90deg, var(--accent), var(--gold)) 1 !important;
  margin-top: 60px;
}

.footer-inner {
  padding: 48px 0 32px !important;
}

.footer-grid {
  display: grid !important;
  grid-template-columns: 2fr 1fr 1fr 1fr !important;
  gap: 32px !important;
}

.footer-head {
  margin: 0 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  color: white;
}

.footer-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 12px 0 0 !important;
  display: grid !important;
  gap: 8px !important;
}

.footer-links a,
.footer-links li {
  color: rgba(255,255,255,.6) !important;
  text-decoration: none !important;
  font-size: 14px !important;
}

.footer-links a:hover {
  color: white !important;
}

.footer-copy {
  margin-top: 32px !important;
  padding-top: 20px !important;
  border-top: 1px solid rgba(255,255,255,.15) !important;
  color: rgba(255,255,255,.5) !important;
  font-size: 13px !important;
}

footer > .shell:not(:has(.footer-inner)) {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

footer > .shell:not(:has(.footer-inner))::after {
  content: "pravonapravdy1@gmail.com";
  font-weight: 750;
  color: white;
}

footer strong {
  color: white !important;
}

footer p {
  color: rgba(255,255,255,.6) !important;
}

footer > .shell:not(:has(.footer-inner)) {
  color: rgba(255,255,255,.6) !important;
}

footer .footer-copy a {
  background: linear-gradient(135deg, oklch(52% 0.14 250), oklch(78% 0.16 85)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

@media (max-width: 980px) {
  .links, .nav-cta { display: none !important; }
  .burger { display: flex !important; }

  .proof-strip,
  .reports-grid,
  .metrics,
  .activity-grid,
  body:has(.report-header) .metrics,
  body:has(.report-header) .activity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .shell,
  .shell-wide {
    width: min(100% - 24px, var(--page-max)) !important;
  }

  .brand-logo,
  .brand img {
    width: 48px !important;
    height: 48px !important;
  }

  .brand strong {
    font-size: 16px !important;
  }

  .proof-strip,
  .reports-grid,
  .metrics,
  .activity-grid,
  body:has(.report-header) .metrics,
  body:has(.report-header) .activity-grid {
    grid-template-columns: 1fr !important;
  }

  footer > .shell:not(:has(.footer-inner)) {
    display: grid;
    align-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }
}
