/* Randy Harper — Cypress City Council District 5 */

:root {
  --navy: #1b2a4a;
  --orange: #e8651a;
  --orange-hover: #d45a15;
  --gold: #d4a843;
  --cream: #faf8f5;
  --white: #fff;
  --text: #2c2c2c;
  --text-light: #5a5a5a;
  --border: #e0ddd8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ——— NAV ——— */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--navy);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,0.2); }
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 100px;
}
.nav-brand {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; color: #fff;
}
.nav-brand img {
  height: 84px; width: auto; display: block;
  background: transparent;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.45)) drop-shadow(0 0 1px rgba(0,0,0,0.3));
}
.nav-brand span {
  font-family: 'Inter', sans-serif;
  font-weight: 700; font-size: 0.85rem;
  letter-spacing: 1.5px; text-transform: uppercase;
}
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-donate {
  display: inline-block; padding: 9px 22px;
  background: var(--orange); color: #fff;
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: 0.82rem; letter-spacing: 1px; text-transform: uppercase;
  text-decoration: none; border-radius: 4px;
  transition: background 0.2s;
}
.nav-donate:hover { background: var(--orange-hover); }

/* Hamburger */
.nav-hamburger {
  display: none; background: none; border: none;
  cursor: pointer; padding: 8px; position: relative;
  width: 36px; height: 36px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: #fff; position: absolute; left: 7px;
  transition: all 0.3s;
}
.nav-hamburger span:nth-child(1) { top: 10px; }
.nav-hamburger span:nth-child(2) { top: 17px; }
.nav-hamburger span:nth-child(3) { top: 24px; }

/* Desktop links */
.nav-links {
  display: flex; align-items: center; gap: 22px;
}
.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem; font-weight: 500;
  color: rgba(255,255,255,0.8);
  text-decoration: none; letter-spacing: 0.3px;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }

@media (max-width: 1020px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 100px; left: 0; right: 0; bottom: 0;
    background: var(--navy); padding: 40px 24px; gap: 24px;
    z-index: 999;
  }
  .nav-links.open a {
    font-size: 1.2rem; color: #fff;
  }
}

/* ——— HERO ——— */
.hero {
  position: relative; margin-top: 100px;
  min-height: 90vh; display: flex; align-items: flex-end;
  background: var(--navy); overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 20%;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(27,42,74,0.95) 0%,
    rgba(27,42,74,0.7) 25%,
    rgba(27,42,74,0.2) 50%,
    rgba(27,42,74,0.05) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; width: 100%;
  margin: 0 auto; padding: 0 24px 60px;
}
.hero-name {
  font-family: 'Inter', sans-serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800; color: #fff;
  line-height: 0.95; text-transform: uppercase;
  letter-spacing: -1px; margin-bottom: 12px;
}
.hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: rgba(255,255,255,0.7);
  font-weight: 400; margin-bottom: 28px;
  max-width: 500px;
}
.hero-form {
  display: flex; gap: 10px; max-width: 480px;
  flex-wrap: wrap;
}
.hero-form input {
  flex: 1; min-width: 180px; padding: 14px 16px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 4px; color: #fff;
  font-family: 'Inter', sans-serif; font-size: 0.9rem;
}
.hero-form input::placeholder { color: rgba(255,255,255,0.5); }
.hero-form input:focus {
  outline: none; border-color: var(--orange);
  background: rgba(255,255,255,0.18);
}
.hero-form button {
  padding: 14px 28px;
  background: var(--orange); color: #fff; border: none;
  border-radius: 4px; font-family: 'Inter', sans-serif;
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s;
}
.hero-form button:hover { background: var(--orange-hover); }

@media (max-width: 600px) {
  .hero { min-height: 80vh; }
  .hero-form { flex-direction: column; }
  .hero-form input { min-width: 100%; }
}

/* ——— SECTION BASICS ——— */
.section {
  padding: 80px 24px;
}
.section--cream { background: var(--cream); }
.section-inner {
  max-width: 800px; margin: 0 auto;
}
.section-inner--wide { max-width: 1100px; }

