/* ==========================================================================
   Sri Krishna Janmashtami 2026 — Nandgram Dham
   "Midnight & Gold" — Krishna appears at the midnight hour, so the page is a
   deep midnight canvas lit with gold leaf. Restrained, editorial, luxurious.
   ========================================================================== */

/* Display serif is Cormorant Garamond, loaded from Google Fonts as a
   unicode-range-subsetted woff2 (~40KB total). The brand's Kazimir ships only as
   unhinted TTF at ~600KB per weight, which is far too heavy for a page whose
   whole job is to load fast on a phone. */

:root {
    --ink:        #080B18;
    --ink-1:      #0C1124;
    --ink-2:      #121A38;
    --ink-3:      #18224A;
    --gold:       #C9A227;
    --gold-lt:    #E3C86E;
    --gold-br:    #F6E7B4;
    --gold-deep:  #8C6D14;
    --cream:      #FAF5EA;
    --cream-2:    #F3EAD6;
    --cream-3:    #E7DABE;
    --paper-ink:  #1B1608;
    --paper-dim:  #5C5340;
    --on-dark:    #F3EEE1;
    --on-dark-dim: rgba(243, 238, 225, .70);
    --on-dark-fade: rgba(243, 238, 225, .56);
    --hair-gold:  rgba(201, 162, 39, .34);
    --shadow-lg:  0 30px 70px -30px rgba(0, 0, 0, .65);

    --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --deva: 'Tiro Devanagari Sanskrit', 'Noto Serif Devanagari', var(--serif);

    --wrap: 1240px;
    --r: 4px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--ink);
    color: var(--on-dark);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

/* Cormorant has a small x-height and light strokes, so headings sit a weight
   heavier and a touch larger than they would in a workhorse serif. */
h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 600;
    margin: 0;
    line-height: 1.12;
    letter-spacing: -.005em;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; }

/* ---------- shared type primitives ---------------------------------------- */

.eyebrow {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--gold-lt);
    margin: 0 0 20px;
    display: block;
}
.on-paper .eyebrow { color: var(--gold-deep); }

.h-display { font-size: clamp(2.15rem, 4.7vw, 3.7rem); }
.h-section { font-size: clamp(1.9rem, 3.7vw, 3rem); }

.gold-text {
    background: linear-gradient(100deg, var(--gold) 0%, var(--gold-br) 42%, var(--gold-lt) 72%, var(--gold) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}

.lede {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--on-dark-dim);
    max-width: 62ch;
}
.on-paper .lede { color: var(--paper-dim); }

/* Hairline rule with a centred lozenge. */
.rule {
    display: flex; align-items: center; gap: 14px;
    margin: 26px 0 34px;
}
.rule::before, .rule::after {
    content: ''; height: 1px; flex: 1;
    background: linear-gradient(90deg, transparent, var(--hair-gold), transparent);
}
.rule i {
    width: 7px; height: 7px; flex: none;
    background: var(--gold); transform: rotate(45deg);
}
.rule.rule-left::before { display: none; }
.rule.rule-left { justify-content: flex-start; }
.rule.rule-left::after { max-width: 180px; }

section { position: relative; }

.on-dark  { background: var(--ink);   color: var(--on-dark); }
.on-dark-1{ background: var(--ink-1); color: var(--on-dark); }
.on-paper { background: var(--cream); color: var(--paper-ink); }
.on-paper h1, .on-paper h2, .on-paper h3, .on-paper h4 { color: var(--paper-ink); }

.pad   { padding: clamp(64px, 9vw, 120px) 0; }
.pad-s { padding: clamp(48px, 6vw, 80px) 0; }

/* Faint gold vignette to keep large dark blocks from going flat. */
.glow-top::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(120% 62% at 50% 0%, rgba(201, 162, 39, .13), transparent 62%);
}

