/* ============================================================
   WILLIE TURRAL FOR SCHOOL BOARD — RISE UP DISTRICT 3
   Design tokens
   ============================================================ */
:root{
  --navy:        #0B1F3A;
  --navy-deep:   #071328;
  --navy-soft:   #16294A;
  --red:         #C41230;
  --red-deep:    #98091F;
  --white:       #FFFFFF;
  --paper:       #F6F6F4;
  --paper-dim:   #ECEDEF;
  --ink:         #1A2233;
  --ink-soft:    #4B5566;
  --line:        #DEE1E6;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body:    "Source Sans 3", "Segoe UI", Arial, sans-serif;

  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 10px rgba(11,31,58,0.08);
  --shadow-md: 0 10px 30px rgba(11,31,58,0.14);
  --container: 1180px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: 84px; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 64px; /* space for sticky mobile CTA bar */
}

@media (min-width: 900px){
  body{ padding-bottom: 0; }
}

img{ max-width: 100%; display: block; }
a{ color: inherit; }
h1,h2,h3,h4{ font-family: var(--font-display); font-weight: 800; line-height: 1.02; margin: 0; letter-spacing: 0.01em; }
p{ margin: 0 0 1em; }
.container{ width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.visually-hidden{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden;
  clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

:focus-visible{
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

/* ============================================================
   EYEBROW / LABELS
   ============================================================ */
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.eyebrow::before{
  content: "";
  width: 26px; height: 2px;
  background: currentColor;
  display: inline-block;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn{
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  min-height: 52px;
  line-height: 1;
}
.btn:active{ transform: scale(0.98); }

.btn-red{ background: var(--red); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-red:hover{ background: var(--red-deep); box-shadow: var(--shadow-md); }

.btn-white{ background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-white:hover{ background: var(--paper); box-shadow: var(--shadow-md); }

.btn-outline{ background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-outline:hover{ background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn-navy-outline{ background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-navy-outline:hover{ background: var(--navy); color: var(--white); }

.btn-block{ width: 100%; }
.btn-sm{ padding: 12px 20px; font-size: 0.9rem; min-height: 44px; }

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7,19,40,0.96);
  backdrop-filter: saturate(160%) blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}
.brand img{ height: 40px; width: 40px; object-fit: contain; }
.brand-text{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  line-height: 1.05;
}
.brand-text small{
  display:block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: #FF6B7E;
  text-transform: uppercase;
}

.nav-desktop{
  display: none;
  gap: 28px;
  align-items: center;
}
.nav-desktop a{
  text-decoration: none;
  color: rgba(255,255,255,0.88);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.92rem;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}
.nav-desktop a:hover{ border-color: var(--red); }
.nav-desktop .btn{ margin-left: 6px; }

.nav-toggle{
  display: inline-flex;
  background: transparent;
  border: none;
  color: var(--white);
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle svg{ width: 26px; height: 26px; }

.nav-mobile{
  display: none;
  flex-direction: column;
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 8px 20px 20px;
}
.nav-mobile.open{ display: flex; }
.nav-mobile a{
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 1.05rem;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-mobile .btn{ margin-top: 14px; }

@media (min-width: 900px){
  .nav-desktop{ display: flex; }
  .nav-toggle{ display: none; }
  .nav-mobile{ display: none !important; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position: relative;
  background:
    radial-gradient(1100px 620px at 82% -10%, rgba(196,18,48,0.35), transparent 60%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 65%, var(--navy-soft) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 44px 0 56px;
}
.hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('assets/logo.png');
  background-repeat: no-repeat;
  background-position: 108% 12%;
  background-size: 480px;
  opacity: 0.06;
  pointer-events: none;
}
.hero .container{
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
  align-items: center;
}
.hero-copy{ text-align: center; }
.hero-logo{
  width: 128px;
  height: 128px;
  margin: 0 auto 18px;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.35));
}
.hero-office{
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFD6DB;
  font-size: 0.95rem;
  margin-bottom: 10px;
}
.hero-name{
  font-size: clamp(2.6rem, 9vw, 4.2rem);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.hero-district{
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.1rem, 3.4vw, 1.5rem);
  color: rgba(255,255,255,0.85);
  margin-top: 6px;
  letter-spacing: 0.06em;
}
.hero-theme{
  margin-top: 22px;
  font-size: clamp(2.1rem, 7vw, 3.4rem);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.hero-theme span{ color: #FF4C63; }
.hero-sub{
  margin-top: 12px;
  font-size: clamp(1.05rem, 3vw, 1.25rem);
  color: rgba(255,255,255,0.82);
  font-weight: 600;
}

.hero-election{
  margin: 26px auto 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 26px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
}
.hero-election .label{
  font-family: var(--font-display);
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 700;
  color: #FFD6DB;
  text-transform: uppercase;
}
.hero-election .date{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}

.hero-photo-wrap{
  display: flex;
  justify-content: center;
}
.hero-photo{
  width: min(320px, 78vw);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 4px solid rgba(255,255,255,0.14);
}

.hero-ctas{
  margin-top: 28px;
  display: grid;
  gap: 12px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.hero-ctas .btn{ width: 100%; }
.hero-donate-row{
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

@media (min-width: 720px){
  .hero-ctas{
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
  }
}

@media (min-width: 980px){
  .hero .container{
    grid-template-columns: 1.15fr 0.85fr;
    text-align: left;
  }
  .hero-copy{ text-align: left; }
  .hero-logo{ margin: 0 0 18px; }
  .hero-election{ margin-left: 0; margin-right: 0; }
  .hero-ctas{ margin-left: 0; margin-right: 0; }
  .hero-donate-row{ justify-content: flex-start; }
}

/* ============================================================
   STICKY MOBILE CTA BAR
   ============================================================ */
.mobile-cta-bar{
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(11,31,58,0.12);
}
.mobile-cta-bar a{
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  padding: 14px 8px;
  font-size: 0.92rem;
}
.mobile-cta-bar .mc-vote{ background: var(--navy); color: var(--white); }
.mobile-cta-bar .mc-give{ background: var(--red); color: var(--white); }

@media (min-width: 900px){
  .mobile-cta-bar{ display: none; }
}

/* ============================================================
   SECTION SCAFFOLDING
   ============================================================ */
section{ padding: 64px 0; }
.section-paper{ background: var(--paper); }
.section-navy{ background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); color: var(--white); }
.section-white{ background: var(--white); }

.section-head{ max-width: 720px; margin: 0 0 28px; }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-navy .eyebrow{ color: #FF8A9A; }
.section-white .eyebrow, .section-paper .eyebrow{ color: var(--red); }
.section-title{
  font-size: clamp(2rem, 5.5vw, 2.9rem);
  text-transform: uppercase;
  margin-top: 8px;
}

/* wing divider — signature motif echoing the logo's wingspan */
.wing-divider{
  display: block;
  width: 100%;
  height: 34px;
  margin: 0 auto;
}
.wing-divider svg{ width: 100%; height: 100%; display: block; }

/* ============================================================
   MEET WILLIE
   ============================================================ */
.meet-grid{
  display: grid;
  gap: 36px;
}
@media (min-width: 900px){
  .meet-grid{ grid-template-columns: 0.85fr 1.15fr; align-items: start; }
}
.meet-photo{
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
}
.meet-bio p{ font-size: 1.05rem; color: var(--ink-soft); }
.meet-bio strong{ color: var(--ink); }

.pull-quote{
  margin: 28px 0 0;
  padding: 26px 26px 22px 30px;
  background: var(--white);
  border-left: 6px solid var(--red);
  border-radius: 4px 14px 14px 4px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.pull-quote p{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  color: var(--navy);
  margin: 0;
  line-height: 1.3;
}
.pull-quote cite{
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ============================================================
   WHY I'M RUNNING
   ============================================================ */
.why-body{
  display: grid;
  gap: 24px;
  max-width: 880px;
}
.why-body p{ font-size: 1.08rem; color: rgba(255,255,255,0.86); }
.theme-callout{
  margin-top: 8px;
  padding: 22px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
}
.theme-callout p{
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--white);
}
.theme-callout p span{ color: #FF4C63; }

/* ============================================================
   PRIORITIES
   ============================================================ */
.priorities-grid{
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px){
  .priorities-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px){
  .priorities-grid{ grid-template-columns: repeat(3, 1fr); }
}
.priority-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.priority-card h3{
  font-size: 1.35rem;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
}
.priority-card p{ color: var(--ink-soft); margin: 0; font-size: 0.98rem; }
.priority-mark{
  width: 40px; height: 4px;
  background: var(--red);
  border-radius: 4px;
  margin-bottom: 14px;
}

.resources-callout{
  margin-top: 36px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: grid;
  gap: 16px;
}
@media (min-width: 860px){
  .resources-callout{ grid-template-columns: 1fr 1.4fr; align-items: center; padding: 40px; }
}
.resources-callout h3{
  font-size: 1.6rem;
  text-transform: uppercase;
}
.resources-callout p{
  margin: 0;
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
}
.resources-callout .quote-mark{ color: #FF4C63; font-family: var(--font-display); }

/* ============================================================
   REGISTER TO VOTE
   ============================================================ */
.vote-panel{
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--navy);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.vote-panel .section-title{ color: var(--navy); }
.vote-panel p{
  max-width: 560px;
  margin: 0 auto 26px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.vote-actions{
  display: grid;
  gap: 14px;
  max-width: 520px;
  margin: 0 auto;
}
@media (min-width: 620px){
  .vote-actions{ grid-template-columns: 1fr 1fr; }
}
.vote-note{
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.vote-note strong{ color: var(--navy); }

/* ============================================================
   GET INVOLVED / FORM
   ============================================================ */
.form-wrap{
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 32px 24px;
}
@media (min-width: 640px){
  .form-wrap{ padding: 40px; }
}
.form-row{
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}
@media (min-width: 560px){
  .form-row.cols-2{ grid-template-columns: 1fr 1fr; }
}
.field label{
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.field input,
.field textarea{
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}
.field input:focus,
.field textarea:focus{
  outline: none;
  border-color: var(--red);
  background: var(--white);
}
.field textarea{ min-height: 110px; resize: vertical; }

.checkbox-row{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.checkbox-row input{ width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); flex-shrink: 0; }
.checkbox-row label{ font-size: 0.95rem; color: var(--ink-soft); }

.honeypot-field{ position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note{
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 14px;
}
.form-success{
  display: none;
  text-align: center;
  padding: 30px 10px;
}
.form-success.show{ display: block; }
.form-success h3{
  color: var(--navy);
  font-size: 1.6rem;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.form-success p{ color: var(--ink-soft); margin: 0; }

/* ============================================================
   DONATE
   ============================================================ */
.donate-panel{
  text-align: center;
  background:
    radial-gradient(700px 360px at 50% 0%, rgba(196,18,48,0.35), transparent 65%),
    linear-gradient(180deg, var(--navy-deep), var(--navy));
  border-radius: var(--radius-lg);
  padding: 52px 24px;
  color: var(--white);
}
.donate-panel .section-title{ margin-top: 6px; }
.donate-panel p.lead{
  max-width: 540px;
  margin: 0 auto 26px;
  color: rgba(255,255,255,0.85);
  font-size: 1.08rem;
}
.donate-disclaimer{
  margin-top: 18px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  font-style: italic;
}

/* ============================================================
   MEDIA / UPDATES
   ============================================================ */
.media-grid{
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px){
  .media-grid{ grid-template-columns: repeat(2, 1fr); }
}
.media-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.media-card img{ width: 100%; height: 210px; object-fit: cover; }
.media-card-body{ padding: 22px; }

/* Variant for events without a photo yet (e.g. upcoming forums) */
.media-card-noimg .media-card-header{
  height: 96px;
  background:
    radial-gradient(420px 160px at 85% 0%, rgba(196,18,48,0.45), transparent 65%),
    linear-gradient(135deg, var(--navy-deep), var(--navy));
  display: flex;
  align-items: center;
  padding: 0 22px;
}
.media-card-noimg .media-card-header img{ height: 44px; width: 44px; object-fit: contain; }
.media-tag{
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--red);
  margin-bottom: 8px;
}
.media-card h3{
  font-size: 1.3rem;
  color: var(--navy);
  text-transform: none;
  margin-bottom: 6px;
}
.media-card .media-meta{
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0;
}

/* Template card for duplicating future events — hidden from view, kept in DOM as markup reference (see HTML comment) */

/* ============================================================
   SOCIAL
   ============================================================ */
.social-row{
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.social-btn{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.social-btn:hover{ box-shadow: var(--shadow-md); background: var(--paper); }
.social-btn svg{ width: 22px; height: 22px; }
.social-handle{
  text-align: center;
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 1.05rem;
  color: var(--navy);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-panel{
  text-align: center;
}
.contact-panel p{ color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 22px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{
  background: var(--navy-deep);
  color: rgba(255,255,255,0.75);
  padding: 44px 0 28px;
  font-size: 0.92rem;
}
.footer-top{
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 20px;
}
@media (min-width: 720px){
  .footer-top{ flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-brand{ display: flex; align-items: center; gap: 12px; }
.footer-brand img{ height: 44px; width: 44px; object-fit: contain; }
.footer-brand-text{ font-family: var(--font-display); font-weight: 800; color: var(--white); font-size: 1.1rem; text-transform: uppercase; }
.footer-brand-text small{ display:block; font-family: var(--font-body); font-weight: 600; font-size: 0.75rem; color: #FF8A9A; letter-spacing: 0.06em; text-transform: uppercase; }

.footer-links{ display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.footer-links a{ color: rgba(255,255,255,0.75); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.footer-links a:hover{ color: var(--white); }

.footer-meta{ text-align: center; line-height: 1.8; }
.footer-disclaimer{
  margin-top: 18px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  font-style: italic;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.mt-0{ margin-top: 0; }
.text-center{ text-align: center; }
