:root {
  --coral: #ef5b3f;
  --coral-dark: #cb3e29;
  --yellow: #f4c84b;
  --teal: #1e8f88;
  --ink: #182827;
  --paper: #fffaf1;
  --mist: #edf3ef;
  --white: #ffffff;
  --line: rgba(24, 40, 39, 0.18);
  --body-font: "Atkinson Hyperlegible", sans-serif;
  --display-font: "Chewy", cursive;
  --page-pad: clamp(24px, 6vw, 104px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body-font);
  font-size: 18px;
  line-height: 1.6;
}
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { width: 1.15em; height: 1.15em; stroke-width: 1.8; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.donation-ribbon {
  position: relative;
  z-index: 21;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 9px var(--page-pad);
  overflow: hidden;
  color: var(--ink);
  background: var(--yellow);
  font-size: 15px;
  line-height: 1.3;
}
.donation-ribbon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.48) 48%, transparent 66%);
  transform: translateX(-120%);
  animation: donation-shine 5s ease-in-out infinite;
}
.donation-ribbon > * { position: relative; }
.donation-ribbon-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  color: var(--white);
  background: var(--coral);
  border-radius: 50%;
}
.donation-ribbon-icon svg { width: 19px; height: 19px; }
.donation-ribbon-message strong { color: var(--coral-dark); }
.donation-ribbon-action { display: inline-flex; align-items: center; gap: 7px; padding-bottom: 2px; border-bottom: 2px solid var(--ink); font-weight: 700; white-space: nowrap; }
.donation-ribbon-action svg { width: 16px; height: 16px; transition: transform 180ms ease; }
.donation-ribbon:hover .donation-ribbon-action svg { transform: translateX(4px); }
@keyframes donation-shine {
  0%, 68% { transform: translateX(-120%); }
  88%, 100% { transform: translateX(120%); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 108px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  padding: 0 var(--page-pad);
  background: var(--white);
  border-bottom: 1px solid rgba(24, 40, 39, 0.08);
}
.brand { display: inline-flex; align-items: center; gap: 14px; justify-self: start; }
.brand-logo { height: 64px; width: auto; display: block; }
.brand--dark .brand-logo { border-radius: 10px; }
.brand-tag {
  max-width: 150px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--coral-dark);
}
.brand--dark .brand-tag { color: rgba(255, 255, 255, 0.82); }
.desktop-nav { display: flex; gap: clamp(24px, 3vw, 50px); font-size: 16px; }
.desktop-nav a { position: relative; padding: 11px 0; }
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 5px;
  height: 2px;
  background: var(--coral);
  transition: right 180ms ease;
}
.desktop-nav a:hover::after { right: 0; }
.header-cta { justify-self: end; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--coral-dark); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; color: var(--ink); }
.mobile-menu { display: none; }

.hero {
  position: relative;
  min-height: calc(100svh - 108px);
  max-height: 940px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--ink);
}
.mission-slide { position: absolute; inset: 0; z-index: 0; opacity: 0; visibility: hidden; transition: opacity 450ms ease, visibility 450ms ease; }
.mission-slide.is-active { z-index: 1; opacity: 1; visibility: visible; }
.mission-slide .hero-content { opacity: 0; transform: translateY(18px); transition: opacity 450ms ease 120ms, transform 450ms ease 120ms; }
.mission-slide.is-active .hero-content { opacity: 1; transform: translateY(0); }
.hero-image, .hero-shade { position: absolute; inset: 0; height: 100%; }
.hero-image { object-fit: cover; object-position: center 48%; }
.hero-shade { background: linear-gradient(90deg, rgba(12, 27, 26, 0.82) 0%, rgba(12, 27, 26, 0.48) 43%, rgba(12, 27, 26, 0.08) 72%), linear-gradient(0deg, rgba(12, 27, 26, 0.45), transparent 48%); }
.hero-content { position: relative; z-index: 2; width: min(880px, 72vw); padding: 80px var(--page-pad) 9vh; }
.eyebrow { margin: 0 0 20px; text-transform: uppercase; letter-spacing: 2.5px; font-size: 13px; font-weight: 700; }
.eyebrow.light { color: var(--yellow); }
.hero h1 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(64px, 8vw, 132px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.88;
  text-wrap: balance;
}
.hero h1 em { color: var(--yellow); font-style: normal; }
.hero-intro { max-width: 620px; margin: 30px 0 34px; font-size: clamp(19px, 1.6vw, 25px); line-height: 1.45; }
.hero-role { display: inline-flex; align-items: center; gap: 8px; max-width: 620px; margin: 0 0 28px; color: var(--yellow); font-size: 16px; font-weight: 700; }
.hero-role svg { width: 20px; height: 20px; flex: 0 0 20px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 21px; border: 2px solid transparent; font-weight: 700; font-size: 16px; transition: transform 180ms ease, background 180ms ease; }
.button:hover { transform: translateY(-3px); }
.button-light { color: var(--ink); background: var(--white); }
.button-light:hover { background: var(--yellow); }
.hero-note {
  position: absolute;
  z-index: 2;
  right: var(--page-pad);
  bottom: 6vh;
  width: 174px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 50%;
  transform: rotate(7deg);
  font-family: var(--display-font);
  font-size: 19px;
  line-height: 1.1;
}
.hero-note svg { margin: auto; width: 30px; height: 30px; }
.hero-controls { position: absolute; z-index: 4; right: var(--page-pad); bottom: 38px; display: flex; align-items: center; gap: 10px; }
.hero-control, .hero-dot { border: 0; cursor: pointer; }
.hero-control { width: 40px; height: 40px; display: grid; place-items: center; color: var(--white); background: rgba(11, 31, 51, 0.72); }
.hero-control:hover, .hero-control:focus-visible { background: var(--coral); }
.hero-control svg { width: 18px; height: 18px; }
.hero-dots { display: flex; align-items: center; gap: 7px; padding: 0 4px; }
.hero-dot { width: 8px; height: 8px; padding: 0; border-radius: 50%; background: rgba(255,255,255,0.52); transition: width 180ms ease, background 180ms ease; }
.hero-dot.is-active { width: 28px; border-radius: 5px; background: var(--yellow); }