/* ---------- buttons ------------------------------------------------------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--sans);
    font-size: 12px; font-weight: 600;
    letter-spacing: .17em; text-transform: uppercase;
    padding: 17px 34px;
    border: 0; border-radius: var(--r);
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
    text-align: center;
}
.btn svg { width: 15px; height: 15px; flex: none; }

.btn-gold {
    background: linear-gradient(140deg, var(--gold-br) 0%, var(--gold-lt) 34%, var(--gold) 100%);
    color: #2A1F00;
    box-shadow: 0 12px 30px -14px rgba(201, 162, 39, .8);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -16px rgba(201, 162, 39, .92); }

.btn-ghost {
    background: transparent; color: var(--on-dark);
    border: 1px solid rgba(243, 238, 225, .32);
}
.btn-ghost:hover { border-color: var(--gold-lt); color: var(--gold-br); }

.btn-outline-ink {
    background: transparent; color: var(--paper-ink);
    border: 1px solid rgba(27, 22, 8, .28);
}
.btn-outline-ink:hover { background: var(--paper-ink); color: var(--cream); }

.btn-block { width: 100%; }

/* ---------- header -------------------------------------------------------- */

.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 90;
    padding: 16px 0;
    transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease, padding .3s ease;
    border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
    background: rgba(8, 11, 24, .9);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom-color: var(--hair-gold);
    padding: 10px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header-logo img { height: 46px; width: auto; transition: height .3s ease; }
.site-header.is-stuck .header-logo img { height: 38px; }

.header-meta {
    display: flex; align-items: center; gap: 10px;
    font-size: 11px; font-weight: 500;
    letter-spacing: .2em; text-transform: uppercase;
    color: var(--gold-lt);
}
.header-meta i { width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); flex: none; }
.header-cta { padding: 13px 26px; font-size: 11px; }

/* ---------- hero ---------------------------------------------------------- */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh; /* avoids the mobile URL-bar jump where supported */
    display: flex; align-items: center;
    padding: 130px 0 70px;
    overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 11, 24, .90) 0%, rgba(8, 11, 24, .58) 34%, rgba(8, 11, 24, .80) 72%, var(--ink) 100%),
        radial-gradient(76% 58% at 50% 42%, rgba(8, 11, 24, .20), rgba(8, 11, 24, .78));
}
.hero-inner { position: relative; z-index: 2; width: 100%; text-align: center; }

.hero-crest {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 9px 20px;
    border: 1px solid var(--hair-gold);
    border-radius: 100px;
    background: rgba(8, 11, 24, .42);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    font-size: 10.5px; font-weight: 500;
    letter-spacing: .28em; text-transform: uppercase;
    color: var(--gold-lt);
    margin-bottom: 30px;
}
.hero-crest i { width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }

.hero h1 {
    font-size: clamp(2.7rem, 8vw, 6.25rem);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -.012em;
    margin: 0 0 8px;
    text-shadow: 0 4px 40px rgba(0, 0, 0, .6);
}
.hero h1 .yr { display: block; font-size: .92em; }

.hero-deva {
    font-family: var(--deva);
    font-size: clamp(1rem, 2.1vw, 1.45rem);
    color: var(--gold-br);
    line-height: 1.8;
    margin: 22px auto 0;
    max-width: 30ch;
    opacity: .92;
}
.hero-when {
    display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 8px 16px;
    font-family: var(--sans);
    font-size: 12.5px; font-weight: 500;
    letter-spacing: .22em; text-transform: uppercase;
    color: var(--on-dark);
    margin: 30px 0 0;
}
.hero-when b { color: var(--gold-br); font-weight: 600; }
.hero-when span.sep { color: var(--gold); }

.hero-sub {
    font-size: 1.0625rem; line-height: 1.85;
    color: var(--on-dark-dim);
    max-width: 60ch; margin: 26px auto 0;
}
.hero-actions {
    display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
    margin-top: 38px;
}

/* countdown */
.countdown { display: flex; justify-content: center; gap: 10px; margin: 40px 0 0; }
.cd-cell {
    min-width: 82px; padding: 14px 10px 11px;
    border: 1px solid var(--hair-gold);
    border-radius: var(--r);
    background: rgba(8, 11, 24, .5);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    text-align: center;
}
.cd-cell b {
    display: block;
    font-family: var(--serif); font-weight: 600;
    font-size: clamp(1.6rem, 3.3vw, 2.3rem);
    line-height: 1; color: var(--gold-br);
    font-variant-numeric: tabular-nums;
}
.cd-cell span {
    display: block; margin-top: 7px;
    font-size: 9px; font-weight: 500;
    letter-spacing: .2em; text-transform: uppercase;
    color: var(--on-dark-fade);
}
.countdown.is-over { display: none; }

