/* Anandam brand system — mirrors anandampune.com (tokens, paad, header, buttons, kicker, footer). */
:root {
  --sindoor:    #A91D2A;
  --sindoor-2:  #8E1722;
  --crimson:    #6F1019;
  --wine:       #4A0A11;
  --zari:       #C9A04D;
  --zari-soft:  #E5C77A;
  --white:      #FFFFFF;
  --cream:      #F5EFE3;
  --hairline:   #EAEAEA;
  --hairline-2: #DDDDDD;
  --ink:        #1A1410;
  --ink-soft:   #2D261F;
  --smoke:      #5E5751;
  --smoke-2:    #968F88;
  --f-sans: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-bangla: 'Tiro Bangla', 'Noto Serif Bengali', 'Kohinoor Bangla', serif;
  --gl: max(16px, env(safe-area-inset-left, 0px));
  --gr: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { background: var(--white); }
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body { font-family: var(--f-sans); color: var(--ink); background: var(--white); line-height: 1.65; font-size: 16px;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; font-weight: 400; }
h1, h2, h3, h4, h5 { font-family: var(--f-sans); color: var(--ink); font-weight: 700; letter-spacing: -.005em; }
.bn { font-family: var(--f-bangla); }
a { color: var(--sindoor); text-decoration: none; transition: color .15s; }
a:hover { color: var(--sindoor-2); }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--zari); outline-offset: 2px; }

/* Paad — the red sari border along the top */
.paad { height: 38px; width: 100%; display: block; background: var(--sindoor); position: relative; overflow: hidden; }
.paad::before, .paad::after { content: ''; position: absolute; left: 0; right: 0; height: 1px; background: var(--zari); box-shadow: 0 2px 0 0 var(--zari); }
.paad::before { top: 2px; }
.paad::after { bottom: 2px; }
.paad-svg { position: absolute; inset: 6px 0; width: 100%; height: calc(100% - 12px); }

/* Header */
header.site-header { background: var(--white); border-bottom: 1px solid var(--hairline); position: relative; z-index: 900; }
header.site-header.sticky { position: sticky; top: 0; }
.nav-wrap { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px max(32px, env(safe-area-inset-right, 0px)) 12px max(32px, env(safe-area-inset-left, 0px)); position: relative; }
.brand { display: flex; align-items: center; gap: 16px; color: inherit; }
.brand:hover { color: inherit; }
.brand .brand-logo { height: 56px; width: auto; }
.brand-text { line-height: 1.2; padding-left: 16px; border-left: 1px solid var(--hairline-2); }
.brand-text .club { font-weight: 800; font-size: 17px; color: var(--ink); letter-spacing: -.005em; }
.brand-text .club em { font-style: italic; font-weight: 700; color: var(--sindoor); }
.brand-text .subtitle { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--smoke); font-weight: 600; margin-top: 3px; }
.brand-text .subtitle-bn { font-family: var(--f-bangla); color: var(--sindoor); font-size: 13px; margin-top: 4px; }
nav.site-nav ul { list-style: none; display: flex; gap: 2px; align-items: center; }
nav.site-nav a.nav-link { padding: 10px 14px; color: var(--ink-soft); font-weight: 500; font-size: 15px; display: inline-block; position: relative; }
nav.site-nav a.nav-link:hover { color: var(--sindoor); }
nav.site-nav a.nav-link.active { color: var(--sindoor); }
nav.site-nav a.nav-link.active::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--sindoor); }
.donate-btn { background: var(--sindoor); color: var(--white) !important; padding: 11px 22px !important; font-weight: 600 !important; font-size: 14px !important;
  margin-left: 12px; border: 1px solid var(--sindoor); transition: all .15s; }