.section { padding: clamp(88px, 10vw, 160px) var(--page-pad); }
.section-kicker { padding-bottom: 18px; border-bottom: 1px solid var(--line); text-transform: uppercase; letter-spacing: 2px; font-size: 12px; font-weight: 700; color: var(--coral-dark); }
.intro-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(60px, 10vw, 180px); align-items: start; padding-top: 55px; }
.display-title { margin: 0; font-family: var(--display-font); font-weight: 400; letter-spacing: 0; font-size: clamp(48px, 5.5vw, 88px); line-height: 1.02; }
.display-title span { color: var(--coral); }
.intro-copy { max-width: 590px; }
.intro-copy p { margin-top: 0; color: #43504f; }
.intro-copy .lead { margin-bottom: 22px; color: var(--ink); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.35; }
.text-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 15px; padding-bottom: 4px; border-bottom: 2px solid var(--coral); font-weight: 700; }

.challenge-band { position: relative; display: grid; grid-template-columns: 0.85fr 1.15fr; min-height: 720px; overflow: hidden; background: var(--yellow); }
.challenge-copy { align-self: center; padding: 100px clamp(36px, 7vw, 120px); }
.challenge-copy h2 { margin: 0 0 30px; max-width: 700px; font-family: var(--display-font); font-size: clamp(50px, 5vw, 84px); font-weight: 400; letter-spacing: 0; line-height: 1; }
.challenge-copy > p:last-child { max-width: 590px; font-size: 21px; }
.challenge-image { position: relative; margin: 0; min-height: 640px; }
.challenge-image img { height: 100%; object-fit: cover; }
.challenge-image figcaption { position: absolute; left: 0; bottom: 0; max-width: 400px; padding: 24px 30px; background: var(--white); font-size: 18px; }
.challenge-image figcaption span { color: var(--coral-dark); font-weight: 700; }
.scribble { position: absolute; z-index: 2; left: 4%; bottom: 8%; width: 90px; height: 90px; border: 3px solid var(--coral-dark); border-radius: 52% 48% 45% 55%; opacity: 0.6; transform: rotate(20deg); }
.scribble::after { content: ""; position: absolute; width: 70px; height: 3px; background: var(--coral-dark); transform: rotate(-28deg); top: 74px; left: 56px; }

.programs { background: var(--white); }
.programs-heading { display: grid; grid-template-columns: 0.42fr 1fr; gap: 70px; margin-bottom: 70px; }
.programs-heading .section-kicker { border: 0; }
.program-list { border-top: 1px solid var(--line); }
.program-row { position: relative; display: grid; grid-template-columns: 54px 90px 1fr 42px; align-items: center; gap: 26px; min-height: 178px; overflow: hidden; border-bottom: 1px solid var(--line); transition: background 180ms ease, padding 180ms ease; }
.program-row::after { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: rgba(255,255,255,0.5); }
.program-image { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; transition: opacity 220ms ease, transform 500ms ease; }
.program-row > *:not(.program-image) { position: relative; z-index: 2; }
.program-row:hover { padding: 0 22px; background: var(--paper); }
.program-row:hover .program-image { opacity: 0.65; transform: scale(1.04); }
.program-number { align-self: start; margin-top: 35px; color: #7a8583; font-size: 13px; }
.program-icon { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; color: var(--white); transform: rotate(-3deg); }
.program-icon svg { width: 32px; height: 32px; }
.program-icon.coral { background: var(--coral); }
.program-icon.yellow { background: var(--yellow); color: var(--ink); }
.program-icon.teal { background: var(--teal); }
.program-icon.ink { background: var(--ink); }
.program-row h3 { margin: 0 0 4px; font-family: var(--display-font); font-size: clamp(29px, 3vw, 43px); font-weight: 400; letter-spacing: 0; }
.program-row p { margin: 0; max-width: 700px; color: #53605f; }
.row-arrow { width: 28px; height: 28px; color: var(--coral); }

.manifesto { display: grid; grid-template-columns: 1fr 1fr; min-height: 810px; background: var(--ink); color: var(--white); }
.manifesto-image { position: relative; min-height: 650px; }
.manifesto-image img { height: 100%; object-fit: cover; }
.image-sticker { position: absolute; right: -55px; top: 13%; width: 145px; aspect-ratio: 1; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--coral); font-family: var(--display-font); font-size: 19px; line-height: 1.1; transform: rotate(8deg); }
.manifesto-copy { align-self: center; padding: 100px clamp(55px, 8vw, 145px); }
.manifesto-copy h2 { margin: 0 0 28px; font-family: var(--display-font); font-size: clamp(56px, 6vw, 96px); font-weight: 400; letter-spacing: 0; line-height: 0.95; color: var(--yellow); }
.manifesto-copy > p { max-width: 590px; color: #d8dfdc; font-size: 20px; }
.principles { margin: 40px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,0.22); }
.principles li { display: grid; grid-template-columns: 46px 1fr; gap: 12px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.22); }
.principles span { color: var(--yellow); font-size: 13px; }