/* ---------- assurance strip ---------------------------------------------- */

.assure {
    border-top: 1px solid var(--hair-gold);
    border-bottom: 1px solid var(--hair-gold);
    background: var(--ink-1);
}
.assure-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    text-align: center;
}
.assure-grid > div {
    padding: 26px 18px;
    border-left: 1px solid rgba(201, 162, 39, .16);
}
.assure-grid > div:first-child { border-left: 0; }
.assure-grid svg { width: 20px; height: 20px; color: var(--gold-lt); margin: 0 auto 12px; display: block; }
.assure-grid p {
    margin: 0; font-size: 11px; font-weight: 500;
    letter-spacing: .16em; text-transform: uppercase;
    color: var(--on-dark-dim); line-height: 1.6;
}

/* ---------- invitation --------------------------------------------------- */

.invite-grid {
    display: grid; grid-template-columns: 1.05fr .95fr;
    gap: clamp(40px, 6vw, 84px); align-items: center;
}
/* z-index:0 makes this a stacking context so the offset gold frame below sits
   behind the photo but still in front of the section background. */
.invite-figure { position: relative; z-index: 0; }
.invite-figure img {
    position: relative; z-index: 1;
    border-radius: var(--r); box-shadow: var(--shadow-lg);
}
.invite-figure::after {
    content: ''; position: absolute; z-index: 0;
    inset: 16px -16px -16px 16px;
    border: 1px solid var(--hair-gold);
    border-radius: var(--r);
}
.invite-body p { margin: 0 0 20px; color: var(--on-dark-dim); line-height: 1.9; }
.invite-body p:last-child { margin-bottom: 0; }
.invite-body p strong { color: var(--on-dark); font-weight: 500; }

.verse-inline {
    margin: 30px 0;
    padding: 22px 26px;
    border-left: 2px solid var(--gold);
    background: linear-gradient(90deg, rgba(201, 162, 39, .09), transparent);
}
.verse-inline q {
    display: block; quotes: none;
    font-family: var(--deva); font-size: 1.05rem;
    color: var(--gold-br); line-height: 1.9;
}
.verse-inline cite {
    display: block; margin-top: 12px;
    font-family: var(--sans); font-style: normal;
    font-size: 10.5px; font-weight: 500;
    letter-spacing: .2em; text-transform: uppercase;
    color: var(--on-dark-fade);
}
.verse-inline em {
    display: block; margin-top: 12px;
    font-style: italic; color: var(--on-dark-dim);
    font-size: .96rem; line-height: 1.8;
}

/* ---------- seva grid ---------------------------------------------------- */

.section-head { text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .lede { margin-left: auto; margin-right: auto; }
.section-head.is-left { text-align: left; }
.section-head.is-left .lede { margin-left: 0; }

.seva-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 26px;
}

.seva-card {
    position: relative;
    display: flex; flex-direction: column;
    background: #fff;
    border: 1px solid var(--cream-3);
    border-radius: var(--r);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.seva-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 26px 50px -28px rgba(27, 22, 8, .42);
}
.seva-figure { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-2); }
.seva-figure img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}
.seva-card:hover .seva-figure img { transform: scale(1.055); }

.seva-rank {
    position: absolute; top: 0; left: 0;
    padding: 7px 14px 7px 12px;
    background: linear-gradient(120deg, var(--gold) 0%, var(--gold-lt) 100%);
    color: #2A1F00;
    font-size: 9.5px; font-weight: 700;
    letter-spacing: .19em; text-transform: uppercase;
}