.donate-btn:hover { background: var(--sindoor-2); border-color: var(--sindoor-2); }
.donate-btn::after { display: none !important; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: none; background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px; margin-left: auto; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s ease, opacity .25s ease; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 900px) {
  .nav-wrap { padding-left: var(--gl); padding-right: var(--gr); }
  .brand .brand-logo { height: 46px; }
  .brand { gap: 12px; } .brand-text { padding-left: 12px; }
  .menu-toggle { display: flex; }
  nav.site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid var(--hairline-2);
    box-shadow: 0 12px 32px rgba(20, 12, 8, .08); max-height: 0; overflow: hidden; transition: max-height .3s ease; z-index: 999; }
  nav.site-nav.is-open { max-height: calc(100vh - 80px); overflow-y: auto; }
  nav.site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; }
  nav.site-nav a.nav-link { display: block; font-size: 17px; font-weight: 600; padding: 14px 16px; border-bottom: 1px solid var(--hairline-2); }
  nav.site-nav li:last-child a.nav-link { border-bottom: none; }
  nav.site-nav a.nav-link.active::after { display: none; }
  nav.site-nav a.nav-link.active { background: var(--cream); }
  nav.site-nav .donate-btn { margin-left: 0; margin-top: 12px; text-align: center; padding: 14px 22px !important; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; font-weight: 600; font-size: 15px; cursor: pointer;
  border: 1px solid transparent; transition: all .18s; text-decoration: none; letter-spacing: .005em; font-family: var(--f-sans); }
.btn-primary { background: var(--sindoor); color: var(--white); border-color: var(--sindoor); }
.btn-primary:hover { background: var(--sindoor-2); border-color: var(--sindoor-2); color: var(--white); }
.btn-outline { background: transparent; color: var(--sindoor); border-color: var(--sindoor); }
.btn-outline:hover { background: var(--sindoor); color: var(--white); }
.btn-ghost { background: none; border: 0; color: var(--sindoor); font-weight: 600; display: inline-flex; gap: 6px; cursor: pointer; }
.btn-ghost::after { content: '→'; transition: transform .15s; }
.btn-ghost:hover::after { transform: translateX(4px); }

/* Section heads */
.container { max-width: 1240px; margin: 0 auto; padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
@media (max-width: 760px) { .container { padding-left: var(--gl); padding-right: var(--gr); } }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--sindoor); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; margin-bottom: 22px; }
.section-head h2, h2.big { font-weight: 800; font-size: clamp(36px, 5vw, 64px); line-height: 1.05; letter-spacing: -.005em; text-wrap: balance; }
.section-head h2 em, h2.big em { font-style: italic; font-weight: 600; color: var(--sindoor); }
.lead { color: var(--smoke); font-size: 18px; line-height: 1.65; max-width: 62ch; }

/* Footer */
footer.site-footer { background: var(--white); color: var(--smoke); padding: 80px max(32px, env(safe-area-inset-right, 0px)) calc(36px + env(safe-area-inset-bottom, 0px)) max(32px, env(safe-area-inset-left, 0px)); font-size: 14px; border-top: 1px solid var(--hairline); }
.footer-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid var(--hairline); }
footer.site-footer h5 { color: var(--ink); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 22px; font-weight: 700; }
footer.site-footer ul { list-style: none; }
footer.site-footer li { margin-bottom: 11px; }
footer.site-footer a { color: var(--smoke); }
footer.site-footer a:hover { color: var(--sindoor); }
.footer-brand .footer-logo { height: 88px; width: auto; margin-bottom: 18px; }
.footer-brand .tag-bn { color: var(--sindoor); font-family: var(--f-bangla); font-size: 18px; margin-bottom: 18px; }
.footer-brand p { font-size: 14px; line-height: 1.75; color: var(--smoke); }
.social-row { display: flex; gap: 8px; margin-top: 22px; }
.social-row a { width: 38px; height: 38px; border: 1px solid var(--hairline-2); display: grid; place-items: center; color: var(--ink-soft); transition: all .15s; }
.social-row a:hover { background: var(--sindoor); color: var(--white); border-color: var(--sindoor); }
.footer-bottom { max-width: 1240px; margin: 28px auto 0; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 12.5px; color: var(--smoke-2); }
.footer-bottom .bn { color: var(--sindoor); font-size: 15px; }
@media (max-width: 760px) {
  footer.site-footer { padding-top: 56px; padding-left: var(--gl); padding-right: var(--gr); }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .footer-brand .footer-logo { margin-left: auto; margin-right: auto; }
  .social-row { justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
}
