/*
Theme Name: Andre Payne Neighborhood Council
Theme URI: https://example.com/
Author: Codex
Description: A single-page, fully editable neighborhood council campaign landing page for Andre Payne with PayPal donation support.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: andre-payne-council
*/

:root {
  --ap-ink: #111426;
  --ap-navy: #2b2d4b;
  --ap-red: #d91122;
  --ap-steel: #596171;
  --ap-line: #d9dce3;
  --ap-paper: #f7f7f5;
  --ap-teal: #0d6b79;
  --ap-gold: #f4c965;
  --ap-white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ap-ink);
  font-family: "Arial Narrow", "Roboto Condensed", Impact, system-ui, sans-serif;
  background:
    linear-gradient(90deg, rgba(255,255,255,.82), rgba(255,255,255,.38) 24%, rgba(255,255,255,.38) 76%, rgba(255,255,255,.82)),
    repeating-linear-gradient(90deg, rgba(24,28,35,.08) 0 18px, rgba(255,255,255,.1) 18px 38px),
    linear-gradient(135deg, #eceeed, #c6cbd0 45%, #f7f7f5);
}

a {
  color: inherit;
}

.ap-page {
  min-height: 100vh;
  padding: clamp(20px, 4vw, 56px) 16px;
}

.ap-shell {
  width: min(1280px, 100%);
  margin: 0 auto;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 24px 80px rgba(17, 20, 38, .22);
  overflow: hidden;
}

.ap-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(24px, 5vw, 64px) 12px;
}

.ap-logo {
  display: block;
  width: min(310px, 58vw);
  height: auto;
}

.ap-nav {
  display: flex;
  gap: 22px;
  font-family: Arial, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

.ap-nav a {
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.ap-nav a:hover,
.ap-nav a:focus {
  border-color: var(--ap-red);
}

.ap-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, .72fr);
  align-items: end;
  min-height: 420px;
  padding: 18px clamp(24px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--ap-line);
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.88) 51%, rgba(255,255,255,.42) 100%),
    radial-gradient(circle at 70% 18%, rgba(216, 17, 34, .12), transparent 28%),
    linear-gradient(180deg, #ffffff, #eff0f2);
}

.ap-hero-copy {
  align-self: center;
  max-width: 780px;
  padding: 38px 0 52px;
  z-index: 1;
}

.ap-kicker {
  margin: 0 0 18px;
  color: var(--ap-navy);
  font-family: Arial, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ap-hero h1 {
  margin: 0;
  color: #080a15;
  font-size: clamp(40px, 6.2vw, 78px);
  line-height: .96;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ap-subtitle {
  margin: 20px 0 0;
  max-width: 900px;
  color: #1e2232;
  font-size: clamp(20px, 2.2vw, 33px);
  font-weight: 800;
  line-height: 1.12;
  text-transform: uppercase;
}

.ap-portrait {
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 420px;
}

.ap-portrait img {
  display: block;
  width: min(520px, 100%);
  max-height: 560px;
  object-fit: contain;
  object-position: bottom center;
}

.ap-section {
  padding: 28px clamp(24px, 5vw, 64px);
  border-bottom: 1px solid var(--ap-line);
}

.ap-section-heading {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 18px;
}

.ap-number {
  display: inline-grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  color: var(--ap-white);
  background: var(--ap-ink);
  border-radius: 50%;
  font-family: Arial, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 900;
}

.ap-section-title {
  margin: 0;
  font-size: clamp(29px, 3vw, 42px);
  line-height: 1;
  text-transform: uppercase;
}

.ap-section-subtitle {
  margin: 4px 0 0;
  font-size: clamp(21px, 2.2vw, 31px);
  line-height: 1.06;
  text-transform: uppercase;
}

.ap-body {
  max-width: 920px;
  margin: 0;
  font-family: Arial, system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.42;
}

.ap-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.ap-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 2px solid var(--ap-line);
  font-family: Arial, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.ap-issues {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 24px;
}

.ap-issue {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
}

.ap-icon {
  width: 56px;
  height: 56px;
  color: var(--ap-navy);
}

.ap-issue h3 {
  margin: 0 0 6px;
  font-size: 26px;
  line-height: 1;
  text-transform: uppercase;
}

.ap-issue p {
  margin: 0;
  font-family: Arial, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.28;
}

.ap-action-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  padding: 28px clamp(24px, 5vw, 64px) 34px;
}

.ap-action-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 39px);
  line-height: 1;
  text-transform: uppercase;
}

.ap-signup {
  padding: 28px;
  color: var(--ap-white);
  background: linear-gradient(135deg, #0f6e79, #164c58);
}

.ap-donate {
  padding: 28px;
  background: linear-gradient(135deg, #f8df98, #f1bf45);
}

.ap-form-row {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.ap-input {
  width: 100%;
  min-height: 54px;
  padding: 10px 14px;
  border: 2px solid rgba(17, 20, 38, .24);
  border-radius: 7px;
  background: var(--ap-white);
  font: 700 17px Arial, system-ui, sans-serif;
}

.ap-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 10px 24px;
  border: 0;
  border-radius: 7px;
  color: #080a15;
  background: #eef0f4;
  font: 900 23px "Arial Narrow", Impact, sans-serif;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.ap-donate .ap-button {
  width: 100%;
  color: var(--ap-white);
  background: linear-gradient(90deg, #d93313, #cf241b);
}

.ap-amounts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 12px;
}

.ap-amount {
  min-height: 48px;
  border: 2px solid #0b6877;
  border-radius: 7px;
  color: var(--ap-white);
  background: #176d7b;
  font: 900 22px Arial, system-ui, sans-serif;
  cursor: pointer;
}

.ap-amount.is-custom {
  color: var(--ap-ink);
  background: transparent;
}

.ap-custom-amount {
  display: none;
  margin: 0 0 12px;
}

.ap-donate-note,
.ap-form-note {
  margin: 12px 0 0;
  font-family: Arial, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.35;
}

.ap-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px clamp(24px, 5vw, 64px) 34px;
  font-family: Arial, system-ui, sans-serif;
}

.ap-footer-nav,
.ap-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.ap-footer-nav a,
.ap-socials a {
  font-weight: 800;
  text-decoration: none;
}

.ap-disclaimer {
  max-width: 520px;
  margin: 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.35;
  text-transform: uppercase;
}

.ap-socials {
  justify-content: flex-end;
}

.ap-socials a {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid var(--ap-ink);
  border-radius: 50%;
  font-size: 16px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 900px) {
  .ap-header,
  .ap-nav,
  .ap-footer {
    display: block;
  }

  .ap-nav,
  .ap-footer-nav,
  .ap-socials {
    margin-top: 18px;
  }

  .ap-hero,
  .ap-action-grid,
  .ap-issues {
    grid-template-columns: 1fr;
  }

  .ap-hero {
    padding-bottom: 0;
  }

  .ap-hero-copy {
    padding-bottom: 24px;
  }

  .ap-portrait {
    min-height: 0;
  }

  .ap-portrait img {
    max-height: 440px;
  }

  .ap-footer,
  .ap-disclaimer {
    text-align: left;
  }

  .ap-socials {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .ap-page {
    padding: 0;
  }

  .ap-shell {
    box-shadow: none;
  }

  .ap-nav,
  .ap-footer-nav {
    gap: 14px;
  }

  .ap-form-row,
  .ap-issue {
    grid-template-columns: 1fr;
    display: grid;
  }

  .ap-amounts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ap-signup,
  .ap-donate {
    padding: 22px;
  }
}
