:root {
  --navy: #090909;
  --navy2: #020202;
  --gold: #d9a129;
  --gold2: #f4c85a;
  --red: #b51f24;
  --off: #f5f0e7;
  --ink: #151515;
}

body { background: var(--off); }
.topbar { color: #fff; }
.brand span,.kicker,.section-label,.icon,.plan-grid span,.updates-grid span { color: var(--gold2); }
.donate-link,.menu-toggle,.button.secondary { border-color: var(--gold); }
.button.primary { background: linear-gradient(135deg, var(--gold2), var(--gold)); border-color: var(--gold); color: #080808; }
.button.secondary { background: rgba(0, 0, 0, 0.36); color: #fff; }
.hero { background: #020202; }
.hero:before { background: linear-gradient(90deg, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.78) 42%, rgba(0,0,0,0.32) 76%), linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0.92)), url('https://raw.githubusercontent.com/arcendrix/feher-for-mayor/main/assets/london-hero.jpg') center/cover no-repeat; }
.hero:after { background: linear-gradient(180deg, transparent, #020202); }
.hero h1 em { background: linear-gradient(180deg, #ffd76a, #c9881d); -webkit-background-clip: text; background-clip: text; }
.priority-strip { background: linear-gradient(90deg, #020202, #120405 55%, #26090b); }
.priority-strip article { border-right-color: rgba(217, 161, 41, 0.32); }
.plan-section { padding-top: 4.6rem; padding-bottom: 5.2rem; }
.plan-intro-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.68fr); gap: 2.5rem; align-items: end; margin-bottom: 2rem; }
.plan-section .section-heading { max-width: 980px; }
.plan-section .section-heading h2 { font-size: clamp(3.4rem, 5.8vw, 6.2rem); line-height: 0.9; letter-spacing: -0.035em; max-width: 920px; }
.plan-photo { margin: 0; aspect-ratio: 4 / 3; border-radius: 18px; position: relative; }
.plan-photo:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.62)); pointer-events: none; }
.plan-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; background: transparent; color: rgba(255,255,255,0.9); font-weight: 800; }
.plan-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.15rem; align-items: stretch; }
.plan-grid article { min-height: 365px; padding: 1.35rem 1.15rem 1.45rem; display: grid; grid-template-rows: auto auto minmax(72px, auto) 1fr; gap: 0.72rem; }
.plan-grid article:before { background: linear-gradient(90deg, var(--gold), var(--red)); }
.plan-grid span { font-size: 0.9rem; letter-spacing: 0.14rem; }
.plan-grid h3 { margin: 0; font-size: clamp(1.2rem, 1.45vw, 1.52rem); line-height: 1.03; letter-spacing: -0.02em; }
.plan-grid p { margin: 0; font-size: 0.98rem; line-height: 1.58; color: #4d5661; }
.plan-icon { width: 58px; height: 58px; background: rgba(217, 161, 41, 0.1); border-color: rgba(217, 161, 41, 0.42); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04); }
.plan-icon svg { width: 28px; height: 28px; display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.section-grid h2,.section-heading h2,.proof-section h2,.donate-copy h2,.volunteer-section h2,.plan-grid h3,.event-row strong,.updates-grid h3,.photo-story-section h2 { color: #0d0d0d; }
.campaign-photo { margin: 2rem 0 0; overflow: hidden; border-radius: 20px; border: 1px solid rgba(0,0,0,0.08); background: #050505; box-shadow: 0 22px 60px rgba(0,0,0,0.14); }
.campaign-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-photo { aspect-ratio: 4 / 5; max-width: 520px; }
.about-photo img { object-position: center top; }
.campaign-photo figcaption { padding: 0.8rem 1rem; color: rgba(255,255,255,0.68); font-size: 0.85rem; background: #080808; }
.photo-story-section { background: #f5f0e7; }
.photo-story-grid { display: grid; grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 1fr); gap: 3rem; align-items: center; }
.wide-photo { margin: 0; aspect-ratio: 16 / 11; }
.photo-story-grid p { margin-top: 1rem; color: #4e4e4e; font-size: 1.05rem; line-height: 1.75; }
.proof-section,.volunteer-section,.donate-box { background: linear-gradient(135deg, #050505, #190507 78%, #2b090c); }
.proof-section h2,.volunteer-section h2 { color: #fff; }
.accountability-section { position: relative; overflow: hidden; border-bottom: 0; background: radial-gradient(circle at 82% 18%, rgba(217,161,41,0.18), transparent 28%), linear-gradient(135deg, #050505, #150506 55%, #31090d); }
.accountability-section:before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px); background-size: 42px 42px; opacity: 0.28; pointer-events: none; }
.accountability-copy,.accountability-card { position: relative; z-index: 1; }
.accountability-copy h2 { color: #fff; max-width: 760px; }
.accountability-copy p { color: rgba(255,255,255,0.82); font-size: 1.08rem; line-height: 1.75; max-width: 760px; }
.accountability-tags { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.35rem; }
.accountability-tags span { display: inline-flex; align-items: center; min-height: 38px; padding: 0.55rem 0.85rem; border: 1px solid rgba(217,161,41,0.36); color: var(--gold2); background: rgba(255,255,255,0.055); font-weight: 900; text-transform: uppercase; letter-spacing: 0.08rem; font-size: 0.72rem; }
.accountability-photo { margin-top: 1.7rem; aspect-ratio: 16 / 8.5; border-radius: 18px; border-color: rgba(217,161,41,0.26); position: relative; box-shadow: 0 24px 70px rgba(0,0,0,0.28); }
.accountability-photo:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.64)); pointer-events: none; }
.accountability-photo img { object-position: center; }
.accountability-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; background: transparent; color: rgba(255,255,255,0.88); font-weight: 750; line-height: 1.35; }
.accountability-card { display: grid; gap: 0.85rem; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); padding: 1rem; backdrop-filter: blur(10px); box-shadow: 0 24px 70px rgba(0,0,0,0.32); }
.accountability-card div { display: grid; grid-template-columns: 44px 1fr; column-gap: 1rem; row-gap: 0.2rem; align-items: center; padding: 1rem; background: rgba(255,255,255,0.94); border: 1px solid rgba(217,161,41,0.16); }
.accountability-card div:before { content: "✓"; grid-row: 1 / 3; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: #111; color: var(--gold2); font-weight: 950; }
.accountability-card span { color: #252b31; font-weight: 750; line-height: 1.35; }
.accountability-card strong { color: var(--red); font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.06rem; }
.donate-section { background: #f0eadf; }
.donate-clean { align-items: stretch; }
.donate-clean .donate-copy,.donate-clean .donate-box { border-radius: 18px; }
.donate-clean .donate-copy h2 { max-width: 760px; }
.donation-requirements { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; margin: 1.4rem 0 1rem; padding: 1.15rem; background: #fff; border: 1px solid rgba(0,0,0,0.08); border-left: 4px solid var(--gold); }
.donation-requirements strong { grid-column: 1 / -1; color: #111; font-size: 0.92rem; }
.donation-requirements span { padding: 0.75rem 0.85rem; background: #f7f4ee; border: 1px solid rgba(0,0,0,0.06); font-weight: 800; color: #1a1a1a; }
.legal-note { border-left-color: var(--red); font-size: 0.94rem !important; color: #4e4e4e !important; }
.donate-clean .donate-box { display: flex; flex-direction: column; justify-content: center; gap: 1rem; min-height: 100%; box-shadow: 0 24px 70px rgba(0,0,0,0.18); }
.donate-clean .donate-box span { color: rgba(255,255,255,0.62); }
.donate-clean .donate-box strong { font-size: clamp(1.55rem, 3.1vw, 2.65rem); line-height: 0.95; color: #fff; }
.security-answer { padding: 1rem; border: 1px solid rgba(217,161,41,0.35); background: rgba(255,255,255,0.06); }
.security-answer span,.security-answer b { display: block; }
.security-answer span { text-transform: uppercase; letter-spacing: 0.12rem; font-size: 0.7rem; font-weight: 900; margin-bottom: 0.35rem; }
.security-answer b { color: var(--gold2); font-size: 1.65rem; }
.bank-link-panel { grid-column: 1 / -1; margin-top: 1rem; padding: 1.35rem; border-radius: 18px; background: #fff; border: 1px solid rgba(0,0,0,0.08); box-shadow: 0 18px 50px rgba(0,0,0,0.08); }
.bank-link-panel strong { display: block; color: #111; font-size: 1.05rem; }
.bank-link-panel p { margin: 0.45rem 0 1rem; color: #5a5a5a; line-height: 1.6; }
.bank-link-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.65rem; }
.bank-link-grid a { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0.75rem; text-decoration: none; border: 1px solid rgba(0,0,0,0.1); background: #f7f4ee; color: #111; font-weight: 900; border-radius: 10px; transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease; }
.bank-link-grid a:hover { transform: translateY(-1px); border-color: var(--gold); background: #fff; }
.scorecard strong { color: var(--red); }
.footer { background: #050505; }

@media (min-width: 901px) {
  .hero { position: relative; }
  .hero-content { position: static; z-index: auto; max-width: 66%; }
  .hero-content .kicker,
  .hero-content h1,
  .hero-content .lead,
  .hero-actions { position: relative; z-index: 4; }
  .hero-actions { width: auto; display: grid; grid-template-columns: repeat(2, max-content); gap: 1rem; justify-content: start; }
  .hero-actions .button { min-width: 154px; }
  .hero-actions .button:nth-child(3),
  .hero-actions .button:nth-child(4) { position: absolute; top: 0; min-width: 168px; z-index: 5; }
  .hero-actions .button:nth-child(3) { left: min(68vw, 880px); }
  .hero-actions .button:nth-child(4) { left: calc(min(68vw, 880px) + 184px); }
  .hero-person { right: 4.5vw; bottom: 9rem; width: min(35vw, 520px); height: 74vh; background-position: center bottom; background-size: contain; background-repeat: no-repeat; z-index: 2; pointer-events: none; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.38)); -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 76%, rgba(0,0,0,0.68) 88%, rgba(0,0,0,0.18) 96%, rgba(0,0,0,0) 100%); mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 76%, rgba(0,0,0,0.68) 88%, rgba(0,0,0,0.18) 96%, rgba(0,0,0,0) 100%); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
}

@media (max-width: 1180px) and (min-width: 901px) {
  .plan-intro-grid { grid-template-columns: 1fr; align-items: start; }
  .plan-photo { max-width: 760px; }
  .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plan-grid article { min-height: 315px; }
  .hero-actions .button:nth-child(3),
  .hero-actions .button:nth-child(4) { position: static; }
  .hero-actions { grid-template-columns: repeat(2, max-content); }
}

@media (max-width: 900px) {
  .hero:before { background: linear-gradient(90deg, rgba(0,0,0,0.96), rgba(0,0,0,0.8)), linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.95)), url('https://raw.githubusercontent.com/arcendrix/feher-for-mayor/main/assets/london-hero.jpg') center/cover no-repeat; }
  .plan-intro-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .plan-section .section-heading h2 { font-size: clamp(3rem, 10.5vw, 4.7rem); }
  .plan-grid { grid-template-columns: 1fr; gap: 1rem; }
  .plan-grid article { min-height: auto; padding: 1.35rem; grid-template-rows: auto auto auto auto; }
  .plan-grid h3 { min-height: 0; font-size: 1.45rem; }
  .plan-icon { width: 54px; height: 54px; }
  .plan-icon svg { width: 26px; height: 26px; }
  .donation-requirements { grid-template-columns: 1fr; }
  .bank-link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-story-grid,.about-with-photo,.accountability-section { grid-template-columns: 1fr; }
  .about-photo { max-width: 100%; }
  .accountability-card div { grid-template-columns: 38px 1fr; }
  .accountability-card div:before { width: 36px; height: 36px; }
  .accountability-photo { aspect-ratio: 16 / 10; }
}

@media (max-width: 520px) {
  .plan-section { padding-top: 3.2rem; padding-bottom: 3.5rem; }
  .plan-section .section-heading h2 { font-size: 3.05rem; line-height: 0.92; }
  .plan-photo { aspect-ratio: 1 / 1; }
  .bank-link-grid { grid-template-columns: 1fr; }
  .bank-link-panel { padding: 1rem; }
  .campaign-photo { border-radius: 16px; }
  .accountability-section { padding-top: 3.6rem; padding-bottom: 3.6rem; }
  .accountability-copy h2 { font-size: 3.1rem; }
  .accountability-photo { aspect-ratio: 1 / 1; }
}

@keyframes premiumTextRise {
  from { opacity: 0; transform: translate3d(0, 18px, 0); filter: blur(6px); }
  to { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
}

@keyframes premiumGoldSweep {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

@keyframes premiumButtonReveal {
  from { opacity: 0; transform: translate3d(0, 12px, 0) scale(0.985); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

.hero .kicker,
.hero h1 span,
.hero h1 em,
.hero .lead,
.hero .hero-actions .button,
.mobile-kicker,
.mobile-hero h1 span,
.mobile-hero h1 em,
.mobile-hero-copy p:not(.mobile-kicker),
.mobile-hero-actions .button {
  opacity: 0;
  animation: premiumTextRise 0.82s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity, filter;
}

.hero .kicker,
.mobile-kicker { animation-delay: 0.08s; }
.hero h1 span:nth-child(1),
.mobile-hero h1 span:nth-child(1) { animation-delay: 0.2s; }
.hero h1 span:nth-child(2),
.mobile-hero h1 span:nth-child(2) { animation-delay: 0.32s; }
.hero h1 em,
.mobile-hero h1 em { animation-delay: 0.44s; background-size: 180% 180%; animation-name: premiumTextRise, premiumGoldSweep; animation-duration: 0.82s, 5s; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1), ease-in-out; animation-fill-mode: forwards, both; animation-iteration-count: 1, infinite; animation-direction: normal, alternate; }
.hero .lead,
.mobile-hero-copy p:not(.mobile-kicker) { animation-delay: 0.58s; }
.hero .hero-actions .button,
.mobile-hero-actions .button { animation-name: premiumButtonReveal; animation-duration: 0.7s; }
.hero .hero-actions .button:nth-child(1),
.mobile-hero-actions .button:nth-child(1) { animation-delay: 0.74s; }
.hero .hero-actions .button:nth-child(2),
.mobile-hero-actions .button:nth-child(2) { animation-delay: 0.82s; }
.hero .hero-actions .button:nth-child(3) { animation-delay: 0.9s; }
.hero .hero-actions .button:nth-child(4) { animation-delay: 0.98s; }

@media (prefers-reduced-motion: reduce) {
  .hero .kicker,
  .hero h1 span,
  .hero h1 em,
  .hero .lead,
  .hero .hero-actions .button,
  .mobile-kicker,
  .mobile-hero h1 span,
  .mobile-hero h1 em,
  .mobile-hero-copy p:not(.mobile-kicker),
  .mobile-hero-actions .button {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
  }
}