.seva-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.seva-body h3 { font-size: 1.42rem; font-weight: 600; margin-bottom: 4px; }
.seva-deva {
    font-family: var(--deva);
    font-size: .9rem; color: var(--gold-deep);
    margin: 0 0 12px; line-height: 1.6;
}
.seva-desc {
    margin: 0 0 20px; font-size: .935rem; line-height: 1.75;
    color: var(--paper-dim); flex: 1;
}
.seva-foot {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 16px; padding-top: 18px;
    border-top: 1px solid var(--cream-2);
}
.seva-amt {
    font-family: var(--serif); font-weight: 700;
    font-size: 1.78rem; line-height: 1;
    color: var(--paper-ink); font-variant-numeric: tabular-nums;
}
.seva-amt small {
    display: block; margin-top: 6px;
    font-family: var(--sans); font-size: 9.5px; font-weight: 500;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--gold-deep);
}
.seva-btn {
    flex: none; padding: 13px 22px; font-size: 10.5px;
    letter-spacing: .16em;
    background: var(--paper-ink); color: var(--cream);
    border: 0; border-radius: var(--r);
    font-weight: 600; text-transform: uppercase;
    transition: background .22s ease, color .22s ease;
}
.seva-btn:hover { background: var(--gold); color: #2A1F00; }

.seva-note {
    margin: clamp(36px, 4vw, 52px) auto 0;
    max-width: 720px; text-align: center;
    font-size: .93rem; line-height: 1.8; color: var(--paper-dim);
    padding-top: 28px; border-top: 1px solid var(--cream-3);
}
.seva-note a { color: var(--gold-deep); border-bottom: 1px solid rgba(140, 109, 20, .4); }

/* ---------- glimpses / video --------------------------------------------- */

.video-frame {
    position: relative;
    max-width: 940px; margin: 0 auto;
    border: 1px solid var(--hair-gold);
    border-radius: var(--r);
    padding: 10px;
    background: rgba(201, 162, 39, .05);
}
.video-shell {
    position: relative; aspect-ratio: 16 / 9;
    border-radius: 2px; overflow: hidden; background: #000;
}
.video-shell iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-poster {
    position: absolute; inset: 0; width: 100%; height: 100%;
    border: 0; padding: 0; cursor: pointer;
    background: #000 center/cover no-repeat;
}
.video-poster::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(8, 11, 24, .3), rgba(8, 11, 24, .62));
    transition: background .3s ease;
}
.video-poster:hover::after { background: linear-gradient(180deg, rgba(8, 11, 24, .16), rgba(8, 11, 24, .5)); }
.video-play {
    position: absolute; inset: 0; z-index: 2;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
    pointer-events: none;
}
.video-play span.ring {
    width: 76px; height: 76px; border-radius: 50%;
    border: 1px solid var(--gold-lt);
    background: rgba(8, 11, 24, .5);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    transition: transform .3s ease, background .3s ease;
}
.video-play span.ring svg { width: 22px; height: 22px; margin-left: 4px; color: var(--gold-br); }
.video-poster:hover .video-play span.ring { transform: scale(1.08); background: rgba(201, 162, 39, .22); }
.video-play span.cap {
    font-size: 10.5px; font-weight: 500; letter-spacing: .24em;
    text-transform: uppercase; color: var(--on-dark);
}

.gallery {
    display: grid; grid-template-columns: repeat(6, 1fr);
    gap: 12px; margin-top: 40px;
}
.gallery img {
    width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
    border-radius: 2px; opacity: .78;
    transition: opacity .3s ease, transform .3s ease;
}
.gallery img:hover { opacity: 1; transform: scale(1.03); }

/* ---------- gift cards --------------------------------------------------- */

.gift-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.gift-card {
    position: relative; overflow: hidden;
    border-radius: var(--r);
    background: var(--ink-1);
    border: 1px solid var(--cream-3);
}
.gift-figure { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.gift-figure img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}
.gift-card:hover .gift-figure img { transform: scale(1.06); }
.gift-figure::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(8, 11, 24, 0) 34%, rgba(8, 11, 24, .82) 100%);
}
.gift-num {
    position: absolute; top: 18px; left: 20px; z-index: 2;
    font-family: var(--serif); font-size: 1.15rem; font-weight: 600;
    color: var(--gold-br);
    width: 38px; height: 38px; border-radius: 50%;
    border: 1px solid var(--hair-gold);
    background: rgba(8, 11, 24, .5);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
}
.gift-text { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding: 24px; }
.gift-text h3 { font-size: 1.4rem; color: var(--cream); margin-bottom: 8px; }
.gift-text p { margin: 0; font-size: .9rem; line-height: 1.7; color: var(--on-dark-dim); }

/* ---------- payment ------------------------------------------------------- */

.pay-grid { display: grid; grid-template-columns: 320px 1fr; gap: 26px; align-items: stretch; }