/* ——— ABOUT BLOCK ——— */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
}
.about-photo img {
  width: 100%; border-radius: 6px;
}
.about-text h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.6rem; font-weight: 700;
  color: var(--navy); margin-bottom: 16px;
  line-height: 1.3;
}
.about-text p {
  color: var(--text-light); margin-bottom: 14px;
  font-size: 0.95rem;
}
.about-text .btn { margin-top: 8px; }

@media (max-width: 700px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ——— BUTTONS ——— */
.btn {
  display: inline-block; padding: 12px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.8px; text-transform: uppercase;
  text-decoration: none; border-radius: 4px;
  transition: all 0.2s;
}
.btn--solid {
  background: var(--orange); color: #fff;
}
.btn--solid:hover { background: var(--orange-hover); }
.btn--outline {
  background: none; color: var(--navy);
  border: 2px solid var(--navy);
}
.btn--outline:hover {
  background: var(--navy); color: #fff;
}
.btn--outline-white {
  background: none; color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn--outline-white:hover {
  background: #fff; color: var(--navy);
}

/* ——— ISSUES LIST ——— */
.issues-list {
  display: flex; flex-direction: column;
}
.issue-item {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.issue-item:first-child { padding-top: 0; }
.issue-item:last-child { border-bottom: none; }
.issue-item h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem; font-weight: 700;
  color: var(--navy); margin-bottom: 10px;
}
.issue-item p {
  color: var(--text-light); font-size: 0.95rem;
  line-height: 1.7;
}

/* ——— DONATE BANNER ——— */
.donate-banner {
  background: var(--navy); color: #fff;
  padding: 48px 24px; text-align: center;
}
.donate-banner h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem; font-weight: 700;
  margin-bottom: 8px;
}
.donate-banner p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem; margin-bottom: 24px;
}
.donate-amounts {
  display: flex; justify-content: center;
  gap: 10px; flex-wrap: wrap;
}
.donate-amt {
  display: inline-block; padding: 10px 22px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px; color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem; font-weight: 600;
  text-decoration: none; transition: all 0.2s;
}
.donate-amt:hover {
  background: var(--orange); border-color: var(--orange);
}

/* ——— PHOTO ROW ——— */
.photo-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.photo-row img {
  width: 100%; height: 260px;
  object-fit: cover;
  object-position: center 28%;
}
@media (max-width: 600px) {
  .photo-row { grid-template-columns: repeat(2, 1fr); }
  .photo-row img { height: 160px; }
}

/* ——— BIO ——— */
.bio-layout {
  display: grid; grid-template-columns: 320px 1fr;
  gap: 48px; align-items: start;
}
.bio-photo img {
  width: 100%; border-radius: 6px;
}
.bio-body h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem; font-weight: 700;
  color: var(--navy); margin-bottom: 20px;
}
.bio-body p {
  color: var(--text-light); font-size: 0.95rem;
  margin-bottom: 16px; line-height: 1.75;
}
.experience-block {
  margin-top: 40px; padding-top: 32px;
  border-top: 1px solid var(--border);
}
.experience-block h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--navy); margin-bottom: 16px;
}
.exp-item {
  padding: 12px 0;
}
.exp-item strong {
  display: block; color: var(--navy);
  font-size: 0.95rem;
}
.exp-item span {
  color: var(--text-light); font-size: 0.88rem;
}

@media (max-width: 700px) {
  .bio-layout { grid-template-columns: 1fr; gap: 32px; }
  .bio-photo img { max-width: 280px; }
}

/* ——— CONTACT / GET INVOLVED ——— */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start;
}
.contact-actions h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem; font-weight: 700;
  color: var(--navy); margin-bottom: 20px;
}
.action-link {
  display: block; padding: 14px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none; color: var(--navy);
  font-weight: 600; font-size: 0.95rem;
  transition: color 0.2s;
}
.action-link:hover { color: var(--orange); }
.action-link:last-child { border-bottom: none; }