.story { background: var(--mist); }
.story-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(60px, 10vw, 160px); align-items: center; padding-top: 70px; }
.story-quote > svg { width: 52px; height: 52px; color: var(--coral); fill: var(--coral); }
.story-quote blockquote { margin: 22px 0; font-family: var(--display-font); font-size: clamp(38px, 4vw, 62px); font-weight: 400; letter-spacing: 0; line-height: 1.08; }
.story-quote p { color: #53605f; }
.story-collage { position: relative; padding: 0 0 70px 45px; }
.story-main { aspect-ratio: 1.25; object-fit: cover; transform: rotate(1.5deg); box-shadow: 0 18px 50px rgba(24,40,39,0.15); }
.story-tag { position: absolute; left: 0; bottom: 0; max-width: 300px; padding: 24px 28px; background: var(--yellow); transform: rotate(-2deg); }
.story-tag strong, .story-tag span { display: block; }
.story-tag strong { font-family: var(--display-font); font-size: 25px; font-weight: 400; }
.story-tag span { margin-top: 4px; font-size: 15px; }

.donation-appeal {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 0.8fr);
  gap: clamp(60px, 8vw, 140px);
  align-items: center;
  overflow: hidden;
  padding: clamp(90px, 10vw, 150px) var(--page-pad);
  color: var(--white);
  background:
    radial-gradient(circle at 12% 14%, rgba(244, 200, 75, 0.17), transparent 24%),
    linear-gradient(135deg, #132c29 0%, #0b1d1b 100%);
}
.donation-intro { max-width: 720px; }
.donation-intro h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(56px, 6.7vw, 108px);
  font-weight: 400;
  line-height: 0.94;
}
.donation-intro h2 em { color: var(--yellow); font-style: normal; }
.donation-intro > p:not(.eyebrow) {
  max-width: 620px;
  margin: 32px 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.5;
}
.donation-promise {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 560px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--yellow);
  font-weight: 700;
}
.donation-promise svg { width: 28px; height: 28px; flex: 0 0 28px; }
.donation-panel {
  position: relative;
  padding: clamp(28px, 4vw, 52px);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 22px 22px 0 var(--coral);
}
.donation-panel::before {
  content: "DONATE";
  position: absolute;
  top: 16px;
  right: 18px;
  color: rgba(24, 40, 39, 0.08);
  font-family: var(--display-font);
  font-size: clamp(44px, 5vw, 74px);
  line-height: 1;
}
.donation-qr { position: relative; display: grid; grid-template-columns: 170px 1fr; gap: 28px; align-items: center; }
.donation-qr-frame { padding: 9px; background: var(--white); border: 2px solid var(--ink); }
.donation-qr img { aspect-ratio: 1; object-fit: contain; }
.donation-qr strong { display: block; font-family: var(--display-font); font-size: clamp(26px, 2.5vw, 38px); font-weight: 400; line-height: 1.1; }
.donation-qr span { display: block; margin-top: 8px; color: #596461; font-size: 15px; line-height: 1.35; }
.donation-divider { display: flex; align-items: center; gap: 15px; margin: 30px 0 24px; color: #6b7673; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.donation-divider::before, .donation-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.bank-details { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 30px; margin: 0; }
.bank-details div { min-width: 0; }
.bank-details dt { margin-bottom: 2px; color: #687370; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.bank-details dd { margin: 0; overflow-wrap: anywhere; font-size: 16px; font-weight: 700; line-height: 1.4; }
.bank-details .bank-address { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--line); }
.bank-details .bank-address dd { color: #4b5754; font-size: 14px; font-weight: 400; }
.donation-spark { position: absolute; z-index: -1; width: 85px; height: 85px; border: 2px solid rgba(244, 200, 75, 0.48); transform: rotate(45deg); }
.donation-spark::before, .donation-spark::after { content: ""; position: absolute; inset: 18px -20px; border: 2px solid rgba(244, 200, 75, 0.28); border-radius: 50%; }
.donation-spark::after { transform: rotate(90deg); }
.donation-spark-one { left: 5%; bottom: 8%; }
.donation-spark-two { top: 8%; right: 3%; transform: rotate(20deg) scale(0.65); }

.partner-banner { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 0.65fr; gap: 80px; align-items: end; padding: clamp(95px, 11vw, 170px) var(--page-pad); color: var(--ink); background: var(--coral); }
.partner-copy, .partner-actions { position: relative; z-index: 2; }
.partner-copy h2 { margin: 0; font-family: var(--display-font); font-size: clamp(60px, 7vw, 110px); font-weight: 400; letter-spacing: 0; line-height: 0.92; color: var(--white); }
.partner-actions { max-width: 520px; }
.partner-actions p { margin: 0 0 28px; font-size: 21px; }
.button-ink { background: var(--ink); color: var(--white); }
.button-ink:hover { background: var(--white); color: var(--ink); }
.orbit-mark { position: absolute; right: -90px; top: -80px; width: 350px; height: 350px; display: grid; place-items: center; border: 2px solid rgba(255,255,255,0.35); border-radius: 50%; font-family: var(--display-font); font-size: 80px; color: rgba(255,255,255,0.5); }
.orbit-mark::before, .orbit-mark::after { content: ""; position: absolute; inset: 40px; border: 2px solid rgba(255,255,255,0.24); border-radius: 48% 52% 44% 56%; transform: rotate(25deg); }
.orbit-mark::after { inset: 80px; transform: rotate(-25deg); }

.faq { display: grid; grid-template-columns: 0.55fr 1fr; gap: clamp(50px, 10vw, 160px); background: var(--paper); }
.faq-heading .section-kicker { margin-bottom: 42px; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 28px 0; cursor: pointer; list-style: none; font-size: 22px; font-weight: 700; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary svg { color: var(--coral); transition: transform 180ms ease; }
.accordion details[open] summary svg { transform: rotate(45deg); }
.accordion details p { margin: -4px 50px 28px 0; color: #53605f; }

.site-footer { padding: 86px var(--page-pad) 28px; color: var(--white); background: linear-gradient(180deg, #0a1715 0%, #071513 100%); }
.footer-top { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1.1fr; gap: clamp(30px, 4vw, 70px); align-items: start; padding-bottom: 52px; }
.footer-brand { display: grid; gap: 18px; }
.footer-top .brand-logo { height: 74px; }
.footer-brand p,
.footer-contact p { margin: 0; max-width: 420px; color: rgba(233, 240, 238, 0.8); line-height: 1.7; }
.footer-address { max-width: 420px; color: rgba(233, 240, 238, 0.8); font-style: normal; line-height: 1.55; }
.footer-links h3,
.footer-contact h3 { margin: 0 0 18px; font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { color: rgba(255,255,255,0.86); text-decoration: none; transition: color 180ms ease; }
.footer-nav a:hover,
.footer-bottom a:hover { color: var(--coral); }
.footer-contact { display: grid; gap: 16px; }
.footer-email { justify-self: start; display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-size: clamp(18px, 2vw, 22px); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.22); padding-bottom: 6px; }
.footer-email i { color: var(--coral); }
.footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.14); color: rgba(214, 223, 220, 0.8); font-size: 14px; }
.footer-meta { display: flex; justify-content: center; }
.footer-bottom > a { justify-self: end; display: inline-flex; align-items: center; gap: 8px; color: rgba(214, 223, 220, 0.8); text-decoration: none; }
.back-to-top { position: fixed; z-index: 25; right: var(--page-pad); bottom: 28px; width: 48px; height: 48px; display: grid; place-items: center; color: var(--ink); background: var(--yellow); box-shadow: 0 10px 24px rgba(24,40,39,0.18); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--coral); color: var(--white); }
.floating-donate {
  position: fixed;
  z-index: 24;
  right: var(--page-pad);
  bottom: 92px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  color: var(--white);
  background: var(--coral);
  border: 2px solid var(--white);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(24, 40, 39, 0.28);
  font-size: 16px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.floating-donate:hover, .floating-donate:focus-visible {
  color: var(--ink);
  background: var(--yellow);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(24, 40, 39, 0.34);
}
.floating-donate-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--coral);
  background: var(--white);
  border-radius: 50%;
}
.floating-donate-icon svg { width: 21px; height: 21px; fill: currentColor; }

@media (max-width: 980px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { grid-template-columns: 1fr; gap: 18px; text-align: left; }
  .footer-meta { justify-content: flex-start; }
  .footer-bottom > a { justify-self: start; }
}

@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .site-footer { padding-top: 70px; }
  .footer-brand p,
  .footer-contact p,
  .footer-address { max-width: 100%; }
  .footer-email { font-size: 17px; overflow-wrap: anywhere; }
  .footer-links h3,
  .footer-contact h3 { margin-bottom: 12px; }
}

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 650ms ease, transform 650ms ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition-duration: 0.01ms !important; }
}