.pay-panel {
    border: 1px solid var(--hair-gold);
    border-radius: var(--r);
    background: var(--ink-1);
    padding: 32px;
}
.pay-panel h3 {
    font-size: 1.28rem; margin-bottom: 4px;
    display: flex; align-items: center; gap: 11px;
}
.pay-panel h3 svg { width: 17px; height: 17px; color: var(--gold-lt); flex: none; }
.pay-panel .pay-hint {
    font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
    color: var(--on-dark-fade); margin: 0 0 24px;
}

.qr-plate {
    background: #fff; padding: 12px; border-radius: 2px;
    width: 100%; max-width: 214px; margin: 0 auto 18px;
}
.qr-plate img { width: 100%; height: auto; }

.copy-row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 13px 15px;
    border: 1px solid rgba(201, 162, 39, .22);
    border-radius: var(--r);
    background: rgba(201, 162, 39, .05);
    margin-bottom: 10px;
}
.copy-row:last-child { margin-bottom: 0; }
.copy-row .cr-label {
    font-size: 9.5px; font-weight: 500; letter-spacing: .19em;
    text-transform: uppercase; color: var(--on-dark-fade);
    margin-bottom: 4px;
}
.copy-row .cr-value {
    font-size: .95rem; color: var(--on-dark); word-break: break-word;
    font-weight: 400;
}
.copy-row .cr-value.is-mono { font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.copy-btn {
    flex: none; width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(201, 162, 39, .3);
    border-radius: var(--r);
    background: transparent; color: var(--gold-lt);
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.copy-btn svg { width: 14px; height: 14px; }
.copy-btn:hover { background: var(--gold); border-color: var(--gold); color: #2A1F00; }
.copy-btn.is-done { background: #1F7A4C; border-color: #1F7A4C; color: #fff; }

.bank-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.pay-foot {
    margin-top: 24px; padding-top: 22px;
    border-top: 1px solid rgba(201, 162, 39, .18);
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px;
}
.pay-contact {
    display: inline-flex; align-items: center; gap: 9px;
    font-size: .92rem; color: var(--on-dark-dim);
}
.pay-contact svg { width: 16px; height: 16px; color: var(--gold-lt); flex: none; }
.pay-contact a:hover { color: var(--gold-br); }

.screenshot-note {
    margin-top: 22px; padding: 15px 18px;
    border: 1px dashed rgba(201, 162, 39, .34);
    border-radius: var(--r);
    font-size: .9rem; line-height: 1.7; color: var(--on-dark-dim);
    text-align: center;
}
.screenshot-note a { color: var(--gold-br); font-weight: 500; }

.pay-marks { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 22px; }
.pay-marks span {
    font-size: 10px; font-weight: 600; letter-spacing: .16em;
    text-transform: uppercase; color: var(--on-dark-fade);
    padding: 7px 13px; border: 1px solid rgba(243, 238, 225, .16);
    border-radius: 100px;
}

/* ---------- charitable activities ---------------------------------------- */

.charity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.charity-card {
    border: 1px solid var(--cream-3);
    border-radius: var(--r);
    background: #fff; overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}
.charity-card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -26px rgba(27, 22, 8, .38); }
.charity-card figure { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; }
.charity-card img { width: 100%; height: 100%; object-fit: cover; }
.charity-card div { padding: 22px 24px 26px; }
.charity-card h3 { font-size: 1.26rem; font-weight: 600; margin-bottom: 9px; }
.charity-card p { margin: 0; font-size: .91rem; line-height: 1.75; color: var(--paper-dim); }

/* ---------- seva importance / quotes ------------------------------------- */

.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.quote-card {
    border: 1px solid var(--hair-gold);
    border-radius: var(--r);
    background: var(--ink-1);
    overflow: hidden;
    display: flex; flex-direction: column;
}
.quote-figure { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.quote-figure img { width: 100%; height: 100%; object-fit: cover; }
.quote-figure::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(8, 11, 24, .12) 0%, rgba(12, 17, 36, .95) 100%);
}
.quote-deva {
    position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px;
    font-family: var(--deva);
    font-size: 1rem; line-height: 1.85;
    color: var(--gold-br); text-align: center;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .7);
}
.quote-body { padding: 26px 28px 30px; flex: 1; display: flex; flex-direction: column; }
.quote-ref {
    font-size: 10.5px; font-weight: 600; letter-spacing: .2em;
    text-transform: uppercase; color: var(--gold-lt);
    margin: 0 0 14px;
}
.quote-body p {
    margin: 0; font-size: 1rem; line-height: 1.85;
    color: var(--on-dark-dim); font-style: italic;
}

/* ---------- closing CTA -------------------------------------------------- */

.cta-band {
    background: linear-gradient(120deg, var(--gold-deep) 0%, var(--gold) 44%, var(--gold-lt) 100%);
    color: #241A00;
}
.cta-inner {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 30px;
}
.cta-inner h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); color: #241A00; max-width: 20ch; }
.cta-inner p {
    margin: 12px 0 0; font-size: 1rem;
    color: rgba(36, 26, 0, .78); max-width: 42ch;
}
.btn-ink { background: #16110A; color: var(--gold-br); }
.btn-ink:hover { transform: translateY(-2px); background: #000; }

/* ---------- footer ------------------------------------------------------- */

.site-footer { background: var(--ink); border-top: 1px solid var(--hair-gold); padding: 64px 0 30px; }
.footer-top {
    display: flex; flex-wrap: wrap; align-items: flex-start;
    justify-content: space-between; gap: 38px;
    padding-bottom: 38px; border-bottom: 1px solid rgba(201, 162, 39, .16);
}
.footer-brand img { height: 52px; width: auto; margin-bottom: 18px; }
.footer-brand p { margin: 0; font-size: .92rem; line-height: 1.8; color: var(--on-dark-fade); max-width: 40ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 44px; }
.footer-col h4 {
    font-family: var(--sans); font-size: 10.5px; font-weight: 600;
    letter-spacing: .2em; text-transform: uppercase;
    color: var(--gold-lt); margin-bottom: 16px;
}
.footer-col a, .footer-col p {
    display: block; margin: 0 0 10px;
    font-size: .93rem; color: var(--on-dark-dim);
    transition: color .2s ease;
}
.footer-col a:hover { color: var(--gold-br); }
.footer-social { display: flex; gap: 12px; margin-top: 4px; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 50%;
    border: 1px solid rgba(243, 238, 225, .18);
    display: flex; align-items: center; justify-content: center;
    transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.footer-social svg { width: 16px; height: 16px; }
.footer-social a:hover { border-color: var(--gold-lt); color: var(--gold-br); transform: translateY(-2px); }
.footer-bottom {
    padding-top: 26px;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
    font-size: .86rem; color: var(--on-dark-fade);
}
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom a:hover { color: var(--gold-br); }

/* ---------- donation modal ---------------------------------------------- */

.modal {
    position: fixed; inset: 0; z-index: 200;
    display: none; align-items: flex-start; justify-content: center;
    padding: 24px;
    background: rgba(4, 6, 14, .8);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    overflow-y: auto;
}
.modal.is-open { display: flex; }
body.is-locked { overflow: hidden; }

.modal-card {
    position: relative;
    width: 100%; max-width: 560px;
    margin: auto;
    background: var(--cream);
    color: var(--paper-ink);
    border-radius: var(--r);
    border-top: 3px solid var(--gold);
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8);
    animation: rise .34s cubic-bezier(.2, .8, .2, 1);
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.modal-close {
    position: absolute; top: 14px; right: 14px;
    width: 34px; height: 34px; border-radius: 50%;
    border: 1px solid rgba(27, 22, 8, .16);
    background: transparent; color: var(--paper-dim);
    display: flex; align-items: center; justify-content: center;
    transition: background .2s ease, color .2s ease;
    z-index: 3;
}
.modal-close:hover { background: var(--paper-ink); color: var(--cream); }
.modal-close svg { width: 14px; height: 14px; }

.modal-head {
    padding: 30px 32px 22px;
    border-bottom: 1px solid var(--cream-3);
    background: linear-gradient(180deg, rgba(201, 162, 39, .1), transparent);
}
.modal-head .eyebrow { margin-bottom: 12px; color: var(--gold-deep); }
.modal-head h3 { font-size: 1.7rem; font-weight: 600; margin-bottom: 14px; padding-right: 34px; }
.modal-amount {
    display: flex; align-items: baseline; gap: 12px;
    padding-top: 14px; border-top: 1px dashed var(--cream-3);
}
.modal-amount b {
    font-family: var(--serif); font-size: 2.25rem; font-weight: 700;
    line-height: 1; font-variant-numeric: tabular-nums;
}
.modal-amount span {
    font-size: 10px; font-weight: 600; letter-spacing: .18em;
    text-transform: uppercase; color: var(--gold-deep);
}

.modal-body { padding: 26px 32px 32px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label {
    display: block; margin-bottom: 7px;
    font-size: 9.5px; font-weight: 600;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--paper-dim);
}
.field label em { font-style: normal; text-transform: none; letter-spacing: 0; opacity: .7; }
.field input, .field textarea {
    width: 100%; padding: 12px 14px;
    font-family: var(--sans); font-size: .95rem; color: var(--paper-ink);
    background: #fff;
    border: 1px solid var(--cream-3); border-radius: var(--r);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 68px; }
.field input:focus, .field textarea:focus {
    outline: 0; border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, .16);
}
.field input.has-error, .field textarea.has-error { border-color: #C0392B; }
.field-msg { margin-top: 6px; font-size: .8rem; color: #C0392B; min-height: 1px; }
.field-msg.is-ok { color: #1F7A4C; }

.check {
    display: flex; gap: 11px; align-items: flex-start;
    margin: 6px 0 20px;
    font-size: .875rem; line-height: 1.65; color: var(--paper-dim);
}
.check input { margin: 3px 0 0; width: 15px; height: 15px; flex: none; accent-color: var(--gold-deep); }
.check b { color: var(--paper-ink); font-weight: 600; }

.modal-secure {
    display: flex; align-items: center; justify-content: center; gap: 9px;
    margin-top: 16px; font-size: .78rem; color: var(--paper-dim);
}
.modal-secure svg { width: 13px; height: 13px; }

/* toast */
.toast {
    position: fixed; z-index: 300;
    left: 50%; bottom: 30px; transform: translate(-50%, 20px);
    padding: 13px 24px;
    background: var(--ink-2); color: var(--on-dark);
    border: 1px solid var(--hair-gold); border-radius: 100px;
    font-size: .875rem;
    opacity: 0; pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
}
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
    * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- responsive --------------------------------------------------- */

@media (max-width: 1080px) {
    .invite-grid { grid-template-columns: 1fr; gap: 44px; }
    .invite-figure { order: -1; max-width: 620px; }
    .invite-figure::after { display: none; }
    .pay-grid { grid-template-columns: 1fr; }
    .quote-grid { grid-template-columns: 1fr; }
    .charity-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .gift-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .assure-grid { grid-template-columns: repeat(2, 1fr); }
    .assure-grid > div:nth-child(3) { border-left: 0; }
    .assure-grid > div:nth-child(-n+2) { border-bottom: 1px solid rgba(201, 162, 39, .16); }
    .gallery { grid-template-columns: repeat(3, 1fr); }
    .header-meta { display: none; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .cta-inner h2, .cta-inner p { max-width: none; }
    .footer-links { gap: 30px; }
}

@media (max-width: 620px) {
    body { font-size: 15.5px; }
    .wrap { padding: 0 18px; }
    .hero { min-height: auto; padding: 120px 0 60px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .countdown { gap: 7px; }
    .cd-cell { min-width: 0; flex: 1; padding: 12px 4px 9px; }
    .cd-cell span { font-size: 8px; letter-spacing: .12em; }
    .header-cta { padding: 11px 18px; font-size: 10px; letter-spacing: .12em; }
    .header-logo img { height: 38px; }
    .charity-grid { grid-template-columns: 1fr; }
    .bank-cols { grid-template-columns: 1fr; }
    .pay-panel { padding: 24px 20px; }
    .field-row { grid-template-columns: 1fr; gap: 0; }
    .modal { padding: 12px; }
    .modal-head { padding: 26px 22px 20px; }
    .modal-body { padding: 22px 22px 26px; }
    .seva-foot { flex-direction: column; align-items: stretch; gap: 16px; }
    .seva-btn { width: 100%; }
    .footer-top { flex-direction: column; }
}