.contact-form h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem; font-weight: 700;
  color: var(--navy); margin-bottom: 20px;
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-bottom: 12px;
}
.form-field {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: 4px;
  font-family: 'Inter', sans-serif; font-size: 0.9rem;
  color: var(--text); background: var(--white);
  transition: border-color 0.2s;
}
.form-field:focus {
  outline: none; border-color: var(--navy);
}
select.form-field { appearance: auto; }

@media (max-width: 700px) {
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ——— PAGE HEADER ——— */
.page-header {
  background: var(--navy); color: #fff;
  padding: 120px 24px 52px;
  margin-top: 100px;
  text-align: center;
}
.page-header h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.5px; margin-bottom: 8px;
}
.page-header p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem; max-width: 560px;
  margin-left: auto; margin-right: auto;
}

/* ——— FOOTER ——— */
.footer {
  background: var(--navy); color: rgba(255,255,255,0.6);
  padding: 48px 24px 32px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.footer-brand .name {
  font-family: 'Inter', sans-serif;
  font-weight: 800; font-size: 1rem;
  color: #fff; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 4px;
}
.footer-brand p {
  font-size: 0.82rem; max-width: 280px;
  line-height: 1.6;
}
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: rgba(255,255,255,0.4); margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  text-decoration: none; font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: 1200px; margin: 32px auto 0;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: 0.78rem;
}
.footer-bottom a {
  text-decoration: none; color: rgba(255,255,255,0.4);
}
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ——— COOKIE BANNER ——— */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--navy); color: #fff;
  padding: 16px 24px; z-index: 200;
  display: none; font-size: 0.85rem;
}
.cookie-banner.show { display: block; }
.cookie-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
}
.cookie-inner p { flex: 1; color: rgba(255,255,255,0.7); }
.cookie-inner p a { color: var(--gold); }
.cookie-btns { display: flex; gap: 8px; }
.cookie-btns button {
  padding: 8px 18px; border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem; font-weight: 600;
  cursor: pointer; border: none;
}
.cookie-accept { background: var(--orange); color: #fff; }
.cookie-decline {
  background: none; color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.2) !important;
}

/* ——— PRIVACY PAGE ——— */
.privacy-body {
  max-width: 720px; margin: 0 auto;
  padding: 48px 24px 80px;
}
.privacy-body h2 {
  font-size: 1.15rem; font-weight: 700;
  color: var(--navy); margin: 32px 0 12px;
}
.privacy-body p, .privacy-body li {
  font-size: 0.92rem; color: var(--text-light);
  line-height: 1.7; margin-bottom: 12px;
}
.privacy-body ul { padding-left: 20px; }

/* ——— BACKGROUND PAGE ——— */
.bg-intro {
  max-width: 760px; margin: 0 auto 48px;
  color: var(--text-light); font-size: 1rem;
  line-height: 1.75;
}
.bg-intro a { color: var(--navy); font-weight: 600; }
.bg-section {
  max-width: 820px; margin: 0 auto 48px;
}
.bg-section h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem; font-weight: 800;
  color: var(--navy); margin-bottom: 20px;
  text-transform: uppercase; letter-spacing: 0.5px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--orange);
}
.bg-list { display: flex; flex-direction: column; }
.bg-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.bg-item:last-child { border-bottom: none; }
.bg-item strong {
  display: block; color: var(--navy);
  font-size: 0.98rem; font-weight: 700;
  margin-bottom: 4px;
}
.bg-item span {
  display: block; color: var(--text-light);
  font-size: 0.92rem; line-height: 1.7;
}
.bg-goal {
  font-size: 1.05rem; color: var(--navy);
  font-weight: 500; font-style: italic;
  line-height: 1.7; padding: 20px 24px;
  background: var(--cream);
  border-left: 4px solid var(--orange);
  border-radius: 4px;
}
.bg-cta {
  max-width: 820px; margin: 48px auto 0;
  display: flex; gap: 14px; flex-wrap: wrap;
  justify-content: space-between;
}

