@font-face { font-family: 'Montserrat'; src: url('/fonts/montserrat.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --navy: #104a76; --navy-2: #0c3a5e; --navy-3: #082b47; --gold: #fbb317; --gold-2: #f6a800; --red: #c8202f; --red-2: #a91826;
  --green: #4e8b37; --green-2: #75b244; --ink: #1b2430; --ink-2: #5a6473; --line: #e4e7ee; --bg: #f2f2f6; --card: #ffffff;
  --r: 26px; --wrap: 1072px; --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; color: var(--navy); letter-spacing: -0.02em; line-height: 1.12; }
p { margin: 0; }
.ic { width: 1.1em; height: 1.1em; flex: none; }
.ic-pic { object-fit: contain; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip-link:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

/* Buttons */
.b-gold, .b-glass, .b-navy, .b-red, .b-line { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 15.5px; border: 0; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s; white-space: nowrap; }
.b-gold { background: var(--gold); color: var(--navy-3); box-shadow: 0 10px 24px rgba(251, 179, 23, .35); }
.b-glass { background: rgba(255, 255, 255, .14); color: #fff; border: 1.5px solid rgba(255, 255, 255, .4); backdrop-filter: blur(6px); }
.b-navy { background: var(--navy); color: #fff; }
.b-red { background: var(--red); color: #fff; }
.b-line { background: #fff; color: var(--navy); border: 1.5px solid var(--navy); }
.b-gold:hover, .b-glass:hover, .b-navy:hover, .b-red:hover, .b-line:hover { transform: translateY(-2px); }
.b-navy:hover { box-shadow: 0 10px 22px rgba(16, 74, 118, .3); }
.b-red:hover { box-shadow: 0 10px 22px rgba(200, 32, 47, .3); }
.b-glass:hover { background: rgba(255, 255, 255, .24); }
.sm { min-height: 40px; padding: 0 20px; font-size: 14.5px; }
.arrow::after { content: ''; width: 7px; height: 7px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); margin-left: 2px; }
.b-gold .ic, .b-glass .ic, .b-red .ic { width: 17px; height: 17px; }
.b-glass .ic, .b-red .ic { fill: currentColor; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid var(--line); }
.top-in { max-width: var(--wrap); margin: 0 auto; height: 72px; display: flex; align-items: center; gap: 28px; padding: 0 20px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { width: 44px; height: auto; }
.brand span { display: flex; flex-direction: column; line-height: 1.05; }
.brand b { font-size: 19px; font-weight: 800; color: var(--navy); text-transform: uppercase; letter-spacing: .01em; }
.brand small { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); font-weight: 500; margin-top: 3px; }
.top nav { display: flex; gap: 28px; }
.top nav a { font-weight: 600; font-size: 15px; color: var(--navy); position: relative; padding: 6px 0; }
.top nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s var(--ease); }
.top nav a:hover::after { transform: scaleX(1); }
.top .b-red .ic { fill: currentColor; }

main { max-width: var(--wrap); margin: 0 auto; padding: 24px 20px 72px; display: flex; flex-direction: column; gap: 0; }
.blk { position: relative; }
.blk + .blk { margin-top: 18px; }
.blk[data-type="about"], .blk[data-type="vote"], .blk[data-type="events"], .blk[data-type="donate"] { margin-top: 72px; }
.blk[data-type="quick"] { margin-top: 22px; }
.blk[data-type="values"] { margin-top: 18px; }
.blk[data-type="hero"] { margin-top: 0; }

/* Hero */
.hero { position: relative; border-radius: 30px; background: linear-gradient(180deg, #123b5f 0%, #0f4c7c 60%, #165d8e 100%); color: #fff; overflow: visible; padding-bottom: 34px; }
.hero-sky { position: absolute; inset: 0; border-radius: 30px; overflow: hidden; pointer-events: none; }
.stars { position: absolute; inset: 0; background-image: radial-gradient(1.6px 1.6px at 20px 30px, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 140px 90px, #fff 50%, transparent 51%), radial-gradient(1.4px 1.4px at 260px 40px, #fff 50%, transparent 51%), radial-gradient(1px 1px at 320px 150px, #fff 50%, transparent 51%), radial-gradient(1.3px 1.3px at 80px 200px, #fff 50%, transparent 51%); background-size: 380px 260px; opacity: .7; animation: twinkle 5s ease-in-out infinite; }
.stars.s2 { background-size: 520px 340px; background-position: 140px 60px; opacity: .45; animation-delay: -2.5s; animation-duration: 7s; }
@keyframes twinkle { 0%, 100% { opacity: .75; } 50% { opacity: .3; } }
.hills { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 42%; }
.hills .m1 { fill: rgba(122, 170, 214, .28); }
.hills .m2 { fill: #3e7f4d; opacity: .9; }
.hero-in { position: relative; display: grid; grid-template-columns: 1fr 340px; align-items: center; gap: 56px; padding: 56px 56px 96px; }
.badge { display: inline-flex; align-items: center; gap: 12px; padding: 7px 18px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); font-size: 13.5px; }
.badge-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.badge-dot .ic { width: 13px; height: 13px; fill: #fff; stroke: #fff; }
.badge b { color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; font-weight: 800; }
.hero h1 { color: #fff; font-size: clamp(36px, 5vw, 56px); font-weight: 800; line-height: 1.04; margin: 26px 0 20px; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--gold); display: block; }
.hero .lead { font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .88); max-width: 560px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.logo-card { position: relative; justify-self: end; width: min(340px, 100%); aspect-ratio: 1 / 1.02; background: #fff; border-radius: 28px; display: grid; place-items: center; padding: 22px; box-shadow: 0 30px 60px rgba(4, 22, 40, .35); animation: float 6s ease-in-out infinite; }
.logo-card img { width: 100%; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-.4deg); } 50% { transform: translateY(-10px) rotate(.4deg); } }
.bow { position: absolute; top: -14px; left: 50%; width: 56px; margin-left: -28px; fill: var(--red); stroke: var(--red-2); stroke-width: 1; }
.strip { position: absolute; left: 24px; right: 24px; bottom: -24px; display: flex; align-items: center; gap: 16px; background: #fff; color: var(--ink-2); padding: 10px 10px 10px 26px; border-radius: 999px; box-shadow: 0 14px 34px rgba(16, 74, 118, .16); font-size: 16px; }
.strip p { flex: 1; }
.strip b { color: var(--navy); font-weight: 700; }

/* Quick links */
.quick { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; padding-top: 24px; }
.quick.n1 { grid-template-columns: 1fr; } .quick.n2 { grid-template-columns: 1fr 1fr; } .quick.n4 { grid-template-columns: repeat(4, 1fr); }
.q { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; min-height: 92px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 20px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.q:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(16, 74, 118, .1); }
.q-ic .ic { width: 24px; height: 24px; color: var(--red); }
.q:nth-child(3) .q-ic .ic, .q .q-ic .ic[data-fill] { fill: var(--red); }
.q-t { display: flex; flex-direction: column; }
.q-t b { font-weight: 700; color: var(--ink); font-size: 15.5px; }
.q-t small { font-size: 13px; color: var(--ink-2); }
.q.dark { flex-direction: row; justify-content: flex-start; text-align: left; gap: 16px; background: var(--navy); border-color: var(--navy); color: #fff; padding: 18px 22px; }
.q.dark .q-ic { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: grid; place-items: center; }
.q.dark .q-ic .ic { color: var(--gold); fill: var(--gold); width: 18px; }
.q.dark .q-t { flex: 1; }
.q.dark .q-t b { color: #fff; font-size: 16.5px; }
.q.dark .q-t small { color: rgba(255, 255, 255, .75); }
.q-go { color: rgba(255, 255, 255, .7); }

/* Cards and headings */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; font-weight: 700; margin-bottom: 10px; }
.eyebrow.red { color: var(--red); } .eyebrow.green { color: var(--green); } .eyebrow.gold { color: var(--gold); } .eyebrow.navy { color: var(--navy); }
h2 { font-size: clamp(30px, 3.6vw, 40px); font-weight: 800; }
.body { font-size: 17px; line-height: 1.65; color: var(--ink-2); font-weight: 400; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 30px; }
.sec-head > div { max-width: 640px; }
.sec-head .body { margin-top: 12px; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border-radius: 999px; border: 1.5px solid var(--navy); color: var(--navy); font-size: 14.5px; white-space: nowrap; background: #fff; }
.pill b { font-weight: 700; }
.pill .date { font-weight: 600; }
.pill .date.empty { color: var(--ink-2); font-style: italic; }

/* About */
.about { display: grid; grid-template-columns: 1fr 300px; gap: 48px; padding: 48px; align-items: start; }
.about h2 { margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #f2f3f7; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.chip .ic { width: 15px; height: 15px; }
.chip:nth-child(2) .ic { color: var(--red); fill: var(--red); }
.mission { margin-top: 28px; padding: 22px 24px; border-radius: 20px; background: var(--navy); color: #fff; }
.mission p:last-child { font-size: 18.5px; font-weight: 700; line-height: 1.4; }
.qr-card { background: #f2f3f7; border-radius: 22px; padding: 22px 24px 26px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 46px; }
.qr { width: 170px; height: 170px; padding: 14px; background: #fff; border-radius: 16px; box-shadow: 0 6px 16px rgba(16, 74, 118, .08); margin-bottom: 14px; }
.qr svg { width: 100%; height: 100%; display: block; }
.qr-card b { color: var(--navy); font-size: 17px; font-weight: 800; }
.qr-card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; max-width: 220px; }

/* Values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.values.n2 { grid-template-columns: 1fr 1fr; } .values.n4 { grid-template-columns: repeat(4, 1fr); }
.v { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 6px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.v:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(16, 74, 118, .08); }
.v b { font-size: 17px; margin-top: 14px; }
.v p { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.tile { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.tile .ic { width: 20px; height: 20px; }
.tile.red { background: #fbe9ea; color: var(--red); } .tile.red .ic { fill: var(--red); }
.tile.green { background: #e8f2e3; color: var(--green); }
.tile.gold { background: #fdf2dc; color: var(--gold-2); } .tile.gold .ic { fill: var(--gold); }
.tile.blue { background: #e6eef6; color: var(--navy); }
.tile.white { background: #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, .05); }

/* Voting */
.homes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.home { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; position: relative; }
.home:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(16, 74, 118, .1); }
.ph { position: relative; aspect-ratio: 4 / 3; background: repeating-linear-gradient(135deg, #e9eef5 0 22px, #f2f5f9 22px 44px); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.soon { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; color: #8aa3bd; }
.soon .ic { width: 30px; height: 30px; }
.soon span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8a6d14; background: #fdf6dc; border: 1px dashed #e6c45c; padding: 6px 14px; border-radius: 8px; }
.num { position: absolute; top: 12px; left: 12px; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.yours { position: absolute; top: 12px; right: 12px; display: none; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--green); color: #fff; font-size: 12.5px; font-weight: 700; }
.yours .ic { width: 13px; height: 13px; }
.home-foot { display: flex; align-items: center; gap: 12px; padding: 18px 20px 20px; }
.home-foot > div { flex: 1; min-width: 0; }
.home h3 { font-size: 18px; color: var(--ink); font-weight: 700; }
.home small { display: block; font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.vote-btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--navy); background: #fff; color: var(--navy); font-weight: 700; font-size: 14.5px; cursor: pointer; transition: background-color .2s, color .2s, transform .2s var(--ease); }
.vote-btn .ic { width: 15px; height: 15px; }
.vote-btn:hover { background: var(--navy); color: #fff; }
.vote-btn:active { transform: scale(.96); }
.vote.has-vote .vote-btn { display: none; }
.home.mine { border: 2px solid var(--green); box-shadow: 0 18px 40px rgba(78, 139, 55, .16); }
.home.mine .yours { display: inline-flex; animation: pop .4s var(--ease); }
.home.mine .home-foot::after { content: 'Voted'; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 20px 0 38px; border-radius: 999px; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E") 16px center / 14px no-repeat; color: #fff; font-weight: 700; font-size: 14.5px; }
.vote.has-vote .home:not(.mine) { opacity: .72; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.closed { padding: 16px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 600; margin-bottom: 20px; }
.survey { margin-top: 24px; padding: 34px; display: grid; grid-template-columns: .9fr 1.4fr; gap: 32px; animation: rise .5s var(--ease); }
.survey h3 { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.survey .body { font-size: 15.5px; }
.survey .body b { color: var(--navy); }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; font-weight: 600; font-size: 15px; transition: border-color .15s, background-color .15s; }
.opt:hover { border-color: #b8c7d6; }
.opt input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; }
.opt .tick { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid #b8c1cc; display: grid; place-items: center; flex: none; transition: all .15s; }
.opt .tick .ic { width: 14px; height: 14px; color: #fff; opacity: 0; stroke-width: 3; }
.opt:has(input:checked) { border-color: var(--green-2); background: #f2f8ee; }
.opt:has(input:checked) .tick { background: var(--green); border-color: var(--green); }
.opt:has(input:checked) .tick .ic { opacity: 1; }
.opt:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.opt.other { grid-column: 1 / -1; }
.opt.other input[type="text"] { flex: 1; border: 0; border-bottom: 1px solid var(--line); outline: none; padding: 6px 2px; background: transparent; font-weight: 400; }
.survey-btns { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 12px; }
.survey-btns button { min-height: 44px; }
.thanks { margin-top: 24px; padding: 30px; text-align: center; display: grid; justify-items: center; gap: 6px; animation: rise .5s var(--ease); }
.thanks .ic { width: 34px; height: 34px; color: var(--red); fill: var(--red); }
.thanks b { font-size: 22px; color: var(--navy); }
.thanks p { color: var(--ink-2); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Events */
.ev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.night { position: relative; border-radius: var(--r); padding: 34px; color: #fff; background: linear-gradient(165deg, #134f7f 0%, #0b3354 100%); }
.night h3 { color: #fff; font-size: 26px; font-weight: 800; margin-bottom: 20px; max-width: 72%; }
.cal { position: absolute; top: 28px; right: 28px; width: 76px; border-radius: 14px; background: #fff; overflow: hidden; text-align: center; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); display: flex; flex-direction: column; }
.cal > span { background: var(--red); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 4px 0; }
.cal > b { color: var(--navy); font-size: 30px; line-height: 1.1; font-weight: 800; padding-top: 2px; }
.cal > small { color: var(--navy); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding-bottom: 6px; }
.row { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .92); font-size: 15.5px; margin-bottom: 10px; }
.row .ic { color: var(--gold); width: 18px; height: 18px; }
.hl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 22px; }
.hl > span { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.hl .ic { color: var(--gold); fill: var(--gold); width: 15px; height: 15px; }
.more { border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 18px; display: grid; gap: 12px; }
.more > div { display: flex; flex-direction: column; }
.more > div > b { font-size: 15px; }
.more > div > span { font-size: 14.5px; color: rgba(255, 255, 255, .78); }
.drive { padding: 34px; }
.drive h3 { font-size: 26px; font-weight: 800; margin-bottom: 20px; }
.boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 26px; }
.box { border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.box.red { background: #fde9ea; } .box.green { background: #ebf3e5; } .box.gold { background: #fdf2dc; } .box.blue { background: #e6eef6; }
.box .tile { margin-bottom: 12px; }
.box.red .ic { color: var(--red); } .box.green .ic { color: var(--green); } .box.gold .ic { color: var(--gold-2); } .box.blue .ic { color: var(--navy); }
.box b { font-size: 16px; }
.box span:last-child { font-size: 14.5px; color: var(--ink-2); line-height: 1.4; }
.drops { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.drops li { display: flex; gap: 14px; padding: 16px; border-radius: 16px; background: #f3f4f8; }
.drops .n { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; flex: none; }
.drops div { display: flex; flex-direction: column; }
.drops b { font-size: 15.5px; }
.drops span:last-child { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }

/* Give */
.give { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 52px 56px; border-radius: 30px; background: radial-gradient(600px 300px at 88% 88%, rgba(117, 178, 68, .22), transparent 60%), linear-gradient(160deg, #134f7f 0%, #0b3354 100%); color: #fff; overflow: hidden; }
.give-mark { width: 74px; margin-bottom: 26px; }
.give h2 { color: #fff; font-size: clamp(30px, 3.4vw, 38px); margin-bottom: 18px; }
.give .body { color: rgba(255, 255, 255, .85); font-size: 16.5px; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 15px; }
.checks li > span:first-child { width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: grid; place-items: center; flex: none; }
.checks .ic { width: 14px; height: 14px; color: var(--gold); stroke-width: 3; }
.give-form { align-self: start; background: #fff; color: var(--ink); border-radius: 26px; padding: 30px 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 30px 60px rgba(4, 22, 40, .3); }
.give-form h3 { font-size: 23px; font-weight: 800; }
.give-form .note { color: var(--ink-2); font-size: 14px; margin-top: -8px; }
.freq { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: #f1f3f7; }
.freq button { border: 0; background: none; height: 42px; border-radius: 999px; font-weight: 700; font-size: 14.5px; color: var(--ink-2); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.freq button.on { background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(16, 74, 118, .12); }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amt { display: flex !important; align-items: center; justify-content: center; height: 54px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); font-weight: 800; font-size: 18px; cursor: pointer; display: grid; place-items: center; transition: border-color .15s, background-color .15s, transform .15s; }
.amt:hover { border-color: #b8c7d6; }
.amt.on { border-color: var(--navy); background: #eef4fa; }
.amt.other { position: relative; color: var(--ink-2); font-size: 15px; font-weight: 700; }
.amt.other input { position: absolute; inset: 0; width: 100%; border: 0; background: transparent; text-align: center; font-weight: 800; font-size: 18px; color: var(--navy); outline: none; opacity: 0; }
.amt.other.on input, .amt.other:focus-within input { opacity: 1; }
.amt.other.on span, .amt.other:focus-within span { opacity: 0; }
.amt.other input::-webkit-inner-spin-button { -webkit-appearance: none; }
.give-form .b-red { width: 100%; min-height: 54px; font-size: 16.5px; margin-top: 4px; }
.via { text-align: center; color: var(--ink-2); font-size: 13px; }

/* Plain blocks */
.plain { padding: 8px 0; }
.plain h2 { margin-bottom: 12px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.pic { margin: 0; border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.pic > img { width: 100%; }
.pic .soon { position: relative; aspect-ratio: 16 / 7; background: repeating-linear-gradient(135deg, #e9eef5 0 22px, #f2f5f9 22px 44px); }
.pic figcaption { padding: 14px 20px; color: var(--ink-2); font-size: 14.5px; }
.space.s { height: 12px; } .space.m { height: 36px; } .space.l { height: 80px; }

/* Footer */
.foot { position: relative; background: linear-gradient(180deg, #104a76, #0a3354); color: #fff; margin-top: 24px; }
.foot::before { content: ''; position: absolute; left: 0; right: 0; top: -6px; height: 6px; background: repeating-linear-gradient(90deg, var(--red) 0 22px, #fff 22px 44px); }
.foot-in { max-width: var(--wrap); margin: 0 auto; padding: 36px 20px; display: flex; align-items: center; gap: 24px; }
.foot-logo { width: 84px; padding-right: 24px; border-right: 1px solid rgba(255, 255, 255, .22); box-sizing: content-box; }
.foot-id { display: flex; flex-direction: column; gap: 2px; margin-right: auto; }
.foot-id b { font-size: 17px; }
.foot-id span { color: rgba(255, 255, 255, .78); font-size: 14.5px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 24px; font-weight: 600; font-size: 14.5px; }
.foot nav a { opacity: .9; } .foot nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* Motion: things rise in as they come into view. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .homes .reveal:nth-child(3n+2) { transition-delay: .08s; } .js .homes .reveal:nth-child(3n) { transition-delay: .16s; }
.js .values .reveal:nth-child(2) { transition-delay: .08s; } .js .values .reveal:nth-child(3) { transition-delay: .16s; }
.hero-copy > * { animation: rise .8s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; } .hero-copy > :nth-child(3) { animation-delay: .16s; } .hero-copy > :nth-child(4) { animation-delay: .24s; }
.splashing .hero-copy > * { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .js .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* Splash */
.splash { position: fixed; inset: 0; z-index: 1000; display: none; place-items: center; background: radial-gradient(circle at 50% 40%, #165d8e, #082b47 70%); }
.splashing .splash { display: grid; animation: splash-out .6s 2.6s var(--ease) forwards; }
.splash img { width: min(280px, 60vw); animation: splash-in 1.1s var(--ease) both; }
.splash.out { animation: splash-out .6s var(--ease) forwards; }
@keyframes splash-in { from { opacity: 0; transform: scale(.88); } to { opacity: 1; transform: none; } }
@keyframes splash-out { to { opacity: 0; visibility: hidden; } }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); background: var(--navy-3); color: #fff; padding: 14px 22px; border-radius: 14px; font-weight: 600; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); z-index: 200; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Tablets */
@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; padding: 40px 32px 96px; }
  .logo-card { justify-self: center; order: -1; width: 240px; }
  .about { grid-template-columns: 1fr; padding: 36px; }
  .qr-card { margin-top: 0; }
  .ev-grid, .give { grid-template-columns: 1fr; }
  .homes { grid-template-columns: 1fr 1fr; }
  .survey { grid-template-columns: 1fr; }
}

/* Phones: the layout of the phone mockup. */
@media (max-width: 640px) {
  html { scroll-padding-top: 70px; }
  .top-in { height: 60px; gap: 14px; padding: 0 14px; }
  .brand img { width: 34px; }
  .brand b { font-size: 15px; }
  .brand small { font-size: 8px; letter-spacing: .12em; }
  .top nav { gap: 16px; }
  .top nav a:not(:first-child) { display: none; }
  .top nav a { font-size: 14px; }
  .top .b-red { min-height: 34px; padding: 0 14px; font-size: 13.5px; gap: 7px; }
  main { padding: 14px 14px 48px; }
  .hero { border-radius: 24px; padding-bottom: 30px; }
  .hero-sky { border-radius: 24px; }
  .hero-in { padding: 34px 22px 84px; gap: 26px; }
  .logo-card { width: 200px; border-radius: 22px; padding: 14px; }
  .hero h1 { font-size: 34px; margin: 20px 0 14px; }
  .hero .lead { font-size: 15.5px; }
  .hero-btns { flex-direction: column; gap: 12px; margin-top: 24px; }
  .hero-btns a { width: 100%; min-height: 48px; }
  .badge { font-size: 12px; } .badge span:last-child { display: none; }
  .strip { left: 12px; right: 12px; padding: 8px 8px 8px 18px; font-size: 13.5px; line-height: 1.3; }
  .strip p span { display: block; }
  .strip .b-navy { min-height: 38px; padding: 0 16px; font-size: 13.5px; }
  .quick, .quick.n2, .quick.n4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .q.dark { grid-column: 1 / -1; }
  .q { min-height: 84px; border-radius: 18px; }
  .q-t b { font-size: 14.5px; }
  .blk[data-type="about"], .blk[data-type="vote"], .blk[data-type="events"], .blk[data-type="donate"] { margin-top: 48px; }
  .about { padding: 26px 22px; gap: 26px; }
  .mission p:last-child { font-size: 16.5px; }
  .values, .values.n2, .values.n4 { grid-template-columns: 1fr; gap: 12px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
  .body { font-size: 15.5px; }
  .homes { gap: 12px; }
  .home { border-radius: 18px; }
  .home-foot { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 12px 14px; }
  .home h3 { font-size: 14.5px; }
  .home small { font-size: 11.5px; }
  .vote-btn { justify-content: center; height: 36px; font-size: 13.5px; }
  .home.mine .home-foot::after { justify-content: center; height: 36px; font-size: 13.5px; }
  .soon span { font-size: 9.5px; padding: 4px 8px; letter-spacing: .08em; }
  .num { width: 26px; height: 26px; font-size: 12px; top: 8px; left: 8px; }
  .yours { top: 8px; right: 8px; font-size: 10.5px; padding: 3px 8px; }
  .survey { padding: 22px; gap: 18px; }
  .survey h3 { font-size: 22px; }
  .opts { grid-template-columns: 1fr 1fr; gap: 8px; }
  .opt { font-size: 13px; padding: 0 10px; gap: 8px; min-height: 46px; line-height: 1.2; }
  .survey-btns button { flex: 1; }
  .night, .drive { padding: 24px 20px; }
  .night h3 { font-size: 22px; max-width: 70%; }
  .cal { top: 20px; right: 20px; width: 64px; }
  .cal > b { font-size: 24px; }
  .hl { grid-template-columns: 1fr; }
  .drive h3 { font-size: 22px; }
  .give { padding: 32px 18px 18px; border-radius: 24px; gap: 28px; }
  .give-form { padding: 22px 18px; }
  .amt { height: 48px; font-size: 16px; }
  .foot-in { flex-wrap: wrap; padding: 28px 18px 34px; gap: 18px; }
  .foot-logo { width: 70px; padding-right: 18px; }
  .foot-id { flex: 1; min-width: 180px; margin-right: 0; }
  .foot nav { width: 100%; gap: 18px; }
}

/* Editor: blocks show their name and an outline under the pointer; words show where to type. */
.editing .blk[data-vb], .editing [data-vb="header"], .editing [data-vb="footer"] { cursor: pointer; }
.editing [data-vb]:hover { outline: 2px solid rgba(10, 132, 255, .75); outline-offset: 4px; border-radius: 30px; }
.editing [data-vb][data-picked] { outline: 2.5px solid #0a84ff; outline-offset: 4px; border-radius: 30px; }
.editing [data-vb]:hover::before, .editing [data-vb][data-picked]::before { content: attr(data-vname); position: absolute; z-index: 60; top: -14px; left: 18px; padding: 3px 10px; border-radius: 8px; background: #0a84ff; color: #fff; font: 700 11.5px/1.4 system-ui, sans-serif; letter-spacing: .02em; pointer-events: none; }
.editing [data-vb][data-picked]::before { content: 'Editing ' attr(data-vname); }
.editing .top[data-vb]::before { top: 4px; }
.editing .foot[data-vb]::before { top: 8px; }
.editing [data-f] { border-radius: 4px; transition: background-color .15s, box-shadow .15s; cursor: text; }
.editing [data-vb][data-picked] [data-f]:hover { box-shadow: 0 0 0 1.5px rgba(10, 132, 255, .6); background: rgba(10, 132, 255, .06); }
.editing [data-f]:focus { outline: none; box-shadow: 0 0 0 2px #0a84ff; background: rgba(10, 132, 255, .08); }
.editing [data-item]:hover { box-shadow: 0 0 0 2px rgba(10, 132, 255, .35); }
.editing .is-hidden { opacity: .4; }
.editing .is-hidden::after { content: 'Hidden'; position: absolute; top: 10px; right: 14px; background: #1d1d1f; color: #fff; font: 700 11px/1 system-ui; padding: 5px 9px; border-radius: 7px; }
.editing a { cursor: pointer; }
.editing .reveal { opacity: 1 !important; transform: none !important; }
.editing .top { position: relative; }

/* Filled shapes for the icons that read better solid (as in the design). */
.i-heart, .i-star { fill: currentColor; }
.vote-btn .i-heart { fill: none; }
.vote-btn:hover .i-heart { fill: currentColor; }
@media (max-width: 640px) {
  .strip p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .homes > .home:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 6px); }
}
