:root {
  color-scheme: light dark;
  --accent: #7a3042;
  --accent-deep: #5e2333;
  --rose: #c77d93;
  --pink: #d9a5b3;
  --paper: #f5f1ec;
  --paper-deep: #ece6df;
  --ink: #2a2326;
  --muted: #6b5f64;
  --card: #fffdfb;
  --line: #d9d0ca;
  --on-accent: #fff;
  --display: "Baloo 2", "Noto Sans Bengali", "Segoe UI", system-ui, sans-serif;
  --body: "Baloo 2", "Noto Sans Bengali", "Segoe UI", system-ui, sans-serif;
  box-sizing: border-box;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #1d1619;
    --paper-deep: #261c21;
    --ink: #f3e9ec;
    --muted: #bda9b0;
    --card: #2c2126;
    --line: #4a3540;
    --accent: #b45670;
    --accent-deep: #8e3c56;
    --rose: #d3879e;
    --pink: #744454;
  }
}

*, *::before, *::after { box-sizing: inherit; }
html, body { min-height: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 4px; }
::selection { color: var(--on-accent); background: var(--accent); }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.side-nav {
  position: fixed;
  z-index: 30;
  inset: 0 auto 0 0;
  width: 248px;
  padding: 44px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: var(--paper-deep);
  border-right: 1px solid var(--line);
}
.wordmark { display: block; margin: 0 0 32px; color: var(--accent); text-decoration: none; }
.wordmark-name { display: block; font-size: 1.55rem; font-weight: 800; line-height: 1.05; letter-spacing: -.035em; }
.wordmark-script { display: block; margin-top: 7px; font-family: "Noto Sans Bengali", var(--body); font-size: .94rem; font-weight: 700; }
.nav-link {
  padding: 12px 15px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--muted);
  text-decoration: none;
  font-size: .98rem;
  font-weight: 700;
  transition: color .18s ease, background .18s ease, transform .18s ease, border-color .18s ease;
}
.nav-link:hover, .nav-link.is-active { color: var(--on-accent); background: var(--accent); transform: translateX(3px); }
.nav-link.is-active { box-shadow: 0 5px 14px #7a304222; }
.nav-instagram {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding: 12px 4px 4px;
  color: var(--muted);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 700;
}
.nav-instagram:hover, .footer-handle a:hover { color: var(--accent); }
.instagram-mark { font-size: 1.45rem; line-height: 1; color: var(--accent); }
.external-arrow { margin-left: auto; color: var(--rose); }
.mobile-header { display: none; }
.logo {
  position: fixed;
  z-index: 40;
  top: 15px;
  right: 22px;
  width: 56px;
  height: 56px;
  border: 3px solid var(--accent);
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 38%;
  box-shadow: 0 5px 18px #21101626;
}
main, .site-footer, .footer-gamusa { margin-left: 248px; }
.section-shell { padding-inline: clamp(36px, 7.1vw, 112px); }
.hero {
  position: relative;
  min-height: min(830px, 100vh);
  display: grid;
  grid-template-columns: minmax(260px, .88fr) minmax(300px, 1.12fr);
  align-items: center;
  gap: clamp(45px, 7vw, 106px);
  padding-top: 58px;
  padding-bottom: 70px;
  background: linear-gradient(122deg, var(--paper-deep) 0%, var(--paper) 60%);
  overflow: hidden;
}
.hero-visual { position: relative; width: 100%; max-width: 455px; justify-self: center; }
.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 680px;
  border: 4px solid var(--accent);
  border-radius: 180px 180px 24px 24px;
  object-fit: cover;
  object-position: 50% 44%;
  box-shadow: 12px 12px 0 var(--pink), 0 25px 55px #42202b1a;
}
.photo-note {
  position: absolute;
  right: -33px;
  bottom: 36px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 235px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--muted);
  font-size: .79rem;
  font-weight: 700;
  box-shadow: 0 8px 25px #21101612;
}
.note-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--rose); }
.photo-index { position: absolute; top: 20px; left: 18px; color: white; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-shadow: 0 1px 8px #0009; }
.hero-copy { position: relative; z-index: 1; max-width: 590px; padding-top: 20px; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 19px; color: var(--muted); font-size: .79rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow-rule { width: 31px; height: 2px; flex: none; background: var(--rose); }
.handle { margin: 0; color: var(--accent); font-weight: 800; letter-spacing: .06em; }
.assamese-title {
  margin: 5px 0 20px;
  color: var(--accent);
  font-family: "Noto Sans Bengali", var(--display);
  font-size: clamp(2.55rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.04em;
}
.hero-description { max-width: 52ch; margin: 0; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.hero-description b { color: var(--ink); font-family: "Noto Sans Bengali", var(--body); font-size: .96em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 21px;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  font: inherit;
  font-size: .94rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, color .18s ease, background .18s ease, box-shadow .18s ease;
}
.button-primary { color: var(--on-accent); background: var(--accent); }
.button-primary:hover { color: var(--on-accent); background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 8px 20px #7a304235; }
.button-secondary { color: var(--accent); background: transparent; }
.button-secondary:hover { color: var(--on-accent); background: var(--accent); transform: translateY(-2px); }
.hero-footnote { display: flex; align-items: center; gap: 12px; margin-top: 40px; color: var(--muted); font-size: .85rem; font-weight: 700; }
.footnote-line { width: 42px; height: 1px; background: var(--line); }
.japi { position: absolute; width: 104px; height: 70px; pointer-events: none; filter: drop-shadow(0 4px 5px #0002); }
.japi-hero { top: 21px; left: 23px; transform: rotate(-11deg); }
.japi-section { position: relative; inset: auto; width: 83px; height: 56px; margin-right: 16px; transform: rotate(8deg); }
.gamusa {
  height: 24px;
  border-block: 3px solid var(--accent);
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='20'%3E%3Crect width='48' height='20' fill='%23fff'/%3E%3Cpath d='M24 2l8 8-8 8-8-8z' fill='%23C77D93'/%3E%3Cpath d='M24 6l4 4-4 4-4-4z' fill='%237A3042'/%3E%3Cpath d='M0 10l4-4 4 4-4 4zM40 10l4-4 4 4-4 4z' fill='%23D9A5B3'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center;
}
.section-tint { background: var(--paper-deep); }
.reels-section, .projects-section, .team-section { padding-top: 93px; padding-bottom: 100px; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 26px; }
.section-heading-row .eyebrow { margin-bottom: 12px; }
h2 { margin: 0; font-size: clamp(2.15rem, 4.4vw, 3.15rem); font-weight: 800; line-height: 1.08; letter-spacing: -.045em; }
.heading-period { color: var(--rose); }
.section-lead { max-width: 58ch; margin: 16px 0 31px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 7px; color: var(--accent); font-size: .91rem; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 4px; white-space: nowrap; }
.text-link:hover { color: var(--accent-deep); }
.reel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 820px; }
.reel {
  position: relative;
  display: block;
  aspect-ratio: 9 / 12.4;
  overflow: hidden;
  border: 1px solid #7a304225;
  border-radius: 13px;
  background: linear-gradient(150deg, var(--pink), var(--rose));
  box-shadow: 0 6px 16px #2110160d;
  isolation: isolate;
  transition: transform .2s ease, box-shadow .2s ease;
}
.reel::before { position: absolute; z-index: 1; inset: 40% 0 0; background: linear-gradient(transparent, #17090c90); content: ""; }
.reel img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.reel:hover { z-index: 2; transform: translateY(-4px); box-shadow: 0 13px 25px #21101625; }
.reel:hover img { transform: scale(1.04); }
.reel-play { position: absolute; z-index: 2; top: 12px; right: 12px; width: 37px; height: 37px; display: grid; place-items: center; border: 1px solid #ffffff88; border-radius: 50%; background: #2a131877; color: white; backdrop-filter: blur(8px); }
.reel-caption { position: absolute; z-index: 2; right: 13px; bottom: 11px; left: 13px; color: white; font-size: .78rem; font-weight: 800; text-shadow: 0 1px 6px #0006; }
.highlights-section {
  padding-top: 60px;
  padding-bottom: 64px;
  background: linear-gradient(128deg, var(--paper-deep), var(--paper) 72%);
}
.highlight-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 18px;
}
.highlight-card {
  display: flex;
  flex: 0 0 84px;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease;
}
.highlight-ring {
  display: block;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  overflow: hidden;
  padding: 3px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--accent), var(--rose), var(--pink), var(--accent));
  box-shadow: 0 3px 9px #7a304222;
  transition: transform .2s ease, box-shadow .2s ease;
}
.highlight-ring img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  border: 2px solid var(--card);
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.highlight-name {
  color: var(--ink);
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
  transition: color .2s ease;
}
.highlight-card:hover, .highlight-card:focus-visible {
  transform: translateY(-3px);
}
.highlight-card:hover .highlight-ring, .highlight-card:focus-visible .highlight-ring {
  transform: scale(1.06);
  box-shadow: 0 6px 13px #7a304233;
}
.highlight-card:hover .highlight-name, .highlight-card:focus-visible .highlight-name { color: var(--accent); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.project-card {
  position: relative;
  min-height: 226px;
  padding: 24px 23px 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 8px 25px #2811190a;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.project-card:hover { transform: translateY(-4px); border-color: var(--rose); box-shadow: 0 13px 28px #28111914; }
.project-card-featured { border-color: #d4a5b1; background: linear-gradient(145deg, var(--card), color-mix(in srgb, var(--pink) 20%, var(--card))); }
.card-number { position: absolute; top: 17px; right: 20px; color: var(--line); font-size: 1.4rem; font-weight: 800; }
.tag { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; color: var(--accent); background: color-mix(in srgb, var(--pink) 27%, var(--paper)); font-size: .75rem; font-weight: 800; }
.tag::before { width: 6px; height: 6px; border-radius: 50%; background: var(--rose); content: ""; }
.project-card h3 { margin: 20px 0 7px; font-size: 1.3rem; font-weight: 800; line-height: 1.2; }
.project-card p { max-width: 29ch; margin: 0; color: var(--muted); font-size: .96rem; }
.card-arrow { position: absolute; right: 20px; bottom: 17px; color: var(--rose); font-size: 1.15rem; }
.donate-section { padding-top: 85px; padding-bottom: 85px; }
.donate-inner { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(32px, 7vw, 100px); max-width: 900px; }
.donate-copy h2 { font-size: clamp(2.6rem, 5vw, 4rem); }
.donate-card { padding: 31px 34px; border: 1px dashed var(--rose); border-radius: 20px; background: var(--card); box-shadow: 0 9px 28px #2811190b; }
.donate-card p { margin: 15px 0 21px; color: var(--muted); }
.donate-button[disabled] { border-color: var(--line); color: var(--muted); background: var(--paper-deep); cursor: not-allowed; opacity: .8; }
.donate-button[disabled]:hover { transform: none; box-shadow: none; }
.team-aside { margin: 0 0 5px; color: var(--accent); font-family: "Noto Sans Bengali", var(--body); font-size: 1rem; font-weight: 700; }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.team-card { min-width: 0; padding: 10px 10px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); text-align: center; box-shadow: 0 7px 22px #2811190a; transition: transform .2s ease, border-color .2s ease; }
.team-card:hover { transform: translateY(-4px); border-color: var(--rose); }
.team-photo { aspect-ratio: 4 / 4.8; overflow: hidden; border-radius: 11px; background: var(--paper-deep); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card:nth-child(1) .team-photo img { object-position: 50% 30%; }
.team-card:nth-child(2) .team-photo img { object-position: 50% 55%; }
.team-card:nth-child(3) .team-photo img, .team-card:nth-child(4) .team-photo img { object-position: 50% 45%; }
.team-role { display: inline-block; margin: 13px 0 4px; color: var(--accent); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.team-card h3 { margin: 0; font-size: .98rem; font-weight: 800; line-height: 1.25; }
.content-da { width: min(260px, 100%); margin: 25px auto 0; }
.content-da .team-photo img { object-position: 50% 22%; }
.content-da .team-role { padding: 2px 12px; border-radius: 99px; color: var(--on-accent); background: var(--accent); letter-spacing: .04em; }
.footer-gamusa { margin-top: 0; }
.site-footer { position: relative; padding: 47px 30px 38px; text-align: center; color: var(--muted); }
.japi-footer { top: -42px; right: 7%; }
.footer-cta { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-size: 1.12rem; font-weight: 800; text-decoration: none; }
.footer-cta:hover { color: var(--accent-deep); }
.footer-handle { margin: 11px 0 20px; font-size: .91rem; }
.footer-handle a { color: var(--accent); font-weight: 800; text-decoration: none; }
.copyright { margin: 0; padding-top: 17px; border-top: 1px solid var(--line); font-size: .84rem; }

@media (max-width: 1050px) {
  .side-nav { width: 218px; padding-inline: 20px; }
  main, .site-footer, .footer-gamusa { margin-left: 218px; }
  .section-shell { padding-inline: clamp(30px, 5vw, 62px); }
  .hero { gap: 48px; grid-template-columns: minmax(230px, .88fr) minmax(280px, 1.12fr); }
  .photo-note { right: -18px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .highlights-section { padding-top: 48px; padding-bottom: 52px; }
  .highlight-grid { gap: 14px 10px; }
  .highlight-card { flex-basis: 66px; gap: 7px; }
  .highlight-ring { width: 52px; height: 52px; }
  .highlight-name { font-size: .7rem; }
  .side-nav { width: min(82vw, 310px); padding: calc(82px + env(safe-area-inset-top, 0px)) 22px 25px; transform: translateX(-105%); transition: transform .24s ease; box-shadow: 12px 0 32px #12090d00; }
  .side-nav.is-open { transform: translateX(0); box-shadow: 12px 0 32px #12090d25, 0 0 0 100vmax #160d1166; }
  .mobile-header { position: fixed; z-index: 35; inset: 0 0 auto; height: calc(66px + env(safe-area-inset-top, 0px)); display: flex; align-items: center; gap: 13px; padding: calc(8px + env(safe-area-inset-top, 0px)) 16px 8px; color: #fff; background: var(--accent); box-shadow: 0 3px 14px #20101620; }
  .menu-toggle { width: 42px; height: 42px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 0; border-radius: 9px; background: transparent; cursor: pointer; }
  .menu-toggle:hover { background: #ffffff1b; }
  .menu-toggle span { width: 24px; height: 2px; border-radius: 2px; background: #fff; transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .mobile-brand { font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em; }
  .logo { top: calc(9px + env(safe-area-inset-top, 0px)); right: 15px; width: 46px; height: 46px; border: 2px solid #fff; }
  main, .site-footer, .footer-gamusa { margin-left: 0; }
  main { padding-top: calc(66px + env(safe-area-inset-top, 0px)); }
  .section-shell { padding-inline: clamp(22px, 6vw, 42px); }
  .hero { min-height: 0; grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 48px; padding-bottom: 59px; }
  .hero-visual { width: min(74%, 390px); justify-self: start; margin-left: 12px; }
  .hero-photo { max-height: 540px; }
  .photo-note { right: -29px; bottom: 24px; font-size: .73rem; }
  .japi-hero { top: 13px; left: auto; right: 13px; width: 70px; height: 47px; }
  .hero-copy { padding-top: 0; }
  .assamese-title { font-size: clamp(2.6rem, 10vw, 4rem); }
  .hero-footnote { margin-top: 26px; }
  .reels-section, .projects-section, .team-section { padding-top: 66px; padding-bottom: 70px; }
  .section-heading-row { align-items: start; }
  .section-heading-row .japi-section { width: 66px; height: 44px; margin: 20px 0 0; }
  .text-link { align-self: end; margin-top: 6px; font-size: .82rem; }
  .section-lead { margin-top: 13px; margin-bottom: 23px; }
  .reel-grid { gap: 8px; }
  .reel { border-radius: 9px; }
  .reel-play { top: 7px; right: 7px; width: 30px; height: 30px; font-size: .82rem; }
  .reel-caption { bottom: 7px; left: 8px; right: 8px; font-size: .69rem; }
  .project-grid { grid-template-columns: 1fr; gap: 12px; }
  .project-card { min-height: 185px; padding: 22px; }
  .project-card h3 { margin-top: 17px; }
  .donate-section { padding-top: 67px; padding-bottom: 67px; }
  .donate-inner { grid-template-columns: 1fr; gap: 26px; }
  .donate-copy h2 br { display: none; }
  .donate-card { padding: 26px; }
  .team-aside { max-width: 118px; text-align: right; font-size: .83rem; }
  .team-grid { gap: 12px; }
  .team-card { padding: 8px 8px 14px; }
  .team-card h3 { font-size: .91rem; }
  .team-photo { aspect-ratio: 4 / 4.7; }
  .site-footer { padding: 43px 23px 30px; }
  .japi-footer { top: -28px; right: 6%; width: 70px; height: 47px; }
  .footer-gamusa { height: 20px; }
}
@media (max-width: 400px) {
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .section-heading-row { gap: 13px; }
  .section-heading-row .text-link { white-space: normal; text-align: right; }
  .team-grid { gap: 9px; }
  .team-card h3 { font-size: .84rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