@media (max-width: 980px) {
  .site-header { height: 88px; grid-template-columns: 1fr auto; }
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: grid; place-items: center; justify-self: end; }
  .menu-toggle svg { width: 28px; height: 28px; }
  .mobile-menu { position: fixed; z-index: 30; inset: 88px 0 0; padding: 35px var(--page-pad); background: var(--paper); }
  .mobile-menu:not([hidden]) { display: flex; flex-direction: column; }
  .mobile-menu a { padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--display-font); font-size: 34px; }
  .hero { min-height: calc(100svh - 88px); }
  .hero-content { width: 90%; }
  .intro-grid, .programs-heading, .story-layout, .faq { grid-template-columns: 1fr; }
  .intro-grid { gap: 40px; }
  .challenge-band { grid-template-columns: 1fr; }
  .challenge-copy { min-height: 550px; padding: 90px var(--page-pad); }
  .challenge-image { min-height: 600px; }
  .programs-heading { gap: 28px; }
  .manifesto { grid-template-columns: 1fr; }
  .manifesto-image { min-height: 680px; }
  .image-sticker { right: 6%; bottom: -55px; top: auto; }
  .manifesto-copy { padding: 120px var(--page-pad) 100px; }
  .story-layout { gap: 60px; }
  .donation-appeal { grid-template-columns: 1fr; }
  .donation-intro { max-width: 780px; }
  .donation-panel { width: min(100%, 680px); }
  .partner-banner { grid-template-columns: 1fr; gap: 45px; }
  .faq { gap: 60px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-email { justify-self: start; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .donation-ribbon { min-height: 58px; justify-content: flex-start; gap: 11px; padding: 9px 20px; }
  .donation-ribbon-icon { width: 32px; height: 32px; flex-basis: 32px; }
  .donation-ribbon-message { font-size: 13px; line-height: 1.2; }
  .donation-ribbon-message strong { display: block; }
  .donation-ribbon-action { margin-left: auto; font-size: 13px; }
  .donation-ribbon-action svg { display: none; }
  .brand-logo { height: 48px; }
  .brand-tag { display: none; }
  .site-header { padding: 0 20px; }
  .hero { min-height: 760px; max-height: none; }
  .hero-image { object-position: 58% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(12,27,26,0.9), rgba(12,27,26,0.12) 82%); }
  .hero-content { width: 100%; padding: 60px 24px 70px; }
  .hero h1 { font-size: clamp(57px, 17vw, 80px); }
  .hero-intro { max-width: 92%; margin-top: 24px; }
  .hero-role { max-width: 92%; font-size: 15px; }
  .hero-note { display: none; }
  .hero-controls { right: 24px; bottom: 24px; }
  .button { width: 100%; }
  .section { padding-top: 82px; padding-bottom: 82px; }
  .intro-grid { padding-top: 38px; }
  .display-title { font-size: clamp(46px, 14vw, 64px); }
  .challenge-copy { min-height: auto; padding-top: 78px; padding-bottom: 78px; }
  .challenge-copy h2 { font-size: 51px; }
  .challenge-copy > p:last-child { font-size: 18px; }
  .challenge-image { min-height: 470px; }
  .challenge-image figcaption { max-width: 85%; padding: 18px 22px; font-size: 16px; }
  .scribble { display: none; }
  .programs-heading { margin-bottom: 48px; }
  .program-row { grid-template-columns: 58px 1fr 28px; gap: 18px; padding: 26px 0; }
  .program-row:hover { padding: 26px 0; }
  .program-number { display: none; }
  .program-icon { width: 56px; height: 56px; }
  .program-icon svg { width: 25px; height: 25px; }
  .program-row p { font-size: 15px; line-height: 1.45; }
  .program-row h3 { font-size: 31px; }
  .manifesto-image { min-height: 500px; }
  .image-sticker { width: 125px; right: 7%; font-size: 17px; }
  .manifesto-copy h2 { font-size: 58px; }
  .manifesto-copy > p { font-size: 18px; }
  .story-collage { padding: 0 0 58px 16px; }
  .story-main { aspect-ratio: 0.95; }
  .story-tag { max-width: 255px; padding: 19px 22px; }
  .donation-appeal { gap: 50px; }
  .donation-intro h2 { font-size: clamp(54px, 16vw, 72px); }
  .donation-intro > p:not(.eyebrow) { font-size: 18px; }
  .donation-panel { padding: 24px; box-shadow: 10px 10px 0 var(--coral); }
  .donation-panel::before { display: none; }
  .donation-qr { grid-template-columns: 125px 1fr; gap: 18px; }
  .donation-qr strong { font-size: 27px; }
  .bank-details { grid-template-columns: 1fr; gap: 16px; }
  .bank-details .bank-address { grid-column: auto; }
  .partner-banner { padding-top: 90px; padding-bottom: 90px; }
  .partner-copy h2 { font-size: 62px; }
  .partner-actions p { font-size: 18px; }
  .orbit-mark { width: 250px; height: 250px; }
  .accordion summary { padding: 22px 0; font-size: 19px; line-height: 1.35; }
  .accordion details p { margin-right: 0; }
  .footer-top, .footer-bottom { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { padding-bottom: 50px; }
  .footer-email { max-width: 100%; font-size: 17px; overflow-wrap: anywhere; }
  .footer-bottom div { justify-content: flex-start; }
  .footer-bottom > a { justify-self: start; }
  .back-to-top { right: 20px; bottom: 20px; }
  .floating-donate { right: 20px; bottom: 82px; padding: 7px 15px 7px 7px; font-size: 15px; }
  .floating-donate-icon { width: 35px; height: 35px; }
}

@media (max-width: 390px) {
  .donation-ribbon-message { max-width: 150px; }
  .donation-ribbon-action { padding-bottom: 1px; }
}

@media (max-width: 430px) {
  .donation-qr { grid-template-columns: 1fr; text-align: center; }
  .donation-qr-frame { width: min(100%, 220px); margin: 0 auto; }
}

/* Partner banner buttons */
.partner-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.button-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.button-outline:hover { background: var(--ink); color: var(--white); }

/* Join / registration page */
.join-page { background: var(--paper); }
.join-hero { padding: clamp(70px, 9vw, 130px) var(--page-pad) clamp(30px, 4vw, 60px); background: var(--ink); color: var(--white); }
.join-hero-copy { max-width: 760px; }
.join-hero h1 { margin: 8px 0 20px; font-family: var(--display-font); font-weight: 400; font-size: clamp(52px, 7vw, 104px); line-height: 0.92; }
.join-hero h1 em { color: var(--yellow); font-style: normal; }
.join-lead { max-width: 640px; font-size: clamp(18px, 1.7vw, 23px); line-height: 1.5; color: rgba(255,255,255,0.86); }

.join-form-section { padding-top: clamp(50px, 6vw, 90px); }
.join-form { max-width: 900px; margin: 0 auto; display: grid; gap: clamp(36px, 5vw, 60px); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.join-fieldset { border: 0; margin: 0; padding: 0; }
.join-fieldset legend { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; font-family: var(--display-font); font-size: clamp(28px, 3.4vw, 40px); }
.join-fieldset legend .step { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--coral); color: var(--white); font-size: 17px; }
.field-hint { margin: 0 0 22px; color: #56635f; }

.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.category-card { position: relative; cursor: pointer; }
.category-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.category-card-body { display: grid; gap: 8px; height: 100%; padding: 22px; background: var(--white); border: 2px solid var(--line); border-radius: 4px; transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.category-card:hover .category-card-body { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(24,40,39,0.12); }
.category-card input:checked + .category-card-body { border-color: var(--coral); box-shadow: 0 0 0 2px var(--coral); }
.category-card input:focus-visible + .category-card-body { outline: 3px solid var(--coral-dark); outline-offset: 2px; }
.category-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--mist); color: var(--coral-dark); }
.category-icon svg { width: 22px; height: 22px; }
.category-name { font-size: 18px; }
.category-target { font-size: 14px; color: var(--coral-dark); font-weight: 700; }
.category-engagement { font-size: 14px; color: #56635f; line-height: 1.4; }

.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: 15px; }
.field .req { color: var(--coral-dark); }
.field .optional { color: #8a9491; font-weight: 400; }
.field input, .field textarea { width: 100%; padding: 13px 15px; font: inherit; color: var(--ink); background: var(--white); border: 2px solid var(--line); border-radius: 4px; transition: border-color 160ms ease, box-shadow 160ms ease; }
.field select { width: 100%; padding: 13px 15px; font: inherit; color: var(--ink); background: var(--white); border: 2px solid var(--line); border-radius: 4px; transition: border-color 160ms ease, box-shadow 160ms ease; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--coral); box-shadow: 0 0 0 3px rgba(239,91,63,0.18); }
.field textarea { resize: vertical; }

.field-error { min-height: 18px; margin: 2px 0 0; color: var(--coral-dark); font-size: 14px; font-weight: 700; }

.consent { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; max-width: 640px; font-size: 15px; line-height: 1.5; color: #43504f; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--coral); }
.consent-group { display: grid; gap: 18px; }
.consent-group .consent a { color: var(--coral-dark); font-weight: 700; border-bottom: 1px solid var(--coral); }
.consent-group .field-error { margin-top: -10px; }

/* Legal pages (privacy / terms) */
.legal-page { background: var(--paper); }
.legal-hero { padding: clamp(70px, 9vw, 120px) var(--page-pad) clamp(24px, 3vw, 40px); background: var(--ink); color: var(--white); }
.legal-hero h1 { margin: 8px 0 14px; font-family: var(--display-font); font-weight: 400; font-size: clamp(46px, 6vw, 88px); line-height: 0.94; }
.legal-hero h1 em { color: var(--yellow); font-style: normal; }
.legal-updated { margin: 0; color: rgba(255,255,255,0.72); font-size: 15px; }
.initiative-page { background: var(--paper); }
.initiative-hero { padding-bottom: clamp(30px, 4vw, 56px); }
.initiative-section { padding-top: clamp(42px, 6vw, 82px); }
.initiative-section .programs-heading { margin-bottom: 30px; }
.legal-body { padding-top: clamp(40px, 5vw, 70px); }
.legal-content { max-width: 780px; }
.legal-content h2 { margin: 34px 0 12px; font-size: clamp(22px, 2.4vw, 28px); }
.legal-content p { margin: 0 0 16px; color: #3b4746; }
.legal-content ul { margin: 0 0 16px; padding-left: 22px; color: #3b4746; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--coral-dark); font-weight: 700; }
.legal-contact { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); }

.join-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.form-status { margin: 0; font-weight: 700; }
.form-status.is-pending { color: #56635f; }
.form-status.is-success { color: var(--teal); }
.form-status.is-error { color: var(--coral-dark); }

.upload-progress { flex: 1 1 100%; padding: 18px 20px; background: var(--white); border: 2px solid var(--ink); }
.upload-progress[hidden], .upload-progress [hidden] { display: none; }
.upload-progress-track { height: 18px; overflow: hidden; background: var(--mist); border: 2px solid var(--ink); }
.upload-progress-fill { display: block; width: 0; height: 100%; background: var(--teal); transition: width 200ms linear; }
.upload-progress-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-top: 12px; font-size: 15px; }
.upload-progress-percent { font-family: var(--display-font); font-size: 28px; font-weight: 400; line-height: 1; }
.upload-progress-detail { flex: 1 1 220px; color: #56635f; }
.upload-progress-cancel { padding: 4px 12px; color: var(--coral-dark); background: transparent; border: 2px solid var(--coral-dark); font-weight: 700; font-size: 14px; cursor: pointer; }
.upload-progress-cancel:hover, .upload-progress-cancel:focus-visible { color: var(--white); background: var(--coral-dark); }
.upload-progress-note { margin: 8px 0 0; color: #56635f; font-size: 14px; }
.upload-progress.is-processing .upload-progress-fill {
  background: repeating-linear-gradient(45deg, var(--teal) 0 14px, #29a79f 14px 28px);
  background-size: 40px 40px;
  animation: upload-stripes 800ms linear infinite;
}
.upload-progress.is-done { border-color: var(--teal); }
.upload-progress.is-done .upload-progress-detail { color: var(--teal); font-weight: 700; }
.upload-progress.is-error { border-color: var(--coral-dark); }
.upload-progress.is-error .upload-progress-fill { background: var(--coral); }
.upload-progress.is-error .upload-progress-detail { color: var(--coral-dark); font-weight: 700; }
@keyframes upload-stripes { to { background-position: 40px 0; } }
/* Bhasha AI contribution page */
.bhasha-page { background: var(--paper); }
.bhasha-hero { background: var(--teal); }
.bhasha-hero h1 em { color: var(--yellow); }
.bhasha-form-section { padding-bottom: clamp(70px, 8vw, 120px); }
.bhasha-form-section input[type="file"] { max-width: 100%; font: inherit; }
.bhasha-form-section .field-grid + .field-grid { margin-top: 22px; }

@media (max-width: 640px) {
  .field-grid { grid-template-columns: 1fr; }
  .join-actions .button { width: 100%; }
}

/* Photo upload field */
.photo-field { display: flex; align-items: center; gap: 20px; margin-bottom: 26px; }
.photo-preview { flex: 0 0 auto; width: 92px; height: 92px; display: grid; place-items: center; border-radius: 50%; background: var(--mist) center/cover no-repeat; border: 2px solid var(--line); color: #8a9491; }
.photo-preview.has-image { border-color: var(--coral); }
.photo-preview svg { width: 30px; height: 30px; }
.photo-field-body { display: grid; gap: 6px; }
.photo-field-body input[type="file"] { font: inherit; }

/* Members (public) page */
.members-page { background: var(--paper); }
.members-hero { padding: clamp(70px, 9vw, 130px) var(--page-pad) clamp(30px, 4vw, 55px); background: var(--ink); color: var(--white); }
.members-hero h1 { margin: 8px 0 18px; font-family: var(--display-font); font-weight: 400; font-size: clamp(52px, 7vw, 104px); line-height: 0.92; }
.members-hero h1 em { color: var(--yellow); font-style: normal; }
.members-lead { max-width: 620px; font-size: clamp(18px, 1.7vw, 23px); line-height: 1.5; color: rgba(255,255,255,0.86); }
.members-empty { font-size: 20px; }
.members-empty a { color: var(--coral-dark); border-bottom: 2px solid var(--coral); font-weight: 700; }
.members-group { margin-bottom: clamp(48px, 6vw, 80px); }
.members-group .section-kicker { border: 0; margin-bottom: 30px; }
.members-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 26px; }
.member-card { text-align: center; }
.member-photo { width: 150px; height: 150px; margin: 0 auto 16px; border-radius: 50%; object-fit: cover; box-shadow: 0 14px 34px rgba(24,40,39,0.14); }
.member-card h3 { margin: 0 0 4px; font-size: 21px; }
.member-org { margin: 0; color: var(--coral-dark); font-weight: 700; font-size: 15px; }
.member-location { display: inline-flex; align-items: center; gap: 5px; margin: 6px 0 0; color: #56635f; font-size: 14px; }
.member-location svg { width: 15px; height: 15px; }
.member-socials { display: flex; justify-content: center; gap: 12px; margin: 10px 0 0; }
.member-socials a { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--mist); color: var(--ink); transition: background 160ms ease, color 160ms ease; }
.member-socials a:hover { background: var(--coral); color: var(--white); }
.member-socials svg { width: 16px; height: 16px; }

/* Partner directory */
.partners-page { background: var(--paper); }
.partners-hero { padding-bottom: clamp(44px, 6vw, 78px); }
.partners-section { padding-top: clamp(38px, 5vw, 70px); }
.partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 22px; }
.partners-section-heading { margin: 0 0 28px; font-family: var(--display-font); font-size: 40px; font-weight: 400; }
.partner-type-group { margin-bottom: clamp(42px, 5vw, 68px); }
.partner-type-group > h3 { margin: 0 0 18px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); font-size: 24px; }
.partner-card { min-width: 0; display: grid; grid-template-columns: minmax(120px, 190px) minmax(0, 1fr); align-items: center; gap: 24px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.partner-logo-wrap { min-height: 150px; display: grid; place-items: center; padding: 14px; background: #f6f8f5; border-radius: 4px; }
.partner-logo-wrap img { display: block; width: 100%; height: 120px; object-fit: contain; }
.partner-copy { min-width: 0; }
.partner-copy h4 { margin: 0 0 10px; font-size: 23px; overflow-wrap: anywhere; }
.partner-description { margin: 0; color: #56635f; font-size: 15px; line-height: 1.6; }
.partner-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--ink); font-weight: 700; }
.partner-link svg { width: 16px; height: 16px; }
.partner-link:hover { color: var(--coral-dark); }

/* Admin area */
.admin-body { background: var(--mist); }
.admin-header .brand-logo { height: 46px; }
.admin-login-card .brand { justify-content: center; }
.admin-login-card .brand-logo { height: 84px; }

.admin-login { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; }
.admin-login-card { width: min(400px, 100%); display: grid; gap: 18px; padding: 40px; background: var(--white); border-radius: 6px; box-shadow: 0 20px 60px rgba(24,40,39,0.14); }
.admin-login-card h1 { margin: 0; font-family: var(--display-font); font-weight: 400; font-size: 40px; }
.admin-alert { margin: 0; padding: 12px 14px; background: #fdece8; color: var(--coral-dark); border-radius: 4px; font-weight: 700; font-size: 15px; }

.admin-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px clamp(20px, 4vw, 48px); background: var(--ink); color: var(--white); }
.admin-header .brand--dark .brand-tag { color: rgba(255,255,255,0.7); }
.admin-header-right { display: flex; align-items: center; gap: 20px; font-size: 15px; }
.admin-header-right a { display: inline-flex; align-items: center; gap: 6px; color: var(--yellow); }
.admin-header-right svg { width: 16px; height: 16px; }

.admin-main { max-width: 1200px; margin: 0 auto; padding: clamp(30px, 4vw, 50px) clamp(20px, 4vw, 48px); }
.admin-main h1 { font-family: var(--display-font); font-weight: 400; font-size: clamp(34px, 4vw, 50px); margin: 0 0 20px; }
.admin-flash { padding: 12px 16px; background: #e6f4ea; color: var(--teal); border-radius: 4px; font-weight: 700; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 30px; }
.admin-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; background: var(--white); border: 2px solid var(--line); border-radius: 40px; font-weight: 700; }
.admin-tabs a.is-active { border-color: var(--ink); background: var(--ink); color: var(--white); }
.tab-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--coral); color: var(--white); font-size: 12px; }
.admin-tabs a.is-active .tab-count { background: var(--yellow); color: var(--ink); }
.admin-empty { font-size: 18px; color: #56635f; }

.admin-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 22px; }
.admin-card { display: grid; gap: 14px; padding: 22px; background: var(--white); border-radius: 6px; box-shadow: 0 8px 26px rgba(24,40,39,0.08); }
.admin-card-top { display: flex; align-items: center; gap: 14px; }
.admin-avatar { width: 66px; height: 66px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.admin-avatar-empty { display: grid; place-items: center; background: var(--mist); color: #8a9491; }
.admin-card-top h2 { margin: 0; font-size: 20px; }
.admin-cat { margin: 2px 0 0; color: var(--coral-dark); font-weight: 700; font-size: 14px; }
.admin-badge { display: inline-block; margin-top: 6px; padding: 2px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.admin-badge.is-live { background: #e6f4ea; color: var(--teal); }
.admin-badge.is-hidden { background: #f0ece1; color: #7a6f57; }
.admin-meta { display: grid; gap: 8px; margin: 0; font-size: 14px; }
.admin-meta div { display: grid; grid-template-columns: 96px 1fr; gap: 8px; }
.admin-meta dt { color: #8a9491; font-weight: 700; }
.admin-meta dd { margin: 0; overflow-wrap: anywhere; }
.admin-meta a { color: var(--coral-dark); }
.admin-message { margin: 0; padding: 12px 14px; background: var(--paper); border-left: 3px solid var(--coral); font-size: 14px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.admin-actions .button { min-height: 44px; padding: 10px 16px; font-size: 14px; }

@media (max-width: 640px) {
  .photo-field { flex-direction: column; align-items: flex-start; }
  .admin-header { flex-direction: column; align-items: flex-start; }
  .admin-cards { grid-template-columns: 1fr; }
}

/* Designation (public + admin) */
.member-designation { margin: 0 0 2px; font-weight: 700; font-size: 15px; }
.admin-designation { margin: 2px 0 0; font-size: 13px; color: #56635f; }

/* Admin add/edit */
.admin-title-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.admin-title-row h1 { margin: 0; }
.admin-subtitle { margin: 4px 0 0; color: #56635f; }
.admin-title-row .button { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.admin-form { max-width: 860px; display: grid; gap: 22px; margin-top: 10px; }
.admin-form .field select { width: 100%; padding: 13px 15px; font: inherit; color: var(--ink); background: var(--white); border: 2px solid var(--line); border-radius: 4px; }
.admin-form .field select:focus { outline: 0; border-color: var(--coral); box-shadow: 0 0 0 3px rgba(239,91,63,0.18); }
.admin-form .consent { align-items: center; }

/* Bhasha AI admin */
.admin-table-wrap { overflow-x: auto; background: var(--white); border-radius: 6px; box-shadow: 0 8px 26px rgba(24,40,39,0.08); }
.admin-table { width: 100%; min-width: 1100px; border-collapse: collapse; font-size: 15px; }
.admin-table th, .admin-table td { padding: 15px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-table th { background: var(--ink); color: var(--white); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-table tbody tr:hover { background: #fffdf8; }
.admin-table td:nth-child(2) { min-width: 150px; font-weight: 700; }
.admin-table td:nth-child(3), .admin-table td:nth-child(4) { max-width: 230px; white-space: pre-wrap; }
.admin-muted { color: #8a9491; }
.admin-file-links { display: grid; gap: 7px; min-width: 125px; }
.admin-file-links a { display: inline-flex; align-items: center; gap: 6px; color: var(--coral-dark); font-weight: 700; font-size: 14px; }
.admin-file-links svg { width: 16px; height: 16px; }
.button-danger { background: transparent; color: var(--coral-dark); border-color: var(--coral-dark); }
.button-danger:hover { background: var(--coral-dark); color: var(--white); }
.admin-pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.admin-pagination a { display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; background: var(--white); border: 2px solid var(--line); border-radius: 4px; font-weight: 700; }
.admin-pagination a.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.partners-admin-table { min-width: 1100px; }
.partners-admin-table td:nth-child(2) { min-width: 220px; }
.partners-admin-table td:nth-child(3), .partners-admin-table td:nth-child(4) { max-width: none; white-space: normal; }
.partner-admin-logo { display: block; width: 72px; height: 56px; object-fit: contain; padding: 5px; background: #f6f8f5; border: 1px solid var(--line); border-radius: 4px; }
.partner-admin-description { max-width: 320px; margin: 5px 0 0; color: #56635f; font-size: 13px; font-weight: 400; line-height: 1.4; }
.partners-admin-table td:nth-child(4) a { display: inline-flex; align-items: center; gap: 5px; color: var(--coral-dark); font-weight: 700; }
.partners-admin-table td:nth-child(4) svg { width: 15px; height: 15px; }
.partner-logo-preview { display: block; width: min(240px, 100%); height: 140px; margin: 0 0 12px; padding: 10px; object-fit: contain; background: var(--white); border: 1px solid var(--line); border-radius: 4px; }

/* Admin workspace shell */
.admin-skip-link { position: fixed; z-index: 120; top: 10px; left: 10px; padding: 10px 14px; transform: translateY(-160%); background: var(--white); color: var(--ink); border: 2px solid var(--coral); border-radius: 4px; font-weight: 700; }
.admin-skip-link:focus { transform: translateY(0); }
.admin-layout { min-height: 100vh; display: grid; grid-template-columns: 258px minmax(0, 1fr); }
.admin-sidebar { position: sticky; top: 0; z-index: 80; height: 100vh; display: flex; flex-direction: column; padding: 24px 15px 16px; background: var(--ink); color: var(--white); }
.admin-sidebar-brand { padding: 0 10px 28px; border-bottom: 1px solid rgba(255,255,255,0.14); }
.admin-sidebar .brand { gap: 12px; }
.admin-sidebar .brand-logo { height: 44px; width: auto; }
.admin-sidebar .brand-tag { max-width: 120px; color: rgba(255,255,255,0.7); font-size: 11px; line-height: 1.35; }
.admin-nav-label { margin: 25px 12px 10px; color: rgba(255,255,255,0.52); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.admin-nav { display: grid; gap: 5px; }
.admin-nav-link { min-height: 48px; display: flex; align-items: center; gap: 12px; padding: 0 12px; color: rgba(255,255,255,0.78); border-radius: 5px; border-left: 3px solid transparent; font-weight: 700; transition: background 150ms ease, color 150ms ease; }
.admin-nav-link:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.admin-nav-link.is-active { border-left-color: var(--coral); background: rgba(239,91,63,0.16); color: var(--white); }
.admin-nav-link > svg { width: 19px; height: 19px; color: var(--yellow); flex: 0 0 auto; }
.admin-nav-current { margin-left: auto; color: var(--yellow); font-size: 10px; font-weight: 700; }
.admin-sidebar-footer { display: grid; gap: 16px; margin-top: auto; padding: 18px 4px 0; border-top: 1px solid rgba(255,255,255,0.14); }
.admin-public-link { display: inline-flex; align-items: center; gap: 9px; padding: 4px 9px; color: var(--yellow); font-size: 13px; font-weight: 700; }
.admin-public-link svg, .admin-signout svg { width: 17px; height: 17px; }
.admin-user-row { min-width: 0; display: flex; align-items: center; gap: 10px; padding: 9px; background: rgba(255,255,255,0.07); border-radius: 5px; }
.admin-user-avatar { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; background: rgba(255,255,255,0.12); border-radius: 50%; color: var(--yellow); }
.admin-user-avatar svg { width: 16px; height: 16px; }
.admin-user-name { min-width: 0; overflow: hidden; color: var(--white); font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.admin-signout { margin-left: auto; display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; color: rgba(255,255,255,0.72); border-radius: 4px; }
.admin-signout:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.admin-workspace { min-width: 0; }
.admin-topbar { position: sticky; top: 0; z-index: 50; min-height: 74px; display: flex; align-items: center; gap: 16px; padding: 10px clamp(20px, 3vw, 42px); background: rgba(255,255,255,0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.admin-topbar-context { display: grid; gap: 2px; }
.admin-topbar-context span { color: #7a8581; font-size: 11px; font-weight: 700; }
.admin-topbar-context strong { color: var(--ink); font-size: 14px; }
.admin-menu-toggle { display: none; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: 4px; color: var(--ink); cursor: pointer; }
.admin-menu-toggle svg { width: 20px; height: 20px; }
.admin-sidebar-backdrop { display: none; }
.admin-nav-open { overflow: hidden; }
.admin-main { width: 100%; max-width: 1540px; margin: 0 auto; padding: clamp(24px, 3vw, 42px) clamp(20px, 3vw, 42px) 56px; }
.admin-main > h1 { margin-bottom: 24px; }
.admin-main h1 { font-size: clamp(30px, 3vw, 42px); }
.admin-main .admin-title-row h1 { margin: 0; }
.admin-title-row { margin-bottom: 24px; }
.admin-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 365px), 1fr)); }
.admin-form { width: 100%; max-width: 940px; padding: clamp(18px, 2.5vw, 30px); background: var(--white); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 8px 24px rgba(24,40,39,0.05); }
.admin-edit > h1 { margin-bottom: 8px; }
.admin-edit > .admin-alert { margin: 0 0 16px; }
.admin-title-row .admin-page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.admin-table-wrap { max-width: 100%; }

@media (max-width: 860px) {
  .admin-layout { display: block; }
  .admin-sidebar { position: fixed; inset: 0 auto 0 0; width: min(290px, calc(100vw - 52px)); height: 100dvh; transform: translateX(-105%); transition: transform 180ms ease; box-shadow: 18px 0 44px rgba(14,28,27,0.22); }
  .admin-nav-open .admin-sidebar { transform: translateX(0); }
  .admin-sidebar-backdrop { position: fixed; inset: 0; z-index: 70; display: block; visibility: hidden; opacity: 0; background: rgba(12,22,21,0.48); border: 0; transition: opacity 180ms ease, visibility 180ms ease; }
  .admin-nav-open .admin-sidebar-backdrop { visibility: visible; opacity: 1; }
  .admin-menu-toggle { display: grid; }
}

@media (max-width: 560px) {
  .admin-topbar { min-height: 64px; gap: 11px; padding: 8px 14px; }
  .admin-topbar-context span { font-size: 10px; }
  .admin-main { padding: 24px 14px 38px; }
  .admin-title-row { align-items: flex-start; }
  .admin-title-row .admin-page-actions { width: 100%; }
  .admin-title-row .admin-page-actions .button { flex: 1 1 auto; }
  .admin-form { padding: 17px; }
  .admin-table { min-width: 940px; }
  .partners-admin-table { min-width: 1120px; }
}

@media (prefers-reduced-motion: reduce) {
  .admin-sidebar, .admin-sidebar-backdrop, .admin-nav-link { transition: none; }
}

@media (max-width: 640px) {
  .partner-card { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
  .partner-logo-wrap { min-height: 130px; }
  .partner-logo-wrap img { height: 100px; }
}