/* ——— MEET RANDY EXTRAS ——— */
.bio-goal {
  margin-top: 24px; padding: 18px 22px;
  background: var(--cream);
  border-left: 4px solid var(--orange);
  border-radius: 4px;
  color: var(--navy);
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.65;
}
.bio-highlights {
  margin-top: 40px; padding-top: 32px;
  border-top: 1px solid var(--border);
}
.bio-highlights h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--navy); margin-bottom: 16px;
}
.highlight-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  list-style: none; padding: 0; margin: 0 0 20px;
}
.highlight-grid li {
  color: var(--text-light);
  font-size: 0.92rem; line-height: 1.5;
  padding-left: 16px; position: relative;
}
.highlight-grid li::before {
  content: ''; position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange);
}
@media (max-width: 640px) {
  .highlight-grid { grid-template-columns: 1fr; }
}

/* ——— HIGH CONTRAST ——— */
.high-contrast { filter: contrast(1.3); }
.reduce-motion * { transition: none !important; animation: none !important; }

/* ——— PRESS &amp; MEDIA PAGE ——— */
.press-contact {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 40px; align-items: start;
  max-width: 980px; margin: 0 auto 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.press-contact-copy h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.35rem; font-weight: 800;
  color: var(--navy); margin-bottom: 14px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.press-contact-copy p {
  color: var(--text-light); font-size: 0.98rem;
  line-height: 1.75; margin-bottom: 20px;
}
.press-contact-card {
  background: var(--cream);
  border-left: 4px solid var(--orange);
  border-radius: 4px;
  padding: 24px 26px;
}
.press-contact-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--text-light); margin-bottom: 12px;
}
.press-contact-line {
  color: var(--navy); font-size: 0.93rem;
  line-height: 1.55; margin-bottom: 6px;
}
.press-contact-line a {
  color: var(--navy); font-weight: 600;
  text-decoration: underline;
}

.press-section {
  max-width: 980px; margin: 0 auto 56px;
}
.press-section h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem; font-weight: 800;
  color: var(--navy); margin-bottom: 18px;
  text-transform: uppercase; letter-spacing: 0.5px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--orange);
}
.press-lead {
  color: var(--text-light); font-size: 0.98rem;
  line-height: 1.75; margin-bottom: 16px;
}
.press-sub {
  color: var(--text-light); font-size: 0.95rem;
  line-height: 1.7; margin-bottom: 24px;
}
.press-subhead {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem; font-weight: 700;
  color: var(--navy); margin: 28px 0 14px;
  text-transform: uppercase; letter-spacing: 1.2px;
}
.press-cta-row {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 8px;
}

.press-asset-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.press-asset-grid--logos { grid-template-columns: repeat(3, 1fr); }
.press-asset {
  margin: 0; background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px; overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.press-asset:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}
.press-asset a {
  display: block; line-height: 0;
  background: var(--cream);
}
.press-asset img {
  width: 100%; height: 220px; object-fit: cover;
  object-position: center 25%;
}
.press-asset figcaption {
  padding: 10px 14px;
  font-size: 0.82rem; color: var(--text-light);
  font-weight: 500;
  border-top: 1px solid var(--border);
}
.press-asset--logo a {
  padding: 28px; background: var(--cream);
}
.press-asset--logo img {
  height: 160px; object-fit: contain;
}
.press-asset--logo-dark a { background: var(--navy); }

.press-news-empty {
  padding: 28px 24px; text-align: center;
  background: var(--cream);
  border: 1px dashed var(--border);
  border-radius: 6px;
  color: var(--text-light);
  font-size: 0.95rem;
}
.press-news-empty a {
  color: var(--navy); font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 820px) {
  .press-contact { grid-template-columns: 1fr; gap: 28px; }
  .press-asset-grid { grid-template-columns: repeat(2, 1fr); }
  .press-asset img { height: 180px; }
  .press-asset--logo img { height: 120px; }
}
@media (max-width: 520px) {
  .press-asset-grid { grid-template-columns: 1fr; }
  .press-asset img { height: 220px; }
}
